======================================= FreeBSD NFS ======================================= Working simplified example. ======================================= Server (192.168.99.100) --------------------------------------- zfs create tank/nfs zfs create tank/nfs/sharename chmod -R 2777 /export/nfs/* cat << EOF >> /etc/exportfs /export/nfs/sharename -maproot=root -network 192.168.99.0/24 EOF cat << EOF >> /etc/rc.conf # nfs rpcbind_enable="YES" nfs_server_enable="YES" mountd_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" EOF service nfsd start service mountd reload ======================================= Client (192.168.99.101) --------------------------------------- mkdir -p /export/nfs/studio cat << EOF >> /etc/rc.conf nfs_client_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" EOF cat << EOF >> /etc/fstab 192.168.99.100:/export/nfs/studio /export/nfs/studio nfs rw,bg,soft,intr 0 0 EOF service nfsclient start mount -a ======================================= References --------------------------------------- https://docs.freebsd.org/en/books/handbook/network-servers/#network-nfs https://man.freebsd.org/cgi/man.cgi?query=nfsv4 https://man.freebsd.org/cgi/man.cgi?query=mountd https://man.freebsd.org/cgi/man.cgi?query=fstab https://man.freebsd.org/cgi/man.cgi?query=exports https://man.freebsd.org/cgi/man.cgi?query=showmount https://man.freebsd.org/cgi/man.cgi?query=mount =======================================