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



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

NFS Troubleshooting

20201022

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:
/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 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.