Initialize an ONTAP SnapMirror replication relationship
For all relationship types, initialization performs a baseline transfer: it makes a snapshot of the source volume, then transfers that copy and all the data blocks it references to the destination volume. Otherwise, the contents of the transfer depend on the policy.
The source and destination clusters and SVMs must be peered.
Initialization can be time-consuming. You might want to run the baseline transfer in off-peak hours.
Beginning with ONTAP 9.5, SnapMirror synchronous relationships are supported.
You should be aware that if a filesystem is rebooted for any reason, such as a node reboot, takeover/giveback, or panic, then initialization will not automatically resume and must be restarted manually.
-
Initialize a replication relationship:
snapmirror initialize -source-path <SVM:volume>|<cluster://SVM/volume>, … -destination-path <SVM:volume>|<cluster://SVM/volume>, …
You must run this command from the destination SVM or the destination cluster.
The following example initializes the relationship between the source volume
volA
onsvm1
and the destination volumevolA_dst
onsvm_backup
:cluster_dst::> snapmirror initialize -source-path svm1:volA -destination-path svm_backup:volA_dst
Learn more about
snapmirror initialize
in the ONTAP command reference.