Skip to main content

Deleting a volume replication relationship

You can use the snapmirror delete and snapmirror release commands to delete a volume replication relationship. You can then delete unneeded destination volumes manually.

About this task

The snapmirror release command deletes any SnapMirror-created Snapshot copies from the source. You can use the -relationship-info-only option to preserve the Snapshot copies.

  1. If you have SnapMirror Synchronous relationships (supported starting with ONTAP 9.5), quiesce the replication relationship: snapmirror quiesce -destination-path SVM:volume|cluster://SVM/volume

    Example

    cluster_src::> snapmirror quiesce -destination-path svm_backup:volA_dst
  2. Delete the replication relationship:snapmirror delete -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ...

    For complete command syntax, see the man page.
    Note
    You must run this command from the destination cluster or destination SVM.

    Example

    The following example deletes the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup :
    cluster_src::> snapmirror delete -source-path <span className="ph">svm1:volA</span> -destination-path svm_backup:volA_dst
  3. Release replication relationship information from the source SVM:snapmirror release -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ...

    For complete command syntax, see the man page.
    Note
    You must run this command from the source cluster or source SVM.

    Example

    The following example releases information for the specified replication relationship from the source SVM svm1 :
    cluster_src::> snapmirror release -source-path <span className="ph">svm1:volA</span> -destination-path svm_backup:volA_dst