nfs strange failures (getfh, linux server, solaris client)

From: Chris Phillips (angels__tear_at_hotmail.com)
Date: 06/30/04


Date: 30 Jun 2004 11:19:45 -0700

So, I'm perplexed. I have a server, running Mandrake 10.0 (community),
that is providing NIS and NFS services to a handful of Solaris 9
clients.

The problem is that one of the clients cannot mount anything from the
server, but other clients can, and the faulty client is able to mount
from other servers. Let me outline a bit.

Machines:
server1
server2
client1
client2
client3

Server1 is the server I was speaking about above, providing NIS and
NFS to the clients in the network. Server2 is another machine in the
building, not actually supposed to be involved in the network, but I'm
using it for testing. Both servers are running Mandrake 10.

Client1 is the new client, which is unable to mount anything from
Server1. Client2 has been setup for a couple of days, and is working
correctly (mounting properly). Client 3 is in a separate setup state,
but is also working correctly. All three clients are running Solaris
9.

Here is the /etc/exports on server1
/home 10.22.0.0/16(no_root_squash,rw,async)
/home -root=10.22.0.0/16(async)
/var/suns/usr/local 10.22.0.0/16(no_root_squash,rw,async)
/var/suns/usr/local -root=10.22.0.0/16(async)
/tmp 10.22.0.0/16(ro)

Here is the /etc/vfstab from all of the clients:
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1
 no -
server1:/home - /home nfs - yes -
server1:/var/suns/usr/local - /usr/local nfs - yes -
swap - /tmp tmpfs - yes -

Client1 gets the following error message when trying to mount any of
the exports from Server1:
nvs mount: server1:/home: Permission denied
nfs mount: server1:/var/suns/usr/local: Permission denied

Here is the tail of /var/log/messages on Server1
Jun 30 11:16:49 wardrobe rpc.mountd: authenticated mount request from
:983 for /home (/home)
Jun 30 11:16:49 wardrobe rpc.mountd: getfh failed: Operation not
permitted
Jun 30 11:16:49 wardrobe rpc.mountd: authenticated mount request from
:985 for /var/suns/usr/local (/var/suns/usr/local)
Jun 30 11:16:49 wardrobe rpc.mountd: getfh failed: Operation not
permitted

Client1 is able to mount anything exported by Server2. And Server2,
Client2, and Client3 are able to mount everything exported by Server1.
The only failures are when Client1 tries to mount anything from
Server1.

Any ideas are greatly appriciated!

Chris Phillips



Relevant Pages

  • Re: nfs strange failures (getfh, linux server, solaris client)
    ... hosts file of server1. ... > The problem is that one of the clients cannot mount anything from the ...
    (comp.os.linux.networking)
  • Re: rsyncing rsynched data
    ... I've a problem rsynging rsynched data: ... I have some clients that backup their data on my server (let's call it ... works fine until server1 fails. ... In this case the clients have to rsync ...
    (alt.os.linux)
  • Win2003 Server: Server not reachable + Browser service erros
    ... I manage a simple network with two Win2003 Std and about ~15 clients with ... of the network, and it's a problem becasue on that server is installed IIS ... After 60-90 seconds the Server1 will be reachable again. ... The browser service was unable to retrieve a list of servers from the ...
    (microsoft.public.windows.server.networking)
  • Re: DNS QUERIES
    ... name is created in DNS. ... which means that every new query to this name should bring the next ... A record of your domain name, meaning Server1 IP. ... all clients (xp pro machines and even ...
    (microsoft.public.windows.server.dns)
  • Re: [Off-topic]cvs hangs due a dangling nfs.
    ... I use automount to share a partition via NFS so every machine can mount this share. ... One the machines was removed, but now a few clients can't use the CVS server. ... If you do use cvs across nfs, may I suggest you investigate the use of verify_repo running on what ever machine now physically hosts the repository. ...
    (Fedora)