Hello,
I managed to run a NFS server on a Beaglebone a couple of years ago by simply installing the following module.
opkg nfs-utils install
Revisiting the idea with the Beaglebone black I get the following message when installing the package
nfs-utils: unsatisfied recommendation for kernel-module-nfsd
Unsurprisingly the service then fails :
root@beaglebone:~# systemctl status nfsserver.service
Jan 01 02:18:08 beaglebone rpc.statd[820]: Version 1.2.3 starting
Jan 01 02:18:08 beaglebone sm-notify[821]: Version 1.2.3 starting
Jan 01 02:18:08 beaglebone sm-notify[821]: Failed to read monitor data from /var/lib/nfs/sm.bak/state
Jan 01 02:18:08 beaglebone rpc.statd[820]: Failed to read /var/lib/nfs/state: Success
Jan 01 02:18:08 beaglebone rpc.statd[820]: Initializing NSM state
Jan 01 02:18:08 beaglebone rpc.statd[820]: Running as root. chown /var/lib/nfs to choose different user
Jan 01 02:18:08 beaglebone rpc.statd[820]: unable to register (statd, 1, udp).
Jan 01 02:18:08 beaglebone nfsserver[807]: starting statd: done
Jan 01 02:18:08 beaglebone systemd[1]: Failed to start LSB: Kernel NFS server support.
Jan 01 02:18:08 beaglebone systemd[1]: Unit nfsserver.service entered failed state
Trying resuscitation :
root@beaglebone:~# /etc/init.d/nfsserver start
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, ‘mount -t nfsd nfsd /proc/fs/nfsd’ and then restart rpc.nfsd to correct the problem
Then kindly trying to make sense out of the error message
root@beaglebone:~# mount -t nfsd nfsd /proc/fs/nfsd
mount: unknown filesystem type ‘nfsd’
It seems pretty clear that something called “nfsd” is missing, but I can’t figure out what is needed to get it. Apparently it is not a package.
Any advice welcome.
Thanks.