Storage · Storage Troubleshooting
Replication Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=4402
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/lagnetwork tests— linktarget 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 boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Source write → change capture/checkpoint → queue → transport → target receive/apply → target capacity/state → currency/ownership → read-back | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A 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 |
| Acceptance | Healthy 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