On Thu, Feb 26, 1998 at 08:12:29PM -0500, Ben Pfaff wrote: > I keep getting {DriveReady SeekComplete DataRequest Error }'s and I > figure > it's all bad blocks. I ran "fsck /dev/hda2" but it only seems to do a > cursory examination (not taking nearly as long as the scan when I installed > Linux) and I keep getting the same errors after presumably correcting them. > So I was wondering what the utility was to thouroughly check all of the HD > for errors. > > Use the badblocks(8) program. > > Also, I've been told not to run disk checks while the HD is mounted, > how > can I load linux sans mounting the HD? does it work if I boot from a > floppy? > > It shouldn't be a problem to run badblocks while the HD is mounted; it > does not write to the drive, just reads from it.
Hmmm. If badblocks doesn't write to the drive, how will this help? "e2fsck -c /dev/hda2" will run e2fsck, and it will run badblocks, and note the blocks as bad and move all the data it can to other places. Note that these IDE disk errors can be power supply related. Most of the errors I was having with a disk went away when I replaced the power supply. One bad sector remained which I fixed with e2fsck. Hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .