From owner-freebsd-hackers Wed Oct 4 17: 4:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 23A2F37B503 for ; Wed, 4 Oct 2000 17:04:27 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id e9504Id78606; Wed, 4 Oct 2000 17:04:23 -0700 (PDT) Date: Wed, 4 Oct 2000 17:04:18 -0700 (PDT) From: Doug White To: Jaye Mathisen Cc: hackers@FreeBSD.ORG Subject: Re: IDE drives doing BBR? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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