From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 21:19:35 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753D9106566C; Mon, 4 Apr 2011 21:19:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF938FC15; Mon, 4 Apr 2011 21:19:35 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B6B3346B2C; Mon, 4 Apr 2011 17:19:34 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4F0FB8A01B; Mon, 4 Apr 2011 17:19:34 -0400 (EDT) From: John Baldwin To: Alexander Best Date: Mon, 4 Apr 2011 17:19:33 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <20110331223339.GA13682@freebsd.org> <201104010843.47367.jhb@freebsd.org> <20110404204316.GA11367@freebsd.org> In-Reply-To: <20110404204316.GA11367@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104041719.33844.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 04 Apr 2011 17:19:34 -0400 (EDT) Cc: Alexander Motin , freebsd-current@freebsd.org Subject: Re: multiple issues with devstat_*(9) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 21:19:35 -0000 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