Longhorn is a distributed block storage system for Kubernetes. It stores replicas of
volumes in files on disk (in
/var/lib/longhorn by default) and attaches them to nodes using iSCSI (frontends as block devices in
The UI is accessible at longhorn.netsoc.tcd.ie, where volumes can be managed.
Longhorn has quite an effective backup system. Currently, the backup target is set to dev's home server via S3 (a MinIO server).
Mounting a volume on a host
- Go to the "Volume" page in the Longhorn UI
- Attach the volume to a host (it must be detached from any workloads first)
- SSH into the host where the volume has been attached
- Find the volume by its name under
/dev/longhornand mount it