Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)
If the disk is not currently in use by any volume or volume group, but has
been initialized by pvcreate, you must still use the pvremove command to
remove LVM disk headers.
If you want to mirror the root disk across multiple disks, make sure that all
the disks are free from LVM control.
2
While booted on the newly upgraded LVM root disk, invoke the vxcp_lvmroot
command to clone the LVM root disk to the disk(s) you have designated to be
the new VxVM root disks. In the following example, c1t0d0 is used for the
target VxVM root disk:
# /etc/vx/bin/vxcp_lvmroot -v c1t0d0
To additionally create a mirror of the root disk on c2t0d0:
# /etc/vx/bin/vxcp_lvmroot -v -m c2t0d0 c1t0d0
Use of the -v (verbose) option is highly recommended. The cloning of the
root disk is a lengthy operation, and this option gives a time-stamped progress
indication as each volume is copied, and other major events.
3
Use the setboot (1M) command to save the hardware path of the new VxVM
root disk in the system NVRAM. The disk hardware paths can be found using
this command:
# ioscan -kfnC disk
4
Reboot from the new VxVM root disk. If you created a mirrored root disk,
then there is nothing more to do. The LVM root disk safely co-exists with
your VxVM root disk, and provides a backup boot target.
5
If desired, you can convert the original LVM root disk into a mirror of your
VxVM root disk by using the following commands:
# /etc/vx/bin/vxdestroy_lvmroot -v c2t0d0
# /etc/vx/bin/vxrootmir -v c2t0d0
Once this operation is complete, the system is running on a completely
mirrored VxVM root disk.
6
If later required, you can use the vxres_lvmroot command to restore the
LVM root disk.
139Configuring Veritas Storage Foundation Cluster File System
Configuring Veritas Storage Foundation Cluster File System manually