82 IBM System Storage DS6000 Series: Copy Services with IBM System z
Example 9-6 reverseflash command examples
#--- Example 1
lsflash -dev IBM.1750-13ABC2A 0000-0005
Date/Time: July 11, 2005 5:08:49 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
ID SrcLSS SequenceNum Timeout ActiveCopy Recording Persistent Revertible SourceWriteEnabled TargetWriteEnabled BackgroundCopy
====================================================================================================================================
0001:0101 00 1 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
0002:0102 00 2 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
0003:0103 00 3 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
0005:0105 00 1 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
reverseflash -dev IBM.1750-13ABC2A -record -persist 0001:0101 0005:0105
Date/Time: July 11, 2005 5:09:14 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
CMUC00169I reverseflash: FlashCopy volume pair 0001:0101 successfully reversed.
CMUC00169I reverseflash: FlashCopy volume pair 0005:0105 successfully reversed.
reverseflash -dev IBM.1750-13ABC2A -record 0002:0102
Date/Time: July 11, 2005 5:09:28 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
CMUC00169I reverseflash: FlashCopy volume pair 0002:0102 successfully reversed.
reverseflash -dev IBM.1750-13ABC2A 0003:0103
Date/Time: July 11, 2005 5:09:42 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
CMUC00169I reverseflash: FlashCopy volume pair 0003:0103 successfully reversed.
lsflash -dev IBM.1750-13ABC2A 0000-0005
Date/Time: July 11, 2005 5:09:55 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
ID SrcLSS SequenceNum Timeout ActiveCopy Recording Persistent Revertible SourceWriteEnabled TargetWriteEnabled BackgroundCopy
====================================================================================================================================
0101:0001 01 1 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
0102:0002 01 2 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
0105:0005 01 1 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
#--- Example 2
reverseflash -dev IBM.1750-13ABC2A -record 0002:0102
Date/Time: July 11, 2005 6:16:12 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
CMUC00169I reverseflash: FlashCopy volume pair 0002:0102 successfully reversed.
lsflash -dev IBM.1750-13ABC2A 0002
Date/Time: July 11, 2005 6:16:27 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
ID SrcLSS SequenceNum Timeout ActiveCopy Recording Persistent Revertible SourceWriteEnabled TargetWriteEnabled BackgroundCopy
====================================================================================================================================
0102:0002 01 2 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
#--- Example 3
reverseflash -dev IBM.1750-13ABC2A -seqnum 12 -record 0102:0002
Date/Time: July 11, 2005 6:28:32 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
CMUC00169I reverseflash: FlashCopy volume pair 0102:0002 successfully reversed.
lsflash -dev IBM.1750-13ABC2A 0002
Date/Time: July 11, 2005 6:28:46 AM CEST IBM DSCLI Version: 5.0.3.134 DS: IBM.1750-13ABC2A
ID SrcLSS SequenceNum Timeout ActiveCopy Recording Persistent Revertible SourceWriteEnabled TargetWriteEnabled BackgroundCopy
====================================================================================================================================
0002:0102 00 12 300 Disabled Enabled Enabled Disabled Disabled Disabled Enabled
The following explanations apply to the examples shown in Example 9-6:
Example 1: reverse a FlashCopy relationship.
In this example, three FlashCopy relationships are created with the -record and -persist
parameters. The reverseflash commands are executed using a different sequence
number, which overwrites the one of the current FlashCopy relationship.
The reverseflash for the 0001:0101 and 0005:0105 relationships take place using the
-record and -persist parameters. Because the two parameters are omitted for the
0003:0103 FlashCopy relationship, the two properties Recording and Persistent change to
disabled for this FlashCopy relationship. This terminates the 0003:0103 FlashCopy
relationship as soon it is successfully reversed.