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

1. Restore LVM internal data:
# vgrestore <vol_grp_name>
See vgrestore (1M), for detailed description of the supported options.
2. Restore user or application data :
# mount -F vxfs <logical_volume> <mount_point>
See mount (2), for detailed description of the supported options.
# frecover -r -f <special>
See frecover (1M), for detailed description of the supported options.
Conversion Speed
Factors affecting conversion speed are:
Size of volume groups.
Individual size of a logical volume in a volume group, and the complexity of the logical
volume layout.
Number of volumes.
Mirrored volumes takes the same time to convert than simple volumes. Volumes that are
mirrored and striped at the same time cannot be converted to LVM.
Comparison Between LVM and VxVM Commands
The following table lists the comparison between LVM and VxVM commands.
Table 6-2 Command Comparison
Description/ActionVxVMDescription/ActionLVM
Creates, removes, and modifies
Volume Manager records.
vxedit
or
vxvol set
Changes the characteristics
of logical volumes.
lvchange
Resizes a file system and its
underlying volume
simultaneously.
vxresize
There is no single
equivalent LVM command.
Volume resizing is not
supported with LVM.
Prepare Veritas Volume Manager
volume as a root, boot, primary
swap or dump volume.
vxvmboot
Creates root, primary and
secondary swap and dump
volumes. It also creates boot
areas on the disk.
lvlnboot
Creates volumes with the make
parameter.
vxassist
Creates a logical volume.
lvcreate
The vxassist command creates
and modifies volumes. Increases
a volume in size with the growto
or growby parameter.
vxassist
Increases disk space
allocated to a logical
volume.
lvextend
Decreases a volume in size with
the shrinkto option or shrink
by parameters.
Make sure you shrink the file
system before shrinking the
volume.
vxassist
Decreases disk space
allocated to a logical
volume.
lvreduce
54 Migrating to VxVM 4.1 on HP-UX 11i v3