-
Notifications
You must be signed in to change notification settings - Fork 0
NFS
Vlad edited this page May 20, 2020
·
1 revision
# Install
sudo apt-get -y update
sudo apt-get -y install nfs-kernel-server
sudo mkdir -p /data/store
sudo chown -R 1000:1000 /data/store
# /etc/exports
/data/store *(rw,sync,all_squash,anonuid=1000,anongid=1000,no_subtree_check
# Reload NFS
sudo systemctl restart nfs-kernel-server
# Install
sudo apt-get -y update
sudo apt-get -y install nfs-common
# Mount shares
sudo mkdir -p /data/store
sudo mount host_ip:/data/store /data/store
# /etc/fstab
host_ip:/data/store /data/store nfs hard,rsize=1048576,wsize=1048576,timeo=600,retrans=2,_netdev 0 0