Re: multiple issues with devstat_*(9)

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 4 Apr 2011 17:19:33 -0400
On Monday, April 04, 2011 4:43:16 pm Alexander Best wrote:
> On Fri Apr  1 11, John Baldwin wrote:
> > This is probably due to the hard drives being IDE (really ATA) rather than
> > SCSI.  I agree this should show the pass devices.
> 
> hmmmm...one could argue. the drives are ATA, however they are being associated
> to the CAM subsystem. depends what one considers under "scsi interface".
> personally i'd like to see them inder "scsi".

No, SCSI is a transport protocol.  Alexandar Motin's work added a new
transport layer that speaks ATA and that is what ada uses.  CAM does not
send SCSI commands to adaX devices AFAIK.

> > > otaku% iostat -t ide
> > >        tty            cpu
> > >  tin  tout us ni sy in id
> > >    1    92  5  0  4  0 90
> > > otaku% iostat -t other
> > >        tty            cpu
> > >  tin  tout us ni sy in id
> > >    1    92  5  0  4  0 90
> > > 
> > > ...what about md0? ada0? ada1? md0?
> > 
> > md0 is a memory disk, it is neither SCSI nor IDE.  However, -t ide (or even
> > better, a -t ata), should show all of your other devices (adaX and cd0) along
> > with their passX devices I think.
> 
> so md0 should show up under -t other. i don't think there's a -t ata.

Yes, I think we should possibly add a -t ata, possibly as an alias for
-t ide.

-- 
John Baldwin
Received on Mon Apr 04 2011 - 19:19:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC