3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

7.19
Setting Expiration Times for Virtual Volumes
InForm OS Version 2.3.1 3PAR InForm CLI Administrator’s Manual
7.15 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.
7.16 Setting Retention Times for Virtual Volumes
3PAR Virtual Lock is an optional feature that enforces the retention period of any volume or
copy of a volume. You must purchase the 3PAR 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.