Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Replication Failure

Direct answer

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

When to use this

Use it when the symptom is “Replication Failure”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. Replication failure: network, credentials, target full, broken incremental chain.

2. Fix and resync.

3. Full resync if chain broken.

4. Monitor lag.

5. Verify target.

Operational verification

source → link → target

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

A replication failure shows protected changes are not flowing as intended, but it does not show source data is damaged or the target is a valid recovery point.

Suspicious evidence includes stalled checkpoints, growing backlog, transport retries, target apply errors, capacity exhaustion or unclear source/target authority.

Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations · Linux / systemd journal
Key commandjournalctl --since "-1h" | grep -Ei "replication|replica|sync|resync|error|fail"
Scope / prerequisiteUse it when the symptom is “Replication Failure”: work through the layers in order and stop at the first one that fails.
Verify · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Source write → change capture/checkpoint → queue → transport → target receive/apply → target capacity/state → currency/ownership → read-back

Healthy evidence shows ordered changes advancing from source to target, lag returning to policy, successful target read-back and active reprotection.

Step 2 Known-good, broken and when it is fixed Verify boundary

Verification for Storage Troubleshooting → Replication Failure must discriminate known-good from broken/suspicious state. With journalctl --since "-1h" | grep -Ei "replication|replica|sync|resync|error|fail", known-good is: no unexplained replication failures appear for the affected window and checkpoints continue advancing. Broken/suspicious is: repeated sync/resync errors, stalled checkpoints, transport failures or target-apply errors align with the symptom. Read back the same target after the minimal approved change, then inspect the specific replication engine's authoritative queue/checkpoint state and verify target read-back.

Step 3 Observation-driven troubleshooting tree Narrow the fault

Troubleshoot Storage Troubleshooting → Replication Failure from one exact failing target, revision/input and timestamp. Capture journalctl --since "-1h" | grep -Ei "replication|replica|sync|resync|error|fail" before mutation, then branch by the first divergent observation: capture stopped, stay on source; backlog exists but no transfer, inspect peer/network/auth; transfer occurs but apply fails, inspect target capacity/version/data conflict; full resync repeatedly restarts, inspect retention/window and unstable dependencies; status turns healthy after repair, verify checkpoint progression and a bounded replica read. Typical failure signatures include lost journal segment, gap/divergence, credential expiry, peer mismatch, target capacity exhausted, schema/version conflict, checksum/apply error, split-brain state, resync storm or stale status showing healthy after progress stopped.

Step 4 Failure signatures, dependencies and operational guardrails Narrow the fault

Failure-signature and guardrail reference for Storage Troubleshooting → Replication Failure: Lost journal segment, gap/divergence, credential expiry, peer mismatch, target capacity exhausted, schema/version conflict, checksum/apply error, split-brain state, resync storm or stale status showing healthy after progress stopped. Operational guardrail: Grep-filtered journal lines are a navigation aid, not a completeness guarantee or current consistency evidence; do not promote/fail over or reseed until source/target identity, direction and authoritative-copy decision are explicit and recoverable. Dependencies that can mimic the same symptom are source consistency, log/journal capacity, network path, peer credentials, certificates/time, target free space/performance, version/schema compatibility, resync mechanism and failover role state.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Replication ≠ backup automatically.
  • Connected relationship ≠ target current.
  • Replication lag ≠ network RTT.
  • Resyncing the wrong direction can overwrite the newest authoritative data.
Key checks
  • replication status — errors/lag
  • network tests — link
  • target space — capacity
ReferenceHow it works1 section · depth on demand

How it works

Storage Troubleshooting → Replication Failure owns the first failing step between source change capture, journal/backlog retention, peer connectivity/authentication, target acceptance/apply, checkpoint advancement and the service-level recovery point. Execution mechanics: Diagnosis starts with the last known common checkpoint and current source generation rate, then follows change records into queue, transport and target apply; repair must preserve ordering and identity, avoid overwriting the only good copy and establish a new verified common point before declaring replication restored. Keep adjacent dependencies separate: source consistency, log/journal capacity, network path, peer credentials, certificates/time, target free space/performance, version/schema compatibility, resync mechanism and failover role state. The mapped read surface journalctl --since "-1h" | grep -Ei "replication|replica|sync|resync|error|fail" exposes time-bounded replication/synchronization errors and state transitions.

ReferenceImportant terms & boundaries2 sections · depth on demand

Scope and what the checks show

A replication failure shows protected changes are not flowing as intended, but it does not show source data is damaged or the target is a valid recovery point.

Method

When replication fails, protected data stops flowing to the target and the gap to the RPO grows. Restore the flow quickly, but without overwriting good target data.

1. Measure how far behind the target is.

2. Read the error on source and target: authentication, network, missing base, space, conflicts.

3. Fix the cause and resume incrementally if possible.

4. If a full resync is needed, preserve the current target copy until the new one completes.

5. Verify by recovering a test object or VM from the target.

zfs list -t snapshot tank/data | tail -2
ssh dr01 zfs list -t snapshot backup/data | tail -2
drbdadm status
rbd mirror pool status rbd --verbose
Error typeTypical fix
Missing common snapshotDo not delete base snapshots used by replication; resync from a common point
Target out of spaceExpand or adjust retention
Network timeoutsBandwidth, MTU, firewall
Split-brainChoose authoritative side deliberately
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in Storage Troubleshooting → Replication Failure. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/block/index.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
replication failurestorage replication failedreplication brokenreplication lag failure
Embedded reference data

Quick lookup tables

Storage Troubleshooting → Replication Failure proof map

Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Replication Failure.

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
Confirmation

Confirm action

Continue?