Backup restore troubleshooting
A recovery-first ONTAP 9 runbook for Snapshot, SnapMirror vault, NDMP, and configuration backups, with safe commands and escalation boundaries.
Home / Troubleshooting / SnapMirror Problems
Symptoms: lag keeps growing, transfers fail, the relationship is stuck in an odd state, or failover to the destination doesn't work the way you expected.
| State | Meaning |
|---|---|
Snapmirrored | Healthy — replicating on schedule |
Uninitialized | Relationship created but never initialized — run snapmirror initialize |
Broken-off | Destination was breakn — it is now read-write and no longer receiving updates |
Resyncing | Recovering after resync — the destination is being brought back in sync (may take a while) |
Failed / transfer errors | Last transfer failed — investigate (below) |
# The two commands that tell you 90% of the story
snapmirror show
snapmirror show -destination-path vsB:volB -detail
# Lag and last transfer
snapmirror show -fields destination-path,state,status,lag-time,last-transfer-end,last-transfer-size
Lag = how stale the destination is. If it grows continuously:
snapmirror modify -compress true — available where supported), or use SnapMirror S3 for less time-critical copies.network interface show -role intercluster, port errors: network port show -fields link,error-*. Use the SnapMirror bandwidth planning estimator to test baseline time, daily change load, and outage catch-up capacity.# Force an update and watch it
snapmirror update -destination-path vsB:volB
snapmirror show -destination-path vsB:volB -detail # watch last-transfer-size and time
snapmirror show -detail prints the last transfer error. Common ones:
| Error | Typical cause / fix |
|---|---|
| Peer unreachable / connection failed | Cluster or SVM peering broken; intercluster LIFs down; firewall blocking port 10000. Verify: cluster peer show, vserver peer show, network ping-lif |
| Destination volume full | The destination volume (or its aggregate) lacks space for the next snapshot. Grow it or free space; thin provisioning recommended on destinations |
| Snapshot not found on source | A snapshot the relationship needed was deleted before transfer (e.g., autodelete ate it). Re-run snapmirror update to resync from the latest common snapshot, or snapmirror resync |
| Authentication/peering failure | Peering passphrase mismatch or SVM peer deleted. Re-establish cluster peer/vserver peer |
| Destination read-only mismatch | The destination volume was modified (e.g., someone wrote to it after break). Re-create the relationship if the destination data is disposable |
Failed to find a sync marker: entry doesn't exist | SnapMirror couldn't find the common snapshot/transfer marker it expects on the destination. Typically: the baseline snapshot was deleted (autodelete), the destination volume was restored/reverted out from under the relationship, or the relationship was created against a different baseline than the one that exists. Recovery: snapmirror resync to re-establish from the latest common snapshot — or if the baseline is truly gone, delete and re-create the relationship (full re-seed). See section 7 below |
To fail over to the destination (DR), you break the relationship — the destination becomes writable:
# Fail over: make the destination writable
snapmirror break -destination-path vsB:volB
# (applications now use the former destination)
To return after the source is healthy, re-establish and resync — this brings the old source back in sync from the destination without a full reseed (it only ships changes since the common snapshot):
# From the (former) destination cluster: re-establish toward the original source
snapmirror resync -destination-path vs1:vol1
# Wait for state to become Snapmirrored, then optionally switch direction back
snapmirror show -fields state,status,lag-time
snapmirror resync -destination-path vs1:vol1, the destination is the volume being resynced to — i.e., the original source volume. Get the direction wrong and you can overwrite the wrong side. When in doubt, snapmirror show the relationship and follow its arrow.
# Restore the destination snapshot back onto the source volume (in-place restore)
snapmirror restore -source-path vsB:volB -destination-path vs1:vol1
# Or browse the destination via NFS/SMB after break, and copy files back
Restore overwrites the source volume with the destination's data — confirm the snapshot you're restoring is the right one, and snapshot the current source first if there's any doubt.
daily, weekly), otherwise nothing transfers. Check both policies: snapshot policy show and snapmirror policy show.snapmirror create + resync, or snapmirror release to clean up source-side state.Two cases that trip up admins who move replication across SVMs, subnets, or to object storage:
snapmirror policy create -policy-type mirror-vault or the built-in S3 policies) and an s3: destination path.# Check what the object-store server exposes and where its LIFs live
vserver object-store-server show
network interface show -vserver svm_obj -fields address,home-port,role
# Confirm the source SVM can reach it (test from the cluster)
network ping -lif svm_src_lif -destination <object-store-server-ip>
This error appears when the destination (volume or bucket) doesn't have the sync marker — the baseline snapshot/transfer record — that the relationship expects. It's almost always one of:
snapshot delete forced), the marker is gone.# Diagnose: what snapshots actually exist on both sides?
snapshot show -vserver vsA -volume volA
snapshot show -vserver vsB -volume volB
# Try to re-establish from the latest common snapshot
snapmirror resync -destination-path vsB:volB
# If resync can't find a common baseline, re-seed from scratch
snapmirror release -destination-path vsB:volB
snapmirror delete -destination-path vsB:volB
snapmirror create -source-path vsA:volA -destination-path vsB:volB -type XDP
snapmirror initialize -destination-path vsB:volB
resync first (it reuses the newest common snapshot), and protect the baseline snapshot from deletion going forward (configure autodelete to exclude snapshots SnapMirror needs).
snapmirror show -fields lag-time in your monitoring, threshold on your RPO.snapmirror protection awareness (autodelete won't delete snapshots needed by SnapMirror when configured correctly).