1829596 Members
2113 Online
109992 Solutions
New Discussion

nfs rpc timed out.

 
soma_3
Occasional Advisor

nfs rpc timed out.

ERROR:nfs mount: get_fh: thuraya0:: RPC: Rpcbind failure - RPC: Timed out

I have two 11.23 server on defferent subnets and firewall in between.

I am getting the above mentioned error after submitting the nfs mount command.

here i am attaching some required out puts at the server side.

#ps -ef | grep nfs
root 9 0 0 Aug 22 ? 0:08 nfsktcpd
root 28225 1 0 16:11:46 ? 0:00 /usr/sbin/nfsd 4
root 28232 28225 0 16:11:47 ? 0:00 /usr/sbin/nfsd 4
root 28221 1 0 16:11:46 ? 0:00 /usr/sbin/nfsd 4
root 28228 28225 0 16:11:46 ? 0:00 /usr/sbin/nfsd 4
root 28226 28225 0 16:11:46 ? 0:00 /usr/sbin/nfsd 4

#ps -ef | grep mountd
root 28180 1 0 16:10:48 ? 0:00 /usr/sbin/automountd
root 28214 1 0 16:11:46 ? 0:00 /usr/sbin/rpc.mountd

#rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 tcp 51423 status
100024 1 udp 56040 status
100021 1 tcp 51424 nlockmgr
100021 1 udp 56041 nlockmgr
100021 3 tcp 51425 nlockmgr
100021 3 udp 56042 nlockmgr
100021 4 tcp 51426 nlockmgr
100021 4 udp 56043 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 51427 nlockmgr
100005 1 udp 56050 mountd
100005 3 udp 56050 mountd
100005 1 tcp 51428 mountd
100005 3 tcp 51428 mountd
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs

How to resolve this problem.I went through most of posted suggestions in this forum but couldnt succeed.



11 REPLIES 11
whiteknight
Honored Contributor

Re: nfs rpc timed out.

Soma,

May I know why your nfsd is only 4, the default value nfsd 11.23 should be 16.

you may consider increase this value

WK
please assign points

Problem never ends, you must know how to fix it
Amit Parui
Valued Contributor

Re: nfs rpc timed out.

Hi Soma,

Just start and stop the nfs daemons and its would work fine.

/etc/rc2.config.d/nfs.server stop
/etc/rc2.config.d/nfs.client stop
/etc/rc2.config.d/nfs.core stop

/etc/rc2.config.d/nfs.core stop
/etc/rc2.config.d/nfs.server stop
/etc/rc2.config.d/nfs.client start

Hope it will work !!



If Life gives u a ROCK, its upto u to build a BRIDGE or a WALL !!!
soma_3
Occasional Advisor

Re: nfs rpc timed out.

Thanks for you feed back.

I have tried before to increase this number but no succeed.Beside i have another hp servers on other subnet with same value of 4 and are mounting normal.

I think the problem is some where else.even i opend all ports on the firewall between the two servers but with no success.

points are assigned but the problem is still the same.

soma_3
Occasional Advisor

Re: nfs rpc timed out.

Thanks for you feed back.

I have tried before to increase this number but no succeed.Beside i have another hp 11.23 servers on other subnet with same value of 4 and are mounting normal.

I think the problem is some where else.even i opend all ports on the firewall between the two servers but with no success.

points are assigned but the problem is still the same.

whiteknight
Honored Contributor

Re: nfs rpc timed out.

Soma,

You are saying the other server working, is the NFS cumulative patch same ?

Can you please check if you have installed

PHNE_36257 11.23 NFS cumulative patch


WK
please assign points
Problem never ends, you must know how to fix it
soma_3
Occasional Advisor

Re: nfs rpc timed out.

None of my servers the ok ones nor the problemed one has the patch you mentioned.
PHNE_36257 11.23 NFS cumulative patch
But:-
PHNE_33982 1.0 NFS cumulative patch
PHNE_33102 1.0 RPC commands and daemons cumulative patch
the above patchs are on the ok servers.

But with the problemedd one the followings are installed.

PHNE_32055 1.0 NFS cumulative patch
PHNE_32056 1.0 RPC commands and daemons cumulative patch

soma_3
Occasional Advisor

Re: nfs rpc timed out.

None of my servers the ok ones nor the problemed one has the patch you mentioned.
PHNE_36257 11.23 NFS cumulative patch
But:-
PHNE_33982 1.0 NFS cumulative patch
PHNE_33102 1.0 RPC commands and daemons cumulative patch
the above patchs are on the ok servers.

But with the problemed one the followings are installed.

PHNE_32055 1.0 NFS cumulative patch
PHNE_32056 1.0 RPC commands and daemons cumulative patch

whiteknight
Honored Contributor

Re: nfs rpc timed out.


Hi soma,

try to specifiy the nfs version
example:-
#mount -o bg,vers=3 gator:/tmp/hp /nfsmount



WK
please assign points
Problem never ends, you must know how to fix it
soma_3
Occasional Advisor

Re: nfs rpc timed out.

Hi,
mount -o bg,vers=3 thuraya0:/opt /LATIF
The result is:
nfs mount: get_fh: thuraya0:: RPC: Timed out
nfs mount: retry: retrying(1) for: /LATIF after 5 seconds
nfs mount: retry: giving up on: /LATIF
soma_3
Occasional Advisor

Re: nfs rpc timed out.

Hi
Does any one have other soutions for resolving this issue?
Dave Olker
Neighborhood Moderator

Re: nfs rpc timed out.

Hi,

Are you certain you have the firewall configured properly to allow inbound and outbound access to all the RPC programs used by NFS? The client would need to successfully communicate with:

Daemon Port
------------------ ------------
rpcbind 111
nfsd 2049
rpc.mountd variable
rpc.lockd variable
rpc.statd variable


Proper configuration of the firewall between these boxes is critical for NFS communication between client and server. Some of the configuration is easy - ports 111 and 2049 are always used for rpcbind and nfsd. The other daemons can be tricky to configure because they start on different ports each time.

HP recently introduced a patch that allows you to assign static port numbers to rpc.mountd, rpc.statd and rpc.lockd. The original patch with this enhancement was PHNE_34550 but it has since been replaced by PHNE_36257. After installing one of these patches, you can direct rpc.lockd/statd/mountd to use static port numbers by modifying the LOCKD_PORT, STATD_PORT and MOUNTD_PORT entries of the /etc/rc.config.d/nfsconf file.

Once you are certain that the NFS client is able to successfully communicate with all these RPC daemons on the NFS server the mount should work (assuming everything else is configured properly).

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo