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

NOTE: Creating the backing-store files of the guest on an NFS client system (that is, VSP), can
take significantly longer to complete than directly creating the backing-store files locally on the
NFS server. Therefore, create backing-stores files of the guest directly on the NFS server, if possible.
6.4.2.6 Mapping AVIO storage devices on HP-UX guests
This section explains how to map an AVIO storage device on a vPar or VM guest to an
hpvmstatus display on the Integrity VSP either at the EFI console or at the HP-UX operating
system.
The following example shows the output of hpvmstatus from the Integrity VSP:
# hpvmstatus -P aviotest
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 0 2 0 22 0 disk /dev/rdisk/disk7
The following statistics are displayed in this example:
PciBus = 0
PciDev = 2
PciFtn = 0
Addr (Target Id) = 22 (0x16)
Lun = 0
NOTE: Addr (Target Id) is decimal in the hpvmstatus display, and PciFtn and LUN are always
zero (0).
The vPar or VM guest EFI device path encodes PciBus, PciDev, and Addr (Target Id) from the
hpvmstatus display:
PciDev
|
| PCIFtn
PciBus | | Addr(Target Id)
| | | |
V V V V
blk16 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun16,Lun0)
PciFtn (PCI function) and LUN number are always zero (0). Addr (Target Id) becomes EFI Pun
number and is displayed as a hexadecimal number.
nl
Following are the two methods for mapping an HP-UX 11i v2 VM guest hardware path or HP-UX
11i v2 Device Special File (DSF) to an Integrity VSP hpvmstatus display:
1. -e option of the ioscan utility
ioscan-fne displays the HP-UX hardware path/DSF and the EFI device path for the device.
The HP-UX hardware path encodes the following from the hpvmstatus display:
PciBus
PciDev
Addr (Target Id)
Addr (Target Id) is encoded as an HP-UX target ID and an HP-UX LUN ID in the HP-UX hardware
path.
HP-UX target ID and HP-UX LUN ID are calculated from Addr (Target Id) in the hpvmstatus
display using the following equations:
90 Storage devices