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, Single Initiator)

The procedure described below is intended for SPARC T3-1 and SPARC T3-4 servers in a single-initiator, eight-disk backplane configuration.

1. Run 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 will identify the physical slot that corresponds to the device name `c0t5000CCA00ABBAEB8d0`.

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

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

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

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

   Refer to the following table to find the controller.

   SPARC T3-1 |
   Controller 0 | `/pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000cca00abbaeb9,0`
   Controller 1 | `/pci@400/pci@2/pci@0/pci@4/scsi@0/disk@w5000cca00abbaeb9,0`
   SPARC T3-4 (4 processor) |
   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`
   SPARC T3-4 (2 processor) |
   Controller 0 | `/pci@400/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0`
   Controller 1 | `/pci@500/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca00abbaeb9,0`

   For SPARC T3-1 servers,the controller is identified in the second field: `pci@1` = controller 0 and `pci@2` = controller 1.

   For SPARC T3-4 servers, the controller is identified in the first field. For systems with a four-processor configuration, `pci@400` = controller 0 and `pci@700` = controller 1. For systems with a two-processor configuration, `pci@400` = controller 0 and `pci@500` = controller 1.

   The following output example shows the `obp-path` for a SPARC T3-1 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 Target ID
               name=’obp-path’ type=string items=1
                   value=’/pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000cca00abbaeb9,0’
               name=’phy-num’ type=int items=1
                   value=00000000
               name=’path-class’ type=string items=1
                   value=’primary’

   In this SPARC T3-1 example, the obp-path is:

       /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000cca00abbaeb9,0

   Based on the previous table, this disk is on controller 0.

   The following output example shows the `obp-path` for a SPARC T3-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 Target ID
               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 SPARC T3-4 example, the obp-path is:

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

   Based on the previous table, this disk is on controller 0.

4. This `phy-num` value corresponds to physical disk slot `0`, as shown in the following port mapping table.

   SAS Controller | PhyNum | Disk Slot |  | SAS Controller | PhyNum | Disk Slot
   --- | --- | --- | --- | --- | --- | ---
   0 | 0 | 0 |  | 1 | 0 | 4
   | 1 | 1 |  |  | 1 | 5
   | 2 | 2 |  |  | 2 | 6
   | 3 | 3 |  |  | 3 | 7

##### 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, Onboard Controllers)

- 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 |