Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

89Administering application volumes
Finding volumes that use specified capabilities or templates
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:
# 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 this 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
...
If a rule is marked as desired, the output indicates whether the rule was
obeyed or not.
The vxassist printintent command displays the capabilities, volume
templates and rules that were specified when a volume was created. The
vxassist printrules command displays the final set of rules that were
obtained by precessing the specified capabilities, volume templates and rules.
This final set of rules is what is used to allocate storage to a volume when it is
created.