FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I ask this in a little different question before, but has anybody had any experience setting up nfs shares in Fedora so they can be mounted by other linux boxes ? Mounting other shares from Fedora isn't a problem (client), but making my own directories available to other linux systems (server) is what I'd like to know how to get running.... Anybody do this already with Fedora ?
The first argument before the (), is for the hosts you want to be able to access the share. You can specify hostnames, IP addresses, subnets, or all with *.
rw, means read-write, ro means read-only
no_root_squash means that root users can have root access to all files on the share. The default is root_squash, which means that root users can only access files that are world readable.
After adding all the shared directories you want, you need to re-start (or start) nfsd. There should be a script somewhere in /etc/rc.d/init.d that will start nfs
Thanks Shubb - I have made the entries in the exports file and done the restart with exportfs -ra, even rebooted, yet when I do a rpcinfo -p, I don't see nfs in the list, or does it need to be there in order to work ? Trying to mount the shared directory from another linux box does not work either. Have you actually created exports and been able to mount them from another machine ?
Yes, I have set this up a few times, and I work with NFS mounts every day. The snippet that I posted here is a sample from a server that I have set up. I normally use Slackware, but I also tried it on a RedHat 9, and it works the same way.
Do you see the nfs processes running when you do a "ps -aux |grep nfs"?
Do you have iptables or another firewall set up on this machine? If so, are you sure that you opened all the ports?
When you try to mount from another machine, what errors do you get?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.