Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1507646.1
Update Date:2017-03-30
Keywords:

Solution Type  Technical Instruction Sure

Solution  1507646.1 :   How to Identify Internal Disk Slot Numbers Using the mpathadm Utility on T3/T4 systems  


Related Items
  • SPARC T3-4
  •  
  • SPARC T3-1
  •  
  • SPARC T3-1B
  •  
  • Netra T3-1BA
  •  
  • SPARC T4-2
  •  
  • Netra SPARC T4-2 Server
  •  
  • Netra SPARC T4-1 Server
  •  
  • Netra SPARC T4-1B
  •  
  • SPARC SuperCluster T4-4
  •  
  • SPARC T4-1
  •  
  • SPARC T3-2
  •  
  • SPARC T4-1B
  •  
  • SPARC T4-4
  •  
  • Netra T3-1
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>CMT>SN-SPARC: T4
  •  




In this Document
Goal
Solution


Created from <SR 3-6471796181>

Applies to:

SPARC T4-1 - Version All Versions and later
SPARC T3-4 - Version All Versions and later
SPARC T4-2 - Version All Versions and later
SPARC T4-4 - Version All Versions and later
SPARC T3-1 - Version All Versions and later
Oracle Solaris on SPARC (64-bit)

Goal

Identify T3/T4 disk slot number through the use of mpathadm

Applicable to systems utilizing Sun Storage Traffic Manager Software (MPxIO) SCSI VHCI driver controller
(This method is not applicable to LSI HW RAID volumes)


 

Solution

T3/T4 internal disks now use unique World Wide Name (WWN) numbers (c0tWWNd0), rather than previously used target numbers (c0t0d0) to identify the physical disk slot number.  

In order to identify a disk slot number for replacement, the output from 'prtconf -v' must be manually reviewed to identify the slot number associated with the WWN.  

The mpathadm command can be used as an alternate method to identify the disk slot information, when the scsi_vhci multipathing driver is in use.

**Please note that mpathadm cannot be used to identify LSI HW RAID volumes.


1) Identify the disk to be replaced using format or /dev/dsk

2) Use mpathadm show lu /dev/rdsk/{cXtXXXXXd0s2} command to determine the SAS port ID:
   
Example:

    root@t3-1-gmp03-d # mpathadm show lu /dev/rdsk/c0t5000CCA00ABCEA20d0s2
    Logical Unit: /dev/rdsk/c0t5000CCA00ABCEA20d0s2

        mpath-support: libmpscsi_vhci.so
        Vendor: HITACHI
        Product: H103030SCSUN300G
        Revision: A2A8
        Name Type: unknown type
        Name: 5000cca00abcea20
        Asymmetric: no
        Current Load Balance: round-robin
        Logical Unit Group ID: NA
        Auto Failback: on
        Auto Probing: NA
        Paths:

            Initiator Port Name: 5080020000d64e18
            Target Port Name: 5000cca00abcea21
            Override Path: NA
            Path State: OK
            Disabled: no
            Initiator Port Name: 5080020000d64e19
            Target Port Name: 5000cca00abcea21
            Override Path: NA
            Path State: OK
            Disabled: no

        Target Ports:
        Name: 5000cca00abcea21
        Relative ID: 0            <<<
        root@t3-1-gmp03-d #



ADDITIONAL INFORMATION:

Manual procedures can be found under Doc ID 1365089.1 - How to locate a failed internal disk drive on a T3/T4 series system
or under the server specific Administration Guide under "Identify a Disk Slot Using prtconf"

SPARC T-Series Server documentation can be found at: www.oracle.com/technetwork/documentation/sparc-tseries-servers-252697.html


LSI CONTROLLER PATH INFORMATION :

SPARC T3-1 (8-Disk Backplane)
Controller 0 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@(0-3)
Controller 1 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@(4-7)

SPARC T3-1 (16-Disk Backplane)
Controller 0 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@(0-7)
Controller 1 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@(8-15)

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

#########

SPARC T3-4 (4 processor)
Controller 0 /pci@400/pci@1/pci@0/pci@0/LSI,sas@ (HDDs 0,1,2,3 = PhyNum 0,1,2,3)
Controller 1 /pci@700/pci@1/pci@0/pci@0/LSI,sas@ (HDDs 4,5,6,7 = PhyNum 0,1,2,3)  

SPARC T3-4 (2 processor)
Controller 0 /pci@400/pci@1/pci@0/pci@0/LSI,sas@ (HDDs 0,1,2,3 = PhyNum 0,1,2,3)
Controller 1 /pci@500/pci@2/pci@0/pci@0/LSI,sas@ (HDDs 4,5,6,7 = PhyNum 0,1,2,3)

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

#########

SPARC T4-1
Controller 0 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@(0-3)
Controller 1 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@(4-7)

For additional controller path information, please see Doc ID 1005907.1 SPARC Platforms: Matrix of Recognized Device Paths



ADDITIONAL OPTIONS AVAILABLE:

1) Use the 'sas2ircu' utility to query the LSI controller for the physical slot:

Example:

sas2ircu 0 DISPLAY

Device is a Hard disk
Enclosure # : 2
Slot # : 10                
SAS Address : 5000cca-0-0abc-ea21
State : Ready (RDY)
Size (in MB)/(in sectors) : 286102/585937499
Manufacturer : HITACHI
Model Number : H103030SCSUN300G
Firmware Revision : A2A8
Serial No : 1031GAWTDE
Protocol : SAS
Drive Type : SAS_HDD


2) To visually confirm the the correct disk for replacement, the disks unique serial number can be found using the format command in expert mode,  which can then be confirmed on the disk label

format -e > scsi > inquiry:

    Inquiry:
    00 00 06 12 9f 00 10 02 48 49 54 41 43 48 49 20 ........HITACHI
    48 31 30 33 30 33 30 53 43 53 55 4e 33 30 30 47 H103030SCSUN300G        
    41 32 41 38 31 30 33 31 47 41 57 54 44 45 00 00 A2A81031GAWTDE..    <<< Serial#
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 Copyright (C) 20
    30 33 2c 20 48 69 74 61 63 68 69 20 43 6f 72 70 03, Hitachi Corp
    2e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
    20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
    00 00 00 00 ....


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback