Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

stormirror -create

&pagelevel(4)&pagelevel

Creates one or multiple local or remote mirroring pairs by assigning one or multiple mirror volumes to one or multiple source volumes. The mirror volumes can be specified as full mirror copies or local pointer based logical copies (snapshots).

For full mirror copies after establishing the mirroring relationship the synchronization process is started. For local replication pairs, the source volumes and mirror volumes must all be part of the same storage system.

Syntax

stormirror –create –mirrortype mirrortype [ -replica replica ]
                 [ -copymode copymode ] –source storid[,...]
                 –target storid[,...] [ –waitforsync ]

Parameters

–mirrortype mirrortype

Specifies the type of mirror pair(s) to be created.

Supported values: snap | full |fullcopy

snap creates snapshot (pointer based) mirror pair(s). Snapshots on ETERNUS DX/AF based on SnapOPC+ systems are immediately available and accessible after creation.

full creates full copy mirror pairs (on ETERNUS DX/AF based on EC or REC).

fullcopy creates full copy pairs (on ETERNUS DX/AF based on QuickOPC)

–replica replica

Specifies if local or remote mirror pair(s) should be created.

Supported values: local | remote | bytarget (default)

local creates local replica(s) in the same storage system.

remote creates remote replica(s) in a different storage system of the same model for ETERNUS DX/AF. This can be on a different site. This value is supported for –mirrortype full only.

bytarget selects the replica location defined by the specified mirror pair(s). The automatically selected replica must be the same for all specified mirror pairs.

 

–copymode copymode

Defines the copy mode synchronous or asynchronous: sync | async | asyncstack

The default value (when omitted) is sync (synchronous).

–copymode sync for ETERNUS DX/AF corresponds to sync REC mode.

–copymode async for ETERNUS DX/AF corresponds to async REC consistent mode.

–copymode asyncstack for ETERNUS DX/AF corresponds to async REC stack mode.

The parameter is only supported for –replica remote and for storage systems ETERNUS DX /AF.

–source storid[,...]

Specifies the storID(s) of one or a list of source volumes for the mirror pair(s).

The number of specified storIDs for the source volumes must be equal to the number of specified storIDs for the target volumes.

–target storid[,...]

Specifies the storID(s) of one or a list of target volumes for the mirror pair(s).

The number of specified storIDs for the source volumes must be equal to the number of specified storIDs for the target volumes.

The capacity and type of the specified target volumes must match to the prerequisites of the specified mirroring feature of the storage system.

If the value #auto is specified, StorMan automatically assigns appropriate target volumes to create the mirror pair(s). This function can be supported for –mirrortype snap only.

–waitforsync

Option to wait for the completion of the synchronization process of the newly created mirror pair(s). This function can be supported for –mirrortype full only.

 

Return codes

Error Code

Name                                                       

Error Type

0

STORMAN_OK

Function successful.

1

STORMAN_NO_ACTION

Nothing to do.

2

STORMAN_NOT_COMPLETE

Function only partly completed.

3

STORMAN_VER_NOT_SUPP

Version not supported

7

STORMAN_INV_PARAMETERS

Specified parameters invalid.

8

STORMAN_INVALID_STORID

Specified storID not allowed

10

STORMAN_STORID_NOT_FOUND

storID does not yet exist.

13

STORMAN_COMMUNIC_ERROR

Error in StorMan communication between client and server.

14

STORMAN_STORAGE_LOCKED

Storage unit currently locked.

16

STORMAN_FAULT

Unexpected error in function.

18

STORMAN_NOT_FOUND

Matching object could not be provided.

22

STORMAN_RESOURCE_NOT_AVAILABLE

Provider or database not available

25

STORMAN_PROVIDER_AUTH_FAILED

User / password for the provider not valid.

29

STORMAN_MIRROR_ERROR

Failure of the mirror operation

35

STORMAN_SYSTEM_LOCKED

The ETERNUS DX/AF system is locked for administration

36

STORMAN_AUTH_FAILED

User / password for StorMan not valid

37

STORMAN_PROVIDER_ERROR

Provider returned an error