Network File System
Jump to navigation
Jump to search
NFS
Crashed NFS server
- You can unmount a non-responsive NFS server by using the -l (lazy) option:
umount -l /mnt/data
Stale file handle error
- If you get this error, and are unable to mount the share on the client, just restart the server. For instance on Debian:
sudo systemctl restart nfs-server
- Just edit /etc/exports:
/mnt/data 192.168.0.0/24(rw,sync)
- This would grant access to all IPs in range 192.168.0.*. You may need to restart the server (/etc/init.d/nfs restart) for the share to be actually added.
Samba
- Using Samba can make sense in some cases, as more clients support Samba than NFS. For instance, 4XVR Video Player supports Samba but not NFS.
- Setting up Samba is pretty quick. Here is a good tutorial that works fine on Debian.