User Tools

Site Tools


networking:nfs

This is an old revision of the document!


NFS - Network File System

  • NFS is a network file sharing protocol like SMB/CIFS
  • NFS allows multiple users to mount the same filesystem over a network
  • NFS works well with the Citrix Hypervisor (XenServer) and XCP-ng hypervisors
  • NFS is simpler to manage than iSCSI (block storage)
    • May use bonding for higher availability
  • iSCSI may offer better performance
    • May use MPIO for higher availability

https://www.slashroot.in/how-do-linux-nfs-performance-tuning-and-optimization

http://nfs.sourceforge.net/nfs-howto/ar01s05.html

https://help.ubuntu.com/community/HighlyAvailableNFS

Ubuntu

apt -y install nfs-common

Troubleshooting

NFSv4 handles UID maping differently than NFSv3.

umount /path/mountpoint
mount -a
tail -30 /var/log/syslog

nfsidmap[nnnnn]: nss_getpwnam: name 'root@somedomain.tld' does not map into domain 'localdomain'
networking/nfs.1649859651.txt.gz · Last modified: 2022/04/13 08:20 by gcooper