Terminology

Attach/Reattach

To attach a block device is to make it appear on the Linux node (for example, /dev/longhorn/testvol).
If the volume engine dies unexpectedly, Longhorn will automatically reattach the volume.

Backup

A backup is an object stored in the backupstore. The backupstore may contain both volume backups and system backups.

Backupstore

The backupstore is the external storage location where Longhorn backups are saved.
It can be either an NFS share, CIFS share, or an S3-compatible object store.
Longhorn connects to a backupstore through a configured backup target.

Backup Target

A backup target is the endpoint used to access a backupstore in Longhorn.

Backup Volume

A backup volume represents all backups associated with a single original Longhorn volume.
It is stored in the backupstore and visible in the Backup page of the Longhorn UI.

Backup volumes contain multiple backups for the same volume.
Backups are created from snapshots and capture the state of the volume at the time the snapshot was taken.
They do not include the snapshot chain or history of changes.

Backups are stored as 2 MiB blocks in object storage by default.

For more details on how snapshots and backups work, see the concepts documentation.

Block Storage

A storage approach in which data is stored in fixed-size blocks, each identified by a memory address.

Block-Type Disks

A block-type disk is an unformatted block device that Longhorn uses directly for V2 Data Engine volumes.

CRD

A Kubernetes custom resource definition.

Cross-Cluster Disaster Recovery

Cross-cluster disaster recovery allows data from a primary Kubernetes cluster to be recovered on a separate cluster using backups.

CSI Driver

The Longhorn CSI Driver is a container storage interface that can be used with Kubernetes. The CSI driver for Longhorn volumes is named driver.longhorn.io.

The CSI driver name for Longhorn volumes is driver.longhorn.io.

Disaster Recovery Volumes (DR volume)

A DR volume is a special volume used to maintain a copy of data in a backup cluster so the workload can recover if the primary cluster becomes unavailable. DR volumes are used to increase the resiliency of Longhorn volumes.

Each backup volume in the backupstore corresponds to one original volume, and each DR volume corresponds to a backup volume.

DR volumes can be created to accurately reflect backups of a Longhorn volume but cannot function as normal Longhorn volumes until they are activated.

Ext4

A Linux filesystem supported by Longhorn for storage.

Filesystem-Type Disks

A filesystem-type disk is a block device formatted with an extent-based filesystem (such as ext4 or XFS). Longhorn mounts it and stores v1 Data Engine replica data.

Frontend

Frontend refers to a block device exposed by a Longhorn volume.

Instance Manager

The Longhorn component responsible for managing the lifecycle of engine and replica instances.

Longhorn Engine

A Longhorn Engine is a data plane component of Longhorn. It is a per-volume storage controller responsible for synchronously replicating data to the volume’s replicas.

Longhorn Manager

The Longhorn Manager is the control plane component of Longhorn. It runs as a Kubernetes DaemonSet. It is responsible for managing volumes, handling API requests, and orchestrating Longhorn Engines, Replicas, and other custom resources (CRs).

Longhorn Volume

A Longhorn volume is a Kubernetes volume managed and replicated by Longhorn.

For each volume, Longhorn Manager creates:

  • a Longhorn Engine instance
  • multiple replicas, each containing a snapshot chain representing the volume’s history

By default, three replicas are created and distributed across different nodes to ensure high availability.

Maintenance Mode

A volume attachment mode that attaches the volume without enabling the frontend, primarily used to revert a volume from a snapshot.

Mount

A Linux command used to attach a block device to a directory on the node (for example, mount /dev/longhorn/testvol /mnt).

NFS

A distributed filesystem protocol that provides network-based file access.

Longhorn supports using NFS in two cases:

  • As a backupstore for secondary storage.
  • As the underlying filesystem for RWX volumes.

Object Storage

A data storage architecture that manages data as objects, each containing the data, a variable amount of metadata and a globally unique identifier.
Longhorn supports backing up volumes to S3-compatible object stores.

Offline Expansion

A volume expansion performed while the volume is detached.

