Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got two identical RHEL boxes and would like to mount a directory from one to the other.

my command:

[me@serv_dev ~]$ sudo mount serv_prod:/my/dir /mnt/my/dir

times out after a few minutes:

mount: mount to NFS server 'eseweb.sats.corp' failed: System Error: Connection timed out.

I can ping and log on to serv_prod with my username. Ensured /mnt/my/dir exists.

What other network connectivity needs to be in place for this to work? any ports besides ssh? any configuration/permission on remote host?

Google was no help when searching for mount per-requisites.

share|improve this question
    
nfs ports, of course.... unless you're tunneling it over ssh. –  Marc B Jan 3 '13 at 18:18
add comment

migrated from stackoverflow.com Jan 3 '13 at 22:15

This question came from our site for professional and enthusiast programmers.

1 Answer

This is an NFS mount. It does not use SSH. On serv_prod, you need to make sure:

the NFS port (2049/tcp) is accessible through your firewall:

# iptables --list
# vim /etc/sysconfig/iptables
# /etc/init.d/iptables restart

you export /mnt/my/dir:

# exportfs -v
# vim /etc/exports
# exportfs -r

and the NFS service is running, of course.

Please Google for more details, but this is general formula.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.