Top
ETERNUS SF AdvancedCopy Manager V16.9.1 Operation Guide for Copy Control Module
FUJITSU Storage

4.6.6 acsnap cancel (SnapOPC+ Copy Stop Command)

NAME

acsnap cancel - Stop SnapOPC+

SYNOPSIS

acsnap cancel -g copyGroup [-p copyPair | -v volumeName] [-r | -force][-xml]
acsnap cancel -estimate -v volumeName [-xml]

DESCRIPTION

This command stops the SnapOPC+ copy for the copy group or copy pair.
However, when the copy group is specified with the -force option, the SnapOPC+ copy for snap generations not included in the specified copy group may also be stopped.
If the -estimate option is specified, the monitor session of the update amount measurement is stopped.

OPTIONS

-g copyGroup

This option specifies the copy group name.

-p copyPair

This option specifies a copy pair.

When specifying a copy pair for a snap generation other than the oldest in a storage device that does not support deletion of snap generations other than the oldest (snap generation number is "2" or later), also specify the -force option. Refer to "3.2.1.6 Stopping SnapOPC+" for information on the storage devices that do not support deletion of snap generations other than the oldest.
When the acsnap start command was executed by specifying both the -r and -p options, it is necessary to specify this option to cancel the SnapOPC+ copy.

When specifying with the LU to Partition format or the Partition to LU format, you must enclose the entire argument for this option within double quotations (") depending on the shell being used.

-r

This option stops copying in the reverse direction to the direction that has been specified.

-force

This option forcibly stops the SnapOPC+ copy. The SnapOPC+ sessions that are forcibly stopped are as follows.

  • When the -p option is not specified

    From among all the SnapOPC+ sessions for the copy source volume of the copy group specified with the -g option, the latest SnapOPC+ session in the copy group specified with the -g option and all the SnapOPC+ sessions created prior to that session

  • When the -p option is specified

    From among all the SnapOPC+ sessions for the copy source volume of the copy group specified with the -g option, the SnapOPC+ session of the copy pair specified with the -p option and all the SnapOPC+ sessions created prior to that session

"All the SnapOPC+ sessions for the copy source volume" refers to all the SnapOPC+ sessions for the copy source volume in the storage device where its volume exists. For example, when multiple copy groups are defined for the copy source volume, in addition to the SnapOPC+ sessions of the target copy group, the SnapOPC+ sessions of other copy groups are also included.

This option is specifiable even if there is only one snap generation.

-v volumeName

The copy process of a specified logical volume is cancelled.

  • If the -force option is specified, the SnapOPC+ session of the latest snap generation in the copy group is stopped.

  • If the -force option is not specified, the SnapOPC+ session of the oldest snap generation in the copy group is stopped.

  • If the -r option is specified, restoration of the SnapOPC+ session of the latest snap generation in the copy group is stopped.

When stopping the monitor session of the update amount measurement, specify a logical volume to be measured.

The following is an example of a format to specify a logical volume.

  • (1) ETERNUS name

  • (2) Logical volume number

The extent start position and the extent size can be specified.

  • (1) ETERNUS name

  • (2) Logical volume number

  • (3) Extent start position (block units)

  • (4) Extent size (number of blocks)

A character string starting with "0x" expresses a hexadecimal value.

When specifying the extent start position and the extent size, you must enclose the entire argument for this option within double quotations (") depending on the shell being used.

-estimate

Specify this option when stopping the monitor session of the update amount measurement.

-xml

This option specifies when displaying the result of the command execution by the XML format.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES