2 - Linux Network File System

Table of Contents

Previous Page

Next Page


Linux’s far-superior Network sharing

Previously using “Samba” which is Windows’s smb share, NFS is quite easy and great.
Setup is faster once you know it, and transfer speeds are much higher.
On a 2.5G connection, Samba maxxed at 1.4G, but NFS hit the full 2.5G transfer rate.

SERVER - the one hosting

sudo apt-get update
sudo apt install -y nfs-kernel-server
sudo mkdir /mnt/Bonashare && \
sudo chown nobody:nogroup /mnt/Bonashare
sudo chmod 777 /mnt/Bonashare
echo list done
sudo nano /etc/exports
/mnt/Bonashare      192.168.88.0/24(rw,sync,no_subtree_check)
/home/jedi          192.168.88.0/24(rw,sync,no_subtree_check)
sudo exportfs -a && \
sudo systemctl restart nfs-kernel-server

CLIENT - the one viewing

Setup is required on the viewer to ‘connect’ to the server

sudo apt-get update
sudo apt install nfs-common
sudo mkdir /mnt/Bonashare
sudo mkdir /mnt/jedihome
sudo nano /etc/fstab
192.168.88.234:/mnt/Bonashare	/mnt/Bonashare nfs defaults 0 0
192.168.88.234:/home/jedi	    /mnt/jedihome nfs defaults 0 0
sudo mkdir /mnt/brollihome
sudo mkdir /mnt/spencihome
sudo mount -t nfs 192.168.88.111:/home/brolliant /mnt/brollihome
sudo mount -t nfs 192.168.88.206:/home/spencer /mnt/spencihome

Table of Contents

Previous Page

Next Page