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 -mod

&pagelevel(5)&pagelevel

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

storcfg volume –mod { [ –storid storid,[...] ] [ –deviceid devid[,...] ] }
                    [ –system system ] [ –newpoolid poolid ]
                    [ –newstorid storid,[...] ] –connectparam ...

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

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 (Storage Volume) could not be provided

20

STORMAN_ALREADY_EXISTS

Object already exists in the repository

36

STORMAN_AUTH_FAILED

User / password for StorMan not valid