![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1006471.1 : Sun StorEdge 35xx Fibre Channel Arrays: Mapping Solaris Host Disk Devices to Array LUNs
PreviouslyPublishedAs 209066 Applies to:Sun Storage 3510 FC Array - Version Not Applicable to Not Applicable [Release N/A]Sun Storage 3511 SATA Array - Version Not Applicable to Not Applicable [Release N/A] All Platforms GoalThis document details mapping Solaris disk devices to Sun StorEdge 3510 fibre channel array LUNs. This will detail how to determine the array, logical disk, partition and LUN for an array that is connected in the following situations:
Solution NOTE: This document has the following assumptions:
If all of the above are true, /usr/sbin/format (herein referred to as format) will display the device and /usr/sbin/luxadm will recognize the local host bus adapters (HBA) that are connected:
# /usr/sbin/luxadm -e port Found path to 1 HBA port /devices/ssm@0,0/pci@1d,700000/pci@2/SUNW,qlc@4/fp@0,0:devctl CONNECTED If the HBA is "NOT CONNECTED", further troubleshooting is required. Possible causes are hardware (eg HBA, cables or switch port), software (eg SAN package is not installed or installed correctly or HBA driver) or the switch (eg zoning). Knowledge Article 1009557.1 provides useful Fibre Channel troubleshooting tips that can be applied to resolve many issues.
Array Directly Connected or Connected Via a SAN with STMS Disabled
AVAILABLE DISK SELECTIONS:
0. c0t8d0 /ssm@0,0/pci@1c,700000/scsi@3/sd@8,0 1. c0t9d0 /ssm@0,0/pci@1c,700000/scsi@3/sd@9,0 3. c3t216000C0FF87D15Ad0 /ssm@0,0/pci@1d,700000/pci@2/SUNW,qlc@4/fp@0,0/ssd@w216000c0ff87d15a,0 4. c3t216000C0FF87D15Ad1 /ssm@0,0/pci@1d,700000/pci@2/SUNW,qlc@4/fp@0,0/ssd@w216000c0ff87d15a,1 5. c3t216000C0FF87D15Ad2 /ssm@0,0/pci@1d,700000/pci@2/SUNW,qlc@4/fp@0,0/ssd@w216000c0ff87d15a,2 Specify disk (enter its number):
^ ^ ^ ^ ^ | | | | | | | | | -> The last 5 digits (7d15a) make up the SE3510's unique-identifier. | | | | The unique-identifier is unique for each SE3510. If the chassis | | | | is replaced, the unique-identifier will change and show differently | | | | in the WWN of subsequently (re-)created LD's. | | | | The unique-identifier number is located on the front plate | | | | (bottom) when the front cover is opened and may be preceeded by a 0. | | | | | | | -> This is the least-significant nibble of the internal AL_PA number assigned to | | | the port on the controller in hexidecimal (HEX), ie 0x?8 where ? is the | | | most-significant nibble and 8 is the least-significant nibble. The internal AL_PA | | | is a HEX representation of the target ID assigned to the port within the | | | "view and edit SCSI channels" menu in the controller firmware. For example a target | | | ID of 40 equates to an internal AL_PA of 0x28 which fits this example, as would an | | | ID of 24 (0x18) or 56 (0x38), however there is no way to determine the most-significant nibble | | | of the HEX AL_PA number from the WWN. This is not important anyway as | | | the Primary and Secondary controllers are internally linked within the array | | | thus providing seamless failover between the controllers. | | | | | -> These 8 digits (6000c0ff) can be explained as follows: . | | 60 is a product identifier for DotHill. | | 00c0ff is vendor unique ID from IEEE assign to DotHill. | | | -> Indicates the channel (n) that this connection is made to on the | array in the form of (n+1). This example illustrates a connection on chl 0. | This will change according to the channel involved. | -> Indicates the Network Address Authority (NAA) format of the World Wide Number (WWN) 1 = IEEE, 2 = IEEE Extended, 5 = IEEE Registered, 6 = IEEE Registered extended 128-bit From the information obtained above, it can be summarised that disk 3
# /usr/sbin/luxadm -e dump_map /devices/ssm@0,0/pci@1d,700000/pci@2/SUNW,qlc@4/fp@0,0:devctl
Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 10100 0 216000c0ff87d15a 206000c0ff07d15a 0x0 (Disk device) <- Connection to array 1 10200 0 210100e08b2421b3 200100e08b2421b3 0x1f (Unknown Type) 2 10000 0 210100e08b2424b3 200100e08b2424b3 0x1f (Unknown Type,Host Bus Adapter) <- Connection to host
All numbers are hexadecimal (hex) values and are subject to the appropriate port numbering rules of the switch in question.
Array Directly Connected or Connected Via a SAN with STMS Enabled
4. c4t600C0FF0000000000034AA0717A93C02d0
/scsi_vhci/ssd@g600c0ff0000000000034aa0717a93c02
# luxadm display /dev/rdsk/c4t600C0FF0000000000034AA0717A93C02d0s2
Vendor: SUN Product ID: StorEdge 3510 Revision: 327P Serial Num: 0034AA0717A9 Unformatted capacity: 377487.375 MBytes Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0xffff Device Type: Disk device Path(s): /dev/rdsk/c4t600C0FF0000000000034AA0717A93C02d0s2 /devices/scsi_vhci/ssd@g600c0ff0000000000034aa0717a93c02:c,raw Controller /devices/pci@8,700000/SUNW,qlc@2/fp@0,0 Device Address 256000c0ffc034aa,5 Host controller port WWN 210000e08b0e5e46 Class primary State ONLINE Controller /devices/pci@9,700000/SUNW,qlc@4/fp@0,0 Device Address 216000c0ff8034aa,5 Host controller port WWN 210000e08b0e502d Class primary State ONLINE # luxadm display /dev/rdsk/c4t600C0FF0000000000034AA0717A93C02d0s2 | grep "Device Address" Device Address 256000c0ffc034aa,5 Device Address 216000c0ff8034aa,5
Then, map each device address to the SE3510 and switch ports as we did in Step 1 above.
256000c0ffc034aa,5 -> 2 = IEEE Extended WWN type -> 5 = Channel 4 on the array -> 6000c0ff = Identifies array as SE3510 -> c = Least significant bit of internal AL_PA -> 034aa = SE3510 unique identifier -> 5 = LUN 5 216000c0ff8034aa,5 -> 2 = IEEE Extended WWN type -> 1 = Channel 0 on the array -> 6000c0ff = Identifies array as SE3510 -> 8 = Least significant bit of internal AL_PA -> 034aa = SE3510 unique identifier -> 5 = LUN 5
/devices/pci@8,700000/SUNW,qlc@2/fp@0,0 = PCI Slot 3 on SunFire V880 /devices/pci@8,700000/SUNW,qlc@2/fp@0,0 = PCI Slot 1 on SunFire V880
# luxadm -e dump_map /devices/pci@8,700000/SUNW,qlc@2/fp@0,0 Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 20000 0 256000c0ffc034aa 206000c0ff0034aa 0x0 (Disk device) <- Connection to chl 4 on array 1 20200 0 266000c0ffe034aa 206000c0ff0034aa 0x0 (Disk device) 2 20700 0 210000e08b0ecf48 200000e08b0ecf48 0x1f (Unknown Type) 3 20900 0 266000c0ffe034d3 206000c0ff0034d3 0x0 (Disk device) 4 20a00 0 210100e08b2bacf7 200100e08b2bacf7 0x1f (Unknown Type) 5 20b00 0 256000c0ffc034d3 206000c0ff0034d3 0x0 (Disk device) 6 20e00 0 210000e08b0e5e46 200000e08b0e5e46 0x1f (Unknown Type,Host Bus Adapter) <- Connection to first HBA on host # luxadm -e dump_map /devices/pci@9,700000/SUNW,qlc@4/fp@0,0 Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 10000 0 216000c0ff8034aa 206000c0ff0034aa 0x0 (Disk device) <--- Channel 0 on array 1 10200 0 226000c0ffa034aa 206000c0ff0034aa 0x0 (Disk device) 2 10700 0 210000e08b0e402d 200000e08b0e402d 0x1f (Unknown Type) 3 10900 0 216000c0ff8034d3 206000c0ff0034d3 0x0 (Disk device) 4 10a00 0 210000e08b0bacf7 200000e08b0bacf7 0x1f (Unknown Type) 5 10b00 0 226000c0ffa034d3 206000c0ff0034d3 0x0 (Disk device) 6 10e00 0 210000e08b0e502d 200000e08b0e502d 0x1f (Unknown Type,Host Bus Adapter) <--- Connection to second HBA on host
To summarize this last example, it can be confirmed that c4t600C0FF0000000000034AA0717A93C02d0s2 is mapped to:
and is accessible via two paths, one:
and the the other:
Determine Path for Veritas Volume Manager DeviceIf the LUN is under the control of Veritas Volume Manager and disk naming is in use, you can determine the underlying physical device by running "vxdisk list" eg:
# vxdisk list Bottom-3510_9
Device: Bottom-3510_9 devicetag: Bottom-3510_9 type: sliced hostid: {hostname} disk: name= id=1069863671.1825.testsys group: name=ib2dg id=1069863730.1834.testsys info: privoffset=1 flags: online ready private autoconfig autoimport pubpaths: block=/dev/vx/dmp/Bottom-3510_9s4 char=/dev/vx/rdmp/Bottom-3510_9s4 privpaths: block=/dev/vx/dmp/Bottom-3510_9s3 char=/dev/vx/rdmp/Bottom-3510_9s3 version: 2.2 iosize: min=512 (bytes) max=2048 (blocks) public: slice=4 offset=0 len=41860800 private: slice=3 offset=1 len=32383 update: time=1073385535 seqno=0.19 headers: 0 248 configs: count=1 len=23884 logs: count=1 len=3618 Defined regions: config priv 000017-000247[000231]: copy=01 offset=000000 enabled config priv 000249-023901[023653]: copy=01 offset=000231 enabled log priv 023902-027519[003618]: copy=01 offset=000000 enabled Multipathing information: numpaths: 1 c8t600C0FF000000000001504755999EF09d0s2 state=enabled The underlying devices are in the "Multipathing information" section at the end. The process of determining the mapping onto the SE3510 is then dependent on the output. The example above indicates STMS has been enabled, thus we follow the STMS Enabled method. If STMS has not been enabled, the device names will be similar to that listed in the output of format in the STMS Disabled section of this document. Attachments This solution has no attachment |
||||||||||||
|