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-1003719.1
Update Date:2015-09-03
Keywords:

Solution Type  Technical Instruction Sure

Solution  1003719.1 :   How to Identify a Sun StorEdge 6320 LUN Within the Format Utility on a Solaris Host  


Related Items
  • Sun Storage 6120 Array
  •  
  • Sun Storage 6320 System
  •  
  • Sun Storage 6020 Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: SE6320
  •  
  • _Old GCS Categories>Sun Microsystems>Operating Systems>Solaris Operating System
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Modular Disk - 6xxx Arrays
  •  

PreviouslyPublishedAs
205242


Applies to:

Sun Storage 6320 System - Version Not Applicable and later
Sun Storage 6120 Array - Version Not Applicable and later
Sun Storage 6020 Array - Version Not Applicable and later
All Platforms

Goal

 This document details the steps to identify a Sun Storedge 6020, 6120 or 6320 volume, within the format utility, on a Solaris server.  The procedure differs if mpxio is enabled or disabled. Both are discussed herein.

Solution

1. When  mpxio IS NOT enabled, the identification is greatly simplified.

    Consider the following example. lun 3 is created from a volslice. Appropriate read/write permissions are applied.

6120# lun perm list
lun  slice WWN  Group Name      Group Perm      WWN Perm        Effective Perm
--------------------------------------------------------------------------------
0     0   default    --              --              none            none
1     1   default    --              --              none            none
2     2   default    --              --              none            none
3     3   default    --              --              rw              rw
-------------------------------------------------------------------------------- 

    The lun is being presented through a controller, with a target value of 1

6120# port list
port   targetid   addr_type   status   host   wwn
u1p1      1        hard       online   sun    20030003baccc738
  From the above two outputs, we know that the disk reporting into format will have a target value of 1 and a lun value of 3. Ex.. cXt1d3
#format ...
       3. c3t1d3
          /pci@1f,0/pci@1/SUNW,qlc@5/fp@0,0/ssd@w20030003baccc738,3

2. While mpxio IS enabled.

  • Run the format command and gather the 6120 volumes in question
# format
...
2. c4t60003BA4D31610003FD788F4000001D7d0 cyl 46826 alt 2 hd 56 sec 16>
3. c4t60003BA13F2700003FD8A76F000A7884d0 cyl 46826 alt 2 hd 56 sec 16>
4. c4t60003BA13F2700003FD8AF22000025C2d0 cyl 46826 alt 2 hd 56 sec 16>
5. c4t60003BA13F2700003FD8CA7E0007630Bd0 cyl 46826 alt 2 hd 56 sec 16>
6. c4t60003BA13F2700003FD8D4EB00017A9Bd0 cyl 49160 alt 2 hd 112 sec 16>
7. c4t60003BA13F2700003FD630C8000AF254d0 cyl 46826 alt 2 hd 14 sec 16>
8. c4t60003BA13F2700003FDD214C000894CCd0 cyl 52668 alt 2 hd 112 sec 16>
9. c4t60003BA13F2700003FDD236A000A8B98d0 cyl 46826 alt 2 hd 56 sec 16>

  •  Now run luxadm display /dev/rdsk/c#t#d#s2 | grep "Device Address" for each drive you want to map to it's LUN.

The LUN number is the one that appears after the comma. The number is in hex.

   # luxadm display /dev/rdsk/c4t60003BA13F2700003FD8A76F000A7884d0s2 | grep "Device Address"
           Device Address               20030003ba13f270,19
           Device Address               20030003ba13f7ef,19 

In this case, lun 0x19 hex, is decimal lun 25 from the array.  You can check on the array with lun perm list

#6120 lun perm list
lun     slice   WWN                     Group Name      Group Perm      WWN Perm        Effective Perm
--------------------------------------------------------------------------------------------------------
.....
25       25       default                 --               --              none            none
25       25       210000e08b07a2b4        HBA-1            rw              none            rw
25       25       210100e08b27a2b4        HBA-2            rw              none            rw

  • Here is the complete set of pathing output for luxadm display

# luxadm display /dev/rdsk/c4t60003BA13F2700003FD8A76F000A7884d0s2

/devices/scsi_vhci/ssd@g60003ba13f2700003fd8a76f000a7884:c,raw
Controller      	/devices/pci@1f,4000/SUNW,qlc@2/fp@0,0
Device Address		20030003ba13f270,19                <=   Array's WWPN, lun number in HEX
Host controller port WWN	210000e08b0f2ded             <=  Primary host port
Class			primary
State			ONLINE
Controller      	/devices/pci@1f,4000/SUNW,qlc@4/fp@0,0
Device Address		20030003ba13f7ef,19                 <=  Array's WWPN, lun number in HEX
Host controller port WWN	210000e08b0fb6f4             <=  Secondary host port
Class			secondary
State			STANDBY

 

In the event there are multiple arrays attached to the server, you need to confirm you are on the right array by comparing the wwpn in luxadm display with the wwpn from the array. Use port list on the array. Sample output above.

 

 

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