On Wed, 4 Oct 2000, Jaye Mathisen wrote:
> Remember reading on hackers somewhere that newer drives like IBM supported
> this feature. I'm getting a few bad blocks on a 75GB IBM drive (at least
> according to the ata driver), and rather than replacing it and moves on,
> the disk basically dies.
>
> However, I run the IBM drive fitness test, it works some magic in there
> writing data to the drive, and the drive is back, and the failed block now
> seems fine.
>
Ran into this today actually ...
Yes the IBMs do automatic block remapping ... you may have to scrub the
disk a few times to get the bad blocks out. Now you have 75GB of
potentially bad blocks so you have to scrub pretty completely.
> Or do I just write nul's to the block or 0's, and it's supposed to do it
> automatically? or do I just punt.
'dd if=/dev/zero of=/dev/ad1 bs=4k' works great; takes about an hour to
scrub the entire disk. Run until clean. Running it right now in fact.
Doug White | FreeBSD: The Power to Serve
[EMAIL PROTECTED] | www.FreeBSD.org
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message