Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Failback · Replication

Direct answer

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.

When to use this

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.

First 30 seconds

1. Failback returns to the original site.

2. Reverse replication first to sync changes.

3. Planned switchover.

4. Verify data.

5. Test regularly.

Operational verification

DR active → reverse sync → planned switchover

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

Failback shows return of ownership only when data authority is reconciled, clients use the intended source and forward protection is re-established.

Platform / version applicability
Data protection and recovery
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.

PlatformData protection and recovery
Scope / prerequisiteUse it when the storage-protection question has been narrowed to Replication → Failback. Preserve object identity, time…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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

current active target → establish authority → reverse/resync changes → verify checkpoints → planned cutback → redirect consumers → restore forward protection → validate

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
  • Failback ≠ simply powering the old source on.
  • Former primary ≠ authoritative after failover.
  • Reverse replication complete ≠ clients moved.
  • Cutback complete ≠ normal protection restored.
Key checks
  • zfs send -i ... (reverse) — reverse replication
  • Set-VMReplication -Reverse — Hyper-V
  • rbd 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

StepDetail
Root cause on the original site fixedDon't fail back onto the same fault
Full resync or delta completeReplica state UpToDate on the returning side
Split brain checkedIf both sides wrote, choose and record which changes win
Planned window, users informedFailback is a planned outage
Applications verified after the switchSame tests as after failover
Replication direction restored and monitoredBack 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
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 docData protection and recovery current

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%
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
failbackfailbackreplication failback
Embedded reference data

Quick lookup tables

Replication → Failback proof map

Fast identity, dependency, failure-boundary and acceptance checks for Replication → Failback.

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathChange capture, queue/transport, target apply and currency checkpointA healthy adjacent component is not end-to-end proof
Failure boundaryFailback 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?