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

&pagelevel(4)&pagelevel

Restarts the mirroring for the specified local or remote mirror pair(s). The mirror volumes are no longer accessible to the server and/or application and all changes done on the mirror volumes are discarded.
For local mirror pairs a subsequent stormirror -suspend may activate the mirror volumes again to obtain a new point in time of the mirrored data.

The function is only supported for local and remote full mirror pairs. It is not supported for -mirrortype snap.

Syntax

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

Parameters

–mirrortype mirrortype

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

Supported values: full | any (default)

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

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

any selects the mirroring feature defined by the specified mirror pair(s).

–replica replica

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

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

–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 ore 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.

–waitforsync

Option to wait for the completion of the re-synchronization process of the mirror pair(s).

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