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

7.20
Setting Retention Times for Virtual Volumes
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
The retention time can be increased but it cannot be decreased.
If both of the retention time and expiration time are specified, the retention time cannot
be greater than the expiration time.
The retention time can be set in hours or days. The minimum retention time is 1 hour and
the maximum retention time is 43800 hours (1,825 days or 5 years). The default is 336 hours
(14 days). The
vvMaxRetentionTime system parameter determines the maximum
retention. This parameter can be set with the
setsys command.
The maximum retention time for a volume in a domain can be set during the domain
creation time or applied to an existing domain with the
createdomain or setdomain
commands.
If the volume belongs to a domain, then volume’s retention time cannot exceed the
domain's maximum retention time.
A volume with retention time cannot be removed until end of retention time period.
You can use the
-retain option to set volume retention times with the following commands:
createvv
setvv
createsv
creategroupsv
To create a virtual volume that cannot be deleted for a specified number of hours, issue the
createvv -retain <time>d|D|h|H <CPG_name> -snp_cpg <CPG_name>
<user_CPG>
<VV_name> <VV_size g|G|t|T> command, where:
-retain <time>d|D|h|H specifies the volume cannot be removed from the system
for the specified number of hours or days. 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.
<CPG_name> is the name of the CPG from which the volume will draw its snapshot
space and administration space.
<user_CPG> is the name of the CPG from which the created virtual volume will draw
its user space.
<VV_name> is the name of the volume being created. The name can be up to 31
characters.