VERITAS Volume Manager 3.5 Migration Guide (September 2004)
Chapter 2
Converting LVM to VxVM
Examples
30
we are unable to stop and export any of the Volume Groups, then
the conversion process will not be able to complete without a
reboot. You would then be given the choice to either abort the
conversion, or finish the conversion by rebooting the system.
The conversion process will update the /etc/fstab file so that
volume devices are used to mount the file systems on this disk
device. You will need to update any other references such as
backup scripts, databases, or manually created swap devices. If
you do not like the default names chosen for the corresponding
logical volumes, you may change these to whatever you like
using vxedit.
Second Stage Conversion Analysis of vg08
Analysis of vg08 found insufficient Private Space for conversion
SMALLEST VGRA space = 176
RESERVED space sectors = 78
PRIVATE SPACE/FREE sectors = 98
AVAILABLE sector space = 49
AVAILABLE sector bytes = 50176
RECORDS neededs to convert= 399
MAXIMUM records allowable = 392
The smallest disk in the Volume Group (vg08) does not have
sufficient private space for the conversion to succeed. There
is only enough private space for 392 VM Database records and
the conversion of Volume Group (vg08) would require enough
space to allow 399 VxVM Database records. This would roughly
translate to needing an additional 896 bytes available in the
private space. This can be accomplished by reducing the number
of volumes in the (vg08) Volume Group, and allowing that for
every volume removed, the number of Database records required
would be reduced by three. This is only a rough approximation,
however.
Hit RETURN to continue.
Example: list, listvg, and vxprint outputs of an LVM volume group before and
after conversion
The examples given below, shows the vxvmconvert listvg, list, and vxprint output for an LVM volume
group vg08 converted to a VxVM disk group dg08.
Example of the vxvmconvert listvg output before conversion of volume group vg08:
LVM VOLUME GROUP INFORMATION
NAME TYPE PHYSICAL VOLUME
vg00 ROOT c0t5d0
vg08 Non-Root c0t8d0
vg09 Non-Root c0t9d0