Proxmox VE ZFS storage replication

Scheduled ZFS replication gives Proxmox VE clusters redundancy without shared storage, at the cost of a data loss window set by the replication interval. This page explains when that trade-off fits and when Ceph is the better design.

On this page

Proxmox VE ZFS storage replication: when teams need it without shared storage

A team running Proxmox VE on local ZFS disks often wants a guest to start on another node when its host fails, without buying a SAN or running Ceph. Scheduled ZFS replication fills that gap. Proxmox VE copies a guest's ZFS volumes from one node to another on a schedule, so the target holds a recent copy that can be started if the source is lost. The feature sits on top of local ZFS storage, so the guest disks must live on ZFS on each node involved. Replication is asynchronous: the copy trails the source by up to one interval, and writes made after the last successful sync are lost if the source fails. Teams that choose it usually run small clusters, already know ZFS, and accept a bounded loss of recent data in exchange for avoiding shared storage hardware.

The choice also shapes what high availability can do. The Proxmox VE HA stack expects shared storage for guests, so replication alone does not make a guest highly available in the strict sense. Recovery from a replica is a manual or scripted step unless HA takes over, and you should confirm how your Proxmox VE version handles that combination. The High Availability wiki lists the requirements for quorum, redundant hardware and watchdog-based fencing. A team that expects automatic restart after a node crash should test that exact path in a lab before going live.

Before deciding, inventory what the design depends on. Each node that receives replicas needs ZFS capacity for the copies as well as the originals, and the replication traffic must fit the network between nodes. Confirm the storage pool names and guest disk layout on every node, since replication jobs are defined per guest and target node. Then compare the expected data loss window, which is set by the schedule you choose and the change rate of the workload, against the recovery expectations your business owners have written down.

Replication options and when each fits

This table compares the four decisions a team makes when setting up ZFS replication on Proxmox VE: how often to replicate, which node receives copies, which guests are included, and whether HA manages them. Read each row for the option, the situation where it fits, and the trade-off it creates. The main takeaway is that shorter replication intervals narrow the data loss window but add write and network load, so the interval should follow what the business can afford to lose.

DecisionOptionWhen it fitsTrade-off to weigh
Replication schedule intervalShort interval for critical guestsDatabases or transaction-heavy guests where recent writes are costly to loseSmaller data loss window but more write amplification, network traffic and I/O on source and target
Replication schedule intervalLonger interval for less critical guestsGuests with low change rates or where a recovery point a little older is acceptableLower load on storage and network, but a larger data loss window after a failure
Target node selectionDedicated replication target per guestPredictable placement where each guest has one known failover node with enough capacityCapacity must be reserved on that node, and a poorly chosen target can become a hotspot
Target node selectionSpread targets across several nodesClusters with many guests where failover load should be shared after a node lossMore replication jobs to monitor, and each target must hold enough free ZFS space
Guest scopeReplicate only selected guestsMixed workloads where only some guests justify the storage and network costUnreplicated guests need another recovery path, such as backups, and must be listed in runbooks
Guest scopeReplicate all guests on a nodeSmall clusters where simple, uniform protection is preferredConsumes target storage and bandwidth for guests that may not need it
HA managementReplicated and HA-managedGuests that must restart automatically on another node after a host failureFailover uses the last replicated state, so the data loss window applies; confirm HA behavior with the Proxmox VE HA documentation
HA managementReplicated but not HA-managedGuests where an operator will decide when to start on the target after a failureRecovery depends on operator response time and a tested manual procedure

How to set up ZFS replication and verify it works

