Veritas Volume Manager 5.0 Migration Guide, HP-UX 11i v3, First Edition, May 2008
38 Converting LVM to VxVM
Examples
Select Volume Groups to convert :
[<pattern-list>,all,list,listvg,q,?] vg08
vg08
Convert this Volume Group? [y,n,q,?] (default: y)
Name a new disk group [<group>,list,q,?] (default: dg08)
The following disk has been found in the vg08 volume group and
will be configured for conversion to a VxVM disk group.
disk12
A new disk group dg08 will be created and the disk device disk12
will be converted and added to the disk group with the disk name
dg0801.
The disk12 disk has been configured for conversion.
The first stage of the conversion operation has completed
successfully. If you commit to the changes hereafter, the system
will attempt to umount all of the associated file systems, stop
and export each Volume Group, and then attempt to complete the
conversion without having to reboot the system. If 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 sufficient Private Space for conversion
Conversion Analysis of disk12 indicates that the Volume Group is
still in use, which may prevent the completion of the
conversion without having to robot the system. You may want to
double check that none of the volumes in the volume group are
in use before continuing with the conversion.
Hit RETURN to continue.
Are you ready to commit to these changes? [y,n,q,?] (default: y)
Saving LVM configuration records for Volume Group vg08
Volume Group configuration for /dev/vg08 has been saved in
/etc/vx/reconfig.d/vgrecords/vg08/vg08.backup
Beginning the export process on Volume Group "/dev/vg08".
Volume group "/dev/vg08" is still active.
/dev/disk/disk12
/dev/vg08/lv1 will convert to /dev/vx/dsk/dg08/dg08lv1
/dev/vg08/rlv1 will convert to /dev/vx/rdsk/dg08/dg08lv1
/dev/vg08/lv2 will convert to /dev/vx/dsk/dg08/dg08lv2