On Oct 31, 2001 12:57 -0500, Karl-Heinz Schulz wrote:> What is the correct procedure to fsck a ext3 partition?
It should work fine with e2fsck/fsck.ext2/fsck.ext3 (all the same
program).
> A system died during a 7.2 upgrade - /usr and /home were selected to
> convert to ext3 - and I did a fsck -t ext2 /device but the system still
> complains that the file system is/was not clean unmounted.
This means that either you did not add a journal to the root fs
(check dumpe2fs -h <dev> to look for the "has_journal" feature),
or
you created the journal with 2.4.10/2.4.11-pre and you need to
"chattr -i <path>/.journal; rm <path>/.journal; tune2fs -j
<dev>"
to recreate the journal on this device again.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/