Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 17:04:18 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Jaye Mathisen <mrcpu@internetcds.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: IDE drives doing BBR?
Message-ID:  <Pine.BSF.4.21.0010041702350.55166-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.21.0010041251240.32574-100000@apocalypse.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010041702350.55166-100000>