Cold Storage Replication Topology and ZFS Send Stream Validation
Designing a multi-hop cold storage replication topology for the research archive and validating ZFS send/recv stream integrity at each hop.
Replication Topology
- Primary (lab-data) → Secondary (off-site NAS) via encrypted SSH tunnel with zfs send -w (raw compression disabled for encryption compatibility).
- Tertiary cold tier: incremental snapshots pushed to external HDD array mounted on backup node.
- Replication scheduling staggered across non-overlapping windows to avoid bandwidth contention with inference workloads.
Stream Integrity Verification
# Verify send stream checksum at target
zfs recv -n pool/backup < send_stream.dat
sha256sum << EOF | diff - /dev/stdin
$(echo -n "original_stream" | sha256sum | awk '{print $1}')
EOF