GetSupportedSizeRange()
You can use the GetSupportedSizeRange()
method to query the volume sizes that are supported. The GetSupportedSizeRange()
method belongs to the IBMTS2145_StoragePool class.
Parameters
Table 259 shows the parameters you can specify
for the GetSupportedSizeRange() method:
Table 259. GetSupportedSizeRange() parameters
|
Parameter |
Type |
Description |
| [Goal] |
COP |
Ignored |
| MinimumVolumeSize |
Uint64 |
Specifies the minimum size (MB) to query |
| MaximumVolumeSize |
Uint64 |
Specifies the maximum size (MB) to query |
| VolumeSizeDivisor |
Uint64 |
Specifies the storage pool extent size |
Return values
The GetSupportedSizeRange() method returns one of the following error codes:
- 0: Parameters are valid.
- 5: The number or type of parameters that have been passed is incorrect.