multiple issues with devstat_*(9)
John Baldwin
jhb at freebsd.org
Mon Apr 4 21:19:35 UTC 2011
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
More information about the freebsd-current
mailing list