Use the FLASHCOPY RESYNC command to re-establish the relationship that was originally established by using the CHGRECORD or REVERSIBLE parameter.
The following table shows the parameters that are available with the FLASHCOPY RESYNC command.
|
Parameter |
Value |
Description |
|---|---|---|
|
SOURCE |
Primary device number Starting cylinder of source extent Ending cylinder of source extent |
Specifies the virtual device number (device address or mini disk number), the starting cylinder, and the ending cylinder of the copy source extent. |
|
TARGET |
Secondary device number Starting cylinder of target Ending cylinder of target |
Specifies the virtual device number (device address or mini disk number), the starting cylinder, and the ending cylinder of the copy target extent. |
If the S-VOL is updated, the data that has been changed on the S-VOL (differential data) is copied to the T-VOL. If the T-VOL is updated, the data that has been changed on the T-VOL is overwritten by the corresponding part of the data in the S-VOL.
The Reverse Restore function operates if the FLASHCOPY RESYNC command is re-established by reversing the S-VOL and the T-VOL of the relationship established by specifying the INCREMENTAL parameter.
The following example shows how you can re-establish relationships using the FLASHCOPY RESYNC command. The FLASHCOPY ESTABLISH command establishes a relationship from virtual device number 30 to virtual device number 40 and manages differential data. The FLASHCOPY RESYNC command copies only the updated data from virtual device number 30 to virtual device number 40.
FLASHCOPY ESTABLISH SOURCE 30 0-END TARGET 40 0-END CHGRECORD REVERSIBLE Command complete: FLASHCOPY 0030 0 END TO 0040 0 END FLASHCOPY RESYNC SOURCE 30 0-END TARGET 40 0-END RESYNC COMPLETED