NFS mount fails, permission denied, no export entry
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Nfs Mount Fails, Permission Denied, No Export Entry
02:56 Answer 1 Score 1
03:40 Accepted Answer Score 1
04:20 Answer 3 Score 1
04:43 Thank you
--
Full question
https://superuser.com/questions/549712/n...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #nfs
#avk47
ANSWER 1
Score 1
Check and see if the UID and GUID for the NFS users are the same on server and client. Also, make sure on server the folder is permission 777. This is my /etc/exports on my server for my client to access.
Create a NFS share directory: (Create each Server with IP, space seperated)
mkdir /var/nfs vim /etc/exports /var/nfs 10.180.82.250(rw,sync,root_squash,anonuid=530,anongid=530,no_subtree_check)
ACCEPTED ANSWER
Score 1
Feb 11 20:12:42 mandrake mountd[460]: refused mount request from lap-fzs-2 for /data (/): no export entry
Since the server's rejection notice claims that there is "no export entry" for Host C, then perhaps you should try an unambiguous line in the /etc/exports
file with the explicit hostname or the full IP address for C.
Also try issuing an exportfs -a
command at the server.
I often have problems accessing my NFS server even after reboots. Explicitly issuing the exportfs -a
command is the reliable solution (for me).
ANSWER 3
Score 1
In my case, -o vers=3 is the answer:
$ sudo mount -o vers=3 192.168.172.1:/A/DIR /mnt
- NFS Server: Ubuntu desktop 12.04 32-bit vmware host
- NFS Client: Ubuntu server 12.04 64-bit vmware guest (host-only mode)