HP 3PAR InForm OS 3.1.1 CIM API (QL226-96591, July 2012)

allocated to the volume, since RAID overhead is now accounted for in DynamicStoragePool.
The capacity used for the metadata in the creation of the storage volume can be calculated by:
[(TPD_StorageVolume.NumberOfRawBlocks -
TPD_StorageVolume.NumberOfBlocks)* TPD_StorageVolume.BlockSize].
TPD_StorageVolume.ConsumableBlocks is set to be the same as
TPD_StorageVolume.NumberOfBlocks.
Example:
Initial State
A dynamic storage pool has a virtual capacity of 100GB (as set in the –sdgl option). This value
is reflected in the TPD_DynamicStoragePool.SpaceLimit property and is what is available
for volume allocation. Let us assume that there are no volumes or DeltaReplicaStoragePool
allocated from this pool initially. The TotalManagedSpace property reflects the actual capacity
allocated to the pool.
Before Volume Creation
TPD_DynamicStoragePool.TotalManagedSpace = actual capacity allocated to the
pool.
TPD_DynamicStoragePool.SpaceLimit = 100GB
TPD_DynamicStoragePool.RemainingManagedSpace = 100GB (capacity that can be
used to create volume)
After Volume Creation
Suppose a RAID-10 volume of logical size 10G is created from the dynamic storage pool. This
value is represented in the TPD_StorageVolume class as NumberOfBlocks
(ConsumableBlocks also has the same value). Since this is a RAID-10 volume, its raw size is
actually double that of the logical size, i.e., 20 GB. This value is represented in the
TPD_StorageVolume class as NumberOfRawBlocks.
AllocatedFromStoragePool.SpaceConsumed between StorageVolume and the parent
DynamicStoragePool is the same as the logical size of the volume; RAID overhead is accounted
for in the DynamicStoragePool itself and does not carry over to the child volume.
BlockSize = 512
TPD_StorageVolume.NumberOfBlocks = TPD_StorageVolume.ConsumableBlocks
= (10240 * 1024 * 1024) / BlockSize = 20971520 (logical block size of the volume)
TPD_StorageVolume.NumberOfRawBlocks = (20480 * 1024 * 1024) / BlockSize
= 41943040 (raw block size of the volume)
TPD_AllocatedFromStoragePool.SpaceConsumed between dynamic storage pool
and volume = TPD_StorageVolume.NumberOfBlocks * BlockSize = 10737418240
TPD_DynamicStoragePool.RemainingManagedSpace =
TPD_DynamicStoragePool.SpaceLimit volume logical size = 100G 10G = 90G
TotalManagedSpace for the dynamic storage pool remains unchanged.
Thinly Provisioned Storage Volume
TPD_AllocatedFromStoragePool.SpaceConsumed between the parent dynamic storage
pool and the thinly provisioned storage volume represents the actual size allocated to the volume.
This value is also represented in StorageVolume.ProvisionedConsumableBlocks, i.e.,
SpaceConsumed equals ProvisionedConsumableBlocks.
As is the case with Section (page 40), logical capacity is used in calculating SpaceConsumed
with child volumes/delta replica pool.
StorageVolume.NumberOfBlocks is the virtual size of the TPVV.
Block Services Package 41