VERITAS Volume Manager 3.1 Administrator's Guide

Volume Tasks
Mirroring a Volume
Chapter 6 249
# vxplex att
volume_name plex_name
Mirroring All Volumes
To mirror all existing volumes on the system to available disk space, use
the following command:
# /etc/vx/bin/vxmirror -g
diskgroup
-a
To configure the Volume Manager to create mirrored volumes by default,
use the following command:
# /etc/vx/bin/vxmirror -d yes
If you make this change, you can still make unmirrored volumes by
specifying nmirror=1 as an attribute to the vxassist command. For
example, to create an unmirrored 20-megabyte volumenamed nomirror,
use the following command:
# vxassist make nomirror 20m nmirror=1
Mirroring Volumes on a VM Disk
Mirroring the volumes on a VM disk gives you one or more copies of your
volumes in another disk location. By creating mirror copies of your
volumes, you protect your system against loss of data in case of a disk
failure. This task only mirrors concatenated volumes. Volumes that are
already mirrored or that contain subdisks that reside on multiple disks
are ignored.
To mirror volumes on a disk, make sure that the target disk has an equal
or greater amount of space as the originating disk and then do the
following:
Step 1. Select menu item 5 (Mirror volumes on a disk) from the
vxdiskadm main menu.
Step 2. At the following prompt, enter the disk name of the disk that you wish to
mirror:
Mirror volumes on a disk
Menu: VolumeManager/Disk/Mirror
This operation can be used to mirror volumes on a disk.
These