Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)

To use this method, you must have backed up data located on all the volume
groups logical volumes before conversion to VxVM.
Restoration of LVM volume groups is a two-step process consisting of a restoration
of LVM internal data (metadata and configuration files), and restoration of user
or application data.
The process is limited to restoring the state of the logical volumes as they existed
before conversion to VxVM disks. If the data has changed on the volumes during
the time they were VxVM volumes, those changes are lost after you restore the
LVM configuration and saved user data.
To do a full restoration of the original LVM configuration, do the following:
1
Use vgrestore to restore LVM internal data.
# vgrestore vol_grp_name
2
Use the recovery method to restore user or application data. In preparation
for conversion, the recovery method should have been done with the standard
backups you made in preparation for conversion. The following example
shows an frecover from the fbackup example.
# mount -F vxfs /dev/vg01/lvol3 /foodir
# frecover -r -f /dev/rmt/c0t0d0BEST
Additional information on the fbackup example is available.
See Backing up your LVM configuration and user data on page 407.
Examples
The following are annotated examples on how to use vxvmconvert command.
Example: displaying the vxvmconvert menu
To display the vxvmconvert menu, use the following command:
# vxvmconvert
The following menu is displayed:
Volume Manager Support Operations
Menu: Volume Manager/LVM_Conversion
1 Analyze LVM Volume Groups for Conversion
2 Convert LVM Volume Groups to VxVM
3 Roll back from VxVM to LVM
417Offline data migration
Converting LVM to VxVM