HP Integrity Virtual Machines Version 4.2 Release Notes

The following example shows the get_info option with the gvdsmgr utility:
# gvsdmgr get_info -D /dev/gvsd0 -q lun=/dev/rdsk/c0t6d1
Tue Oct 2 13:35:32 2007
Lun DSF : /dev/rdsk/c0t6d1
VSD LUN Id : 0x16
Lun Hardware path : 0/0/2/0.6.1
LUN State : UNOPENED
The following is a method for mapping an Integrity VM HP-UX 11i v3 guest hardware path or
HP-UX 11i v3 DSF to an Integrity VM Host hpvmstatus display using the ioscan utility:
# ioscan -m dsf /dev/rdsk/c0t6d1
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk22 /dev/rdsk/c0t6d1
# ioscan -m lun /dev/rdisk/disk22
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
disk 22 64000/0xfa00/0x1 esdisk CLAIMED DEVICE online HP Virtual Disk
0/0/2/0.0x16.0x0
/dev/disk/disk22 /dev/rdisk/disk22
/dev/disk/disk22_p1 /dev/rdisk/disk22_p1
/dev/disk/disk22_p2 /dev/rdisk/disk22_p2
/dev/disk/disk22_p3 /dev/rdisk/disk22_p3
An HP-UX 11iv3 Lun Path hardware path displayed by the ioscan utility can be mapped to
an hpvmstatus utility output as follows:
PciDev
| PCIFtn
| | Addr(Target Id)
PciBus | | | Lun
| | | | |
V V V V V
0/0/2/0.0x16.0x0
8.2.18 Guest LUN Does Not Appear After a Delete and Add
If the guest operating system version is prior to HP-UX 11i v3 0809 (that is, 11i v3 0709 or 0803),
a guest LUN might not appear after a delete and add. For example, this issue might occur with
the following sequence of events::
1. In the guest, execute rmsf for the lun path ( lunpath Class in ioscan display).
2. In the VM Host, delete the lun entry from the guest's configuration using the hpvmmodify
command.
3. In the VM Host, add the lun entry back to the guest's configuration using the hpvmmodify
command.
4. In the guest ioscan, the lun (which was deleted and added back) does not appear.
Perform the following workaround:
1. In the guest, rmsf the target path (tgtpath Class in ioscan display) corresponding to the lun
path.
2. In the guest, perform an ioscan.
82 Storage Information