First of all, we need to install the basic dependencies:
sudo apt install nfs-common -y
Then we can list all available NFS targets from a remote server:
sshowmount -e 192.168.1.10
/mnt/nfs_pool_00/documents 192.168.1.10 /mnt/nfs_pool_01/backups/images 192.168.1.10,10.10.1.10
Once we determine the appropriate mount, we can go ahead and create a local mounting point and mount the remote NFS location:
sudo mkdir /mnt/documents sudo mount 192.168.1.10:/mnt/nfs_pool_00/documents /mnt/documents
Finally, we can verify if it’s mounted properly and writable:
sudo df -h sudo mkdir /mnt/documents/misc sudo touch /mnt/documents/misc/test.txt sudo ll /mnt/documents/