Go to main content
SPARC and Netra SPARC T5 Series Servers Administration Guide

Exit Print View

Updated: August 2016
 
 

Identify a Disk Slot (Oracle Solaris)

The examples in this procedure apply to a SPARC T5-4 server that has an eight-disk backplane configuration.


Note - This document applies to several server and server module products. The following example is based on the SPARC T5-4 server. Your output might vary from the examples based on your product.
  1. Type the format command.
    # format
    Searching for disks...done
     
    AVAILABLE DISK SELECTIONS:
        0. c0t5000CCA00ABBAEB8d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
           /scsi_vhci/disk@g5000cca00abbaeb8
        1. c0t5000C5001D40D7F7d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
           /scsi_vhci/disk@g5000c5001d40d7f7
    [...]
    

    The remaining steps in this example identify the physical slot that corresponds to the device name c0t5000CCA00ABBAEB8d0.

  2. Type prtconf -v and search for the device link containing the device name c0t5000CCA00ABBAEB8d0.

    For this example, the following portion of the output includes that device name:

    Device Minor Nodes:
        dev=(32,0)
            dev_path=/scsi_vhci/disk@g5000cca00abbaeb8:a
                spectype=blk type=minor
                dev_link=/dev/dsk/c0t5000CCA00ABBAEB8d0s0      <<=== Device link
                dev_link=/dev/sd3a
            dev_path=/scsi_vhci/disk@g5000cca00abbaeb8:a,raw
                spectype=chr type=minor
                dev_link=/dev/rdsk/c0t5000CCA00ABBAEB8d0s0     <<=== Device link
                dev_link=/dev/rsd3a
    
  3. Search the prtconf output for the name='wwn' entry that shows the WWN value 5000cca00abbaeb8.

    Note the obp-path value listed under WWN 5000cca00abbaeb8.

    Refer to the following items to find the controller.

    • Controller 0 – /pci@400/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0

    • Controller 1 – /pci@700/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0

    For SPARC T5-4 servers, the controller is identified in the first field. For servers with a four-processor configuration, pci@400 is controller 0 and pci@700 is controller 1.

    The following output example shows the obp-path for a SPARC T5-4 server.

    Paths from multipath bus adapters:
        mpt_sas#5 (online)
            name='wwn' type=string items=1
                value='5000cca00abbaeb8'              <<=== Hard drive WWN ID
            name='lun' type=int items=1
                value=00000000
            name='target-port' type=string items=1
                value='5000cca00abbaeb9'              <<=== Hard drive SAS address
            name='obp-path' type=string items=1
                value='/pci@400/pci@1/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0'
            name='phy-num' type=int items=1
                value=00000000
            name='path-class' type=string items=1
                value='primary'
    

    In this example, the obp-path is:

    /pci@400/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0
    

    Based on the earlier name identification, this disk is on controller 0.

  4. Consult this port mapping table to determine which physical disk slot the phy-num value corresponds to.

    This phy-num value corresponds to physical disk slot 0.

    SAS Controller
    PhyNum
    Disk Slot
    SAS Controller
    PhyNum
    Disk Slot
    0
    0
    0

    Default boot drive

    1
    0
    4
    1
    1
    1
    5
    2
    2
    2
    6
    3
    3
    3
    7

Related Information