Delete an SVM replication relationship
You can use the snapmirror delete
and snapmirror release
commands to delete an SVM replication relationship. You can then delete unneeded destination volumes manually.
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.
For complete command syntax on commands, see the man page.
-
Run the following command from the destination SVM or the destination cluster to break the replication relationship:
snapmirror break -source-path SVM: -destination-path SVM:
You must enter a colon (:) after the SVM name in the
-source-path
and-destination-path
options. See the example below.The following example breaks the relationship between the source SVM
svm1
and the destination SVMsvm_backup
:cluster_dst::> snapmirror break -source-path svm1: -destination-path svm_backup:
-
Run the following command from the destination SVM or the destination cluster to delete the replication relationship:
snapmirror delete -source-path SVM: -destination-path SVM:
You must enter a colon (:) after the SVM name in the
-source-path
and-destination-path
options. See the example below.The following example deletes the relationship between the source SVM
svm1
and the destination SVMsvm_backup
:cluster_dst::> snapmirror delete -source-path svm1: -destination-path svm_backup:
-
Run the following command from the source cluster or source SVM to release the replication relationship information from the source SVM:
snapmirror release -source-path SVM: -destination-path SVM:
You must enter a colon (:) after the SVM name in the
-source-path
and-destination-path
options. See the example below.The following example releases information for the specified replication relationship from the source SVM
svm1
:cluster_src::> snapmirror release -source-path svm1: -destination-path svm_backup: