VERITAS Volume Manager 3.5 Migration Guide (September 2004)

Chapter 2
Converting LVM to VxVM
Examples
33
Example: Invoking the vxvmconvert menu with vxinstall
The example below describes the conversion of a LVM volume group vg01 with disks c5t3d0 and c5t4d0 into
the VxVM rootdg disk group using vxinstall -C.
To invoke the vxvmconvert menu with vxinstall, invoke the following:
# vxinstall -C
vxinstall -C displays the Convert an LVM Volume Group to VxVM rootdg Menu and produces the following
example output:
Convert an LVM Volume Group to VxVM rootdg
Menu: LVM_Conversion/Convert_LVM_VGs
Use this operation to initialize your VxVM ’rootdg’ disk group by
converting an existing LVM Volume Group. This adds the disks
of the LVM Volume Group to the ’rootdg’ disk group in VxVM and
replaces existing LVM volumes in that group with VxVM volumes.
LVM-VxVM Volume Group conversion may require a reboot for the
changes to take effect. For this release, only Non-root LVM
Volume Groups can be converted.
At the prompt enter the name of the LVM Volume Group you wish to
convert. For a list of all available LVM Volume Groups, use
the ’listvg’ option. Some LVM Volume Group selection examples:
listvg: list all LVM Volume Groups
list: list all disk devices
vg_name: a single LVM Volume Group, named vg_name
Select Volume Group to convert : [<vg_name>,list,listvg,q,?] vg01
vg01
Convert this Volume Group? [y,n,q,?] (default: y)
The following disks have been found in the vg01 volume group and
will be configured for conversion to VxVM disk groups.
c5t3d0 c5t4d0
The disk device c5t3d0 will be converted and added to the disk
group rootdg with the disk name disk01.
The c5t3d0 disk has been analyzed and prepared for conversion.
The disk device c5t4d0 will be converted and added to the disk
group rootdg with the disk name disk02.
The c5t4d0 disk has been analyzed and prepared 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