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

Removing Virtual Volumes, HP 3PAR Command, Line Interface Reference

Page 89 highlights

• 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 domain creation with the createdomain command, or applied to an existing domain with the setdomain command. • If the volume belongs to a domain, then the volume retention time cannot exceed the domain's maximum retention time. • A volume with remaining retention time cannot be removed until the end of the retention period. You can use the -retain option to set volume retention times while issuung 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 d|D|h|H -snp_cpg command, where: • -retain d|D|h|H specifies that the volume cannot be removed from the system for the specified number of hours or days. 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 CPG from which the volume will draw its snapshot space and administration space. • is the name of the CPG from which the created virtual volume will draw its user space. • is the name of the volume being created. The name can be up to 31 characters. • is the size of the volume in MB, GB, or TB. If g|G|t|T is not specified, VV_size is the number of MBs. For example, 50g specifies 50 GBs. Removing Virtual Volumes To virtual volumes, issue the removevv or removevv command, where: • represents the names of the virtual volumes to be removed. • represents the name of the pattern according to which virtual volumes are to be removed. For a complete list of options available for the removevv command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Removing Virtual Volumes 89

  • 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

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 domain creation with
the
createdomain
command, or applied to an existing domain with the
setdomain
command.
If the volume belongs to a domain, then the volume retention time cannot exceed the domain's
maximum retention time.
A volume with remaining retention time cannot be removed until the end of the retention period.
You can use the
-retain
option to set volume retention times while issuung 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 that 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.
<VV_size g|G|t|T>
is the size of the volume in MB, GB, or TB. If
g|G|t|T
is not specified,
VV_size
is the number of MBs. For example,
50g
specifies 50 GBs.
Removing Virtual Volumes
To virtual volumes, issue the
removevv <VV_name>
or
removevv <pattern>
command,
where:
<VV_name>
represents the names of the virtual volumes to be removed.
<pattern>
represents the name of the pattern according to which virtual volumes are to be
removed.
For a complete list of options available for the
removevv
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
Removing Virtual Volumes
89