Re: ext3 vs resiserfs vs xfs

Andrew Morton (akpm@zip.com.au)
Wed, 07 Nov 2001 12:35:53 -0800


Robert Love wrote:
>
> On Wed, 2001-11-07 at 14:38, Ville Herva wrote:
> > A stupid question: does ext3 replay the journal before fsck? If not, the
> > inode errors would be expected...
>
> ext3 will reply the root file systems journal on boot when the kernel
> mounts root. other ext3 partitions will have their journals replayed
> when they are mounted.
>
> also, btw, I use RedHat 7.2 and fsck does not run if I don't hit Y. It
> is there for pedants or seriously screwed disks -- the journal replay
> should be sufficient.
>

fsck can perform journal replay. It's the same code, in fact.

So even if one does run fsck against an unclean ext3 partition,
fsck will just replay the journal and then exit. It won't do
the twenty minute go-grab-a-coffee thing unless it has explicitly
been passed the `-f' option. Doing that is very, very paraniod.

I normally just leave ext3 at the default check-time settings,
so fsck runs every thirtieth boot or so. ie: hourly :)

=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/