Use it when the storage-protection question has been narrowed to Replication → Failback. Preserve object identity, timestamps, dependency state and the newest authoritative data before changing configuration, deleting snapshot state, resynchronizing or changing replication ownership.
Failback · Replication
The workflow establishes which side is authoritative, synchronizes divergent changes in the safe direction, verifies currency, performs a controlled ownership cutback and restores normal protection topology.
1. Failback returns to the original site.
2. Reverse replication first to sync changes.
3. Planned switchover.
4. Verify data.
5. Test regularly.
DR active → reverse sync → planned switchover
Context & applicabilityCommon mistakes · platform/version boundaries
Failback shows return of ownership only when data authority is reconciled, clients use the intended source and forward protection is re-established.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
current active target → establish authority → reverse/resync changes → verify checkpoints → planned cutback → redirect consumers → restore forward protection → validate
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.
- Failback ≠ simply powering the old source on.
- Former primary ≠ authoritative after failover.
- Reverse replication complete ≠ clients moved.
- Cutback complete ≠ normal protection restored.
zfs send -i ... (reverse)— reverse replicationSet-VMReplication -Reverse— Hyper-Vrbd mirror image demote/promote— Ceph
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
Failback shows return of ownership only when data authority is reconciled, clients use the intended source and forward protection is re-established.
In depth
Failback: return to the original site without losing what happened during the outage
After a failover, the former replica holds the newest data. Failback has two parts: resynchronise the original primary from the current one, then switch the roles back in a planned window.
With DRBD
The DRBD user guide describes the states that matter. Inconsistent is data under resynchronisation that must not be used. Outdated is consistent but behind, and DRBD refuses to promote it. After a split brain, where both nodes were primary while disconnected, manual resolution is recommended: decide which side's changes to discard.
# on the returning old primary (now Secondary, outdated)
# drbdadm status r0
r0 role:Secondary
disk:Outdated
node2 role:Primary
peer-disk:UpToDate
# drbdadm connect r0 # resync from node2 starts
# drbdadm status r0 # wait until disk:UpToDate
# planned switch: stop the app on node2, then
# drbdadm secondary r0 # on node2
# drbdadm primary r0 # on node1
Failback checklist
| Step | Detail |
|---|---|
| Root cause on the original site fixed | Don't fail back onto the same fault |
| Full resync or delta complete | Replica state UpToDate on the returning side |
| Split brain checked | If both sides wrote, choose and record which changes win |
| Planned window, users informed | Failback is a planned outage |
| Applications verified after the switch | Same tests as after failover |
| Replication direction restored and monitored | Back to normal protection |
Common mistakes
- Failing back automatically as soon as the old primary returns, before it is verified or synchronised.
- Forgetting data written at the DR site, for example by reinitialising the replica from the old primary.
- No failback runbook: failover is rehearsed, failback improvised.
Documented example, not captured output.
Quick reference
Failback reverses replication after the primary site is repaired, synchronises the changes made during the outage back, then switches production over in a planned window. Many systems can resync only the changed blocks instead of a full copy.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Replication → Failback. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ · confidence 94%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.
Quick lookup tables
Replication → Failback proof map
Fast identity, dependency, failure-boundary and acceptance checks for Replication → Failback.
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Change capture, queue/transport, target apply and currency checkpoint | A healthy adjacent component is not end-to-end proof |
| Failure boundary | Failback proves return of ownership only when data authority is reconciled, clients use the intended source and forward protection is re-established. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Failback: source and target identity/ownership are unambiguous, replication advances through the expected checkpoint, target apply succeeds, and the required read-back or promotion test matches the protected state. | Close only after original read-back/recovery test and protection-state verification |