Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

storcfg volume -rem

&pagelevel(5)&pagelevel

Removes a logical volume from a pool of StorMan repository.

Syntax

storcfg volume –rem [ –storid storid[,...] ] { [ –deviceid devid[,...] ] }
                     [ –system system ] –connectparam ...

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

STORMAN_OK

Function successful

3

STORMAN_VER_NOT_SUPP

Version not supported

7

STORMAN_INV_PARAMETERS

Specified parameters invalid

9

STORMAN_STORID_IN_USE

StorID already used otherwise

13

STORMAN_COMMUNIC_ERROR

Error in StorMan communication between client and server

14

STORMAN_STORAGE_LOCKED

Storage unit to be modified currently locked

16

STORMAN_FAULT

Unexpected error in function

18

STORMAN_NOT_FOUND

Matching object could not be provided

20

STORMAN_ALREADY_EXISTS

Object already exists in the repository

36

STORMAN_AUTH_FAILED

User / password for StorMan not valid