LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-10-2014, 02:40 PM   #1
capperdog
Member
 
Registered: Jan 2014
Posts: 30

Rep: Reputation: Disabled
Question RHEL 6.5 Workstation, NFS Server Setup, Cannot mount drive from another workstaiton.


Hellooo LQ,
Here is the scenario. I have two RHEL 6.5 Workstations. Workstation1 has a partition that needs to be mounted on Workstation2.

The following is what I did to configure Workstation1 to be able to export the /share partion.
1. I set up the /etc/export file on Workstation1 to read
/share IPWorkstation2(rw)
2. ran exportfs -ra to make the changes in th export file take place
3. Made sure that NFS Service was running and retarted the service and the machine and checked it again.
4. No entries were made to the host.allow or deny files so NFS should let Worstation2 through.
5. On Workstation2 I created the /share mount point.
6. From Workstation2 I ran mount IPWorkstation1:/share /share

NFS times out like it cannot reach Workstation1. Workstation1 can be pinged by name or IP. I can ssh into Workstation1 from Worstation2, so connectivity does not seem to be the issue.

I have looked at the file /proc/fs/nfs/exports and there is no info in that file. This may be the problem, but this file is supposed to populate automatically when I run exportfs -ra and/or a reboot happens and Linux sees a change to the /etc/exports file.

Anyway I have exhausted all Google searches and spent too much time, so reaching out for some ideas. I must be missing something very simple...

Last edited by capperdog; 02-10-2014 at 02:42 PM.
 
Old 02-10-2014, 04:33 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
I'm guessing iptables is allowing ssh but is rejecting nfs. You need to allow nfs, portmapper, etc.. in iptables.
 
Old 02-10-2014, 06:50 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,937

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
In addition make sure that all nfs related services are running.


http://www.cyberciti.biz/faq/centos-...configuration/
 
Old 02-11-2014, 08:03 AM   #4
capperdog
Member
 
Registered: Jan 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by twantrd View Post
I'm guessing iptables is allowing ssh but is rejecting nfs. You need to allow nfs, portmapper, etc.. in iptables.
Please explain.
Thanks!
 
Old 02-11-2014, 01:46 PM   #5
capperdog
Member
 
Registered: Jan 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Firewall.... Argh!!! Got it mounted. Thanks LQ!
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
how to mount ntfs flsh drive on rhel 6 server kkbhardwaj Linux - Newbie 2 03-05-2013 05:51 AM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 AM.

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