HP 3PAR OS 3.1.3 Command Line Interface Reference

setvv
DESCRIPTION
The setvv command changes the properties associated with a virtual volume. Use the setvv
command to modify volume names, volume policies, allocation warning and limit levels, and the
volume’s controlling common provisioning group (CPG).
SYNTAX
setvv [options <arg>] <VV_name|pattern>...
AUTHORITY
Super, Edit
Any role granted the vv_set right can edit the properties of base volumes.
Any role granted the vvcopy_set right can edit the properties of physical copies of volumes.
Any role granted the sv_set right can edit the properties of virtual copies of volumes.
OPTIONS
-name <newname>
Specifies that the name of the virtual volume be changed to a new name (as indicated by the
<newname> specifier) that uses up to 31 characters.
-wwn <new_wwn>
Specifies that the WWN of the virtual volume be changed to a new WWN as indicated by
<new_wwn> the specifier. If <new_wwn>is set to "auto", the system will automatically choose the
WWN based on the system serial number, the volume ID, and the wrap counter. This option is
not allowed for the admitted volume before it is imported, or while the import process is taking
place.
At least one of the following options must be specified:
-clrrsv
Specifies that all reservation keys (i.e., registrations) and all persistent reservations on the virtual
volume are cleared.
-clralua
Restores ALUA state of the virtual volume to ACTIVE/OPTIMIZED state. In ACTIVE/OPTIMIZED
state hosts will have complete access to the volume.
-exp <time>[d|D|h|H]
Specifies the relative time from the current time that volume will expire. <time> is a positive integer
value and in the range of 0 to 43800 hours (1825 days). Time can be specified in days or hours
providing either the d or D for day and h or H for hours following the entered time value.
To remove the expiration time for the volume, enter 0 for <time>.
-comment <comment>
Specifies any additional information up to 511 characters for the volume. Use -comment "" to
remove the comments.
-f
Do not ask for confirmation before setting or modifying volumes with retention time (-retain).
-retain <time>[d|D|h|H]
Specifies the amount of time, relative to the current time, that the volume will be retained. <time>
is a positive integer value and in the range of 1 to 43,800 hours (1825 days). Time can be
setvv 333