HP-UX 11i v3 Native Multi-Pathing for Mass Storage (August 2012)

15
lunpath 2 0/2/1/0.0x500508b3009097f9.0x4018000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk14
lunpath 21 0/4/1/0.0x500508b3009097f1.0x0 eslpt CLAIMED LUN_PATH
LUN path for ctl2
lunpath 22 0/4/1/0.0x500508b3009097f1.0x4014000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk17
lunpath 23 0/4/1/0.0x500508b3009097f1.0x4015000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk16
lunpath 26 0/4/1/0.0x500508b3009097f1.0x4016000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk13
lunpath 24 0/4/1/0.0x500508b3009097f1.0x4017000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk15
lunpath 25 0/4/1/0.0x500508b3009097f1.0x4018000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk14
lunpath 8 0/4/1/0.0x500508b3009097f9.0x0 eslpt CLAIMED LUN_PATH
LUN path for ctl2
lunpath 13 0/4/1/0.0x500508b3009097f9.0x4014000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk17
lunpath 11 0/4/1/0.0x500508b3009097f9.0x4015000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk16
lunpath 12 0/4/1/0.0x500508b3009097f9.0x4016000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk13
lunpath 10 0/4/1/0.0x500508b3009097f9.0x4017000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk15
lunpath 9 0/4/1/0.0x500508b3009097f9.0x4018000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk14
The previous example shows that five disk LUNs are connected to the target port of world-wide name
0x500508b3009097f9 (shown in green) and that ioscan displays the DSF of the LUN (for example
disk17) to which each lunpath maps. The LUN corresponding to /dev/[r]disk/disk17 has four
lunpaths.
LUN hardware paths and the corresponding LUN DSFs in the agile view are as follows:
# ioscan -kfnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 13 64000/0xfa00/0x1 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk13 /dev/rdisk/disk13
disk 14 64000/0xfa00/0x2 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk14 /dev/rdisk/disk14
disk 15 64000/0xfa00/0x3 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk15 /dev/rdisk/disk15
disk 16 64000/0xfa00/0x4 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk16 /dev/rdisk/disk16
disk 17 64000/0xfa00/0x5 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk17 /dev/rdisk/disk17
...
LUN WWID
The wwid attribute holds the LUN VPD page 83h WWID:
# scsimgr get_attr -D /dev/rdisk/disk17 -a wwid
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk1
name = wwid
current = 0x600508b3009097f0421745217a6c0056
default =
saved =
LUN-to-lunpaths mapping
ioscan(1M)
The ioscan command is now equipped with a powerful set of new options to query the relationship
among various SAN components. The following sections demonstrate the use of these new options in
the context of the previous example.