Changes attributes of logical volumes in a pool (e.g. rename) or moves a logical volume from a pool to another pool.
If a parameter is not specified, the corresponding attribute is not changed.
Syntax
|
Parameters
–storid storid
This parameter is mandatory for logical volumes with an assigned storID.
For logical volume without assigned storID, the parameter must be omitted and the parameter -deviceid
must be specified instead.
–deviceid devid
Specifies the device ID of the logical volume. This parameter is mandatory if the logical volume does not have an assigned storID.
It may be specified additionally for logical volumes with an assigned storID. If both storID and device ID are specified, the input must be consistent.
–system system
Specifies the name of the storage system. This parameter must be specified if the -deviceid parameter is used to specify the volume.
–newpoolid poolid
Specifies the target pool to which the logical volume should be moved by its pool ID. The current pool is implicitly specified by the storID or the device ID of the logical
volume.
Both pools must belong to the same storage system.
–newstorid storid
If specified, renames the storID of the logical volume to the specified value.
Refer to the common description of ”storid” in "Common supported value ranges".
–connectparam
Refer to the description of the "Connection parameters".
For each of the parameters storid, deviceid
and newstorid
it is possible to specify a list separated by comma. The lists must be of the same size.
Return codes
Error Code | Name | Error Type |
0 |
| Function successful |
3 |
| Version not supported |
7 |
| Specified parameters invalid |
9 |
| StorID already used otherwise |
13 |
| Error in StorMan communication between client and server |
14 |
| Storage unit to be modified currently locked |
16 |
| Unexpected error in function |
18 |
| Matching object (Storage Volume) could not be provided |
20 |
| Object already exists in the repository |
36 |
| User / password for StorMan not valid |