VERITAS Volume Manager 4.1 Migration Guide
Converting LVM to VxVM
Converting LVM Volume Groups to VxVM Disk Groups
Chapter 2 11
As described in "Conversion and Reboot", vxvmconvert tries to unmount mounted file systems
during the conversion. Bear in mind though, that vxvmconvert makes no attempt to close
down running applications on those file systems, nor does it attempt to deal with applications
(e.g., databases) running on raw LVM volumes.
NOTE It is strongly recommended that you do not rely on vxvmconvert's mechanisms
for unmounting file systems. Conversion will be simpler if you close
applications, and unmount file systems before running vxvmconvert.
To unmount a file system, use the following command:
# umount file-system
Conversion and Reboot During conversion, after the analysis phase is complete, the disks to
be converted are deemed to be conversion ready. The vxvmconvert program asks if you are
ready to commit to the conversion changes. If you choose to complete the conversion, the
system will try to unmount all of the associated mounted file systems, stop and export the
volume group, and then install the VxVM configuration.
If vxvmconvert is unable to stop and export volume groups or unmount file systems, the
conversion cannot be completed without rebooting the system. You will have the option of
aborting the conversion or completing the conversion by rebooting the system. If you choose to
reboot, vxvmconvert will trigger the completion of the conversion automatically, during
reboot, when it can be guaranteed that no processes have access to the volumes that are being
converted.
If you choose to abort rather than reboot to complete the conversion, vxvmconvert will return
to the main menu.
NOTE The LVM logical volumes to be converted must all be available to the
vxvmconvert process. You should not deactivate the volume group or any logical
volumes before running vxvmconvert.
To Activate a Volume Group If you are not certain if the LVM volumes or the corresponding
volume groups are active, you can activate them with the following command:
# vgchange -a y vol_grp_name
7. Converting a volume group
To do the actual conversion of LVM volume groups to VxVM disk groups, choose option 2 of
the vxvmconvert utility.