[PLUG] Forced fsck

Wil Cooley wcooley at nakedape.cc
Tue May 9 09:00:52 PDT 2006

On Mon, 2006-05-08 at 12:07 -0700, Dave wrote:
> On Monday 08 May 2006 11:33, m0gely wrote:
> > Bruce Kilpatrick wrote:
> > I've been watching this too and am puzzled.  What's the point at all?
> > If the system is being shutdown properly then fsck shouldn't be needed
> > on boot outside of special scenarios.  BSD doesn't do this.
> To quote:  
> http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html
> Q: If a system shutdown hard, even with journaling is it at all necessary to 
> run e2fsck?
> Theodore Ts'o said:
> It's best to just always run e2fsck. [...]
> E2fsck will run the journal automatically, and if the filesystem is otherwise 
> clean, it skip doing a full filesystem check.
> If the filesystem is not clean (because during the previous run the kernel 
> noticed some filesystem inconsistencies), e2fsck will automatically do a full 
> check if it is necessary.
> If you have multiple disks, fsck will run multiple e2fsck processes in 
> parallel, thus speeding up your boot sequence than if you let the kernel 
> replay the journal for each filesystem when it tries to mount it, since then 
> the journal replays will be done sequentially, instead of in parallel.
> Or, in fewer words, "Yeah."

Or in a few more words, "yeah, if the system was 'shutdown hard' (i.e.,
did not umount cleanly)."  Otherwise, "nope."

Wil Cooley <wcooley at nakedape.cc>
Naked Ape Consulting, Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20060509/2049d3d9/attachment.sig>

More information about the PLUG mailing list