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

5.33
Block Services Package
CIM API Programming Reference
Size: As an input, this is the desired logical size in bytes of the TP StorageVolume or the
requested size of the StorageVolume. If it is a modification request, “Size” is the new size
which must be greater than the existing size (e.g. volume can grow, but can not shrink). For
TP StorageVolume, the system actually allocates only minimum disk space to back up the
volume. More space is allocated on demand as more write data occur. The allocation unit
for each space allocation is the “growth increment” size. The system continues to allocate
more space until either the system runs out of disk space or maximum allocation of the
volume (SpaceLimit) is reached.
TheElement: Should be null as an input to create a new TP StorageVolume or
StorageVolume. Upon method completion, it contains the object path of the newly created
TP StorageVolume. If its not null, it refers to the TP
StorageVolume to be modified (e.g.,
changing size, allocation warning, etc.).
Table 5-23 shows the return values for TPD_CreateOrModifyElementFromStoragePools():
Table 5-23. Return Values for TPD_CreateOrModifyElementFromStoragePools ()
ValueMap Values Explanation/Notes
0 Job Completed with No
Error
1 Not supported
2 Unknown
3 Timeout
4 Failed
5 Invalid Parameter
6 In Use
4097 Size Not Supported