NFS server on Fedora 16

April 08, 2012 at 08:44 AM | categories: Tips, Fedora, Linux | View Comments

With the advent of systemd on Fedora 16 setup of NFS has changed quite abit, some of the services have been renamed which can cause a bit of frustration for users who are used to the old setup.

Setup

The exports file format remains the same so

/srv 192.168.0.0/255.255.255.0(rw,async,no_subtree_check)

Services

Starting the required services

systemctl start rpcbind.service
systemctl start nfs-server.service
systemctl start nfs-lock.service
systemctl start nfs-idmap.service

To make them startup at boot, chkconfig is gone so use systemctl

systemctl enable rpcbind.service
systemctl enable nfs-server.service
systemctl enable nfs-lock.service
systemctl enable nfs-idmap.service

To view your exports.

showmount --exports

blog comments powered by Disqus