Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2012 20:28:09 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        John <jwd@freebsd.org>
Cc:        FreeBSD SCSI <freebsd-scsi@freebsd.org>
Subject:   Re: camcontrol devlist device name ordering
Message-ID:  <20120831032809.GH58312@funkthat.com>
In-Reply-To: <20120831003106.GA70561@FreeBSD.org>
References:  <20120831003106.GA70561@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> 
> <HP EG0600FBLSH HPD2>              at scbus7 target 165 lun 0 (pass24,da21)
> <HP EG0600FBLSH HPD2>              at scbus7 target 166 lun 0 (pass25,da22)
> <HP EG0600FBLSH HPD2>              at scbus7 target 167 lun 0 (pass26,da23)
> <HP EG0600FBLSH HPD2>              at scbus7 target 168 lun 0 (pass27,da24)
> <HP D2700 SAS AJ941A 0131>         at scbus7 target 169 lun 0 (ses0,pass28) <---
> <HP EG0600FBLSH HPD2>              at scbus7 target 170 lun 0 (pass29,da25)
> <HP EG0600FBLSH HPD2>              at scbus7 target 171 lun 0 (pass30,da26)
> <HP EG0600FBLSH HPD2>              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
<IBM-DTLA-307045 TX6OA60A>         at scbus0 target 0 lun 0 (ada0,pass0)
<HPT DISK 0_0 4.00>                at scbus7 target 0 lun 0 (da0,pass1)
<HPT DISK 0_1 4.00>                at scbus7 target 1 lun 0 (pass2,da1)
<HPT DISK 0_2 4.00>                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."



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