Re: journaling and devel [was Re: Development Setups]

Andreas Dilger (adilger@turbolabs.com)
Mon, 15 Oct 2001 03:09:09 -0600


Pavel writes:
> I disagree.. With journal filesystem, when something is silently corrupting
> your disk, you'll never know. With ext2, you sometimes sync & reset to make
> sure your disks are still healthy. I would not recomment journaling on
> experimental boxes.

I would say just the opposite with ext3 - I prefer to use it on my development
boxes.

1) No fsck time (normally) after crashing, which can happen a lot.
2) You can set ext3 to fsck automatically after a fixed number of reboots/time
if you are worried about a bad disk/cable/kernel.

Most of the mke2fs which support ext3 (1.20+ or so) will set the check
interval to 20 + rand(20) reboots per check by default, or 6 months. Since
this is a random value, you don't get all of your filesystems checked at the
same time, but it happens at least once in a while to ensure that each fs is
OK.

Of course, you can turn it off if you want, but the option is there to do
periodic checks. The time interval is probably still a good idea, even if
you turn of the per-N-mount checking, because of bit rot, etc.

Cheers, Andreas

--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

- 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/