The screnario is that we have two servers with IP addresses as shown below. The server called Harvester will share a drive mounted on /local/disk-01 to the client called Farmer where it will be mounted on /remote/disk-01. We will also edit the /etc/fstab files and make sure that those shares mount automatically after reboot.
sudo apt install duf
In order to share the drive we just made with a client we need to install a NFS Server. If you refer to the diagram on top of the page the server is called harvester and its IP address is 192.168.123.211 and the client is called farmer and its IP address is 192.168.123.212.
sudo apt install nfs-kernel-server
sudo nano /etc/exports
Paste the following text at the bottom of the file and save it
/local/disk-01 192.168.123.212(rw,sync,no_subtree_check)
sudo systemctl restart nfs-kernel-server
sudo apt install nfs-common
sudo mkdir /remote/disk-01 -p
sudo mount -t nfs4 192.168.123.211:/local/disk-01 /remote/disk-01
sudo nano /etc/fstab
172.20.30.80:/storage/disk-01 /remote/disk-01 nfs auto,nofail,noatime,nolock,intr,tcp,rw 0 0