[comp.sys.sun] Restoring disk manufacturer's media defect lists?

drk@uunet.uu.net (David R. Kaelbling) (03/07/89)

Due to circumstances I won't go into, I botched re-formatting some of our
disks (SMD Fujitsu 2344 and 2361's) and erased the manufacturer's media
defect list.  I still have the paper copies, and would like to somehow
tell diag about these bad spots.  (A weekend's formatting only turned up 8
bad sectors when Fujitsu found 42, and I was unable to construct a
reasonable mapping between the two).

Does any know how I can translate the (cylinder, head, pos, length)
information into something more directly useful (e.g. block numbers)?  I
find elusive hints in various places that diag's sformat may help, but I
can't find any documentation which actually describes this command.

The machine involved is a 3/260 running SunOS 3.5, with an xy451
controller.  Both disks are set for 600 bytes/sector.  Any help, including
RTFM with an explicit M, would be appreciated.

	Thanks.

David Kaelbling                                       (408) 496-3600
c/o Rational; 3320 Scott Boulevard; Santa Clara, CA       95054-3197
drk@Rational.COM, drk@igor.uu.net, ...!{uunet,ubvax,amdcad}!igor!drk

henry@uunet.uu.net (03/24/89)

>Due to circumstances I won't go into, I botched re-formatting some of our
>disks (SMD Fujitsu 2344 and 2361's) and erased the manufacturer's media
>defect list.  I still have the paper copies, and would like to somehow
>tell diag about these bad spots....

The lack of correspondence between the two lists is normal.  The paper
copies are maps made by scanning the drives by analog means, or so I'm
told, and they bear little relationship to what you see when your
controller puts digital data on them.

	Henry Spencer at U of Toronto Zoology
	uunet!attcan!utzoo!henry henry@zoo.toronto.edu