Networking Forums

Networking Forums > Computer Networking > Linux Networking > nfs strange failures (getfh, linux server, solaris client)

Reply
Thread Tools Display Modes

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

 
 
Chris Phillips
Guest
Posts: n/a

 
      06-30-2004, 06:19 PM
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
 
Reply With Quote
 
 
 
 
Chris Phillips
Guest
Posts: n/a

 
      07-01-2004, 02:39 PM
Nevermind on all of that - I figured it out. Client 1 was not in the
hosts file of server1. Putting it in fixed the problem... of course
server2 wasn't there either... and client 1 wasn't in server2's hosts
file...

Chris Phillips



(E-Mail Removed) (Chris Phillips) wrote in message news:<(E-Mail Removed) om>...
> 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

 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-01-2004, 07:25 PM
On Thu, 01 Jul 2004 07:39:11 -0700, Chris Phillips wrote:
> Nevermind on all of that - I figured it out. Client 1 was not in the
> hosts file of server1. Putting it in fixed the problem... of course
> server2 wasn't there either... and client 1 wasn't in server2's hosts
> file...


Now I'm confused. You said you had NIS. Why aren't you using NIS to
resolve the host names on all your machines? One place to setup/fix. You
might have to adjust your /etc/nsswitch.conf to add nis in there.

> (E-Mail Removed) (Chris Phillips) wrote in message
> news:<(E-Mail Removed) om>...
>> 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...


--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux NFS client to Solaris 8 NFS Server uberlinuxguy@gmail.com Linux Networking 0 10-16-2007 08:52 PM
Mounting nfs from solaris client on linux server Thomas Richter Linux Networking 0 08-04-2007 03:18 PM
Linux NIS Server with Solaris NIS Client tdenham@cfl.rr.com Linux Networking 3 09-06-2005 01:15 PM
Solaris NIS server and Linux NIS client : problems Srihari Raghavan Linux Networking 8 09-07-2004 11:38 PM
solaris NFS hangs on linux client Monte Ohrt Linux Networking 1 06-27-2003 09:35 PM



1 2 3 4 5 6 7 8 9 10 11