[OpenIndiana-discuss] cryptic device naming?

McBofh james.c.mcpherson at gmail.com
Fri Nov 5 21:26:46 UTC 2010


On  6/11/10 01:34 AM, Roy Sigurd Karlsbakk wrote:
> Hi all
>
> As mentioned in an earlier email, and in a bug report https://www.illumos.org/issues/396
>- I'm having some problems with 'format' segfaulting with OI/osol on this new
>server. However, I tried with NexentaCore 3, and that behaved better. I can now
>run format to list attached drives (connected to a SAS6 expander). Now, although
>the drives show up, their names are very cryptic. See below for format output.
>The controller I'm using is a LSA SAS9211. I have used the expanders earlier
>without problem, but with this controller, the drive names are seriously messed
>up. So a couple of questions:
>
>   - How can I know which drive just died with these names?

fmdump -v -u (fmri)


>   - Is it possible to remove this new naming and go back to c0t0d0s0-like naming?
>
>
> AVAILABLE DISK SELECTIONS:
>         0. c0t500A075102FC7DC7d0<DEFAULT cyl 39867 alt 2 hd 224 sec 56>
>            /scsi_vhci/disk at g500a075102fc7dc7
>         1. c0t5000C50019890FEDd0<DEFAULT cyl 19454 alt 2 hd 255 sec 63>
>            /scsi_vhci/disk at g5000c50019890fed
>         2. c0t5000C50019891202d0<DEFAULT cyl 19454 alt 2 hd 255 sec 63>
>            /scsi_vhci/disk at g5000c50019891202
>         3. c0t50014EE0AD1F8EEAd0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee0ad1f8eea
>         4. c0t50014EE0AD200B4Ed0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee0ad200b4e
>         5. c0t50014EE0AD2011A1d0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee0ad2011a1
>         6. c0t50014EE057CA7E51d0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee057ca7e51
>         7. c0t50014EE057CA672Ad0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee057ca672a
>         8. c0t50014EE00274B21Ed0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee00274b21e
>         9. c0t50014EE00275294Fd0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee00275294f
>        10. c0t50014EE002447869d0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee002447869
>        11. c0t50014EE002752952d0<DEFAULT cyl 60798 alt 2 hd 255 sec 252>
>            /scsi_vhci/disk at g50014ee002752952

You've _got_ cXtYdZ naming - it's just that the (Y) part is
based on the target-port name property, which is generated
from the device devid (closely related to the GUID).

With your hba, which is using mpt_sas, you have MPxIO on by
default, which is the direction that ON has been heading in
for many years. You should be able to see useful information
by running

# cfgadm -lav


eg,

Ap_Id                          Receptacle   Occupant     Condition  Information
When         Type         Busy     Phys_Id
c3                             connected    configured   unknown
unavailable  scsi-sas     n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi
c3::0,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t5000CCA00510A7CCd0s0(sd37)
unavailable  disk-path    n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi::0,0
c3::2,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t5000CCA35DE9C580d0s0(sd48)
unavailable  disk-path    n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi::2,0
c3::3,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t5000C500204C9482d0s0(sd47)
unavailable  disk-path    n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi::3,0
c3::dsk/c3t4d0                 connected    configured   unknown    ST3320620AS ST3320620AS
unavailable  disk         n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi::dsk/c3t4d0
c3::dsk/c3t6d0                 connected    configured   unknown    ST3320620AS ST3320620AS
unavailable  disk         n        /devices/pci at 0,0/pci10de,376 at a/pci1000,3150 at 0:scsi::dsk/c3t6d0
c4                             connected    configured   unknown
unavailable  scsi-sas     n        /devices/pci at ff,0/pci10de,377 at f/pci1000,3150 at 0:scsi
c4::8,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t5000CCA35DEA1ED5d0s0(sd43)
unavailable  disk-path    n        /devices/pci at ff,0/pci10de,377 at f/pci1000,3150 at 0:scsi::8,0
c4::9,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t50024E90037AF38Cd0s0(sd44)
unavailable  disk-path    n        /devices/pci at ff,0/pci10de,377 at f/pci1000,3150 at 0:scsi::9,0
c4::a,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t5000C500205E77DBd0s0(sd45)
unavailable  disk-path    n        /devices/pci at ff,0/pci10de,377 at f/pci1000,3150 at 0:scsi::a,0
c4::b,0                        connected    configured   unknown    Client Device: /dev/dsk/c5t50024E90037AF390d0s0(sd46)
unavailable  disk-path    n        /devices/pci at ff,0/pci10de,377 at f/pci1000,3150 at 0:scsi::b,0




hth.
McB



More information about the OpenIndiana-discuss mailing list