beautypg.com

HP XP7 Storage User Manual

Page 60

background image

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

(page 88)

.

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.

Using z/VM FLASHCOPY BACKGNDCOPY to start up background copying

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 30 Parameters for the FLASHCOPY command

Description

Value

Parameter

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, Ending cylinder of source

SOURCE

Using z/VM FLASHCOPY RESYNC to re-establish relationships

The FLASHCOPY RESYNC command is used to re-establish the relationship that is initially established
by using the CHGRECORD or REVERSIBLE parameter.

The following table shows the parameters that are available with the FLASHCOPY RESYNC
command:

Table 31 Parameters for the FLASHCOPY RESYNC command

Description

Value

Parameter

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, Ending cylinder
of source

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
cylinder of target, Ending cylinder
of target

TARGET

If the S-VOL is updated, only the updated part of the data in the S-VOL (differential data) is copied
to the T-VOL. If the T-VOL is updated, the updated part of the data in 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.

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.

flashcopy establish source 30 0-end target 40 0-end
chgrecord reversibleCommand complete:
FLASHCOPY 0030 0 END TO 0040 0 END flashcopy resync
source 30 0-end target 40 0-end RESYNC COMPLETED

60

Performing Compatible FlashCopy operations

This manual is related to the following products: