Table of ContentsView in Frames

Aborting a SnapMirror transfer

You can use the snapmirror abort command to abort a volume or qtree replication operation before the transfer is complete. You can abort a scheduled update, a manual update, or an initial SnapMirror transfer.

About this task

You should consider the following issues before aborting a SnapMirror transfer:

Step

  1. From either the source or the destination system, enter the following command:snapmirror abort [-h] {[dest_system:]dest_volume | [dest_system:]/vol/volume_name/qtree_name ...}
    -h specifies a hard abort; the transfer cannot be restarted. SnapMirror stops the transfer and clears the restartable transfer log. This option applies only to the SnapMirror destination.

    dest_system is the name of the destination system.

    dest_volume is the destination volume.

    /vol/ volume_name/qtree_name is the path name of a destination qtree.

    Note: If no destination system is specified, the local host’s name is used for the system name. You can enter more than one destination volume.

    You can obtain the destination system and volume from the snapmirror status output.

    Note: If no destination volume or qtree is specified, the command returns an error message; it does not abort all transfers. To abort all transfers, use the snapmirror off command.

    If you enter an invalid SnapMirror destination (one that is not displayed in the output of the snapmirror status command), the command fails and displays an error message.

Example

systemA> snapmirror abort vol1 systemB:vol2 systemC:/vol3/qtree3

snapmirror abort: Aborting transfer to vol1 systemB:vol2 systemC:/vol3/qtree3
SnapMirror aborts the transfer to vol1 on systemA, where the command was entered, and aborts the transfer to vol2 on systemB and the transfer to qtree3 in vol3 on systemC.