MigrateVolume()
You can use the MigrateVolume()
method to migrate an IBMTS2145_StorageVolume instance to another IBMTS2145_StoragePool
instance. The MigrateVolume() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 263 shows the parameters you can specify for
the MigrateVolume() method:
Table 263. MigrateVolume() parameters
|
Parameter |
Type |
Description |
| Volume |
String |
Defines the IBMTS2145_StorageVolume to be migrated |
| Job |
String |
Defines the object used to monitor the migration progress |
| TargetPool |
String |
Specifies the IBMTS2145_StoragePool instance to which
the IBMTS2145_StorageVolume instance will be migrated |
| NumberOfThreads |
Uint8 |
Defines the number of copy threads used for the migration |
Return values
The MigrateVolume() method returns one of the following error codes:
- 0: The volume was successfully migrated.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The volume is not valid.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.