From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 31 03:28:17 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DB481065673; Fri, 31 Aug 2012 03:28:17 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id D960C8FC0C; Fri, 31 Aug 2012 03:28:16 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id q7V3S9kR006091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Aug 2012 20:28:09 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id q7V3S9Zv006090; Thu, 30 Aug 2012 20:28:09 -0700 (PDT) (envelope-from jmg) Date: Thu, 30 Aug 2012 20:28:09 -0700 From: John-Mark Gurney To: John Message-ID: <20120831032809.GH58312@funkthat.com> Mail-Followup-To: John-Mark Gurney , John , FreeBSD SCSI References: <20120831003106.GA70561@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120831003106.GA70561@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 30 Aug 2012 20:28:10 -0700 (PDT) Cc: FreeBSD SCSI Subject: Re: camcontrol devlist device name ordering X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 03:28:17 -0000 John wrote this message on Fri, Aug 31, 2012 at 00:31 +0000: > When running "camcontrol devlist", the device names are not always > printed out the same. For instance: > > at scbus7 target 165 lun 0 (pass24,da21) > at scbus7 target 166 lun 0 (pass25,da22) > at scbus7 target 167 lun 0 (pass26,da23) > at scbus7 target 168 lun 0 (pass27,da24) > at scbus7 target 169 lun 0 (ses0,pass28) <--- > at scbus7 target 170 lun 0 (pass29,da25) > at scbus7 target 171 lun 0 (pass30,da26) > at scbus7 target 172 lun 0 (pass31,da27) > > In the last column, the disk devices are pass device / disk device. For > the enclosure, it's enclosure device / pass device. I'm going to point out that it isn't always pass/disk as is demonstrated by this: root@carbon:/home/jmg # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus7 target 0 lun 0 (da0,pass1) at scbus7 target 1 lun 0 (pass2,da1) at scbus7 target 2 lun 0 (da2,pass3) It depends upon the controller.. da0 and da2 are normal boot, but da1 is reverse because it came about after a disk was replaced and a rescan for the disk.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."