CreateOrModifyStoragePool()
You can use the CreateOrModifyStoragePool()
method to create an IBMTS2145_StoragePool if the Pool parameter is set to
null, or you can modify an existing IBMTS2145_StoragePool if the Pool parameter
is not null. The CreateOrModifyStoragePool() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 234 shows the parameters you can specify for
the CreateOrModifyStoragePool() method:
Table 234. CreateOrModifyStoragePool() parameters
|
Parameter |
Type |
Description |
|
Pool creation |
Pool modification |
| [InPool] |
String |
Set to Null |
Set to Null |
| [Extent] |
String |
Points to the StorageExtent |
Points to the StorageBackendVolume |
| [Goal] |
String |
Contains the desired name and extent size for the new
pool |
Contains the desired name and extent size for the new
pool |
| [Pool] |
String |
Set to Null |
Specifies the StoragePool that is in the same cluster
as the StorageConfigurationService instance |
| Pool |
COP |
Defines the name of the new pool |
Defines the default pool name when the method is invoked |
| Size |
Uint64 |
Specifies the allocated size (MB) of the new pool |
Specifies the allocated size (MB) of the modified pool |
| Job |
String |
Set to Null |
Set to Null |
Return values
The CreateOrModifyStoragePool() method returns one of the following error
codes:
- 0: The pool was successfully created.
- 4: An unexpected error occurred.
- 5: At least one of the parameters was invalid.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: This range represents various SAN Volume Controller return
codes and messages.
Related topics