Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go


NFS Troubleshooting


Access Denied

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 (36.9)) by running the command showmount on the client:

$ showmount -e theano
Export list for theano:

One possible cause is that the client's IP address is out of range, as is the case here:

$ wajig sysinfo
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 58.16 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

Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.