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

# vxassist [-g diskgroup] [-P storage_pool] make volume length \
capability=’capability[,capability...]’ \
volume_template=template[,template...]
If you specify rules in addition to capabilities and templates, these rules are applied
after ISP has selected the templates that satisfy the required capabilities.
Creating volumes by specifying user templates
Once you have set them up, user templates provide the simplest way of creating
volumes for use with the applications that you run. For example, you can configure
user templates that ensure that volumes that you create to store database tables
all share the same reliability and performance capabilities, and that they are
allocated from a restricted set of storage.
The following example shows how to use a user template to create a volume for
a database table:
# vxassist -g dbdg -P dgpool make Customers 15g \
user_template=DBTable
Creating volumes with associated tags
Volume tags are used to implement the Dynamic Storage Tiering (DST) feature
of the Storage Foundation software.
For more information about Dynamic Storage Tiering, see the Veritas File System
Administrators Guide.
To create a volume with an associated tag and optional tag value, specify the tag
attribute as shown in the following example:
# vxassist -g dbdg -P dgpool make products 1g \
user_template=DBTable tag=db_table=Products
This creates a volume with a tag named db_table, which has the value Products.
Creating multiple volumes with the same prefix
To create multiple volumes with the same name prefix, specify a numeric argument
to the nvol parameter, as shown in the following example:
# vxassist -g mydg -P mypool make mirvol 15g \
layout=mirror nmir=2 nvol=3
Creating application volumes
Creating volumes with associated tags
72