reverseremoteflash

The reverseremoteflash command restores an existing remote FlashCopy pair that was previously established with the -record and -persist parameters.

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

>-- -conduit--LSS_ID--+----------+--+-----------+--+--------+--->
                      '- -record-'  '- -persist-'  '- -fast-'   

>--+-----------+--+--------------+--+--------------+------------>
   '- -tgtpprc-'  '- -tgtoffline-'  '- -tgtinhibit-'   

>--+------------------------------+--+----------------+--------->
   '- -seqnum--flash_sequence_num-'  '- -srcss--SS_ID-'   

>--+-SourceVolumeID:TargetVolumeID--+-------+-+----------------><
   |                                '-. . .-' |   
   '-" - "------------------------------------'   

Parameters

When a pair is established with the -record and -persist parameters, the pair initially synchronizes and then a record is kept of all host write operations to the source. When this command is issued on that pair, the new data on the source is overwritten with the previously saved data on the target. The pair is permanently reversed, meaning that the source is now the target and the target is now the source. The parameters that are specified in this command replace the parameters in the existing relationship. In order to keep the pair with the -record and -persist parameters, the -record and -persist parameters must be specified.

-dev storage_image_ID
(Optional) Specifies the storage image ID, which includes manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified ID for the source and target volumes.
Example: IBM.1750-75FA120
-conduit LSS_ID
(Required) Specifies the source logical subsystem (LSS) of an existing remote mirror and copy (PPRC) relationship that is to be used as a means for communicating with the remote storage image. The source volume IDs that are specified in SourceVolumeID:TargetVolumeID must serve as secondary volumes in a remote mirror and copy relationship in which one of the conduit LSS volumes serves as a primary volume.
Accepts a fully qualified LSS ID, which includes the storage image ID. The fully qualified LSS ID format is storage_image_ID/XX, where XX is a hexadecimal number in the range 00 - 1F.
Example: IBM.1750-75FA120/00
-record
(Optional) Specifies that the changed tracks on both volumes within a FlashCopy pair be recorded. Use this parameter when you establish an initial FlashCopy volume pair that you intend to use with the resyncremoteflash command.
Note: The -persist parameter is automatically initiated by the system when the -record parameter is used.
-persist
(Optional) Specifies that the FlashCopy relationship be retained after the background copy completes. The FlashCopy relationship between the source and the target volumes remains indefinitely until you issue the rmremoteflash command.
This parameter is automatically initiated by the system when the -record parameter is specified.
-fast
(Optional) Specify this parameter when the FlashCopy relationship can be reversed without waiting for the background copy of the previous FlashCopy to complete.
-tgtpprc
(Optional) Specifies that the FlashCopy target volume can also be a remote mirror and copy source volume.
-tgtoffline
(Optional) Causes the reverseremoteflash command to be rejected if the target volume is online for host system access.
Note: This parameter only applies to CKD volumes.
-tgtinhibit
(Optional) Specifies that updates cannot be made to the target volume. This ensures data consistency on the target volume.
-seqnum flash_sequence_num
(Optional) Associates the FlashCopy relations that are reversed with the specified sequence number. Only the relationships that are successfully modified by the command are assigned the specified sequence number, leaving the ones that failed with the previous number (if previously specified).
Example: 0010
This parameter is not supported for machine type 2105.
-srcss SS_ID
(Optional) Specifies the subsystem ID of the source logical subsystem at the remote site. The ID is in the format 0x0001 - 0xFFFF.
This value is required for the IBM TotalStorage Enterprise Storage Server versions 2.4.0 and 2.4.1.3. When you specify SS_IDs, the source volumes are restricted to one LSS.
Example: FF10
SourceVolumeID:TargetVolumeID . . . | -
(Required) Reverses a remote FlashCopy relationship for the source and target volume pairs with the specified IDs. Accepts fully qualified volume IDs, which includes storage image IDs, or a shortened version without storage image IDs if the -dev parameter is specified. You must separate multiple FlashCopy pair IDs with spaces.
A FlashCopy pair ID consists of two volume IDs, one designated as the source and the other as the target volume for a FlashCopy relationship. You must separate the two volume IDs of a FlashCopy pair ID with a colon and no space. The first volume ID is the source volume. The second volume ID is the target volume.
The format of a volume ID is hexadecimal XYZZ, where XY is a logical subsystem (LSS) number 00 - 1F, and ZZ is a volume number (00–FF) that is contained by a logical subsystem.
Alternatively, accepts input from stdin when the dash (–) is specified.
Example of a fully qualified FlashCopy pair ID: IBM.1750-75FA120/0001:IBM.1750-75FA120/0004
Example of a shortened version: 0001:0004
Example of multiple pairs: 0001:0004 0003:00FF 0008:000C

Example (1750)

Invoking the reverseremoteflash command
dscli>reverseremoteflash -dev IBM.1750-75FA120 
-conduit IBM.1750-75FA150/10 0100:0200 
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0  
DS: IBM.1750-75FA120

FlashCopy pair 0100:0200 successfully reversed.
Related reference
mkremoteflash
lsremoteflash
rmremoteflash
setremoteflashrevertible
resyncremoteflash
commitremoteflash
revertremoteflash
mkflash
rmflash
lsflash
setflashrevertible
resyncflash
reverseflash
commitflash
revertflash
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.