HP 3PAR OS 3.1.3 Command Line Interface Reference

31 Update Commands
updatesnapspace
DESCRIPTION
The updatesnapspace command starts a non-cancelable task to update the snapshot space
usage accounting. The snapshot space usage displayed by showvv -snapspace is not necessarily
the current usage and the TimeCalculated column will show when it was last calculated. This
command causes the system to start calculating current snapsnot space usage. If one or more VV
names or patterns are specified, only the specified VVs will be updated. If none are specified, all
VVs will be updated.
This command will return immediately, displaying the task ID associated with the update. To wait
for completion, use the waittask command.
SYNTAX
updatesnapspace [<VV_name>...|<pattern>...]
AUTHORITY
Super, Edit
Any role granted the snapspace_update right.
OPTIONS
None
SPECIFIERS
<VV_name>...
Specifies the VV name to update. This specifier can be repeated to display the task ID about multiple
VVs. This specifier is not required on the command line. If not specified, all VVs in the system are
updated.
<pattern>...
Specifies that the VVs matching the specified glob-style pattern is updated. This specifier can be
repeated. This specifier is not required. See “Glob-Style Pattern” (page 12) for more information.
RESTRICTIONS
None
EXAMPLES
The following example displays the actual snapshot space used by all VVs:
cli% updatesnapspace
Task 2 has been started to calculate actual space usage.
Issuing a waittask command displays the information about the task in process or if it has been
processed:
cli% waittask 2
Task 2 done
updatesnapspace 657