LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2013, 09:56 AM   #1
muttalmanithan
LQ Newbie
 
Registered: Jul 2013
Distribution: RHEL
Posts: 1

Rep: Reputation: Disabled
mount.nfs: Connection timed out


HI,

Getting time of nfs mount. But both showmount & rpcinfo output looks fine.

# showmount -e 10.236.1.179
Export list for 10.236.1.179:
/export/app (everyone)


# rpcinfo -p 10.236.1.179
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 41799 rquotad
1073741824 1 tcp 53485
100005 1 udp 52289 mountd
100005 1 tcp 42820 mountd
100005 2 udp 52289 mountd
100005 2 tcp 42820 mountd
100005 3 udp 52289 mountd
100005 3 tcp 42820 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100024 1 udp 39170 status
100024 1 tcp 43773 status
100133 1 udp 39170
100133 1 tcp 43773
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr


# mount -v 10.236.1.179:/export/app /mnt/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Tue Jul 15 15:41:50 2013
mount.nfs: trying text-based options 'vers=4,addr=10.236.1.179,clientaddr=10.236.1.170'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=10.236.1.179'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.236.1.179 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.236.1.179 prog 100005 vers 3 prot UDP port 52289
mount.nfs: mount(2): Connection timed out
mount.nfs: Connection timed out

There is no firewall or ip tables between these. Os version is RHEL 6
Any idea what could be the error?

Thanks in advance.
 
Old 07-27-2013, 02:52 PM   #2
Linux MR
Member
 
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57

Rep: Reputation: Disabled
Few things to check
1. What version of NFS are you using? NFS4 you have to mount everything from one "root" dir, NFS3 lets you mount various nested dirs
2. The content of /etc/export (do you use the ip or hostname? what are the permissions)
3. After making changes to your NFS file, did you restart the service to take in the new changes?
4. What do your log files say?

Hope that gets you started
 
Old 07-18-2017, 02:07 AM   #3
vardy_ns
LQ Newbie
 
Registered: Jul 2017
Location: Bangalore
Distribution: Ubuntu/ CentOS
Posts: 1

Rep: Reputation: Disabled
Cool Solved:- NFS time out

Hey guys,

I was getting the same error.
The only reason i realized later for there to be a timeout is because the connection has not been established properly.
Digging deeper into the problem, I checked my firewall, and damnn NFS4 service was blocked !!

Code:
system-config-firewall-tui
Use this command to unblock your NFS in firewall settings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount.nfs: Connection timed out rsheikh Linux - Newbie 1 12-19-2011 09:48 PM
Unable to NFS mount .ERROR (mount: RPC: Remote system error - Connection timed) pabba Linux - Networking 3 05-06-2010 12:09 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
mount.nfs: Connection timed out - Slack 12.1 bigfoot cascadia Linux - Networking 1 08-27-2008 04:32 PM
mount: RPC: Timed out NFS RHEL4 ajaz_javeed Linux - Software 4 04-11-2007 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration