Recopy VolumeCopy
This command re-initiates a VolumeCopy operation by using an existing VolumeCopy pair.
Attention: Starting a VolumeCopy operation overwrites all existing data on the target logical drive,
makes the target logical drive read-only to hosts, and fails all FlashCopy logical drives associated with
the target logical drive, if any exist. If you have used the target logical drive as a copy before, be sure
you no longer need the data or have it backed up.
This command works with logical VolumeCopy pairs that you created with a FlashCopy logical drive or
without a FlashCopy logical drive.
Syntax
recopy VolumeCopy target [
targetName]
[source [sourceName]]
[copyPriority=(highest | high | medium | low | lowest)
targetReadOnlyEnabled=(TRUE | FALSE)
copyType=(online | offline)]
Parameters
Parameter Description
target The name of the target logical drive for which you
want to reinitiate a VolumeCopy operation. Enclose
the target logical drive name in square brackets
([ ]). If the target logical drive name has special
characters, you also must enclose the target logical
drive name in double quotation marks (“ ”).
source The name of the source logical drive for which you
want to reinitiate a VolumeCopy operation. Enclose
the source logical drive name in square brackets
([ ]). If the source logical drive name has special
characters, you also must enclose the source logical
drive name in double quotation marks (“ ”).
copyPriority The priority that the VolumeCopy has relative to
host I/O activity. Valid values are highest, high,
medium, low,orlowest.
targetReadOnlyEnabled The setting so that you can write to the target
logical drive or only read from the target logical
drive. To write to the target logical drive, set this
parameter to FALSE. To prevent writing to the
target logical drive, set this parameter to TRUE.
copyType Use this parameter to create a VolumeCopy with a
FlashCopy . Creating a VolumeCopy with a
FlashCopy enables you to continue to write to the
source logical drive while creating the
VolumeCopy. To reinitiate a VolumeCopy with a
FlashCopy, set this parameter to online.To
reinitiate a VolumeCopy without a FlashCopy, set
this parameter to offline.
Notes
Copy priority defines the amount of system resources that are used to copy the data between the source
logical drive and the target logical drive of a VolumeCopy pair. If you select the highest priority level, the
Chapter 3. Script Commands 3-141