Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 1999 17:10:56 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        wjw@iae.nl
Cc:        scsi@freeBSD.org
Subject:   Re: Trouble on my DPT controller
Message-ID:  <199907062310.RAA87097@panzer.kdm.org>
In-Reply-To: <19990706230622.427C59FAE@surf.iae.nl> from Willem Jan  Withagen at "Jul 7, 1999 01:06:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Willem Jan  Withagen wrote...
> You ( Kenneth D. Merry ) write:
> =>  > Is there any way to test the individual disks-defects "through" the DPT 
> =>  > controller?
> =>  > [~wjw] root@hobby> scsi-defects /dev/rda1 Plist
> =>  > SCIOCCOMMAND ioctl: Inappropriate ioctl for device
> =>  > There are no defects (in this list).
> =>  
> =>  Well, that's an old script, written for the old SCSI layer's userland
> =>  interface.  Try 'camcontrol defects', like this:
> =>  
> =>  camcontrol defects -n da -u 0 -f phys -PG
> =>  
> =>  If you look at the camcontrol(8) man page or 'camcontrol help', you'll see
> =>  more information about the defects command.
> 
> Good suggestion. We'll be using that at work as well.
> 
> It does work om my old Micropolis on the AHC0, but on the DPT it's giving 
> zero errors for both grown and factory defects. And the latter I find sort
> of hard to believe. 
> It even reporst nothing on the single disk to the DPT

I wonder if the DPT is filtering the command somehow.  I also find it hard
to believe that your disk has no defects.

> I'had been toying with these command:
> 	an eject on my dpt RAID-5 gives me an invalid array :-)
> So you might want to disable that in the code for fixed-drives.

Heh, well, part of the fun of camcontrol is that it gives users 10 miles
more rope than they need to hang themselves. :)

For even more fun, you can try out my camcontrol format patches:

http://www.freebsd.org/~ken/camcontrol.format.061799

Ken
-- 
Kenneth Merry
ken@plutotech.com


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




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