HP 3PAR CIM API Programming Reference (OS 3.1.2 MU2) (QL226-97015, June 2013)

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 43), logical capacity is used in calculating SpaceConsumed
with child volumes/delta replica pool.
StorageVolume.NumberOfBlocks is the virtual size of the TPVV.
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 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 = 100 GB (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 thinly provisioned volume, what
are actually allocated to the volume may not be the full 10G (let us assume it is 4G). The actual
allocated value is represented in the TPD_StorageVolume class as
ProvisionedConsumableBlocks. AllocatedFromStoragePool.SpaceConsumed between
StorageVolume and the parent DynamicStoragePool is the capacity that is actually allocated
44 CIM API SMI-S Support