Reactivating the original source volume
You can reestablish the original data protection relationship between the source and destination volumes when you no longer need to serve data from the destination.
About this task
The procedure below assumes that the baseline in the original source volume is intact. If the baseline is not intact, you must create and initialize the relationship between the volume you are serving data from and the original source volume before performing the procedure.
- Delete the original data protection 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.
You must run this command from the destination SVM or the destination cluster.
Example
The following example deletes the relationship between the original source volume, volA on svm1 , and the volume you are serving data from, volA_dst on svm_backup :cluster_src::> snapmirror delete -source-path <span className="ph">svm1:volA</span> -destination-path svm_backup:volA_dst
- Reverse the original data protection relationship:snapmirror resync -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.You must run this command from the destination SVM or the destination cluster. Although resync does not require a baseline transfer, it can be time-consuming. You might want to run the resync in off-peak hours.
Example
The following example reverses the relationship between the original source volume, volA on svm1 , and the volume you are serving data from, volA_dst on svm_backup :cluster_src::> snapmirror resync -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Stop the source SVM for the reversed relationship:vserver stop -vserver SVM For complete command syntax, see the man page.
Example
The following example stops the source SVM for the reversed relationship:cluster_src::> vserver stop svm_backup
- Update the reversed relationship:snapmirror update -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.NoteYou must run this command from the destination SVM or the destination cluster. The command fails if a common Snapshot copy does not exist on the source and destination. Use
snapmirror initialize to re-initialize the relationship. Example
The following example updates the relationship between the volume you are serving data from, volA_dst on svm_backup , and the original source volume, volA on svm1 :cluster_src::> snapmirror update -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Stop scheduled transfers for the reversed relationship: snapmirror quiesce -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.NoteYou must run this command from the destination
SVM or the destination cluster. Example
The following example stops scheduled transfers between the volume you are serving data from, volA_dst on svm_backup , and the original source volume, volA on svm1 :cluster_src::> snapmirror quiesce -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Stop ongoing transfers for the reversed relationship: snapmirror abort -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.NoteYou must run this command from the destination
SVM or the destination cluster. Example
The following example stops ongoing transfers between the volume you are serving data from, volA_dst on svm_backup , and the original source volume, volA on svm1 :cluster_src::> snapmirror abort -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Break the reversed relationship: snapmirror break -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.NoteYou must run this command from the destination
SVM or the destination cluster. Example
The following example breaks the relationship between the volume you are serving data from, volA_dst on svm_backup , and the original source volume, volA on svm1 :cluster_src::> snapmirror break -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Start the original source SVM:vserver start -vserver SVM For complete command syntax, see the man page.
Example
The following example starts the original source SVM:cluster_dst::> vserver start svm1
- Delete the reversed data protection 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.
You must run this command from the source SVM or the source cluster for the reversed relationship.
Example
The following example deletes the reversed relationship between the original source volume, volA on svm1 , and the volume you are serving data from, volA_dst on svm_backup :cluster_src::> snapmirror delete -source-path svm_backup:volA_dst -destination-path <span className="ph">svm1:volA</span>
- Reestablish the original data protection relationship:snapmirror resync -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... For complete command syntax, see the man page.
Example
The following example reestablishes the relationship between the original source volume, volA on svm1 , and the original destination volume, volA_dst on svm_backup :cluster_dst::> snapmirror resync -source-path <span className="ph">svm1:volA</span> -destination-path svm_backup:volA_dst
After you finish
Use the snapmirror show command to verify that the SnapMirror relationship was created. For complete command syntax, see the man page.