Pcornel
Storage · Replication

Local Replication

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

Back to the Topic

Answer

Local replication can provide fast copy, clone, mirror or secondary-volume workflows with low transport latency, but source and target may still share power, controller, cluster, administrative or site-level risks.

Remember

  • Local copy ≠ disaster recovery copy.
  • Different volume ≠ different failure domain.
  • Different node ≠ different site.
  • Fast failover ≠ protection from shared corruption/administrative error.

First checks

  • zfs send | zfs recv (local pool) — local copy
  • lvconvert --type raid1 ... — local mirror
  • array local clone/mirror — same system

Verify in this order

source → local target

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 → Local 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 boundaryLocal replication proves an additional synchronized storage state exists locally; it does not prove protection against site-wide or shared-control-plane failure.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Local 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=4237

Confirmation

Confirm action

Continue?