Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
Finding volumes that use specified capabilities or
templates
To list the volumes that were created using certain capabilities or templates, use
the following command:
# vxassist [-g diskgroup] [-P storage_pool] list \
[capability=c1[,c2...]] [template=t1[,t2...]]
For example, to list all the volumes in the disk group mydg that implement the
DataMirroring capability, use the following command:
# vxassist -g mydg list capability=DataMirroring
TY NAME DG POOL LENGTH LAYOUT NMIR NCOL
v vol1 mydg data 10g stripe-mirror 2 10
v vol2 mydg data 500m mirror 2 -
The length of the volume is rounded down to the nearest whole number of standard
units (k for kilobytes, m for megabytes, g for gigabytes, and so on).
Verifying the intent of a volume
To verify whether the application volumes in a disk group conform to the template
rules, user-defined rules, volume group rules and storage pool rules that were
used to create them, use the following command:
# vxassist -g diskgroup verify
To verify the intent of all application volumes in all disk groups, use the following
form of the command:
# vxassist -a verify
Displaying the rules associated with volumes
You can use the following command to display the capabilities, volume templates
and rules that were specified when a volume was created:
# vxassist [-g diskgroup] printintent volume ...
To display the complete set of rules that were used to create a volume, use the
following command:
# vxassist [-g diskgroup] printrules volume ...
Administering application volumes
Finding volumes that use specified capabilities or templates
92