Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 1998 17:10:02 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        braukmann@tse-online.de (Andreas Braukmann)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: bad sectors
Message-ID:  <199810222310.RAA19256@panzer.plutotech.com>
In-Reply-To: <19981022233738.J1126@paert.tse-online.de> from Andreas Braukmann at "Oct 22, 98 11:37:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Braukmann wrote...
> Hi,
> 
> On Thu, Oct 22, 1998 at 12:57:15PM -0600, Kenneth D. Merry wrote:
> > 
> > If you have SCSI disks and a CAM system, you can do the following:
> > camcontrol defects -n da -u 1 -f phys -G
> > To see the grown defect list for da1.
> 
> hmmm. just jumping in ...
> 
> paert# uname -a
> FreeBSD paert.tse-online.de 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Tue Oct 20 09:17:27 CEST 1998     toor@paert.tse-online.de:/home/src/sys/compile/ABWS-SMP  i386
> 
> paert# camcontrol defects -n da -u 1 -f phys -G
> error reading defect list: Input/output error
> 
> from dmesg:
> da1 at ncr0 bus 0 target 1 lun 0
> da1: <IBM DDRS-39130W S92A> Fixed Direct Access SCSI2 device 
> da1: 40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled
> da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
> 
> any hints? is it my fault? the drive's fault? 

Try a different format (the other choices are 'bfi' and 'block').  Some
drives don't support all of the different formats.  If you specify -v on
the command line, you'll get sense information that will tell you why the
command is failing.

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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