RPC timeout under NFS

RPC timeout under NFS

Post by Henry Leparska » Sat, 28 Oct 2000 23:59:56



Hi,
    I'm getting RPC timeouts when trying to mount a filesystem from a
Slackware Linux machine to a solaris machine.

I have made the UID, GID's of the users match on both systems.

Here is the /etc/exports file from Slackware:

/home/tommy         remhost.compnay.on.ca(ro)

The Slackware machine has nfsd, mountd, and portmap running. It has been
rebooted since the making of the exports file.

I mount on solaris via:

    mount -F nfs -o ro remhost.compnay.on.ca:/home/tommy       /tommy

Has anyone else seen this behaviour. I'm out of ideas!

    Thanks,

    Henry Leparskas
    UWO Astronomy

 
 
 

RPC timeout under NFS

Post by Henry Leparska » Sun, 29 Oct 2000 00:05:52


Hi,
    Just for more information, I can run 'rpcinfo -p'. This yields:

bash# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp   1004  mountd
    100005    2   udp   1004  mountd
    100005    1   tcp   1007  mountd
    100005    2   tcp   1007  mountd
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs

So I don't think that I have a 'hosts.deny' problem, though I do DENY ALL
for ALL:
Does this make sense?

    Henry


> Hi,
>     I'm getting RPC timeouts when trying to mount a filesystem from a
> Slackware Linux machine to a solaris machine.

> I have made the UID, GID's of the users match on both systems.

> Here is the /etc/exports file from Slackware:

> /home/tommy         remhost.compnay.on.ca(ro)

> The Slackware machine has nfsd, mountd, and portmap running. It has been
> rebooted since the making of the exports file.

> I mount on solaris via:

>     mount -F nfs -o ro remhost.compnay.on.ca:/home/tommy       /tommy

> Has anyone else seen this behaviour. I'm out of ideas!

>     Thanks,

>     Henry Leparskas
>     UWO Astronomy



 
 
 

RPC timeout under NFS

Post by Steve Housem » Sun, 29 Oct 2000 17:35:35


I'm no expert, especially on hosts_access (see man 5 hosts_access)
but I would check with no hosts.deny to ensure that is not the
problem.  I would *guess* that the portmapper et al only read this
on startup  (and a quick strace of portmap with rpcinfo indicates that
it does NOT  read it for each request) so would need to reboot the
portmapper etc after changing.

The other thing to watch for is the nfs version ... your rpcinfo
indicates v2 (not sure whether v3 is available for linux yet)
and sun probably expects v3 .. check your clients mount man page
for that option.

I have an nfschecklist at

http://freespace.*.net/steve.houseman/nfschecklist

Hope you fix it soon,

Steve Houseman

--

currently  steve.houseman at * net      

 
 
 

RPC timeout under NFS

Post by moocow the bovin » Mon, 30 Oct 2000 22:01:57



> So I don't think that I have a 'hosts.deny' problem, though I do DENY ALL
> for ALL:
> Does this make sense?

>     Henry

  Hi,

   I dunno, but I have had hosts_deny problems with rpc-based servers
(esp. ypserv) -- although allowed in hosts.allow, my clients were
getting bounced by the ALL line in hosts.deny -- my solution was
to explicitly un-deny access for these hosts (again) in hosts.deny:
     ypserv:                        ALL EXCEPT my.clients

--  
  marmosets,
        Bryan

 
 
 

1. RPC timeout on NFS mount

I'm trying to

mount -F nfs nodea:/foo /foo

and I keep getting RCP timeouts.   I got it to work once, the first time I
tried it, but then I shutdown the machine to move it to another office and
now it keeps timing out.  I can NFS the other way, I can ping, rlogin, etc,
so I know there's network connectivity.  I can even use rwall, so rpcbind
must be working.  Any suggestions on how I can debug this further?

Thanks!
JD Brennan

2. Speakfreely in Linux

3. NFS problems (RPC timeout)

4. two external routes

5. NFS RPC Timeout Problem

6. cvs question

7. NFS PROBLEM - RPC Timeout error

8. Running out of semaphores

9. RPC Timeouts: yp and NFS (can't get a request slot)

10. NFS RPC Timeout RH9 to RH8 mount

11. NFS mounting problem (RPC timeout)

12. NFS - mount: RPC: Timed out - how to increase timeout

13. Solaris 2.8 NFS Server, RH client RPC timeout