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

Search Scope:

- This Document
- Entire Library

## Identify a Disk Slot Using `prtconf` (Oracle Solaris OS)

The procedure described below applies to SPARC T4-1 and SPARC T4-4 servers, which have eight-disk backplane configurations. The same methodology can be used for the SPARC T4-2 server and SPARC T4-1B blade systems.

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 containing the device name `c0t5000CCA00ABBAEB8d0`.

       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 table to find the controller.

   SPARC T4-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 T4-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 T4-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 T4-1 servers, the controller is identified in the second field: `pci@1` = controller 0 and `pci@2` = controller 1.

   For SPARC T4-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.

   Note - Because SPARC T4-2 and SPARC T4-1B systems contain only one SAS controller, only controller `0` will be listed.

   The following output example shows the `obp-path` for a SPARC T4-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 SAS address
               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 T4-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 T4-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 SPARC T4-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 | 01 |  | 1 | 0 | 4
   | 1 | 1 |  |  | 1 | 5
   | 2 | 2 |  |  | 2 | 6
   | 3 | 3 |  |  | 3 | 7

   1Default boot drive

##### Related Information

- World Wide Name Syntax

- `probe-scsi-all` WWN Mapping Overview

- WWN Syntax in an OS Installation on an Individual Drive

- WWN Syntax in an OS Installation on a RAID Volume

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