HP 3PAR StoreServ 7200 2-node HP 3PAR CIM API Programming Reference (OS 3.1.2 - Page 42

Initial State Example, Before Volume Creation, RemainingManagedSpace, SpaceConsumed, TPD_StorageVolume

Page 42 highlights

Initial State Example Suppose an array consisting of all Fibre Channel disks has a total disk capacity of 1090060445184 bytes (~1039563 MB) of which 923699114496 bytes (~880908 MB) worth of disks have been admitted. The rest of the disks, totaling 166361330688 bytes, have not been admitted and are therefore in a new state. The admitted disks are used to create a concrete pool (all-FC) consisting of all FC disks. Pimordial TPD_StoragePool.TotalManagedSpace = 1090060445184 (raw capacity of the array, not including capacity lost due to chunklet formatting). Primordial TPD_StoragePool.RemainingManagedSpace = 166361330688 (raw capacity of new disks; if there are no new disks this value is 0) TPD_AllocatedFromStoragePool.SpaceConsumed between primordial and concrete "all-FC" pool = 1090060445184 - 166361330688 = 923699114496 (raw space consumed in the creation of "all-FC" concrete pool) These values for the primordial pool do change no matter how many volumes are created. RemainingManagedSpace and SpaceConsumed only change if the new disks are admitted. Before Volume Creation Now the total raw capacity of the all-FC concrete pool is 813896302592 bytes (776192 MB). The Overhead/Metadata used in the creation of the concrete pool (for example, TOC) can be inferred by the difference between this value and TPD_AllocatedFromStoragePool.SpaceConsumed between the primordial and concrete pools. Because at this point there are no volumes in the array, the capacity that is free for creating volume is the same as the total raw capacity of the concrete pool. Concrete TPD_StoragePool.TotalManagedSpace = 813896302592 (raw capacity of the concrete pool) Metadata used in creating "all-FC" concrete pool = TPD_AllocatedFromStoragePool.SpaceConsumed - Concrete TPD_StoragePool.TotalManagedSpace = 923699114496 - 813896302592 = 109802811904 (~104716 MB) Concrete TPD_StoragePool.RemainingManagedSpace = 813896302592 (raw capacity that can be used to create volume) After Volume Creation Suppose a RAID-10 volume of logical size 10240 MB is created from all-FC pool. This value is represented in the TPD_StorageVolume class as ConsumableBlocks. In InForm OS release 2.3.1, the NumOfBlocks also represents the logical size of the volume. Because this is a RAID-10 volume, its raw size is actually double that of the logical size, for example, 20480 MB. This value is represented in the TPD_StorageVolume class as NumberOfBlocks (InForm OS 2.2.4 and prior) and NumberOfRawBlocks (InForm OS 2.3.1) the raw capacity consumed from the concrete pool in creating this volume is the same as the raw size of the volume, and this capacity is deducted from the RemainingManagedSpace of the concrete pool. BlockSize = 512 • TPD_StorageVolume.NumberOfBlocks = TPD_StorageVolume.ConsumableBlocks = (10240 * 1024 * 1024) / BlockSize = 20971520 (logical size of the volume). • TPD_StorageVolume.NumberOfRawBlocks = (20480 * 1024 * 1024) / BlockSize = 41943040 (raw size of the volume). 42 CIM API SMI-S Support

  • 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
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309

Initial State Example
Suppose an array consisting of all Fibre Channel disks has a total disk capacity of 1090060445184
bytes (~1039563 MB) of which 923699114496 bytes (~880908 MB) worth of disks have been
admitted. The rest of the disks, totaling 166361330688 bytes, have not been admitted and are
therefore in a new state. The admitted disks are used to create a concrete pool (all-FC) consisting
of all FC disks.
Pimordial
TPD_StoragePool.TotalManagedSpace
= 1090060445184 (raw capacity of the
array, not including capacity lost due to chunklet formatting).
Primordial
TPD_StoragePool.RemainingManagedSpace
= 166361330688 (raw capacity
of new disks; if there are no new disks this value is 0)
TPD_AllocatedFromStoragePool.SpaceConsumed
between primordial and concrete
“all-FC” pool = 1090060445184 – 166361330688 = 923699114496 (raw space consumed
in the creation of “all-FC” concrete pool)
These values for the primordial pool do change no matter how many volumes are created.
RemainingManagedSpace
and
SpaceConsumed
only change if the new disks are admitted.
Before Volume Creation
Now the total raw capacity of the all-FC concrete pool is 813896302592 bytes (776192 MB).
The Overhead/Metadata used in the creation of the concrete pool (for example, TOC) can be
inferred by the difference between this value and
TPD_AllocatedFromStoragePool.SpaceConsumed
between the primordial and concrete
pools. Because at this point there are no volumes in the array, the capacity that is free for creating
volume is the same as the total raw capacity of the concrete pool.
Concrete TPD_StoragePool.TotalManagedSpace = 813896302592 (raw capacity of the concrete
pool)
Metadata used in creating “all-FC” concrete pool = TPD_AllocatedFromStoragePool.SpaceConsumed
– Concrete TPD_StoragePool.TotalManagedSpace = 923699114496 - 813896302592 =
109802811904 (~104716 MB)
Concrete TPD_StoragePool.RemainingManagedSpace = 813896302592 (raw capacity that can
be used to create volume)
After Volume Creation
Suppose a RAID-10 volume of logical size 10240 MB is created from all-FC pool. This value is
represented in the
TPD_StorageVolume
class as
ConsumableBlocks
. In InForm OS release
2.3.1, the
NumOfBlocks
also represents the logical size of the volume. Because this is a RAID-10
volume, its raw size is actually double that of the logical size, for example, 20480 MB. This value
is represented in the
TPD_StorageVolume
class as
NumberOfBlocks
(InForm OS 2.2.4 and
prior) and
NumberOfRawBlocks
(InForm OS 2.3.1) the raw capacity consumed from the concrete
pool in creating this volume is the same as the raw size of the volume, and this capacity is deducted
from the
RemainingManagedSpace
of the concrete pool.
BlockSize = 512
TPD_StorageVolume.NumberOfBlocks
=
TPD_StorageVolume.ConsumableBlocks
= (10240 * 1024 * 1024) / BlockSize = 20971520 (logical size of the volume).
TPD_StorageVolume.NumberOfRawBlocks
= (20480 * 1024 * 1024) / BlockSize =
41943040 (raw size of the volume).
42
CIM API SMI-S Support