LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS shares in Fedora (https://www.linuxquestions.org/questions/linux-server-73/nfs-shares-in-fedora-4175494778/)

DotrainExpress 02-13-2014 09:09 AM

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?

JJJCR 02-13-2014 09:07 PM

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/

John VV 02-13-2014 10:58 PM

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

DotrainExpress 02-14-2014 06:32 AM

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!


All times are GMT -5. The time now is 06:55 AM.