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

# vxvol [-g diskgroup] set siteconsistent=off volume
The siteconsistent attribute and the allsites attribute must be set to off for
RAID-5 volumes in a site-consistent disk group.
Examples of storage allocation by specifying sites
Table 14-1 shows examples of how to use sites with the vxassist command to
allocate storage. These examples assume that the disk group, ccdg, has been
enabled for site consistency with disks configured at two sites, site1 and site2.
Also, ccdg01, ccdg02, and ccdg03 are dm names of disks tagged with site site1.
ccdg09, ccdg10, and ccdg11 are dm names of disks tagged with site site2.
Table 14-1
Examples of storage allocation by specifying sites
DescriptionCommand
Create a volume with one mirror at
each site. The nmirror keyword is
optional. If the nmirror keyword is
specified, it must be equal to or more
than the number of sites.
# vxassist -g ccdg make vol 2g \
nmirror=2
Create a mirrored-stripe volume
specifying allocation order to validate
redundancy across the sites. The
named disks must be tagged with the
appropriate site name, and there
must be sufficient disks at each site
to create the volume.
# vxassist -g ccdg -o ordered \
make vol 2g \
layout=mirror-stripe ncol=3 \
ccdg01 ccdg02 ccdg03 ccdg09 \
ccdg10 ccdg11
Create a volume with one mirror on
each of the named disks. The named
disks must be tagged with the
appropriate site name, and there
must be sufficient disks at each site
to create the volume.
# vxassist -g ccdg make vol 2g \
nmirror=2 ccdg01 ccdg09
Create a mirrored volume that is not
site consistent. Both mirrors can be
allocated from any available storage
in the disk group, but the storage for
each mirror is confined to a single
site.
# vxassist -g ccdg make vol 2g \
nmirror=2 siteconsistent=off \
allsites=off
Administering sites and remote mirrors
Examples of storage allocation by specifying sites
478