NFS Share

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04

Server:

sudo apt-get install nfs-kernel-server
sudo mkdir /var/nfs/SHARE
sudo chown nobody:nogroup /var/nfs/storage_pool

sudo mount --bind /mnt/storage_pool /var/nfs/storage_pool
/var/nfs/storage_pool  10.1.1.*(rw,sync,no_root_squash,no_subtree_check,fsid=0)
sudo exportfs -ra
sudo systemctl restart nfs-kernel-server

 

Client:

sudo apt-get install nfs-common
sudo mount 10.1.1.10:/ /mnt/storage_pool
10.1.1.10:/ /mnt/storage_pool nfs rw,rsize=8192,wsize=8192,timeo=14,_netdev 0 0

 

Leave a Reply

Your email address will not be published. Required fields are marked *