#linux #disk

NFS

Setup a nfs on debian

Server side

sudo apt install nfs-kernel-server
sudo systemctl restart nfs-kernel-server
cat /etc/exports
/var/nfs/general      nfs_client_ip(rw,insecure,all_squash,sync,no_subtree_check)
sudo mkdir /var/nfs/general -p
sudo chown nobody:nogroup /var/nfs/general

Client side

sudo apt install nfs-common
cat /etc/fstab
nfs_server_ip:/var/nfs/general    /media/nfs/general   nfs auto,nofail,user,noatime,nolock,intr,tcp,actimeo=1800 0 0
sudo mkdir -p /media/nfs/general
mount -a

Nfs optimizations

React ?

This page was last modified: