revertflash

The revertflash command is used as part of the recovery from a disaster scenario to rollback a Global Mirror consistency group that is in the process of forming. The former Global Mirror consistency group is restored.

Read syntax diagramSkip visual syntax diagram
>>-revertflash--+-------------------------+--------------------->
                '- -dev--storage_image_ID-'   

>--+------------------------------+----------------------------->
   '- -seqnum--flash_sequence_num-'   

>--+-SourceVolume_ID--+-------+-+------------------------------><
   |                  '-. . .-' |   
   '-" - "----------------------'   

Parameters

-dev storage_image_ID
(Optional) Specifies the storage image ID, which includes manufacturer, machine type, and serial number. This parameter is required if you do not specify a fully qualified ID for the source volume and you do not specify a value for the devid variable in your profile file.
Example: IBM.1750-685FA120
-seqnum flash_sequence_num
(Optional) Specifies the FlashCopy sequence number. When this number is specified, the revertflash operation is performed only on those relations associated with the specified number.
This parameter is not supported for machine type 2105.
Example: 0010
SourceVolumeID . . . | -
(Required) Specifies the source volume ID for which the FlashCopy relationship is to be reverted. The chosen FlashCopy pair is the one established or modified with the -record parameter. This parameter accepts fully qualified volume IDs, which includes storage image IDs, or a shortened version without storage image IDs if the -dev parameter is specified or you specify a value for the devid variable in your profile file. You must separate multiple source volume IDs with spaces.
The volume ID is a 32-bit number that can be represented as 4 hexadecimal digits in the form of XYZZ where X is the address group (0 - 1), XY together is the logical subsystem number 00 - 1E (for 1750) , and ZZ is the volume number (00 - FF).
If you specify the dash (-), this parameter information is automatically supplied.
Example of a fully qualified volume ID: IBM.1750-68FA120/0001
Example of a shortened version: 0001
Example of multiple IDs: 0001 0003 0008

Example (1750)

Invoking the revertflash command
dscli>revertflash -dev 
IBM.1750-68FA120 0100 
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0  
DS: IBM.1750-68FA120

FlashCopy pair 0100:0200 successfully reverted.
Related reference
mkflash
rmflash
lsflash
setflashrevertible
resyncflash
reverseflash
commitflash
unfreezeflash
mkgmir
pausegmir
resumegmir
rmgmir
showgmir
lssession
mksession
chsession
rmsession
chlss
chlcu
mkremoteflash
lsremoteflash
rmremoteflash
setremoteflashrevertible
resyncremoteflash
reverseremoteflash
commitremoteflash
revertremoteflash
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.