Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 05-16-2005, 12:45 PM   #1
LQ Newbie
Registered: Nov 2004
Location: East Windsor, NJ
Distribution: Mandriva
Posts: 18

Rep: Reputation: 0
NFS Server thinks its exporting, client denied

I am getting some crazy behavior from an NFS server. The server seems to think
that it is properly exporting and allowing clients to mount directories, but the
clients show the following error message when I try to mount.

[root@hestia /]# mount -t nfs hestia:/opt/test /mnt/nfs
mount: hestia:/opt/test failed. reason given by server: Permission denied

(The NFS howto covers this error message, but that didn't work.)

On the server side I get the following message in /var/log/messages.
May 16 11:30:21 hestia rpc.mountd authenticated mount request from hestia.x.x:720 for /opt/test (/opt/test)
(for now I am just trying to mount the filesystem back onto the server)

The previous message, to me, seems to indicate that the server thinks it is
exporting the filesystem to the client machine.

Before I forget, I am running Mandriva 10.1 with kernel 2.6.11-1mdksmp.

My /etc/exports line is this:

From every way I know how to check, the server appears to be exporting the
correct filesystem. This included using exportfs, showmount -e, and looking in
/var/lib/nfs/etab. DNS lookups and reverse lookups work. There are also no
firewalls that could interfere with mounting.

Whenever I attempt to mount the filesystem, the server will increment that
host's count in /var/lib/nfs/rmtab. Which seems to be another indication that
the server thinks it is successfully exporting the directory to the client.
However, rmtab contains a lot of strange looking entries such as:

On an NFS server I set up that is working, the /var/lib/nfs/xtab file contains
the list of hosts that have successfully mounted an exported FS. On the NFS
server that isn't working, xtab is empty.

And finally, a 'showmount -a' gives me a strange looking list such as this:
Hosts on hestia:

Thanks in advance for any feedback.
Old 05-17-2005, 06:12 AM   #2
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Rep: Reputation: 31
And what about the permissions on "/opt/test"?
Using chmod try giving full permission for all users on "/opt/test" and then see.
Old 05-17-2005, 10:39 AM   #3
LQ Newbie
Registered: Nov 2004
Location: East Windsor, NJ
Distribution: Mandriva
Posts: 18

Original Poster
Rep: Reputation: 0
I tried playing around with the permissions again, but even
with the least restrictive permissions it still wouldn't work.

Thanks for the suggestion.

At this point I hope anybody who reads this will just fire out
any suggestions they can think of. If you know me, you'll
know that it isn't unusual for me to miss something obvious.

Just for good measure I have also tried rebooting back into
the same kernel and rebooting into a different kernel. Also,
TCP wrappers are not being used.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 06:16 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 02:01 PM
Permission denied on client when running install script residing on NFS server dstotz Linux - Newbie 2 12-11-2004 03:10 PM
exporting one NFS folder to another NFS and exporting it.... stellarmarine1 Linux - Networking 3 09-20-2004 07:54 AM
nfs server permission denied lackluster Linux - Networking 3 08-21-2004 11:47 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration