SnapMirror resync during SVM re-activation fails with "Reason: File operation failed, Reason: File exists"
Applies to
- ONTAP 9
- SVM Disaster Recovery (SVM DR)
Issue
- The SnapMirror resync operations fail with error:
Failed to apply the source Vserver configuration. Reason: Apply failed for Object: root_direct_mounts Method: baseline. Reason: File operation failed, Reason: File exists. Execute "snapmirror show -destination-vserver <destination-path> -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors.
- SnapMirror destination CRS-MLOG shows:
Apply failed for Object: root_direct_mounts Method: baseline Row: Table Name: root_direct_mounts, Operation: get, Fields: <destination-vserver> <volume-name> <junction-path>- false Table Name: path_attrs_for_repl, Operation: get, Fields:<source-vserver> <junction-path> directory Reason: File operation failed, Reason: File exists.