This sequence takes a Proxmox VE cluster from matching ZFS pools to scheduled replication jobs that you have proven with a first sync, an alert test and a manual failover. The result is a target node you can start a guest on with a known data loss window, and a record of each check made in your environment.

  1. Confirm matching ZFS pools on every node

    The cluster administrator checks on each node that the ZFS pool intended for guest disks exists under the same name, has enough free space for the replicated volumes on top of local guests, and is healthy with no degraded vdevs. Confirm this in your environment with the pool listing and status on each host, since no fixed capacity figure applies to every design. Done means every node reports the same pool name with a healthy status and free space you have recorded against your guest sizing plan. Storage definitions in the datacenter view should then point to that pool name on all target nodes.

  2. Verify cluster and replication network connectivity

    The network engineer confirms that the nodes can reach each other on the interface you intend to use for replication traffic, with the cluster network and firewall rules allowing the SSH-based transfers replication uses. Test this with name resolution and round-trip checks between each pair of nodes, and confirm that the cluster itself reports quorum and all nodes online. Done means every node pair passes the connectivity test on the chosen network, and the cluster status shows no node missing. Confirm the exact transport and port requirements against the Proxmox VE documentation for your release.

  3. Create a replication job for each guest

    The virtualization administrator creates one replication job per guest in the replication panel, selecting the source guest, the target node and a schedule that matches the data loss window your application owners accepted. Jobs are per guest, so group guests by how often they need to be copied and keep the schedule list in your runbook. Done means each guest shows a job with the correct target and schedule, and the job list matches the inventory of guests that must survive a node loss.

  4. Run the first sync and confirm the initial copy

    The administrator triggers the first replication run for each job rather than waiting for the schedule, because the initial sync copies the full guest disks and takes the longest. Watch the job log until it reports success, and record the time it took on your hardware so you can plan future runs. Done means every job has completed one successful run with no errors in its log. Treat any job still running or in error as not ready for production.

  5. Check replicated volumes on target nodes

    The storage administrator logs in to each target node and lists the ZFS datasets or zvols for each replicated guest, confirming that the disk names match the source and that the snapshot created by the replication run is present. Also check that the guest configuration file has been copied to the target so the guest can be started there. Done means each target holds the expected volumes and snapshots for every job, and each guest's configuration is visible on the target node. Record these results as evidence for your recovery runbook.

  6. Confirm failed replication jobs raise alerts

    The operations engineer forces a controlled failure, for example by taking a target pool offline in a test window or by making a target unreachable, and confirms that the failed job appears in the task log and that a notification reaches the people on call. Confirm how your Proxmox VE release sends notifications and which channel your team uses, because the alert path is part of the design rather than a default you can assume. Done means the induced failure produced a visible job error and a delivered alert, and the job recovered once the fault was removed.

  7. Run a manual failover test to the target node

    During an agreed maintenance window, the administrator stops a test guest on the source node, runs a final replication so the target holds the latest snapshot, and then starts the guest on the target node with its replicated disks. Check that the guest boots, its services answer and its network configuration works on the target, then move it back using your documented process. Done means the guest ran on the target from replicated data, and the observed gap between the last replicated snapshot and the stopped state matches the data loss window you planned. Confirm the exact failover steps for your release and whether HA handles this automatically in your cluster design.

  8. Check guest configuration availability on the target

    The administrator confirms that the guest's configuration, including its CPU, memory, network bridge and disk references, is present on the target node and that the bridges and storage names it refers to exist there with the same names. Mismatched bridge or storage names are a common reason a replicated guest fails to start, so compare the configuration against each target node's network and storage setup. Done means every replicated guest's configuration resolves cleanly on its target, and any differences are fixed and recorded before the setup is handed over.

Combining replication with HA and the data loss window it leaves

Proxmox VE high availability needs at least three cluster nodes for reliable quorum, redundant hardware, and watchdog-based fencing so that a failed node is reset before its guests are started elsewhere. The HA documentation also lists shared storage for guests as a requirement, which ZFS replication does not provide. Replication copies a guest's disks to another node on a schedule, so HA can restart the guest on that node, but the copy is only as current as the last successful sync. Before you combine the two, confirm in the HA and replication documentation for your exact Proxmox VE version how the stack handles a guest whose disks are replicated rather than shared, and test a forced node failure in a lab cluster with the same hardware before you rely on it.

The consequence is a data loss window equal to the time between the last successful replication and the failure. Any write made after that sync is gone when HA restarts the guest from the replicated state. The replication interval sets the upper bound on that window: a shorter schedule loses less data but creates more replication traffic and I/O on the source and target storage, and a longer schedule does the reverse. Replication jobs can also fail or fall behind, so the effective window can be larger than the configured interval during a backlog or a network problem. Ask your monitoring team how replication failures will be detected and alerted, because a silent failure stretches the window without anyone noticing.

Agree the acceptable window with each application owner before you choose the interval or the design. Ask them how much recent data they can re-enter, reprocess or reconcile after a node loss, and whether a database or transactional workload can tolerate restarting from a point several minutes old. If the answer is close to zero, scheduled ZFS replication cannot meet it, and the design needs synchronous shared storage such as Ceph, which is covered in the sibling storage design topic. Record the agreed window, the interval that delivers it, and the owner who accepted the risk, so the decision survives the next platform change.

