NFS Service

Server

Install
sudo apt install nfs-kernel-server -y
Edit Server Exports
sudo nano /etc/exports
Example Configuration File
/nfsroot/pnode02 192.168.3.2(rw,no_root_squash,async,insecure,no_subtree_check) /nfsroot/pnode03 192.168.3.3(rw,no_root_squash,async,insecure,no_subtree_check) /nfsroot/pnode04 192.168.3.4(rw,no_root_squash,async,insecure,no_subtree_check) /nfsroot/pnode05 192.168.3.5(rw,no_root_squash,async,insecure,no_subtree_check) /nfsroot/pnode06 192.168.3.6(rw,no_root_squash,async,insecure,no_subtree_check) /nfsroot/pnode07 192.168.3.7(rw,no_root_squash,async,insecure,no_subtree_check) #Wild Cards are also excepted Ex: * /nfspublic 192.168.3.*(rw,no_root_squash,async,insecure,no_subtree_check) /usbstore 192.168.3.*(rw,no_root_squash,async,insecure,no_subtree_check)
Apply Server Exports
sudo exportfs -rv

Client

Install
sudo apt install nfs-common -y
Temporary Mount
sudo mount -t nfs -onolock 192.168.3.1:/nfspublic /nfspublic
Mount on boot
sudo nano /etc/fstab
192.168.3.1:/nfspublic /nfspublic nfs _netdev,auto,rw,exec,hard,tcp,timeo=30 0 0