NFS mount fails, permission denied, no export entry

Solution 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).

Solution 2:

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)

Solution 3:

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)