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
Andrew:
I would not trust a drive that smartctl found ANY bad blocks on. I would be looking for a new drive and doing a backup and restore to the new drive.
--
James McKenzie
Still working on a kernel for IBM Thinkpads with ATI Rage 128 cards with ibm-acpi .1.