LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2013, 10:53 AM   #1
threezerous
Member
 
Registered: Jul 2009
Posts: 89

Rep: Reputation: 15
Mount command fails with connection timed out....port issue?


I am trying to give read access to a data directory one one linux host (Host A)to an application on another linux host(Host B).

I plan to mount the data directory /abc/data of Host A on Host B. The steps I followed were.

On Host A
As root, Edit /etc/exports and add an entry as
/mnt/dataA <HostA FQDN>(ro)
Restart nfs service as
service nfs stop
service nfs start

On HostB
Mount the source directory as
mount <HostA FQDN>:/abc/data /mnt/dataA nfs ro,rsize=8192,hard,intr,nfsvers=3,tcp 1 2

This configuration runs elsewhere (between Hosts C & D), but fails here. I suspect it is a firewall issue, but not sure what port request I should ask my netops team to open.

Any advise is greatly appreciated.

Thanks much.
 
Old 05-03-2013, 11:02 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 979
Blog Entries: 2

Rep: Reputation: 235Reputation: 235Reputation: 235
111 and 2049 would be my suggestion (check with netstat on your server)
 
Old 05-03-2013, 11:24 AM   #3
threezerous
Member
 
Registered: Jul 2009
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks much.....I think it is 111 for us, since I see that port open between Hosts C & D, but not between A & B. I will give it a try.
 
  


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
ssh port 22 connection timed out dev21082 Linux - Newbie 18 07-17-2013 08:37 AM
[SOLVED] ssh port 22: Connection timed out (ubuntu 10.04) drkayak Linux - Networking 3 03-04-2012 11:54 AM
mount.nfs: Connection timed out rsheikh Linux - Newbie 1 12-19-2011 10:48 PM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
ssh: connect to host port 22: Connection timed out shogun1234 Linux - Networking 1 06-21-2011 01:07 PM


All times are GMT -5. The time now is 02:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration