Skip Navigation Links
Exit Print View
| SPARC T3-1 Server HTML Document Collection

Search Scope:

- This Document
- Entire Library

## Identify a Disk Slot Using `prtconf` (Oracle Solaris, Onboard Controllers)

The procedure described below is intended for SPARC T3-1 servers with sixteen-disk capable backplanes. These systems include a SAS expander between the two on-board SAS controllers and the hard drive connectors. The 16 disk backplane is zoned such that the `phy-num` value associated with each drive is relative to its controller.

Note - For systems with an eight-disk capable backplane and two on-board controllers, each controller provides an interface to four of the eight drive slots. As a result, the `phy-num` value associated with each drive is relative to its controller. A example of the single-initiator configuration procedure is provided in Identify a Disk Slot Using `prtconf` (Oracle Solaris, Single Initiator)

1. Run the `format` command.

       # format
       Searching for disks...done

       AVAILABLE DISK SELECTIONS:
           0. c0t5000C5001D3FF2D7d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
              /scsi_vhci/disk@g5000c5001d3ff2d7
           1. c0t5000C5001D40D7F7d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
              /scsi_vhci/disk@g5000c5001d40d7f7
       [...]

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

2. Run `prtconf -v` and search for the device link `c0t5000C5001D3FF2D7d0`.

       Device Minor Nodes:
           dev=(32,0)
               dev_path=/scsi_vhci/disk@g5000c5001d3ff2d7:a
                   spectype=blk type=minor
                   dev_link=/dev/dsk/c0t5000C5001D3FF2D7d0s0      <<=== Device path
                   dev_link=/dev/sd3a
               dev_path=/scsi_vhci/disk@g5000c5001d3ff2d7:a,raw
                   spectype=chr type=minor
                   dev_link=/dev/rdsk/c0t5000C5001D3FF2D7d0s0     <<=== Device path
                   dev_link=/dev/rsd3a

3. Search the `prtconf` output for a `name=’wwn’` entry that has the WWN value `5000c5001d3ff2d7`.

   Note the `target-port` value listed with that WWN value. In this example it is `5000c5001d3ff2d5`. This is the target ID of the physical disk.

       Paths from multipath bus adapters:
           mpt_sas#2 (online)
               name=’wwn’ type=string items=1
                   value=’5000c5001d3ff2d7’              <<=== Hard drive WWN ID
               name=’lun’ type=int items=1
                   value=00000000
               name=’target-port’ type=string items=1
                   value=’5000c5001d3ff2d5’              <<=== Hard drive target ID
               name=’obp-path’ type=string items=1
                   value=’/pci@400/pci@2/pci@0/pci@4/scsi@0/disk@w5000c5001d3ff2d5,0’
               name=’phy-num’ type=int items=1
                   value=00000004                        <<=== Hard drive slot number
               name=’path-class’ type=string items=1
                   value=’primary’
           mpt_sas#5 (online)
               name=’wwn’ type=string items=1
                   value=’5000c5001d3ff2d7’
               name=’lun’ type=int items=1
                   value=00000000
               name=’target-port’ type=string items=1
                   value=’5000c5001d3ff2d5’
               name=’obp-path’ type=string items=1
                   value=’/pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000c5001d3ff2d5,0’
               name=’phy-num’ type=int items=1
                   value=00000004
               name=’path-class’ type=string items=1
                   value=’primary’

   Note - In a SPARC T3-1 system with a sixteen-disk backplane, both controllers list the logical name (the `wwn` value), a corresponding port name (target-port value), and physical disk location (`phy-num` value) for every connected hard drive.

4. The value shown for the `name=’phy-num’` entry indicates the physical slot containing the hard drive.

   In this example, the target device is in slot 4.

##### Related Information

- World Wide Name Syntax

- `probe-scsi-all` Output Example (SPARC T3-1, Eight-Disk Backplane)

- `probe-scsi-all` Output Example (SPARC T3-1, Sixteen-Disk Backplane)

- `probe-scsi-all` Output Example (SPARC T3-4)

- Identify a Disk Slot Using `prtconf` (Oracle Solaris, Single Initiator)

- WWN Syntax in an OS Installation on a Specific Device

- WWN Syntax in an OS Installation on a RAID Volume

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |