Issuing
ioscan -kfnNC lunpath
shows that host recognizes the VV as
/dev/disk/disk20.
# ioscan -kfnNC lunpath
lunpath 15 0/0/4/1/0.0x20420002ac000036.0x4014000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk20
lunpath 16 0/0/4/1/1.0x21520002ac000036.0x4014000000000000 eslpt NO_HW LUN_PATH
LUN path for disk20
Remove the LUN and reexport it as LUN 25 and you can see that
/dev/disk/disk20
is
recreated for LUN 25 and the LUN path for LUN number 20 goes stale (NO_HW).
HP 3PAR Storage System:
# showvlun -a
Lun VVname Host -Host_WWN/iSCSI_Name- Port Type
25 hpcheck sqahpit2 50060B00001D1192 1:5:2 host
25 hpcheck sqahpit2 50060B000068D5A4 0:4:2 host
HP-UX host:
# ioscan -kfnNC lunpath
lunpath 15 0/0/4/1/0.0x20420002ac000036.0x4014000000000000 eslpt NO_HW LUN_PATH
LUN path for disk20
lunpath 17 0/0/4/1/0.0x20420002ac000036.0x4019000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk20
lunpath 16 0/0/4/1/1.0x21520002ac000036.0x4014000000000000 eslpt NO_HW LUN_PATH
LUN path for disk20
lunpath 18 0/0/4/1/1.0x21520002ac000036.0x4019000000000000 eslpt CLAIMED LUN_PATH
LUN path for disk20
6.
HP-UX 11i v3 provides the
scsimgr
command, which provides generic management and
diagnostic capabilities for the SCSI subsystem of the mass storage stack. Use the
scsimgr
command to obtain the SCSI disk status information, statistics, change multipath options, set
attributes, inquiry information and to perform other task management functions such as LUN
and target resets.
Example:
a.
Issue the
scsimgr
command to obtain the relationship between the hardware LUN path,
device special file (DSF), and HP 3PAR VV.
# scsimgr -p get_attr all_lun -a hw_path -a device_file -a wwid -a
serial_number -a vid
64000/0xfa00/0x17:/dev/pt/pt11::00000000:3PARdata
64000/0xfa00/0x18:/dev/pt/pt4::00000000:3PARdata
64000/0xfa00/0x23e:/dev/rdisk/disk0:0x50002ac002480036:02480036:3PARdata
64000/0xfa00/0x23f:/dev/rdisk/disk1:0x50002ac002490036:02490036:3PARdata
64000/0xfa00/0x240:/dev/rdisk/disk3:0x50002ac0024a0036:024A0036:3PARdata
b.
On the HP 3PAR Storage System, issue
showvv -d
and
showvlun -lvw
.
# showvv -d
Id Name Rd Mstr Prnt Roch Rwch PPrnt PBlkRemain -----VV_WWN-----
--------CreationTime--------
584 hpcluster.0 RW 0/1/- --- --- --- --- - 50002AC002480036
Tue Oct 23 12:53:36 PDT 2007
24
Allocating Storage for Access by the HP-UX Host