NFS

NFS Server

Display current NFS shares on server:

exportfs

Edit server NFS configuration:

nano /etc/exports

Share example:

/local.shared.dir 192.168.xx.0/24(ro,sync,no_subtree_check)

Export “NFS table” (this is necessary after NFS edit) :

exportfs -a     

Restarts NFS to apply changes:

systemctl restart nfs-kernel-server

NFS Client

Share mounting examples:

terminal:

mount ser.ver.ip.address:/remote_share_dir /local_share_dir

fstab:

ser.ver.ip.address:/server_dir /local_mounting_dir nfs defaults 0 0

Leave a Comment

Tested on Ubuntu & Pop OS