VERITAS Volume Manager 3.1 Migration Guide

Converting LVM to VxVM
Restoring the LVM Volume Group Configuration
Chapter 238
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. See “Rollback to LVM Using
vxvmconvert” for details on using this method.
restore user data using vgrestore
This method is a full LVM restoration which is used to restore your
user data from backup when the configuration has changed. This
method is used if the VxVM configuration has changes since the
conversion. This method restores the LVM configuration information,
then restores user data from backup. See “Full LVM Restoration” for
more information on using this method.