VERITAS Volume Manager 4.1 Migration Guide
Converting LVM to VxVM
Converting LVM Volume Groups to VxVM Disk Groups
Chapter 212
vxvmconvert will prompt for a name for the VxVM disk group that will be created to replace
the LVM volume group you are converting. This is the only object naming that is done through
vxvmconvert. For details on modifying VxVM volume names, see “11. Tailoring your VxVM
configuration” on page 14 as described earlier in “2. Analyzing an LVM volume group to see if
conversion is possible” on page 9, the volume groups selected for conversion are analyzed to
ensure that conversion is possible. After a successful analysis phase, vxvmconvert will ask
you to commit to the change or abort the conversion. When you select to commit to conversion,
the new VxVM metadata is written.
NOTE It is good practice to convert one volume group at a time to avoid errors during
conversion.
The details of the conversion process are shown in “Examples” on page 20
8. Taking actions if conversion fails
Conversion can fail for any of the reasons detailed in the “Volume Group Conversion
Limitations” on page 5 section. Messages from vxvmconvert will explain the type of failure,
and any actions you can take before retrying the conversion.
See “Conversion Error Messages” on page 77 for complete details of specific error messages.
9. Implementing changes for new VxVM logical volume names
You must be sure that all applications and configuration files refer properly to the new VxVM
logical volumes. See “5. Planning for new VxVM logical volume names” on page 11 for details.
10. Restarting applications on the new VxVM volumes
Once the conversion to VxVM is complete, file systems can be mounted on the new devices and
applications can be restarted.
If you unmounted file systems before running vxvmconvert, you need to remount them by the
new volume names. vxvmconvert will have updated /etc/fstab with the new names. When
you started vxvmconvert, you may have left file systems mounted that are associated with the
volumes you converted. vxvmconvert remounts these with the new VxVM volume names.
11. Tailoring your VxVM configuration
vxvmconvert provides a default name for naming the newly formed VxVM disk group during
conversion only as an option. However, you will be given the choice of choosing your own
VxVM disk group name. By default, vxvmconvert renames the LVM volume group by
replacing the prefix vg in the volume group name with the prefix dg. For example, vg08 would
become dg08. If there is no vg in the LVM volume group name, vxvmconvert simply uses the
same volume group name for its disk group.