DevOpsDocs Help

Add nfs to Longhorn

Longhorn creates a dedicated share-manager-<volume-name> Pod within the longhorn-system namespace for each RWX volume that is currently in active use.

Installation

Each NFS client node needs to have a NFSv4 client installed:

  • Check NFSv4.1 support is enabled in kernel

cat /boot/config-`uname -r`| grep CONFIG_NFS_V4_1
  • Check NFSv4.2 support is enabled in kernel

cat /boot/config-`uname -r`| grep CONFIG_NFS_V4_2
  • install NFSv4 client:

apt-get install nfs-common

Resources

Last modified: 14 January 2025