Decisions that change the design before the first job runs

Replication is a design choice, not a switch. The six decisions below depend on each other: the data loss you can accept sets the replication interval, the interval sets the network and pool load, and the node count decides whether HA can act on what was replicated. Settle them together before any guest moves to replicated storage.

Acceptable data loss window

Replication copies a guest's ZFS dataset to another node on a schedule, so anything written since the last successful sync is lost on failover. Ask the business owner how many minutes of writes a guest can lose, then compare that answer with the replication schedule you intend to run. If the answer is near zero, scheduled replication alone will not meet it, and the design needs a different storage model.

HA requirements

Node count for quorum and HA

Automatic recovery of a failed guest depends on cluster quorum and watchdog-based fencing. The Proxmox VE HA documentation calls for at least three cluster nodes for reliable quorum, so a two-node pair cannot make recovery decisions safely on its own. Count the nodes you need for quorum before you size anything else, and confirm how many can fail at once without losing quorum.

Minimum nodes for quorum
3
Proxmox HA wiki

Write rate of database guests

Databases that write heavily generate change volume faster than a fixed interval can ship it, so each sync carries more data and the potential loss grows with the interval. Measure the write rate of each database guest during peak hours, not average load, and check whether the sync can finish inside the interval. Databases that need near-zero loss usually belong on a design with shared or replicated database engines instead.

ZFS pool sizing on each node

Every node that receives replicas must hold the full copy of each replicated guest, plus room for snapshots kept between syncs. Size the receiving pool for the guests it may host after a failover, not only the guests it runs today. Check free space headroom, snapshot retention and the pool layout, since a full pool stops replication and can stall the guests that depend on it.

Replication network capacity

Replication traffic competes with guest traffic, cluster traffic and migrations on the same links. Measure how much change each interval produces and confirm the replication path can carry that volume within the interval, with room for bursts. Keep the replication network separate from the Corosync cluster network where possible, so heavy sync traffic cannot delay cluster heartbeats.

Whether guests need shared storage semantics

Replication gives each node its own copy of a guest disk, which suits guests that tolerate a restart from a slightly older state. Guests that need one consistent disk seen by several hosts at once, or that must survive a host loss with no data gap, need shared storage such as Ceph instead. Decide this per guest class before building, because moving a guest between the two models later means a migration project.

Storage types overview

How replication, HA and fencing fit together across three nodes

The diagram starts with a guest running on the active node, whose local ZFS dataset is copied on a schedule to a target node. The three nodes form one cluster, and the quorum majority decides which side is authoritative. If the active node fails, the watchdog-based fencing step resets it before the HA manager starts the guest on a surviving node, which uses the last replicated copy. Check that the replication interval matches the data loss window you accept, and that quorum survives the loss of any single node.

Scheduled replication, quorum, fencing and HA restart across three cluster nodes.

When Ceph is the better design than ZFS replication

ZFS replication is a strong fit when a short data loss window is acceptable and storage stays local to each node. Ceph changes the trade-off: it provides shared storage semantics and scales capacity across nodes, but it adds hardware, network and staffing requirements that drive cost and duration. The cards below help you test which side of that trade-off your environment sits on.

Shared storage with no data loss window

Scheduled ZFS replication copies guest data at intervals, so the most recent changes since the last sync can be lost after a node failure. If a workload cannot accept that window, Ceph provides storage that is shared across nodes, so guests do not depend on a copy that may be behind. Write down the recovery point each workload needs before comparing designs, because this requirement alone often decides the storage layer. Confirm it with the application owners, not only the platform team.

Proxmox HA requirements

Storage that scales across nodes

Ceph pools capacity from many hosts and spreads data across failure domains, so adding capacity means adding OSDs and hosts rather than rebuilding local pools on each node. This matters when growth is expected to outpace the number of hosts you can refresh at once. Ask how capacity will be added over three to five years, how many hosts that implies, and whether each new host can carry a dedicated drive per OSD. Ceph also needs spare capacity to recover, so plan usable space, not raw space.

Ceph hardware recommendations

Hardware and network cost

