Pcornel
Storage · Replication

Block Replication

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

Back to the Topic

Answer

The replication engine observes block-level changes and reproduces them at the target volume/LUN/device. Because the engine may not understand filesystem or application transactions, coordinated consistency mechanisms may still be required.

Remember

  • Block replication ≠ application-consistent replication.
  • Identical block geometry ≠ filesystem mountability.
  • Target LUN visible ≠ safe simultaneous host ownership.
  • Block copy ≠ protection from replicated corruption/deletion.

First checks

  • drbdadm status — DRBD
  • rbd mirror pool status — RBD
  • array volume replication — SAN

Verify in this order

volume blocks → replication → target volume

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Replication → Block Replication proof map

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 boundaryMatching block checkpoints prove storage-level change reproduction through that point, not application transaction consistency or safe multi-host access.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Block Replication: 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

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

Confirmation

Confirm action

Continue?