HP 3PAR HP-UX Implementation Guide

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 StoreServ Storage, issue showvv -d and showvlun -lvw.
The output above shows that /dev/rdisk/disk0 is a device special file for HP 3PAR
StoreServ Storage VV hpcluster.0 exported as LUN 1 and verified from HP 3PAR
StoreServ Storage CLI showvv and showvlun commands.
c. To obtain information about the number of paths for a given disk, issue scsimgr
lun_map or scsimgr lun_map -D /dev/rdisk/disk6:
# scsimgr lun_map -D /dev/rdisk/disk6
LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk6
Total number of LUN paths = 2
World Wide Identifier(WWID) = 0x50002ac0024d0036
LUN path : lunpath13
Class = lunpath
Instance = 13
Hardware path = 0/0/4/1/0.0x20420002ac000036.0x400a000000000000
SCSI transport protocol = fibre_channel
State = UNOPEN
Last Open or Close state = ACTIVE
LUN path : lunpath14
Class = lunpath
Instance = 14
26 Allocating Storage for Access by the HP-UX Host