| Index | Top - Up | Data ONTAP 8.2 |
Abort an active transfer
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
The snapmirror abort command stops SnapMirror transfers that might have started and have not finished. A SnapMirror transfer is an operation on a given SnapMirror relationship, and the relationship is identified by its destination volume. You identify the SnapMirror relationship with this command and the command aborts the transfer for the relationship, and for load-sharing mirrors, transfers for associated relationships.
Load-sharing mirrors are either up to date and serving data to clients, or they are lagging and not serving data to clients. If the snapmirror abort command identifies an up-to-date load-sharing mirror, then SnapMirror transfers to the up-to-date load-sharing mirror and associated up-to-date load-sharing mirrors in the set of load-sharing mirrors are aborted. If the snapmirror abort command identifies a lagging load-sharing mirror, then only the SnapMirror transfer associated with the lagging load-sharing mirror is aborted.
After the snapmirror abort command successfully completes its operation, the volume on the receiving side of the transfer might contain a restart checkpoint. The restart checkpoint can be used by a subsequent transfer to restart and continue the aborted SnapMirror transfer.
This command is supported for SnapMirror relationships with the field "Relationship Capability" showing as either "8.2 and above" or "Pre 8.2" in the output of the snapmirror show command.
The use of wildcards in parameter values is not supported from the source Vserver or cluster for relationships with "Relationship Capability" of "8.2 and above".
You can use this command from the source or the destination Vserver or cluster for FlexVol volume relationships or Infinite Volume relationships.
{ -source-path | -S {<[vserver:]volume>|<[cluster:][//vserver/]volume>} - Source Path
| -source-cluster <cluster_name> - Source Cluster
-source-vserver <vserver name> - Source Vserver
-source-volume <volume name> } - Source Volume
{ -destination-path {<[vserver:]volume>|<[cluster:][//vserver/]volume>} - Destination Path
| -destination-cluster <cluster_name> - Destination Cluster
-destination-vserver <vserver name> - Destination Vserver
-destination-volume <volume name> } - Destination Volume
[-hard | -h [true]] - Discard Restart Checkpoint
[-foreground | -w [true]] - Foreground Process
To stop the active SnapMirror replication to the destination volume vs2:dept_eng_dp_mirror1, type the following command:
vs2::> snapmirror abort -destination-path
vs2:dept_eng_dp_mirror1
For relationships with "Relationship Capability" of "Pre 8.2", to stop the active SnapMirror replication to the destination volume clus2://vs2/dept_eng_dp_mirror1, type the following command:
clus2::> snapmirror abort -destination-path
clus2://vs2/dept_eng_dp_mirror1
| Index | Top - Up | Data ONTAP 8.2 |