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

sd disk01-02 vxvm_2-01 ENABLED 2048000 0 - - -
v vxvm_3 fsgen ENABLED 2048000 - ACTIVE - -
pl vxvm_3-01 vxvm_3 ENABLED 2048000 - ACTIVE - -
sd disk01-03 vxvm_3-01 ENABLED 2048000 0 - - -
v vxvm_4 fsgen ENABLED 2048000 - ACTIVE - -
pl vxvm_4-01 vxvm_4 ENABLED 2048000 - ACTIVE - -
sd disk01-04 vxvm_4-01 ENABLED 2048000 0 - - -
To use VxVM, the Virtual LvDisk resource statement form is
disk:avio_stor::lv:/dev/vx/rdsk/VxvmTest1/vxvm_2.
For information about multipath solutions for Virtual LvDisks, see Section 6.4.1.3 (page 69).
6.4.2.3.3 Virtual FileDisks
A Virtual FileDisk is an emulated AVIO disk, which uses the VSP file as a virtual media. The VSP
file is specified using the absolute pathname to the file. The file can be on a VxFS file system locally
mounted on the VSP or files located on an NFS-mounted file system. For more information about
configuration and requirements that must be met before using an NFS mounted file as a VM or
vPar file backing store, see Section 6.4.2.5 (page 89).
Virtual FileDisks cannot be shared at the same time across active VMs. Virtual FileDisk resources
can be changed dynamically between active vPars and VM guests (see Section 6.5 (page 92)).
The file systems used for Virtual FileDisks must be managed to prevent data from getting corrupted.
To help with accounting, HP recommends that all files under a given directory be used with a single
vPar and VM guest. Additionally, it might help to allocate file directories from complete logical
volumes or whole disks to make the accounting even easier. For more information, see
Section 6.4.1.4 (page 69).
Following is the Virtual FileDisk resource statement form:
disk:avio_stor::file:/pathname/file
where /pathname/file specifies the VSP file used as virtual media.
A VxFS file system can be created on top of a whole disk or logical volume. For files over 2 GB,
VxFS requires the file system be marked with a largefiles option. You can use the mkfs
command to create the VxFS file systems directly. After the file systems are created, you can use
the mount command to mount them onto the VSP file system. Alternatively, if you use logical
volumes to create the file system, you can use the volume manager GUI such as HP SMH to create
the file systems and their mount points, when the logical volumes are created. After the file system
is mounted, you can create empty files for Virtual FileDisk using the hpvmdevmgmt command.
# mkfs -F vxfs -o largefiles /dev/disk/disk237
# mount /dev/disk/disk237 /fdev/frackA/
# hpvmdevmgmt -S 4G /fdev/frackA/disk1
In this example, the Virtual FileDisk resource statement form is
disk:avio_stor::file:/fdev/frackA/disk1.
For more information about multipath options for a Virtual FileDisk device, see Section 6.4.1.3
(page 69).
NOTE: Each vPar or VM guest can support a maximum of 30 Virtual FileDisks.
6.4.2.3.4 Virtual DVDs
A Virtual DVD is an emulated AVIO DVD-ROM with virtual media that comes from a disc inside
of a CD or DVD drive on the VSP. The VSP CD or DVD drive is specified using an HP-UX esdisk
character device file.
While the Virtual DVD is read-only, the slowness of the physical VSP CD or DVD drives prohibits
them from being shared across active vPars and VM guests. Thus only one active vPar and VM
6.4 Configuring vPar and VM guest storage 81