What is Longhorn?
A cloud-native distributed block storage system for Kubernetes. Longhorn creates replicated volumes across nodes and supports incremental backups to S3-compatible storage.
Longhorn explained
How it works. Longhorn turns local disks on your nodes into replicated block storage. Each volume gets a lightweight engine and a number of replicas (usually 2–3) on different nodes; writes go to all replicas, and when a node fails Longhorn rebuilds the missing replica elsewhere.
In practice. Install with Helm, create a StorageClass with the replica count you want, and configure a backup target (S3-compatible storage) for scheduled backups. The web UI shows volume health, rebuilds and backups.
Common pitfalls.
- ›Sizing disks for the data only: you need data × replicas, plus space for snapshots and rebuilds.
- ›Slow networks between nodes slow every write (replication is synchronous).
- ›Snapshots are not backups — they live on the same disks.
Related tool
K8s Cluster Cost
Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.
Related Calculators
Longhorn Storage
Calculate the total storage required for Longhorn distributed block storage, including replica overhead, snapshot retention, and S3 backup sizing on Hetzner Object Storage.
K8s Cluster Cost
Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.
Related Generators
Related Comparisons
Longhorn vs Rook/Ceph
Longhorn vs Rook/Ceph for Kubernetes distributed storage — compare setup complexity, resource usage, performance, object storage, and production suitability.
Longhorn vs OpenEBS
Longhorn vs OpenEBS for Kubernetes persistent storage — compare replica strategies, backup support, UI, and local vs distributed storage options.