Re: Switched from ext2 to ext3...no fsck needed after crash?
In article <[🔎] 000401c30c10$438e5fc0$0300a8c0@willemjan>,
Willem-Jan Meijer <meyer3@chello.nl> wrote:
>I just switched from ext2 to ext3 because i've read you don't have to fsck
>it after a crash (power supply failure)
>So I made a journal and changed in /etc/fstab the ext2 to ext3 and i've done
>a reboot.
>When I do mount I see /dev/hda1 is mounted as ext3.
Note that the root filesystem gets mounted by the kernel, and the
kernel doesn't read /etc/fstab, since it is on the root filesystem
that hasn't been mounted yet ...
However if you put ext3 in /etc/fstab for '/', then 'mount' will
happily tell you that '/' is mounted as ext3, while in reality
it could be ext2.
/proc/mounts will tell you if / is really ext3.
>I just want to be sure...when I get a crash and the computer resets
>itself...I don't have to do a forced fsck?
If rootfs is still ext2, put
append="rootfstype=ext3"
in /etc/lilo.conf, re-run lilo, reboot and it will be ext3. Then
fsck won't run on boot. Well, it will run, actually, to replay the
journal, but it won't do a full file system check.
Mike.
Reply to: