Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 17:19:33 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: multiple issues with devstat_*(9)
Message-ID:  <201104041719.33844.jhb@freebsd.org>
In-Reply-To: <20110404204316.GA11367@freebsd.org>
References:  <20110331223339.GA13682@freebsd.org> <201104010843.47367.jhb@freebsd.org> <20110404204316.GA11367@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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