Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
Note: You must only rename objects in the VxVM configuration after you are fully
satisfied with that configuration. In particular, you should never use menu option
3 of vxvmconvert (Roll back) after name changes. If you have chosen to set up
symbolic links to the VxVM volumes, avoid renaming VxVM objects. Additional
information is available on setting up symbolic links. These symbolic links are
made invalid if the underlying VxVM device node name changes.
See “Planning for new VxVM logical volume names” on page 409.
Restoring the LVM volume group configuration
In some circumstances, you may need to restore the LVM configuration that
existed before you converted to VxVM with vxvmconvert. For example:
■ If something went wrong during the conversion, such as a system crash or a
disk crash that caused the conversion to be unworkable.
■ If during a conversion only some of a set of volume groups converted
successfully, then you may want to restore the LVM configuration for the
entire set.
It is possible to restore the original LVM configuration in one of two ways, but
both have limitations and restrictions. The method you use depends on if any
changes have been made to the VxVM configuration since the conversion occurred.
Any of the following actions changes the VxVM configuration:
■ adding or removing disks
■ adding or removing volume groups
■ changing the names of VxVM objects
Restoration methods include:
■ rollback using vxvmconvert
Use rollback only if the VxVM configuration has not changed since the
conversion. This method restores the LVM configuration without the need for
user data restoration. Additional information is available on the rollback
method.
See “Rollback to LVM using vxvmconvert” on page 415.
■ restore user data using vgrestore and frecover
This method is a full LVM restoration which is used to restore your user data
from backup when the VxVM configuration has changed since the conversion
was made. First of all, this method restores the original LVM configuration
information (vgrestore), and then restores the original user data from the
Offline data migration
Converting LVM to VxVM
414