Ceph's hardware recommendations call for a dedicated drive per OSD, moving WAL and DB to shared SSDs for HDD-based OSDs, enterprise-class SSDs for metadata, and bonded network links across two switches. Each item adds purchase cost, rack space, power and switch ports that a local ZFS design does not need. Treat these as design drivers in the quote, and ask the vendor or partner to state which drives, SSDs, NICs and switches are included. Benchmark a representative setup before buying, because the recommendations note that no two clusters are alike.

Hardware recommendations

Memory sized for peak use

The Ceph hardware recommendations advise sizing memory for peak use rather than calm periods. Recovery, rebalancing and scrubbing can push memory use well above normal operation, so a host that looks adequate in steady state may struggle during a failure. Ask for memory sizing tied to the failure scenarios you plan to survive, and test a degraded state during acceptance rather than assuming the design holds.

Staffing and day-two operations

Ceph is run as containers managed by cephadm, which was introduced in v15.2.0 (Octopus) and does not support older releases. Your team needs people who can operate monitors, managers, OSDs and upgrades, and who can respond when placement groups degrade. If you cannot staff that skill set, or the cluster would be run by one person, ZFS replication with a documented recovery runbook is usually easier to support. Confirm who carries on-call duty and how upgrades are scheduled before committing.

Cephadm documentation

Validate the choice before building

Choosing Ceph is a commitment that is hard to reverse once data lands on it, so test the design before production. Build a small lab with the intended drive types and network layout, run failure drills such as losing a host and a switch, and measure recovery time against the recovery point each workload requires. Ask your partner to deliver the test results as part of the scope. If the drills do not meet the requirements, ZFS replication with a shorter interval or a different storage design may be the better answer.

Questions teams ask before hiring help with ZFS replication

What drives the cost of a ZFS replication design in Proxmox VE?

Design labor, testing and the hardware you already own drive most of the cost, because the Proxmox VE software can be used without a subscription. Subscriptions are priced per CPU socket per year: the Proxmox VE pricing page lists Community at 120 euros, Basic at 370 euros, Standard at 550 euros and Premium at 1,100 euros. All tiers include the same software features. They differ in support tickets, response times and access to the enterprise repository, which Proxmox recommends for production. Design effort rises with node count, guest types, storage layout, network paths and the number of replication jobs and recovery rules. Ask for a quote that separates design, implementation, failover testing and documentation, and that marks each line as one-time or recurring.

How long do setup and failover testing usually take?

Duration depends on the scope you agree, not on a standard figure, so ask for a written timeline tied to specific deliverables. The main drivers are the number of nodes, the number and size of guests, the storage layout on each node, how many networks and bonds need configuration, and whether replication is combined with high availability. Each replication job, each recovery scenario and each guest type adds test cases. Failover testing takes longer when it covers unplanned node loss, network partitions, and application-level checks after a guest starts on another node. Change windows and the availability of your team for approvals also affect the schedule. A fixed-scope engagement should list what is in and out so the timeline can be checked against it.

What does the client need to provide before a replication project starts?

Before work begins, the client needs hardware access, a written data loss window, a guest inventory and a decision on whether high availability is part of the design. High availability needs at least three cluster nodes for reliable quorum, redundant hardware, and watchdog-based fencing so a failed node is reset before its guests are recovered elsewhere, according to the Proxmox VE High Availability wiki. Replication does not supply the shared storage that the wiki describes for guests, so confirm how your recovery model fits those requirements. You also need maintenance windows for test failovers, network details for replication traffic, access credentials for each node, and a named owner who can accept the test results.

Can an internal team set up ZFS replication without outside help?

A team with solid Linux, ZFS and cluster networking skills can set up scheduled replication alone, because Proxmox VE can be used without a subscription. The harder parts are the ones that only show up under failure: fencing behavior, quorum loss, replication lag under load and the exact state of guests after an unplanned failover. Most teams find that these need dedicated test time that competes with production work. Outside help is often used for the design review, the first failover test and the runbook, while the internal team keeps the routine operation. Whichever path you choose, confirm who on your side can run the test, interpret the results and approve the fixes. DeployOpen implements and documents these systems in your infrastructure under written, fixed-scope agreements.

How does ZFS replication compare with Ceph in effort and staffing?

