When OpenEBS local and replicated volumes fit your Kubernetes storage
If your self-managed cluster needs persistent volumes, the first decision is whether a workload can tolerate its data living on one node or needs its data copied to several. OpenEBS offers node-local volumes, where the data stays on the disk of the node that runs the pod, and replicated volumes, where the engine keeps copies of the data on multiple nodes so a single node failure does not remove access to it. Choosing between them is mostly a question of whether the application already replicates its own data.
OpenEBS is organized as a set of storage engines, and the local ones are the simplest to reason about. The LVM and ZFS local engines carve persistent volumes out of logical volumes or ZFS datasets on each node's disks, so the pod gets fast local I/O with little overhead and no network replication. The replicated engine instead synchronizes each volume across nodes, which adds network traffic and write latency but keeps the data available when a node is lost. Before you pick an engine, confirm with the OpenEBS project documentation which engines your release supports, which Kubernetes versions they target and what disk and kernel prerequisites each one needs on your hardware.
Build your decision from the workload outward. Databases and message brokers that already replicate across instances, such as clustered PostgreSQL or Kafka, usually work well on node-local volumes, because losing one node means the application fails over to a copy it already holds. Single-instance stateful services and applications with no replication of their own generally need replicated volumes, because a node failure would otherwise strand their data on a disk that is no longer reachable. Write this mapping down per workload, and test a node drain and a node failure in a non-production cluster before you rely on it.
Which OpenEBS engine fits which workload
This table compares the OpenEBS LVM local engine, ZFS local engine and replicated engine on durability, locality, snapshots, expansion, scheduling and typical workloads. Read each row as a question to answer for your own database or application before choosing an engine. The main takeaway is that local engines keep data on one node, so durability depends on the application replicating its own data, while the replicated engine trades some write latency for data that survives a node loss.
| Decision factor | LVM local engine | ZFS local engine | Replicated engine |
|---|---|---|---|
| Data survives node loss | No | No | Yes |
| Where data lives | On the node's LVM volume group, one node per volume | On the node's ZFS pool, one node per volume | Synchronous copies across several nodes |
| Performance locality | Reads and writes stay on the local disk | Reads and writes stay on the local pool, with ZFS caching options | Writes cross the network to each replica, so latency depends on the network |
| Snapshots and expansion | Confirm snapshot and expansion support for your OpenEBS version | Confirm snapshot and expansion support for your OpenEBS version and ZFS settings | Confirm snapshot, clone and expansion support for your OpenEBS version |
| Scheduling constraints | Pods pinned to the node holding the volume | Pods pinned to the node holding the volume | Pods can move, but replicas need enough nodes and capacity |
| Best-fit workloads | Databases and queues that replicate across nodes themselves, such as clustered PostgreSQL or Kafka brokers | Same as LVM where ZFS features such as compression or checksums matter | Stateful applications without built-in replication, such as single-instance services |
| Effect of node failure | Volume is unavailable until the node returns or the application rebuilds on another node | Volume is unavailable until the node returns or the application rebuilds on another node | Volume stays available from another replica while the failed replica rebuilds |
Choosing between local and replicated volumes by application type
Databases such as PostgreSQL, Kafka and many NoSQL systems already copy data between members, so a node-local volume on each member often gives the best write latency and avoids paying for the same data twice. The trade-off is that a lost node also loses its local volume. The application must then rebuild that member from its peers, and the rebuild time and the period of reduced redundancy become your operational risk.
- Local placement: each replica sits on its own node's disk, so write latency stays low and storage cost stays close to the raw disk cost.
- Replicated copies underneath: adding a second replication layer under the database usually multiplies stored data and can slow writes, so confirm whether the application needs it.
- Node failure path: plan how the database rejoins and resyncs after a node is replaced, and who runs that procedure.
- Anti-affinity: spread members across nodes and failure domains so one node failure never removes a quorum.
- Backup target: the replication does not protect against logical corruption or deletion, so you still need an off-node backup target.
Before choosing, ask the application vendor which replication and recovery procedures it supports on Kubernetes and confirm them in a test cluster.
Some databases and stateful services store a single copy of their data and rely on the volume layer for durability. For these, a replicated volume keeps data available when a node fails, but it adds network traffic, write latency and a second copy to manage. A local volume is faster but leaves the data stranded on a node that may not come back, so the recovery plan matters more than the placement choice.
- Replicated volume: a replica on another node lets the pod reschedule and reattach after a node failure without restoring from backup.
- Local volume: the pod must be scheduled back to the node holding its data, so a failed node can block the workload until hardware is repaired.
- Replica count and placement: confirm how many replicas the engine keeps and whether they span zones or racks.
- Backup schedule and restore tests: define recovery point and recovery time targets with the data owner, then test restores into a separate namespace.
- Node failure runbook: document who decides between waiting for a node and restoring elsewhere, and how the decision is recorded.
Before go-live, confirm the replica count, the backup target and the restore procedure with the application owner, and run one node failure drill.
Some workloads need several pods to mount the same volume at once, which a node-local volume cannot provide. OpenEBS local engines are single-node by design, so shared access usually points to a different storage class or a separate service. Replicated block volumes also generally serve one node at a time, so teams often confirm the access mode before assuming a replicated OpenEBS volume solves the shared case.
- Access mode check: confirm whether your workload needs ReadWriteOnce or ReadWriteMany before selecting an engine.
- Local engines: node-local volumes suit workloads where one pod owns the data and the pod can return to its node.
- Alternative backends: shared file or object backends may fit better, and the choice belongs in a separate storage design review.
- Locking and consistency: shared writers need application-level locking or a clustered file system, which you must test.
- Documented access pattern: record which pods mount which volumes and who approves changes.
Before committing, ask the vendor whether the application supports multiple writers on one volume, and check the access modes the chosen driver supports.
How to set up OpenEBS local and replicated volumes
This sequence takes a self-managed cluster from raw node disks to verified persistent volumes, with one StorageClass per engine and a recorded test of how each volume behaves when a node fails. Run it in a non-production cluster first so the failure results inform the production design.
Confirm prerequisites for your OpenEBS release
Before touching any node, the platform owner checks the OpenEBS documentation for the exact release you plan to deploy and records the kernel, OS packages, disk and filesystem requirements for each engine you intend to use, such as LVM or ZFS tooling for the local engines and the network and disk requirements for replicated storage. Confirm the Kubernetes version you run is supported by that release. Done means a signed-off checklist per node pool, with the version numbers written down, that the rest of the sequence refers to.
Prepare nodes, disks and volume groups
The infrastructure team designates which nodes hold storage, assigns dedicated disks to each engine, and creates the LVM volume group or ZFS pool that the local engine will carve volumes from, following the layout in the checklist. Keep the operating system and container runtime off these disks. Verify on each node with the standard LVM or ZFS status commands that the pool shows the expected capacity and health, and that the disks are identical in the same node pool so placement stays predictable.
Install OpenEBS with the engines you need
The cluster administrator installs OpenEBS using the method documented for the chosen release, enabling only the engines the checklist requires so that unused components do not run. Use a Helm values file kept in version control so the engine settings are reviewable and repeatable. Done means the OpenEBS control plane pods are running in their namespace, the engine node agents are running on the storage nodes, and no pods are in a crash loop.
Create a StorageClass for each engine
The platform team creates one StorageClass per engine, naming the pool or volume group it uses and setting the volume binding mode. WaitForFirstConsumer is the usual choice for node-local volumes so the scheduler places the pod before the volume is created on a specific node. Set the reclaim policy deliberately: Retain keeps data after a claim is deleted, which suits production databases, while Delete suits disposable test data. Done means
kubectl get storageclasslists each class with the intended binding mode and reclaim policy, and the chosen default is documented.Test a volume bound to a pod
The engineer creates a PersistentVolumeClaim against each StorageClass, starts a test pod that mounts it, writes a known file, and confirms the claim reaches the Bound state and the pod reaches Running. For local volumes, confirm the pod was scheduled to the node that holds the volume. Delete the pod and recreate it on the same node to confirm the data persists. Done means the claim is Bound, the file survives the pod restart, and the test resources are recorded so they can be removed afterward.
Verify failure behavior in a test environment
In a non-production cluster, the team drains or powers off one storage node and observes each volume class separately. Local volumes stay tied to their node, so the pod cannot run elsewhere until that node returns or the data is restored from another source. Replicated volumes should keep serving data from remaining replicas, and the team confirms this with a read and write test. Record how long recovery takes and which pods were stuck, since these results decide which applications may use each class in production. Done means a written failure matrix per engine.
Document the results and map workloads to classes
The platform owner turns the test results into a short standard: which StorageClass each workload type may use, the required replica count or node count, the backup method for each class, and the runbook steps for a node loss. Ask the database and application owners to confirm whether their software replicates data itself, because that determines whether a local class is acceptable. Done means the standard is approved and stored with the manifests so that production rollout follows the tested behavior.
How pods, PVCs and OpenEBS engines connect across nodes
The diagram starts at the workload pod, which mounts a PersistentVolumeClaim. The claim names a StorageClass, and that class selects either a node-local engine, where the data stays on one node, or a replicated engine, where the volume keeps copies on several nodes. The failure path shows what happens when a node is lost: a local volume is unavailable until that node returns, while a replicated volume can keep serving from a surviving replica. Check which engine each StorageClass points to and where the replicas land before going further.
Pod, claim and StorageClass resolve to either a local volume or replicated copies across nodes.
Security and operational controls for OpenEBS volumes
OpenEBS volumes sit on node disks and pools, so the controls that matter are the privileges the engines need, how the disks are encrypted, who can request storage, how data is backed up apart from replicas, and how pool and replica health are watched. Each card names a decision to make and a check to run before production data arrives.
Node disk access and privileges
LVM and ZFS engines work with block devices and the host kernel, so their pods typically need elevated privileges and host path access. Confirm which containers run privileged, which host paths and device nodes they mount, and whether those settings are limited to the storage namespace. Review the OpenEBS chart values and your Pod Security Admission setting for that namespace, and record every exception so auditors can trace it.
Pod Security StandardsEncryption at rest for pools
OpenEBS does not replace disk-level encryption. Decide whether encryption happens below the pool, through full-disk or dm-crypt style encryption on the nodes, or inside the storage engine where supported. Ask the OpenEBS project which encryption options apply to your chosen engine, then verify that keys are unlocked at boot and that a replaced disk is encrypted before it joins a pool.
RBAC over StorageClasses and claims
Anyone who can create a PersistentVolumeClaim can consume capacity, and anyone who can edit a StorageClass can choose engine, replica count or reclaim policy. Restrict create, update and delete on StorageClasses to platform administrators, and let application teams create claims only in their own namespaces. Use ResourceQuota on storage requests so one team cannot exhaust a shared pool.
Secrets good practicesBackups separate from replication
Replicas protect against node loss, not against deletion, corruption or a bad application write, which replicate faithfully to every copy. Plan volume-level or application-consistent backups to a location outside the cluster, and test restores into a separate namespace. Confirm which snapshot and backup tooling your OpenEBS engine supports and how restore timing is measured for your data size.
Pool capacity monitoring
Local and replicated pools fill silently until a volume cannot grow or a replica cannot be placed. Alert on pool usage well before exhaustion, track thin-provisioned overcommit in LVM and ZFS, and watch disk SMART data and I/O errors on the underlying devices. Confirm which metrics the OpenEBS exporters expose and which alert thresholds your storage team has agreed on.
Replica health and rebuild checks
For replicated engines, a volume can run for a while with fewer healthy replicas than planned, which leaves no margin for a second failure. Monitor degraded volumes, rebuild progress and replica placement across nodes and zones. Verify that a drained or failed node triggers the expected rebuild, and that anti-affinity keeps replicas on separate failure domains.
Questions buyers ask about OpenEBS local and replicated volumes
What drives the cost of an OpenEBS storage implementation?
The main driver is how many storage tiers you need and how many workloads depend on them. Cost comes from design work (which engine is local LVM or ZFS and which is replicated, how StorageClasses map to workloads), installation on your nodes, testing of node failure and restore, and documentation for your operators. Some costs are one-time, such as design and initial build. Others recur, such as internal or partner time for upgrades and support retainers. Ask for a written scope that lists each engine, each StorageClass, the number of clusters, the failure tests you expect to run, and whether backups and runbooks are included. No price is given here because the figure depends on that scope.
How long does an OpenEBS engagement usually take?
Duration depends mostly on your environment rather than on OpenEBS itself. The time changes with the number of clusters, how many node types and disk layouts you run, whether replicated storage needs a network or kernel check, how many workloads must be migrated or tested, and how quickly your team can provide access and approvals. Before work starts, confirm the duration in the written scope, along with the dependencies that could extend it, such as hardware delivery or change windows. Any timeline should come from a scoped plan, not a generic estimate.
What must our team provide before the work starts?
Plan to provide the nodes, the disks and their layout, network paths between nodes for replicated volumes, and a backup target such as object storage or NFS. You also need named owners for each stateful workload, such as a database team that can confirm replication settings, restore expectations and maintenance windows. Access to the cluster, change approval and a test environment that resembles production all shorten the work. Ask the partner to list these inputs in the scope so gaps show up before build, not during failure testing.
Can our internal platform team run OpenEBS without outside help?
Yes, many teams run OpenEBS internally once they understand the failure behavior of each engine. The team needs Kubernetes storage skills, familiarity with disk and LVM or ZFS administration for local engines, and a clear view of which workloads replicate their own data. Check that the team can perform node drains, disk replacement and volume restores, and that someone owns the runbook. If those skills are thin, an outside build followed by a knowledge transfer is a common way to close the gap. Decide this by comparing your team's skills against the failure tests you need to pass.
What happens to our data when a node fails?
It depends on the engine. A local volume lives on one node's disk, so if that node fails, the volume is unavailable until the node returns or the data is restored from a backup, and the pod cannot simply move elsewhere with its data. Databases that replicate themselves, such as clustered PostgreSQL or Kafka, usually tolerate losing one member because other members hold copies. Workloads that do not replicate themselves need replicated storage. Test each workload's behavior in a planned node failure before go-live, and record the recovery time you observed.
How are upgrades and day-two operations handled?
Upgrades cover the OpenEBS components, the Kubernetes version they depend on, the host kernel and storage packages, and the workloads that use the volumes. Kubernetes maintains the three most recent minor releases, and the version skew policy requires upgrading the API server one minor version at a time, so storage upgrades must follow the cluster's upgrade calendar. Day-two work includes monitoring disk health, capacity alerts, snapshot and backup jobs, and periodic restore tests. Ask whether the scope includes a written upgrade plan, a retainer for ongoing support, or handover to your team.
Does the engagement include backups and restore testing?
Backups are a separate deliverable from storage. OpenEBS provides volumes, but you still need a backup target and a tested restore procedure. Confirm in writing whether the scope covers configuring the backup target, scheduling backups for each StorageClass, and running at least one restore into a separate namespace. Ask for the restore results and the observed recovery time, since those are the numbers your recovery plan needs. Data protection requirements from your compliance team should be listed in the scope so the controls can be evidenced.
Does DeployOpen prepare evidence for compliance reviews of storage?
DeployOpen prepares systems, controls and evidence for compliance assessments, including documentation of storage configuration, encryption settings where the platform supports them, backup and restore records and access controls. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. Ask for the evidence list in the written scope so your assessor's requests can be answered from the start.
How DeployOpen scopes and delivers OpenEBS storage
DeployOpen plans, builds, documents and supports Kubernetes local and replicated volumes with OpenEBS in infrastructure you control. The work starts with a written scope that separates self-replicating databases from workloads that need replicated storage, so each volume type is chosen for the failure behavior your team must accept.
How we scope
- We inventory which stateful workloads need node-local volumes and which need replicated block storage, and record each decision.
- We document the node failure behavior each workload must tolerate, including how pods and data move after a node is lost.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any cluster changes begin.
How we build
- We configure the chosen OpenEBS engine, StorageClasses and binding modes for your node pools and disk layout.
- We test node drain, node loss and volume expansion in a non-production cluster before anything reaches production.
- We verify backup and restore paths for each volume type, since local volumes do not replicate data across nodes.
How we hand over
- You receive the storage design record, StorageClass definitions, runbooks for node replacement and a summary of accepted risks.
- We walk your platform and database teams through restore tests and the steps to follow after a node failure.
- Configuration is delivered as code where your environment allows, so changes can be reviewed and rebuilt.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Support covers OpenEBS upgrades and Kubernetes upgrades that affect storage components, with the test plan rerun each time.
- Quotes follow from the written scope. Ask for the included test cases, handover documents and retainer terms before you sign.

