Veritas Volume Manager 5.0 Migration Guide, HP-UX 11i v3, First Edition, May 2008
45Converting LVM to VxVM
Non-interactive conversion of volume groups
same volume group (150GB) consisting of mirrored volumes that need to be
synchronized can take 30-40 hours to convert.
Note: If you convert mirrored volumes, you must synchronize them in a separate
step.
Non-interactive conversion of volume groups
The vxvxconvert utility is an interactive command. You can also use the
vxautoanalysis and vxautoconvert commands to perform non-interactive
analysis and conversion of LVM volume groups. The
vxautorollback command
also allows you to reverse the conversion, and turn a VxVM disk group back into
an LVM volume group.
Analysing volume groups for conversion
The vxautoanalysis utility analyses one or more LVM volume groups, and
reports on their suitability for conversion to VxVM disk groups. Only analysis of
the suitability of the volume groups for conversion is performed. The actual
conversion can be performed by using the
vxautoconvert or vxvmconvert
utilities.
Note: The VxVM configuration daemon (vxconfigd) must be running in order
for the analysis to succeed.
To analyse volume groups for conversion
◆ Run the vxautoanalysis command:
# /usr/sbin/vxautoanalysis [-f] [
vgname
...]
The volume groups may be specified by their names or full pathnames. If no
volume groups are specified, analysis of all volume groups on the system is
attempted.
If the value of the system tunable,
nproc, is too low, the analysis will report
that the conversion analysis of the volume groups cannot be performed in
parallel. In that case, you can use the
-f option to specify that the volume
groups are to be analysed one at a time.
See the
vxautoanalysis(1M) manual page.