How to restart NFS server on Ubuntu - Switched On Tech Design
www.sotechdesign.com.au › how-to-restart-nfsJul 01, 2014 · Once you set up your NFS exports by adding lines to /etc/exports you need to restart your NFS server; do this with the following: sudo /etc/init.d/nfs-kernel-server restart. You should see output along the lines of: * Stopping NFS kernel daemon [ OK ] * Unexporting directories for NFS kernel daemon…. [ OK ] * Exporting directories for NFS kernel daemon… exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “10.1.1.87/24:/nfs/sharedDir”.
Service - NFS | Ubuntu
https://ubuntu.com/server/docs/service-nfsFor example, systemctl restart nfs-server.service will restart nfs-mountd, nfs-idmapd and rpc-svcgssd (if running). On the other hand, restarting nfs-utils.service will restart nfs-blkmap, rpc-gssd, rpc-statd and rpc-svcgssd.. Of course, each service can still be individually restarted with the usual systemctl restart <service>.. The nfs.systemd(7) manpage has more details on the …