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

Before using cDSF as backing store, confirm that if the VSP is part of Cluster DSF group.
# hostname
hpidm01-3
# cmsetdsfgroup -q
bones
hpidm01-3
#
6.4.2.3.2 Virtual LvDisks
A Virtual LvDisk is an emulated AVIO disk whose virtual media is provided by a raw VSP logical
volume. To specify a VSP logical volume, use a character device file. The character device file is
owned by either LVM or VxVM.
Virtual LvDisks cannot be shared simultaneously across active vPars and VM guests. Virtual LvDisk
resources can be changed dynamically between active vPars and VM guests (see Section 6.5
(page 92)).
Logical volumes can be created using the sam utility or the Veritas Enterprise Administrator.
Alternatively, logical volumes can be created using the commands available with the volume
manager. All logical volumes are created on whole disks. The sizes of the logical volumes come
from the space available from their respective volume group types; the logical volume size can be
increased without loss of data in the volume. The character devices for the logical volumes are
created by their respective volume managers at the time the logical volume is created. Also to
avoid file system corruptions for the VSP and guest, use only raw logical volumes that do not contain
VSP file systems, and are not currently mounted on the VSP.
To prevent data from getting over written, keep an account of logical volumes for Virtual LvDisks.
To make accounting easier, all logical volumes within a volume group can be assigned to a single
guest. When logical volumes are configured this way, you only have to keep track of the volume
groups to prevent media conflicts. For more information about tracking virtual media allocation,
see Section 6.4.1.4 (page 69).
If you are using LVM, the following is the Virtual LvDisk resource statement form:
disk:avio_stor::lv:/dev/vg_name/rlvol_name
vgdisplay -v
where /dev/vg_name/rlvol_name is an LVM character device file for rlvol_name on
vg_name. To view the LVM character device file name, enter the following command:
# vgdisplay -v
VG Name /dev/lvrackA
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 4
Total PE 8681
Alloc PE 8192
Free PE 489
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/lvrackA/disk1
LV Status available/syncd
6.4 Configuring vPar and VM guest storage 79