Linux Tips

NFS Mount Failed: unmatched host and Permission Denied

After configuring NFS Share when you finally try to mount the share on your system or on server you get following error:

root@auth [~]# mount 192.168.0.2:/home/nfsshare/ /home/dcport/nfs
mount: 192.168.0.2:/home/nfsshare/ failed, reason given by server: Permission denied
root@auth [~]#

For more information I would suggest you to check the Log file and if you find following in the logs:

refused mount request from 192.168.0.2 for /home/nfsshare/ (/home/dcport/nfs): unmatched host
refused mount request from 192.168.0.2 for /home/nfsshare/ (/home/dcport/nfs): unmatched host
refused mount request from 192.168.0.2 for /home/nfsshare/ (/home/dcport/nfs): unmatched host

The above error points that the exports file on your NFS Server won’t have proper entries to allow connections from your system or server. To fix this issue open and edit /etc/exports and make sure you have records like:

/home/nfsshare/ 192.168.1.0/24(ro,root_squash)

Now try to mount NFS Share on your system.

2 Comments

  1. Hello, i think that i saw you visited my weblog so i got here to go back the want?.I am attempting to in finding things to enhance my web site!I suppose its good enough to use some of your ideas!!

  2. I am really impressed along with your writing talents and also with the structure in your weblog. Is this a paid theme or did you modify it your self? Either way keep up the excellent quality writing, it is rare to look a great weblog like this one today..

Leave a Reply