Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

To mirror volumes on a disk
1
Make sure that the target disk has an equal or greater amount of space as the
source disk.
2
From the vxdiskadm main menu, select Mirror volumes on a disk .
3
At the prompt, enter the disk name of the disk that you wish to mirror:
Enter disk name [<disk>,list,q,?] mydg02
4
At the prompt, enter the target disk name (this disk must be the same size or
larger than the originating disk):
Enter destination disk [<disk>,list,q,?] (default: any) mydg01
5
At the prompt, press Return to make the mirror:
Continue with operation? [y,n,q,?] (default: y)
The vxdiskadm program displays the status of the mirroring operation, as
follows:
VxVM vxmirror INFO V-5-2-22 Mirror volume voltest-bk00
.
.
.
VxVM INFO V-5-2-674 Mirroring of disk mydg01 is complete.
6
At the prompt, indicate whether you want to mirror volumes on another disk
(y) or return to the vxdiskadm main menu (n):
Mirror volumes on another disk? [y,n,q,?] (default: n)
Removing a mirror
When you no longer need a mirror, you can remove it to free disk space.
Note: VxVM will not allow you to remove the last valid plex associated with a
volume.
To remove a mirror from a volume, use the following command:
# vxassist [-g diskgroup] remove mirror volume
Administering volumes
Removing a mirror
316