# vxassist -g ccdg make vol 2g \
nmirror=2
|
Create a volume with one mirror at each site. The nmirror keyword is optional. If the nmirror keyword is specified, it must equal the number of sites.
|
# vxassist -g ccdg -o ordered \
make vol 2g \
layout=mirror-stripe ncol=3 \
ccdg01 ccdg02 ccdg03 ccdg09 \
ccdg10 ccdg11
|
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 make vol 2g \
nmirror=2 ccdg01 ccdg09
|
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 siteconsistent=off \
allsites=off
|
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 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 belonging to site2.
|
# vxassist -g ccdg make vol 2g \
nmirror=2 \!site:site1 \
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 mirror vol \
site:site1
|
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 remove \
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 growto vol \
4g
|
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.
|