Veritas Volume Manager 5.0 Migration Guide, HP-UX 11i v3, First Edition, May 2008
26 Converting LVM to VxVM
Converting LVM volume groups to VxVM disk groups
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.
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