HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
PUTIL0
dg VxvmTest1 VxvmTest1 - - - - - -
dm disk01 c5t8d0 - 71680564 - - - -
v vxvm_1 fsgen ENABLED 2048000 - ACTIVE - -
pl vxvm_1-01 vxvm_1 ENABLED 2048000 - ACTIVE - -
sd disk01-01 vxvm_1-01 ENABLED 2048000 0 - - -
v vxvm_2 fsgen ENABLED 2048000 - ACTIVE - -
pl vxvm_2-01 vxvm_2 ENABLED 2048000 - ACTIVE - -
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 is
disk:scsi::lv:/dev/vx/rdsk/VxvmTest1/vxvm_2. For information about adapters that
support VxVM, see the HP Integrity Virtual Machines 4.2: Release Notes.
For information about multipath solutions for Virtual LvDisks, see Section 7.2.1.3 (page 105).
7.2.2.3.3 Virtual FileDisks
A Virtual FileDisk is an emulated SCSI disk whose virtual media comes from a VM Host file.
The VM Host file is specified using the absolute pathname to the file. The file can be on a VxFS
file system locally mounted on the VM Host. NFS file systems are not supported for Virtual
FileDisks.
Virtual FileDisks cannot be shared simultaneously across active virtual machiness. Only one
active virtual machine can be given a particular Virtual FileDisk resource at a time. Virtual
FileDisk resources can be changed dynamically between active virtual machines (see Section 7.3
(page 118)).
The file systems used for Virtual FileDisks need to be managed to prevent data corruptions. To
help with accounting, it is recommended that all files under a given directory be used with a
single virtual machine. 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 7.2.1.4 (page 106).
The Virtual FileDisk resource statement takes the following form:
disk:scsi::file:/pathname/file
where the /pathname/file specifies the VM Host 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. The mkfs command can
be used to create the VxFS file systems directly. Once the file systems are created, mount can be
used to mount them onto the VM Host file system. Alternatively, if using logical volumes to
create the file system on, the volume manager GUIs like sam can be used to create the file systems
and their mount points, when the logical volumes are created. In any case, once 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 is
disk:scsi::file:/fdev/frackA/disk1.
7.2 Configuring Integrity VM Storage 113