Use this when automating storage replication.
Replication Automation
Replication automation configures and monitors storage replication — zfs send/receive, DRBD, array replication, rsync — checking lag and alerting when copies fall behind.
1. Replication automation: schedules, monitoring lag, alerting.
2. Idempotent incremental sends.
3. Handle broken chains.
4. Test failover.
5. Report.
source → replication job → target → lag check
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
receive -Frolling back changes made on the target.- Never checking replication lag.
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.
- Replication: zfs send/receive, DRBD, array replication.
- Monitor replication lag.
- Test failover.
syncoid <src> <dst>— ZFS replicationrbd mirror pool status <pool>— Ceph mirroring- Replication lag alert — monitoring
ReferenceWhy it matters1 section · depth on demand
What it is
Replication automation sends snapshots or volumes to another system (zfs send/receive, array replication, rsync).
ReferenceHow it works1 section · depth on demand
How it works
Incremental replication sends only blocks changed between two snapshots, so both sides must share the previous snapshot. Tools such as syncoid automate the snapshot bookkeeping.
ReferenceImportant terms & boundaries1 section · depth on demand
Example
zfs send -i tank/app@prev tank/app@now | ssh backup zfs receive -F backup/app
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 Storage Automation > Replication Automation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ansible.com/ansible/latest/collections/community/general/lvol_module.html · confidence 94%