TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:14271] ext3



  Hi,

On Fri, 3 Mar 2000, Mike Hicks wrote:

> inherited..  Also, I'd hate to see what happens if I accidentally ran an
> ext2 fsck on an ext3 partition (though fsck probably checks the version
> of the filesystem before doing anything..)

From the README:

Right now, e2fsck will reject an uncleanly unmounted ext3 partition.
However, if you umount an ext3 filesystem cleanly, you can fsck it using
a version of fsck which understands the journal flags: you'll want
e2fsprogs-1.17 or later, which you can get from the ext2 web pages at

        http://web.mit.edu/tytso/www/linux/ext2.html

You can now run e2fsck quite happily on the filesystem, *as long as the
filesystem was unmounted cleanly*.  If it wasn't, then you'll need to
get the kernel code to recover the journal from the disk by mounting the
filesystem (even a readonly mount will cause a journal recovery to
happen) and umounting it again (or, for the root filesystem, remounting
it readonly with "mount -o remount,ro /").


-Yaron

--