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

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.
# 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.
# vxassist -g ccdg mirror vol \
site:site1
Remove a mirror from a volume at a
specified site. If the volume is site
consistent, 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. If the volume is site
consistent, the command fails if there
is insufficient storage available at
each site.
# vxassist -g ccdg growto vol 4g
Making an existing disk group site consistent
To make an existing disk group site consistent
1
Ensure that the disk group is updated to at least version 140, by running the
vxdg upgrade command on it:
# vxdg upgrade diskgroup
2
On each host that can access the disk group, define the site name:
# vxdctl set site=sitename
499Administering sites and remote mirrors
Making an existing disk group site consistent