VERITAS Volume Manager 5.0 Migration Guide (September 2006)
28 Converting LVM to VxVM
Restoring the LVM volume group configuration
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” on page 29 for details on
using this method.
■ 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 backup that was made
before the conversion was done (
frecover). See “Full LVM restoration” on page 30
for more information on using this method.
Note: Restoring user data using the vgrestore and frecover method will result in the
loss of all user data changes made since the conversion, and the loss of all new volumes
created since the conversion.
In other words, this method of restoring data will take you back to exactly where you were
before the conversion was done.
However, if no new volumes have been created, and if none of the existing volumes have
been resized, you can use the
vxvmconvert rollback option to restore the original
LVM configuration. If you use this method, any user data changes made since the
conversion will be retained, and you will not need to carry out a user level data restore
(
frecover).