Skip to main content
⎈K8sCalc
storage

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

Related Generators

Related Comparisons

Related Terms