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

Table 14-1
Examples of storage allocation by specifying sites (continued)
DescriptionCommand
Create a mirrored volume that is not
site consistent. Both mirrors are
allocated from any available storage
in the disk group that is tagged as
belonging to site2.
# vxassist -g ccdg make vol 2g \
nmirror=2 site:site2 \
siteconsistent=off \
allsites=off
Create a mirrored volume that is not
site consistent. Both mirrors are
allocated from any available storage
in the disk group that is tagged as not
belonging to site1.
Note: The ! character is a special
character in some shells. This
example shows how to escape it in a
bash shell.
# vxassist -g ccdg make vol 2g \
nmirror=2 \!site:site1 \
siteconsistent=off \
allsites=off
Add a mirror at a specified site. The
command fails if there is insufficient
storage available at the site. This
command does not affect the
allsites or siteconsistent of a
volume.
# vxassist -g ccdg mirror vol \
site:site1
Remove a mirror from a volume at a
specified site. If the volume has the
allsites attribute set to on, the
command fails if this would remove
the last remaining plex at a site.
# vxassist -g ccdg remove \
mirror vol site:site1
Grow a volume. Each mirror of a
volume is grown using the same site
storage to which it belongs. If there
is not enough storage to grow a
mirror on each site, the command
fails.
# vxassist -g ccdg growto vol \
4g
479Administering sites and remote mirrors
Examples of storage allocation by specifying sites