Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

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
You can also use storage attributes to specify the storage to be removed. For
example, to remove a mirror on disk mydg01 from volume vol01, enter the
following.
Note: The ! character is a special character in some shells. The following example
shows how to escape it in a bash shell.
# vxassist -g mydg remove mirror vol01 \!mydg01
See Creating a volume on specific disks on page 305.
Alternatively, use the following command to dissociate and remove a mirror from
a volume:
357Administering volumes
Removing a mirror