Subject: Re: disabling disk error recovery/wiping a defective disk
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Stefan Schumacher <stefan@net-tex.de>
List: netbsd-users
Date: 05/30/2005 19:27:21
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Also sprach Steven M. Bellovin (smb@cs.columbia.edu)
> I have a disk with enough unreadable portions that it's being replaced=20
> under warranty by the vendor.  I would like to overwrite whatever=20
> portions of the disk I can.  Trying to do that in a straight-forward=20
> fashion runs afoul of the error recovery code; it slows down the=20
> attempt or even prevents it.  Any suggestions on what to do?  (This is=20
> an SATA disk on -current/i386.)

If you know which sectors are FUBARed you could build slices around
them and wipe that working slices with a wiper or dd.

Some HDs also come with a vendormade software that disables defunc
blocks, maybe this would be a way.=20



Stefan
--=20
PGP FPR: CF74 D5F2 4871 3E5C FFFE 0130 11F4 C41E B3FB AE33
--=20
Wer mit Ungeheuern k=E4mpft, mag zusehn, dass er nicht dabei zum Ungeheuer =
wird.
Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich
hinein.
Friedrich Nietzsche, "Jenseits von Gut und B=F6se"

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCm0z5EfTEHrP7rjMRAp9GAJ40Jtyt9SO48jasd0jMLZDitE945wCfSxAf
kmk4uZ9fLwUBIksMM87C85o=
=hbb0
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--