HP P9000 for Compatible FlashCopy Mirroring User Guide (AV400-96388, October 2011)
An usage example of the FLASHCOPY ESTABLISH command is shown below. This example copies
cylinders 0 to 99 from device 10 to device 20 in copy mode. The relationship remains even after
the completion of copy.
Example 18 FLASHCOPY ESTABLISH command
flashcopy establish source 10 0-end target 20 0-end
Command complete: FLASHCOPY 0010 0 99 TO 0020 0 9
To cancel the relationship remaining after the completion of the copy, use the FLASHCOPY
WITHDRAW command. For the FLASHCOPY WITHDRAW command, see “Releasing a Compatible
FlashCopy relationship using z/VM CP command” (page 75).
NOTE: If the relationship is established with the FLASHCOPY ESTABLISH command, 0010 might
be displayed as the reference code in the History dialog box of StorageNavigator regardless of
the parameter. When you operate in the NOCOPY mode, code 0023 might be displayed.
Starting up background copy by using z/VM FLASHCOPY BACKGNDCOPY command
The FLASHCOPY BACKGNDCOPY command starts up the background copy of the relationship
established in the NOCOPY mode. The relationship remains even after the completion of the
background copy.
Table 32 Parameters available with FLASHCOPY command
DescriptionValueParameter
Specifies the device number (device address or mini disk number),
the starting cylinder, and the ending cylinder of the copy source.
Primary device number,
Starting cylinder of
SOURCE
source, Ending cylinder
of source
Re-establishing relationship by using z/VM FLASHCOPY RESYNC command
The FLASHCOPY RESYNC command is used to re-establish the relationship established by using
the CHGRECORD or REVERSIBLE parameter. The following table shows the parameters available
with the FLASHCOPY RESYNC command.
Table 33 Parameters available with FLASHCOPY RESYNC command
DescriptionValueParameter
Specifies the device number (device address or mini disk number),
the starting cylinder, and the ending cylinder of the copy source.
Primary device number,
Starting cylinder of
SOURCE
source, Ending cylinder
of source
Specifies the device number (device address or mini disk number),
the starting cylinder, and the ending cylinder of the copy destination.
Secondary device
number, Starting
TARGET
cylinder of target,
Ending cylinder of
target
Only the updated part of the data in the S-VOL (differential data) is copied to the S-VOL if the
P-VOL is updated. Only the updated part of the data in the S-VOL is copied from the P-VOL if the
S-VOL is updated. The Reverse Restore function operates if the FLASHCOPY RESYNC command is
re-established by reversing the P-VOL and the S-VOL of the relationship established by specifying
the INCREMENTAL. An example of re-establishing the relationship established by the CHGRECORD
option of the FLASHCOPY ESTABLISH command is shown below. The FLASHCOPY ESTABLISH
command establishes a relationship from the device number 30 to the device number 40 and
manages differential data. The FLASHCOPY RESYNC command copies only the updated data
from the device number 30 to the device number 40.
Establishing Compatible FlashCopy relationships 59