I have attempted to install
nfs on my Pi3 running Raspbian
I have installed:-
sudo apt-get install rpcbind nfs-kernel-server
/var/www *(rw,fsid=0,sync) /home *(rw,sync,no_subtree_check)
I have enabled:-
sudo systemctl enable rpcbind.service sudo systemctl enable nfs-kernel-server
I can mount on a Ubuntu machine with:-
sudo mount -v -o noatime -t nfs 10.1.1.41:/home/pi ~/test
Unfortunately when I reboot Raspbian the
nfs-kernel-server.service does not start.
systemctl status nfs-kernel-server.service ● nfs-kernel-server.service - LSB: Kernel NFS server support Loaded: loaded (/etc/init.d/nfs-kernel-server) Active: active (exited) since Tue 2017-03-07 23:09:48 AEDT; 1 day 14h ago Process: 527 ExecStart=/etc/init.d/nfs-kernel-server start (code=exited, status=0/SUCCESS)
and I need to manually restart with:-
sudo systemctl restart nfs-kernel-server.service
I have seen a few reports of similar problems by others, but none with solutions.