HP-UX vPars and Integrity VM V6.3 Administrator Guide

Multipath solutions are not available for attached devices on the VSP. Multipath products are not
supported in the vPar or VM guest.
Manage attached devices to prevent the wrong vPars and VM guests from viewing sensitive
information. You can find the vPars or VM guests that are currently using attached devices using
the hpvmstatus command.
6.4.2.4 Attached device support
Attached devices allow sharing of tapes, changers, and burners among multiple guests and host,
support for USB 2.0 DVD burners and improves performance.
To identify USB CD or DVD devices, use the ioscan -funN command.
NOTE: vPars and VM guest might do four to six calls to open() on a DVD when accessing it
and hpvmcreate or hpvmmodify command might take more than a minute to complete when
there is no media in the drive. Example commands that appear to hang are:
# hpvmcreate -P guest -a dvd:avio_stor::disk:/dev/rdisk/disk5
# hpvmcreate -P guest -a dvd:avio_stor::null:/dev/rdisk/disk5
# hpvmmodify -P guest -a dvd:avio_stor::disk:/dev/rdisk/disk5
# hpvmmodify -P guest -a dvd:avio_stor::null:/dev/rdisk/disk5
6.4.2.4.1 Finding the lunpath hardware path
To obtain the lunpath hardware path to configure an attached device, use the ioscan command
with the -m lun option. For example, in this case of a tape having two paths the ioscan output
is:
# ioscan -m lun /dev/rtape/tape1_BEST
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
tape 1 64000/0xfa00/0x0 estape CLAIMED DEVICE online STK T9940B
0/1/1/1.0x500104f00048b29d.0x0
0/7/1/1.0x500104f00048b29e.0x0
/dev/rtape/tape1_BEST /dev/rtape/tape1_BESTn
/dev/rtape/tape1_BESTb /dev/rtape/tape1_BESTnb
You can use the ioscan command to find the device special file corresponding to a lunpath
hardware path. For example, in the previous case, to find the device special file for lunpath
hardware path 0/7/1/1.0x500104f00048b29e.0x0, run the following ioscan command:
# ioscan -kfnNH 0/7/1/1.0x500104f00048b29e.0x0
Class I H/W Path Driver S/W State H/W Type Description
=========== ======================== ====== ======== =========== ===========
lunpath 21 0/7/1/1.0x500104f00048b29e.0x0 eslpt CLAIMED LUN_PATH LUN path for tape1
The DSF for tape1 is /dev/rtape/tape1_BEST*.
6.4.2.4.2 Sharing an attached device
Attached devices can be shared among multiple vPars and VM guests in a VSP using a single
physical HBA port (initiator) or multiple physical HBA ports (initiators) in the VSP. To share a tape
device:
1. Identify the tape devices:
# ioscan -funNC tape
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
tape 5 64000/0xfa00/0x1 estape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rtape/tape5_BEST /dev/rtape/tape5_BESTn
/dev/rtape/tape5_BESTb /dev/rtape/tape5_BESTnb
tape 6 64000/0xfa00/0x3 estape CLAIMED DEVICE STK T9840B
/dev/rtape/tape6_BEST /dev/rtape/tape6_BESTn
/dev/rtape/tape6_BESTb /dev/rtape/tape6_BESTnb
2. This system has two tape drives. Identify the lunpaths:
86 Storage devices