Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 1997 22:46:39 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        gilbertd@cs.man.ac.uk (David Alan Gilbert)
Cc:        scsi@FreeBSD.ORG
Subject:   Re: Medium errors
Message-ID:  <19970313224639.RG19743@uriah.heep.sax.de>
In-Reply-To: <9703131538.AA26393@amu7.cs.man.ac.uk>; from David Alan Gilbert on Mar 13, 1997 15:38:54 %2B0000
References:  <9703131538.AA26393@amu7.cs.man.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
As David Alan Gilbert wrote:

> 1) Can someone explain to me what the Sun is doing with defect
>    lists? How do I look at the 'manufacturers defect list' on
>    FreeBSD - and what does it affect?

There's a script now, in src/tools/tools/scsi-defects/scsi-defects.pl,
courtesy Peter Dufault.  Be warned, it hung my Fujitsu drive at work,
but seems to run well on a variety of drives.

>    2) The disklabel stuff STILL doesn't work.  I tried zero'ing the disc
>       first; but running disklabel gives me various IOCTL errors.

Define `various'.  Explain exactly what you did.  Using or not using
-r makes a great difference on a pristine disk.  Using your own idea
of a device node, too (simply use `sd0' or such).

This is what is supposed to work:

	dd if=/dev/zero of=/dev/rsd0 count=15
	disklabel -Brw sd0 auto

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970313224639.RG19743>