Pcornel
Storage · Storage Troubleshooting

Replication Failure

Cheat sheet · https://pcornel.dk/topic.php?topic=4402

Back to the Topic

Answer

Trace source writes → change capture/checkpoint → replication queue → network/transport → target receive/apply → target capacity/state → currency → failover/failback ownership.

Remember

  • Replication ≠ backup automatically.
  • Connected relationship ≠ target current.
  • Replication lag ≠ network RTT.
  • Resyncing the wrong direction can overwrite the newest authoritative data.

First checks

  • replication status — errors/lag
  • network tests — link
  • target space — capacity

Commands

journalctl --since "-1h" | grep -Ei "replication|replica|sync|resync|error|fail"
Read-only/validation observation for time-bounded replication/synchronization errors and state transitions.

Verify in this order

source → link → target

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Troubleshooting → Replication Failure proof map

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathSource write → change capture/checkpoint → queue → transport → target receive/apply → target capacity/state → currency/ownership → read-backHealthy adjacent layers do not prove end-to-end health
Failure boundaryA replication failure proves protected changes are not flowing as intended; it does not prove source data is damaged or the target is a valid recovery point.Correlate evidence for the same operation and timestamps
AcceptanceHealthy evidence shows ordered changes advancing from source to target, lag returning to policy, successful target read-back and active reprotection.Close only after the original workload/recovery test and regression check

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4402

Confirmation

Confirm action

Continue?