Overprovisioning

Overprovisioning allows more logical storage to be allocated than the physical capacity available.

For example, a node with 200 GiB of disk space (with 50 GiB reserved for the OS) could provision 750 GiB of Longhorn volumes.

The Storage Over Provisioning Percentage is configurable in Longhorn settings.

PersistentVolume

A PersistentVolume (PV) is a Kubernetes resource that represents a piece of storage in the cluster. It may be provisioned manually or dynamically using StorageClasses.

It is a cluster-level resource and is required for pods to use persistent storage that is independent of the pod lifecycle.

For more information, see the Kubernetes documentation on persistent volumes.

PersistentVolumeClaim

A PersistentVolumeClaim (PVC) is a user request for storage. Pods can request specific levels of resources (CPU and Memory) by using a PVC for storage. Claims specify desired size and access modes (for example, ReadWriteOnce or ReadOnlyMany).
Pods use PVCs to obtain persistent storage.

See the official Kubernetes documentation.

Primary Backups

The replicas of a Longhorn volume within the Kubernetes cluster can be considered primary backups.

Read Index

The read index is an in-memory data structure used by each replica to improve read performance.
It records which differencing disk (snapshot) contains the valid data for each 4K block.

Recurring Snapshots

Recurring snapshots allow Longhorn to automatically create and retain snapshots at a specified frequency (for example, hourly or daily).

Remount

After reattachment, Longhorn automatically detects and mounts the filesystem of the volume.

Replica

A replica is a Longhorn volume data store that consists of a history of the changes in the data within a volume.

S3

Amazon S3 is an object storage service.

Salvage a Volume

Salvage operation is required when all replicas become faulty (for example, due to network disconnection).
During salvage, Longhorn tries to identify any usable replicas and then uses them to recover the volume.

Secondary Backups

Backups stored external to the Kubernetes cluster, on S3, NFS or CIFS.

SMB/CIFS

A network file-sharing protocol that provides remote file access similar to local storage.
Longhorn supports using SMB/CIFS as a backupstore for secondary storage.

Snapshot

A snapshot captures the state of a volume at the time the snapshot is created. Each snapshot stores only the changes that overwrite earlier data, so a chain of snapshots is required to represent the full state.

Volumes can be restored from snapshots.

See the concepts documentation for more details.

Snapshot Data Integrity

Snapshot Data Integrity is a Longhorn feature that hashes snapshot disk files and periodically checks their integrity to detect filesystem-unaware corruption, such as bit rot.

Stable Identity

StatefulSets have a stable identity, meaning Kubernetes will not force-delete the Pod for the user.

StatefulSet

A Kubernetes resource used for managing stateful applications.

StorageClass

A Kubernetes resource used to automatically provision PersistentVolumes for pods.

System Backup

A system backup contains a bundle of Longhorn system resources and is stored in the backupstore.

See the Longhorn System Backup Bundle for details.

Thin Provisioning

Longhorn is a thin-provisioned storage system. That means a Longhorn volume will only take the space it needs at the moment. For example, a 20 GiB volume that stores 1 GiB of data uses only 1 GiB of disk space.

Umount

A Linux command that detaches a filesystem from the file hierarchy.

V1 Data Engine

The V1 Data Engine is the original data plane component of Longhorn. It uses host filesystem sparse files for thin provisioning, with volumes composed of replicas, supporting snapshots and backups.

V2 Data Engine

The V2 Data Engine is Longhorn’s data plane. It utilizes SPDK and huge pages, and uses block devices to provide higher performance.

Volumes (Kubernetes Concept)

A Kubernetes volume allows a pod to store files during its lifetime.
These files persist across container restarts but not when the pod is deleted.

To preserve storage beyond the pod lifecycle, a PersistentVolume (PV) is required.

See the Kubernetes documentation - Volumes for more details.

XFS

A filesystem supported by most Linux distributions. Longhorn supports XFS for storage.


© 2019-2025 Longhorn Authors | Documentation Distributed under CC-BY-4.0


© 2025 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.