VERITAS Volume Manager 4.1 Migration Guide

Converting LVM to VxVM
Restoring the LVM Volume Group Configuration
Chapter 2 13
The disks in the new VxVM disk group are given VxVM disk media names (see vxintro (1M))
based on this disk group name. If your new VxVM disk group is dg08, it will have VxVM disks
with names like dg0801, dg0802, etc. The VxVM plexes within the logical volumes will be
dg0801-01, dg0801-02, etc.
If you do not like the default object names generated by the conversion, use the standard
VxVM utilities to rename these objects. See the rename option in the vxedit (1M) man page
for more details on renaming the disk groups.
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 as described in “5. Planning for new
VxVM logical volume names” on page 11, avoid renaming VxVM objects. These
symbolic links are made invalid if the underlying VxVM device node name
changes.
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: