54.5 NFS Troubleshooting
Typical error message is:
$ sudo mount /media/sabrina mount.nfs: access denied by server while mounting theano:/media/sabrina
The first thing to check is what is exported from the remote NFS server (e.g., theano) by running the command showmount on the client:
$ showmount -e theano Export list for theano: /media/nuadu 192.168.178.80/28 /media/estril 192.168.178.80/28 /media/sabrina 192.168.178.80/28
One possible cause is that the client’s IP address is out of range, as is the case here:
$ wajig sysinfo ... IP: 192.168.178.45 Uptime: up 21 hours, 24 minutes since 2020-10-21 08:44:41 Load: user, load average: 1.20, 1.41, 1.20 Reboot: not required
See Section ?? for information on the CIDR notation.
Permission Denied — Invalid Argument
If the client gets a Permission Denied and the server reports Invalid Argument errors then on the server try the following procedure:
# wajig stop nfs-kernel-server # rm /var/lib/nfs/* # touch /var/lib/nfs/rmtab # wajig start nfs-kernel-server # exportfs -a
Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.