ZFS replication usually needs less hardware and fewer ongoing skills than Ceph, but it accepts a data loss window that Ceph's synchronous design does not require. Ceph adds a distributed storage layer that must be sized, monitored and upgraded. The Ceph hardware recommendations call for a dedicated drive per OSD, enterprise-class SSDs for metadata, bonded network links across two switches, and benchmarking before buying because no two clusters are alike. Ceph also has active releases with their own support windows, and cephadm manages it as containers. If your team lacks storage engineers, or your workloads cannot tolerate the agreed data loss window, Ceph may fit better. Compare both options on staffing hours, hardware, and the recovery targets written into your business continuity plan.

What should a failover test prove before go-live?

A failover test should prove that a guest starts on another node within the recovery time you agreed, and that its data is no older than the agreed data loss window. Test an unplanned node loss, not only a graceful move, because fencing and recovery behave differently in each case. Check that the failed node is reset before its guests restart, that quorum holds or recovers as expected, and that networking, DNS and the application work on the target node. Then confirm that replication resumes in the right direction after the original node returns. Record the measured data age, the time to a working service and any manual steps. Each failed check should lead to a documented fix and a retest.

How does the replication interval affect the data loss window?

The replication interval sets the most recent point your guest can be restored to after an unplanned failure, so writes made after the last completed replication can be lost. A shorter interval reduces that exposure but increases network use, storage I/O and the chance that a job overlaps the next one. A longer interval does the opposite. Agree the target loss window in writing with the business owner, then set the interval that meets it with margin for peak load. Check the replication behavior for each guest type, because databases and applications with their own write caches need application-level consistency checks. Confirm the exact scheduling and consistency options against the Proxmox VE documentation for your version before you commit to a number.

What DeployOpen delivers for a replication design

The core deliverable for a replication design is a written design document that fixes the replication intervals for each guest class, the data loss window those intervals imply, and the reasoning behind both. The document should map every replicated guest to its source node, target node and schedule, state which guests are excluded and why, and record how the replication window interacts with HA recovery. Clients keep this document as the reference their operators and auditors read, so it is written to be reviewed without the engineers who built it present.

The configured jobs are the second artifact: the replication jobs themselves, with their schedules, rate limits and retention applied on each node, plus the notification settings that route failed replication runs to the people who act on them. Before handover, the failover test plan is run against the live cluster, and DeployOpen delivers the test plan with recorded results, including the observed data loss on each test guest compared with the design target. Failed results are fixed and retested, and the retest is recorded in the same report. The runbook covers failed jobs, stale target volumes, node loss and the steps to recover a guest from its last replicated state, written so the client's own team can follow it at 2 a.m. The handover package includes these documents, the configuration backup and a walkthrough with the operators who will own the platform afterward. Confirm with DeployOpen whether a retest window is included in the agreed scope.

Engagements are fixed-scope: the scope, deliverables, acceptance criteria and timelines are agreed in writing before work starts, and the number of clusters, guests and replication targets drives the effort. DeployOpen does not publish a price list, so a quote follows from the written scope. Ask for the quote to list each deliverable separately, to state which items are one-time and which recur (for example, a retainer for testing after upgrades), and to name the client-side time required from storage, network and application owners for the failover tests. Ongoing support is available as a retainer, which is the usual route for keeping runbooks and test results current after the first design.

How DeployOpen works on this

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including Proxmox VE replication jobs, HA integration and the runbooks your team needs afterward. Each engagement starts from a written scope that defines which nodes, datasets and guests are covered.

How we scope

  • We confirm which guests need replication, which can tolerate a longer data loss window, and which stay local.
  • We inventory node hardware, ZFS pool layout, network paths and the replication target for each node pair.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any work starts.

How we build

  • We configure replication schedules and test them against each guest type, recording the interval chosen and why.
  • We test HA behavior with replication in place, including fencing, failover and the recovered state of each guest.
  • We verify replication errors surface in alerting so failed jobs do not go unnoticed for days.

How we hand over

  • You receive the configured design, replication schedule inventory, and documented data loss window per guest.
  • We deliver a runbook covering manual failover, failback, and recovery steps for common replication failures.
  • We walk your platform and operations staff through the runbook and the tests used to validate it.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • Retainers can cover re-testing replication and HA after Proxmox VE upgrades or hardware changes.
  • Confirm with us during scoping which support tier, response expectations and Proxmox VE subscription level your environment needs.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.