Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

6 Migrating to VxVM 4.1 on HP-UX 11i v3
HP-UX 11i v3 supports the volume managers, HP LVM and Veritas Volume Manager (VxVM)
from Symantec Corporation. You can use LVM with VxFS or you can migrate to VxVM. The
conceptual differences between LVM and VxVM objects are captured in the table below:
Table 6-1 Conceptual Comparison Between LVM and VxVM Objects
VxVM ObjectLVM Object
VM DiskPhysical Volume
VolumeLogical Volume
Disk GroupVolume Group
SubdiskPhysical Extent
PlexMirror
Both LVM disks and VxVM disks can exist together on a system. The LVM disks are detected
and displayed as such by VxVM. LVM disks are not selected by VxVM for initialization, addition,
or replacement.
Converting Unused LVM Physical Volumes to VxVM Disks
1. Removing LVM Disk Information
Remove LVM disk information from the disks:
# pvremove <disk_name>
See pvremove (1M), for detailed description of the supported options.
The pvremove command does not allow removal of disk headers which indicate a
Volume Group membership for the disk. If the disk fails pvremove for this reason, you
must first ensure that the group membership information is stale.
Display physical volume information:
# pvdisplay <disk_name>
See pvdisplay (1M), for detailed description of the supported options.
If pvdisplay detects no valid group information associated with the disk, you can
overwrite the LVM headers using the pvcreate command.
Overwrite the LVM headers:
# pvcreate <disk_name>
See pvcreate (1M), for detailed description of the supported options.
2. Initializing Disks for VxVM Use
VxVM utilities do not damage LVM disks. If you attempt to use vxdisk init or vxdiskadm
on an LVM disk without using the pvremove command first, the commands will fail.
Initialize the disk for VxVM use option 1(Add or initialize one or more disks):
Or use the command:
# vxdisk init disk_name
See vxdisk (1M), for detailed description of the supported options.
Converting LVM Volume Groups to VxVM Disk Groups
The vxvmconvert command is used to convert LVM volumes to VxVM. Using the vxvmconvert
command reduces the downtime associated with converting from LVM to VxVM. Without the
Converting Unused LVM Physical Volumes to VxVM Disks 51