Date: Sun, 17 Apr 2016 16:03:03 -0400 From: Michael Powell <nightrecon@hotmail.com> To: freebsd-questions@freebsd.org Subject: Re: tool for mapping away bad blocks on an external disk Message-ID: <nf0q3i$ahc$1@ger.gmane.org> References: <20160417072641.GA2358@c720-r292778-amd64> <20160417093957.0b1acb4c37d7c15a4b06af88@sohara.org> <alpine.BSF.2.20.1604171023510.30232@wonkity.com> <nf0h0u$5ij$1@ger.gmane.org> <alpine.BSF.2.20.1604171136320.30232@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Warren Block wrote: > On Sun, 17 Apr 2016, Michael Powell wrote: > >> Back in the day (Fixed Direct Access SCSI-2 device) you could use the >> controller BIOS to do what used to be known as a "low level format" of >> SCSI drives in order to attempt to squeak a little more life from them. >> And if new bad spots did not begin to pop again right away you might be >> good to go for a while. If they did it indicated mass media failure that >> would just avalanche. The old Adaptec 1540 and 2940 controllers come to >> mind (Ctrl-A to enter the controller BIOS during POST). >> >> Can't do this through a USB subsystem. > > Or to pretty much any drive any more. They will accept the low-level > format command, but return immediately. Or that's what happened the > last time I tried it, years ago. Most of the time when low-level format was discussed wrt to IDE drives it was fake. All it really did was fill the drive with zeros. It is possible to low-level an IDE, but generally the manufacturers would not release the ability to the public. They could low-level a drive but they didn't want end users doing it; they would rather sell you another drive. A true low-level regenerates the remap zone in tandem. It isn't that it isn't possible, per se, but that's it's so dangerous to actually try it with an IDE drive the mfr does not want the end user to be able to even try. Hence the 'fake' write zeros to all media and call it "low-level" as a marketing gimmick. When you low-level a SCSI drive it's the real thing. > It's been a long time since hard drives gave any direct access to the > media. Everything goes through the controller on the drive now, which > handles all that transparently. So blocks that appeared bad might be > already mapped out by the drive. In IDE the remap zone is finite. As long as it's not full the end user won't see errors as the drive is handling this behind the scene. Once the remap zone becomes full, then the errors have no place to remap to, and you begin to see the dead sectors. Low-leveling a SCSI drive wiped everything and reinitialized the bad sector table to reflect the current status, which could be repeated. To do this with an IDE drive it really can only be done by the manufacturer, and they won't. It's "buy a new drive time." -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nf0q3i$ahc$1>