On Fri, Sep 28, 2007 at 01:37:52PM +0200, Peter N. M. Hansteen wrote: > "Leonardo Marques" <[EMAIL PROTECTED]> writes: > > > I've a HD which are returning a lot of errors. Someone know some good > > tool to analyze this disk and tell me if i've to replace it or if > > exist some way to repair it? > > To my mind that kind of errors say "run, don't walk to the store for > replacement". Modern disks remap bad parts away from active use, when > they've run out of remappable space, they start complaining like that. >
Remapping is only possible when writing to blocks. The disk can not remap on reads. By forcing writes to such blocks you can remap them but the data on them is still lost. I use some partitions with almost only read access that had bad blocks and I could fix the problem with dd if=/dev/zero of=/dev/rsd0x (not important data so I did not replace the disk) -- :wq Claudio