HP vPars and Integrity Virtual Machines V6.1 Release Notes

3.1.17 Adding NPIV HBAs to existing guest with AVIO storage HBAs might cause
a problem
When adding NPIV HBAs to an existing guest that has AVIO storage HBAs, the next boot of the
guest may panic with the message panic: GVSD: Unable to allocate iocb during
initialization, due to the known defect.
To work around this problem, reduce the number of AVIO storage HBAs by consolidating LUNs
into fewer AVIO storage HBAs. AVIO allows up to 128 AVIO LUNs under 1 AVIO HBA. The
following example shows how to consolidate 20 AVIO LUNs from 20 AVIO HBAs to 1 AVIO HBA:
1. Check status, device info, and perform an ioscan. Notice that the example begins with 20
AVIO LUNs under 20 AVIO HBAs:
# hpvmstatus -d -P guest
disk:avio_stor:1,3,0:disk:/dev/rdisk/disk6199
disk:avio_stor:1,4,0:disk:/dev/rdisk/disk6520
disk:avio_stor:7,3,6:disk:/dev/rdisk/disk6201
disk:avio_stor:7,4,6:disk:/dev/rdisk/disk6413
# hpvmdevinfo
Device Type Bus,Device,Target Host Device Name Virtual Machine Device Name
=========== ================= ================ ===========================
disk [1,3,0] /dev/rdisk/disk6199 /dev/rdisk/disk263
disk [1,4,0] /dev/rdisk/disk6520 /dev/rdisk/disk266
disk [7,3,6] /dev/rdisk/disk6201 /dev/rdisk/disk326
disk [7,4,6] /dev/rdisk/disk6413 /dev/rdisk/disk333
# ioscan -kfNd gvsd
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
ext_bus 7 0/1/3/0 gvsd CLAIMED INTERFACE HPVM AVIO Stor Adapter
ext_bus 8 0/1/4/0 gvsd CLAIMED INTERFACE HPVM AVIO Stor Adapter
ext_bus 36 0/7/3/0 gvsd CLAIMED INTERFACE HPVM AVIO Stor Adapter
ext_bus 37 0/7/4/0 gvsd CLAIMED INTERFACE HPVM AVIO Stor Adapter
2. Halt the guest to change the configuration.
3. Run hpvmmodify to delete the 20 AVIO LUNs from the current configuration:
# hpvmmodify -P guest -d disk:avio_stor:1,3,0:disk:/dev/rdisk/disk6199
# hpvmmodify -P guest -d disk:avio_stor:1,4,0:disk:/dev/rdisk/disk6520
...
# hpvmmodify -P guest -d disk:avio_stor:7,3,6:disk:/dev/rdisk/disk6201
# hpvmmodify -P guest -d disk:avio_stor:7,4,6:disk:/dev/rdisk/disk6413
4. Run hpvmmodify to recreate the 20 AVIO LUNs under a single AVIO HBA:
# hpvmmodify -P guest -a disk:avio_stor:2,0,0:disk:/dev/rdisk/disk6199
# hpvmmodify -P guest -a disk:avio_stor:2,0,1:disk:/dev/rdisk/disk6520
...
# hpvmmodify -P guest -a disk:avio_stor:2,0,18:disk:/dev/rdisk/disk6201
# hpvmmodify -P guest -a disk:avio_stor:2,0,19:disk:/dev/rdisk/disk6413
5. Restart the guest. Notice that 20 AVIO LUNs are now under 1 AVIO HBA.
# hpvmstatus -d -P guest
disk:avio_stor:2,0,0:disk:/dev/rdisk/disk6199
disk:avio_stor:2,0,1:disk:/dev/rdisk/disk6520
disk:avio_stor:2,0,18:disk:/dev/rdisk/disk6201
disk:avio_stor:2,0,19:disk:/dev/rdisk/disk6413
# hpvmdevinfo
Device Type Bus,Device,Target Host Device Name Virtual Machine Device Name
=========== ================= ================ ===========================
disk [2,0,0] /dev/rdisk/disk6199 /dev/rdisk/disk263
disk [2,0,1] /dev/rdisk/disk6520 /dev/rdisk/disk266
3.1 Changes and Issues in this Release 17