nfs server | nfs client | version 2
assuming PXE is up and running already
assuming daemon is installed already
vi /etc/default/nfs-kernel-server RPCNFSDCOUNT="--nfs-version 2,3 --no-nfs-version 4 8" RPCMOUNTDOPTS="--manage-gids --nfs-version 2,3 --no-nfs-version 4" systemctl restart nfs-server
vi /etc/rc.d/rc.nfsd # Start 8 nfsd servers by default (an old Sun standard): if [ -x /usr/sbin/rpc.nfsd ]; then echo " /usr/sbin/rpc.nfsd --nfs-version 2,3 --no-nfs-version 4 8" /usr/sbin/rpc.nfsd --nfs-version 2,3 --no-nfs-version 4 8 fi if [ -x /usr/sbin/rpc.mountd ]; then echo " /usr/sbin/rpc.mountd --nfs-version 2,3 --no-nfs-version 4" /usr/sbin/rpc.mountd --nfs-version 2,3 --no-nfs-version 4 fi /etc/rc.d/rc.nfsd restart
check
cat /proc/fs/nfsd/versions
NetBSD Problem Report #54560 - Subject: PXE netboot regression https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54560
Incrase pxeboot code size limit from 64k to 128k. Fixes PR kern/54560. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/pxeboot/Makefile?rev=1.28&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
NetBSD Problem Report #54561 - Subject: pxeboot TFTP block2+ acks broken https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54561
NetBSD Problem Report #54562 - Subject: pxeboot NFS V2 READ Call into the void https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54562
How can I make the nfs server support protocol version 2 in Ubuntu 17.10? https://askubuntu.com/questions/974696/how-can-i-make-the-nfs-server-support-protocol-version-2-in-ubuntu-17-10
Serve Either NFSv3 or NFSv4 From Ubuntu https://willhaley.com/blog/ubuntu-nfs-server/