Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

For example, the following command returns the maximum possible size of a
mirrored volume with three mirrors that can be created from all the available free
storage:
# vxassist -g mydg -P mypool maxsize layout=mirror nmir=3
The following command is equivalent if the DataMirroring capability is specified:
# vxassist -g mydg -P mypool maxsize \
capability=’DataMirroring(nmirs=3)’
The following example checks for the maximum volume size that can be created
using prefabricated mirrors of a specified vendor type:
# vxassist -g peakdg -P peakpool maxsize \
volume_template=PrefabricatedDataMirroring \
rules=’confineto "VendorName"="ACME"’
The maximum size of a VxVM volume that you can create is 256 TB.
Creating volumes
To create a volume with a specified length, specify the make keyword to vxassist
as shown in the following command:
# vxassist [options] make volume length \
[storage_specification] [attribute=value ...]
It is possible to specify a combination of capabilities, templates and rules to this
command.
The following definitions are relevant to creating volumes:
A rule specifies a criterion for choosing and allocating storage.
A template is a meaningful collection of rules that define a capability.
A capability is a high-level description of what a volume can do.
The properties of the volume that is created are further determined by any
parameters and other attributes that you specify.
Rules, capabilities and templates may be combined in the following ways:
If you specify rules along with capabilities, ISP creates volumes that comply
to the rules that are defined in the capabilities, and also to those rules that
you specify as arguments to vxassist.
Creating application volumes
Creating volumes
64