NFS Client reports Permission Denied, Server reports Permission Granted

Posted by VxJasonxV on Server Fault See other posts from Server Fault or by VxJasonxV
Published on 2011-05-06T23:26:44Z Indexed on 2012/10/22 11:04 UTC
Read the original article Hit count: 472

Filed under:

I have two RedHat 4 Servers. The client is 4.6, the server is 4.5. I'm attempting to mount a share from the server, onto the client via NFS.

The /etc/exports configuration is as follows:

/opt/data/config bkup(rw,no_root_squash,async)
/opt/data/db bkup(rw,no_root_squash,async)

exportfs returns these (among other) shares, nfs is running according to ps output.

I've been attempting to use autofs on the client, but have opted to just mount the share manually considering the issues I'm having.

So, I issue the mount request:
mount dist:/opt/data/config /mnt/config

mount: dist:/opt/data/config failed, reason given by server: Permission denied

Ok, so let's see what the server has to say for itself.

May 6 23:17:55 dist mountd[3782]: authenticated mount request from bkup:662 for /opt/data/config (/opt/data/config)

It says it allowed the mount to take place.

How can I diagnose why the client and server are disagreeing on the result?

© Server Fault or respective owner

Related posts about nfs