fsck during boot with badblocks check

Andrew Smith rhml2 at k1k2.com
Thu Feb 10 21:10:24 UTC 2005


Hi,
I was wondering if anyone knows how to get fsck to run during a
boot with a badblocks check?
I have a remote machine that is getting some bad blocks and I
want to get it to run "e2fsck -c -c -v -y /dev/hda2" (and hda3)
on reboot.
I can get fsck to run easily enough with
"tune2fs -c 10 -C 11 /dev/hda2" (and hda3) and rebooting, but I
also want fsck to do a badblocks check coz I know there are a few
bad blocks (smartctl says so and I'm getting a few I/O errors)
-Any help greatly appreciated
-Thanks




More information about the fedora-list mailing list