Linux Services

apt install nfs-kernel-server
vi /etc/exports
/data *(rw,no_root_squash,no_subtree_check)
exportfs -a
systemctl restart nfs-kernel-server

apt install -y nfs-common
mount.nfs nfs_server:/dir /dir
mount -tnfs4 -ominorversion=1 server_nfs_4.1:/dir
mount -t nfs -o nfsvers=4.1 192.168.4.12:/2T 2T
mount -v 192.168.88.10:/ /data/ # mount NFS 4.2
umount --force /PATH/OF/BUSY-NFS(NETWORK-FILE-SYSTEM)
# /etc/fstab
NFS_server:/ /data nfs rsize=8192,wsize=8192,timeo=14,intr
Last modified 1yr ago
Copy link
Edit on GitHub
On this page
NFS
Server
NFS performance monitoring and tuning
client