3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.51
Block Services Package
CIM API Programming Reference
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’s available
for volume allocation. Let’s 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 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