Removes a logical volume from a pool of StorMan repository.
Syntax
|
Parameters
–storid storid
This parameter is mandatory for logical volumes with an assigned storID. It is possible to specify a list of storIDs separated by comma. Wildcards (*) are supported. storid's matching with the wildcard are removed without further checks if no system is specified. If -system is specified it must match too.
For logical volume without assigned storID, the parameter must be omitted and the -deviceid
parameter 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 is possible to specify a list of device IDs separated by comma.
The logical volume specified by its device ID must be contained in a pool.
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.
–connectparam
Refer to the description of the "Connection parameters".
For both parameters storid
and deviceid
, comma separated lists can be specified.
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 could not be provided |
20 |
| Object already exists in the repository |
36 |
| User / password for StorMan not valid |