"mount: RPC: Timed out" when attempting to mount NFS filesystem
Solution 1
I resolved this by restarting some of the client side components with
/etc/init.d/nfs-common restart
I was then able to mount the filesystem just fine. Phew ;)
Solution 2
You need to make sure that both the client and the server have a working portmap service, visible from the client. It's possible that you don't have a working portmap on the client.
Related videos on Youtube
Paul Dixon
My mini-bio is here, but I've been professional software developer since 1992. I live in the UK, and I am currently the CTO of LibLynx LLC Some of my popular spare time projects have included Geograph British Isles, pastebin.com. I am mainly active in php, javascript, mysql and c++ questions #SOreadytohelp
Updated on September 17, 2022Comments
-
Paul Dixon almost 2 years
Following a reboot of an NFS server, client machines are unable to mount it, returning the message"mount: RPC: Timed out"
- I've ruled out iptables rules by clearing them
- /etc/exports on the server is unchanged
- rpcinfo -p from the client to the server looks OK:
program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100021 1 udp 32791 nlockmgr 100021 3 udp 32791 nlockmgr 100021 4 udp 32791 nlockmgr 100021 1 tcp 32768 nlockmgr 100021 3 tcp 32768 nlockmgr 100021 4 tcp 32768 nlockmgr 100005 1 udp 618 mountd 100005 1 tcp 621 mountd 100005 2 udp 618 mountd 100005 2 tcp 621 mountd 100005 3 udp 618 mountd 100005 3 tcp 621 mountd 100024 1 udp 32765 status 100024 1 tcp 32765 status
Advice for further diagnostics much appreciated!
-
mdpc almost 13 yearsThis script does not exist on SuSE, Fedora, Centos (and by extension is Redhat).