Saturday, July 14, 2012

Proper NFS server service restart on FreeBSD

I always get this wrong, because I only deal with NFS maybe once a year - typically it just works, but I always have issues when first getting it up and running. I'd prefer not to reboot, so this is the proper order:
# killall -9 mountd
# /etc/rc.d/nfsd stop
# /etc/rc.d/rpcbind stop
# /etc/rc.d/rpcbind start
# /etc/rc.d/nfsd start
Starting mountd.
Starting nfsd.

Thanks to: https://www.secure-computing.net/wiki/index.php/NFS

No comments: