LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-13-2014, 09:09 AM   #1
DotrainExpress
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
NFS shares in Fedora


Hello -
I have two Fedora boxes. I'm trying to setup a handful of NFS shares on one of them and access from the other but am running into problems.

ServerA ip: 172.16.10.11
ServerB ip: 172.16.10.10

Here is the /etc/exports on the ServerA (hosting the NFS shares):
/home/usera/files 172.16.10.10(rw,sync,no_root_squash)
/home/userb/files 172.16.10.10(rw,sync,no_root_squash)

Here is the /etc/fstab on ServerB:
172.16.10.11:/home/usera/files /mnt/userafiles nfs defaults 0 0
172.16.10.11:/home/userb/files /mnt/userbfiles nfs defaults 0 0

I can ping and ssh back and forth by both IP and name. However, when running: mount -a -v from ServerB I get this message:
mount.nfs: trying text-based options 'vers=4,addr=172.16.10.11,clientaddr=172.16.10.10'
mount.nfs: mount(2): No route to host

I have disabled both firewalls for testing.

Any ideas?
 
Old 02-13-2014, 09:07 PM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
have you made changes to your iptables to allow clients to access your nfs server?

check out this link:
http://www.cyberciti.biz/faq/centos-...-server-ports/
 
Old 02-13-2014, 10:58 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you restart all the programs that are part of NFS using "systemctl "
or reboot


as of 18 fedora is using SystemD now and not the old SystemV
 
Old 02-14-2014, 06:32 AM   #4
DotrainExpress
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the help.

The person that setup 'ServerA' told me a few hours ago that it was actually a clone of another machine... After dinking with hostnames, routes, etc... I just gave it a fresh install and it's all good.

But thank you for your replies!
 
  


Reply



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
Fedora 15 not mounting NFS shares from fstab PreacherBill Fedora 11 07-05-2011 03:16 PM
How to automount nfs shares Savita Eli Red Hat 6 08-04-2009 04:17 PM
automount NFS shares Savita Eli Red Hat 1 07-24-2009 01:57 PM
NFS shares sachinh Linux - Server 3 06-19-2008 03:42 AM
NFS shares not working windsurfer Linux - Software 6 04-10-2007 04:58 AM

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

All times are GMT -5. The time now is 05:01 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
Open Source Consulting | Domain Registration