HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
Freeing Virtual Volume Snapshot Space
• To free unused snapshot administration and snapshot data space from a virtual volume that
is not in use by the system, issue the freespace <VV_name> or freespace <pattern>
command, where:
◦ <VV_name> is the name(s) of the virtual volume(s) from which snapshot space is to be
made available.
◦ <pattern> is the name of the pattern from which snapshot space is to be made available
from all volumes matching that pattern name.
NOTE: The freespace command cannot be used if the virtual volume has snapshots, the virtual
volume is a TPVV, or the TPVV was created with InForm OS release 2.2.4 or earlier.
For a complete list of options available for the freespace command, see the HP 3PAR InForm
OS Command Line Interface Reference and InForm OS CLI Help. For information about tuning
your system for performance, see “Performance Tuning” (page 144).
Setting Expiration Times for Virtual Volumes
You can set virtual volume expiration times with the -exp option of the following commands:
• createvv
• setvv
• createsv
• creategroupsv
Use the -exp option to set an expiration time for any volume or copy of a volume. The expired
virtual volumes are not automatically removed, you must use the removevv command or the System
Scheduler to remove the expired volumes. The expiration time can be set during the volume creation
time or applied to an existing volume.
• To set the volume expiration time for any volume, issue the setvv -exp <time> d|D|h|H
<VV_name> command, where:
◦ -exp <time> d|D|h|H specifies the amount of time from the current time in which the
volume will expire. The value for <time> must be a positive integer in the range of 1
hour to 43,800 hours (1,825 days). The value for <time> can be specified in days with
d|D or hours with h|H. For example, 14d specifies 14 days.
◦ <VV_name> is the name of the volume set to expire.
Setting Retention Times for Virtual Volumes
HP 3PAR Virtual Lock Software is an optional feature that enforces the retention period of any
volume or copy of a volume. You must purchase the Virtual Lock license to use the -retained
option. Locking a volume prevents the volume from being deleted intentionally or unintentionally
before the retention period elapses. You can use Virtual Lock to specify the retention period for
any volume or copy of a volume.
Use the showvv -retained command to display all volumes with retention times, and the time
the volume retention expires.
Rules for using volume retention times:
• The retention time can be set during the volume creation time or applied to an existing volume.
• The retention time can be increased but it cannot be decreased.
Freeing Virtual Volume Snapshot Space 91