HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 88

Freeing Virtual Volume Snapshot Space, Setting Expiration Times for Virtual Volumes, Setting

Page 88 highlights

For a complete list of options available for the removevvset command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. 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 or freespace command, where: • represents the names of the virtual volumes from which snapshot space is to be made available. • represents 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 HP 3PAR OS release 2.2.4 or earlier. For a complete list of options available for the freespace command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. For information about tuning your system for better performance, see "Performance Tuning" (page 173). 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, so 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 can be applied to an existing volume. To set the volume expiration time for any volume, issue the setvv -exp d|D|h|H command, where: • -exp d|D|h|H specifies the amount of time from the current time in which the volume will expire. The value for must be a positive integer in the range of 1 hour to 43,800 hours (1,825 days). The value for can be specified in days with d|D or hours with h|H. For example, 14d specifies 14 days. • is the name of the volume that is 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 at which the volume retention expires. Rules for using volume retention times: • The retention time can be set during volume creation or applied to an existing volume. • The retention time can be increased, but it cannot be decreased. 88 Managing CPGs and Virtual Volumes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

For a complete list of options available for the
removevvset
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
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>
represents the names of the virtual volumes from which snapshot space is to be
made available.
<pattern>
represents 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 HP 3PAR OS release 2.2.4 or earlier.
For a complete list of options available for the
freespace
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help. For information about tuning your system for
better performance, see
“Performance Tuning” (page 173)
.
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, so 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 can be 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 that is 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
at which the volume retention expires.
Rules for using volume retention times:
The retention time can be set during volume creation or applied to an existing volume.
The retention time can be increased, but it cannot be decreased.
88
Managing CPGs and Virtual Volumes