Use it when the storage-protection question has been narrowed to Replication → Remote Replication. Preserve object identity, timestamps, dependency state and the newest authoritative data before changing configuration, deleting snapshot state, resynchronizing or changing replication ownership.
Remote Replication
The relationship adds WAN/LAN reachability, bandwidth, latency, security, routing, target-site capacity and operational ownership dependencies. Distance may improve failure isolation while increasing convergence time and complexity.
1. Remote replication protects against site loss.
2. Bandwidth must cover change rate.
3. Encrypt in transit.
4. Throttle during business hours if needed.
5. Test failover at the remote site.
source site → WAN → DR site
Context & applicabilityCommon mistakes · platform/version boundaries
Remote replication shows data transfer across the configured site boundary through an observed checkpoint, but it does not show the remote service can assume production.
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
source → change queue → network/security path → remote target → target apply/currency → remote activation dependencies → read-back
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.
- Remote ≠ independent if control plane, credentials or replication policy are shared.
- WAN reachable ≠ replication current.
- Target current ≠ target service dependencies ready.
- Encryption in transit ≠ backup immutability.
ping/iperf3 to remote site— link capacityreplication lag metric— behindzfs list -r <remote>— remote snapshots
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
Remote replication shows data transfer across the configured site boundary through an observed checkpoint, but it does not show the remote service can assume production.
In depth
Remote replication with ZFS: snapshots shipped as streams
zfs-send(8) documents the options used for replication to another host:
| Option | Effect |
|---|---|
-i / -I | Incremental between two snapshots / including all intermediate snapshots |
-R | Replication stream: dataset, descendants, properties, snapshots and clones |
-w | Raw: encrypted datasets sent as stored; the target can't read them without the keys |
-c | Send blocks compressed as on disk |
-t <token> | Resume an interrupted transfer (receiver uses zfs receive -s) |
# initial full copy
# zfs snapshot -r tank/data@repl-1
# zfs send -R -w tank/data@repl-1 | ssh dr01 zfs receive -s -u backup/data
# later increments
# zfs snapshot -r tank/data@repl-2
# zfs send -R -w -I tank/data@repl-1 tank/data@repl-2 | ssh dr01 zfs receive -s -u backup/data
# ssh dr01 zfs get -H -o value receive_resume_token backup/data
-u keeps the received datasets unmounted on the target.
Design checklist
| Topic | Practice |
|---|---|
| Common snapshot | Never delete the last snapshot both sides share; increments need it |
| Retention | Different schedules at source and target (tools like syncoid or znapzend handle this) |
| Security | Dedicated SSH key restricted to the receive command; raw sends for encrypted data |
| Bandwidth | Compress (-c) or limit with tools such as mbuffer/pv |
| Protection | Make the target dataset read-only, so the replica is not modified by accident |
Verify the replica
Check that the newest snapshot at the target advances on schedule, and occasionally mount or clone a received snapshot and read data from it. A replication stream that arrives is not proof that the data can be used.
Documented example, not captured output.
Quick reference
Remote replication sends data to another site over WAN links. Plan bandwidth from the daily change rate: for example 500 GB/day of changes needs about 46 Mb/s sustained (500 × 8 000 Mb ÷ 86 400 s) before compression and with no headroom for peaks.
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 → Remote Replication. 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 → Remote Replication proof map
Fast identity, dependency, failure-boundary and acceptance checks for Replication → Remote Replication.
| 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 | Remote replication proves data transfer across the configured site boundary through an observed checkpoint; it does not prove the remote service can assume production. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Remote 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 |