[plug] Working around bad blocks

Timothy White weirdit at gmail.com
Sat Dec 23 19:53:27 WST 2006


Ok, I have a HDD that I know has 4 bad blocks on it, and no more. The
reason for them was a heat problem in a previous machine. I won't be
storing critical data on the drive, but would still like to use it.
$badblocks /dev/sda
3195200
3195201
3195202
3195203

>From that, I've worked out that (from the man page default block size
is 1024 bytes), that it's roughly at the 3120Mb point of the drive.
So what I would do, is make a /tmp and swap in the first 3000Mb's of
the drive, then a special blank 40Mb partition that would certainly
cover the bad blocks, then use the rest of the drive for what I want
to use it for, Debian mirrors.

Does this sound right to everyone? (i.e. my maths?)

Thanks

Tim
-- 
Linux Counter user #273956
Don't email joeblogs at scouts.org.au



More information about the plug mailing list