HP 3PAR StoreServ 7200 2-node HP 3PAR Command Line Interface Administrator& - Page 83

Creating Virtual Volumes, Creating Fully Provisioned Virtual Volumes

Page 83 highlights

Creating Virtual Volumes After you create CPGs, you can create FPVVs and TPVVs that draw space from the CPGs. For greater administrative flexibility, you can provision the virtual volume's user space and snapshot space from the same or different CPGs. If the virtual volume's user space and snapshot space are on a different CPGs, the user space remains available to the host if the CPG containing the snapshot space becomes full. You can create many identical virtual volumes at one time. Expiration dates can be set for virtual volumes to save space. For information about planning for the growth of virtual volumes, see the HP 3PAR StoreServ Storage Concepts Guide. For information about creating CPGs, see "Common Provisioning Groups" (page 78). NOTE: Creating virtual copies or snapshots requires the HP 3PAR Virtual Copy Software license. Creating TPVVs requires the HP 3PAR Thin Provisioning Software license. Contact your HP sales representative for more information. NOTE: If your system is accessible by an OpenStack cloud, you may see volumes with prefixes indicating that the volumes were created through the OpenStack cloud. Volumes created through the OpenStack cloud use the OpenStack Volume (OSV) and OpenStack Snapshot (OSS) prefixes. Creating Fully Provisioned Virtual Volumes A fully provisioned virtual volume has a set amount of user space that is allocated for user data. The virtual volume's snapshot space is allocated on demand. To create a group of fully provisioned virtual volumes, issue the createvv -cnt -snp_cpg command, where: • is the number of virtual volumes to create with the designated properties. • is the name of the CPG from which the created 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 virtual volume being created. • 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. NOTE: If the -tpvv option is not specified, the created volume is a fully provisioned virtual volume. For a complete list of options available for the createvv command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Creating Thinly Provisioned Virtual Volumes A TPVV allocates user space and snapshot space on demand. If you do not specify a CPG to be used for snapshot space with the -snp_cpg option, the TPVV will have no snapshot space. To create a TPVV, issue the createvv -tpvv -snp_cpg -usr_aw -usr_al command, where: • -tpvv indicates that you are creating a TPVV. • is the name of the CPG from which the volume will draw its snapshot space and administration space. Creating Virtual Volumes 83

  • 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

Creating Virtual Volumes
After you create CPGs, you can create FPVVs and TPVVs that draw space from the CPGs. For
greater administrative flexibility, you can provision the virtual volume’s user space and snapshot
space from the same or different CPGs. If the virtual volume’s user space and snapshot space are
on a different CPGs, the user space remains available to the host if the CPG containing the snapshot
space becomes full. You can create many identical virtual volumes at one time. Expiration dates
can be set for virtual volumes to save space.
For information about planning for the growth of virtual volumes, see the
HP 3PAR StoreServ
Storage Concepts Guide
. For information about creating CPGs, see
“Common Provisioning
Groups” (page 78)
.
NOTE:
Creating virtual copies or
snapshots
requires the HP 3PAR Virtual Copy Software license.
Creating TPVVs requires the HP 3PAR Thin Provisioning Software license. Contact your HP sales
representative for more information.
NOTE:
If your system is accessible by an OpenStack cloud, you may see volumes with prefixes indicating
that the volumes were created through the OpenStack cloud. Volumes created through the OpenStack
cloud use the OpenStack Volume (OSV) and OpenStack Snapshot (OSS) prefixes.
Creating Fully Provisioned Virtual Volumes
A fully provisioned virtual volume has a set amount of user space that is allocated for user data.
The virtual volume’s snapshot space is allocated on demand.
To create a group of fully provisioned virtual volumes, issue the
createvv -cnt <number>
-snp_cpg <CPG_name> <user_CPG> <VV_name> <VV_size g|G|t|T>
command, where:
<number>
is the number of virtual volumes to create with the designated properties.
<CPG_name>
is the name of the CPG from which the created 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 virtual volume being created.
<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.
NOTE:
If the
-tpvv
option is not specified, the created volume is a fully provisioned virtual
volume.
For a complete list of options available for the
createvv
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
Creating Thinly Provisioned Virtual Volumes
A TPVV allocates user space and snapshot space on demand. If you do not specify a CPG to be
used for snapshot space with the
-snp_cpg
option, the TPVV will have no snapshot space.
To create a TPVV, issue the
createvv -tpvv -snp_cpg <CPG_name> -usr_aw <percent>
-usr_al <percent> <user_CPG> <VV_name> <VV_size g|G|t|T>
command, where:
-tpvv
indicates that you are creating a TPVV.
<CPG_name>
is the name of the CPG from which the volume will draw its snapshot space
and administration space.
Creating Virtual Volumes
83