Skip to content

[Snippet] Mount a NFS drive

Éric Massé edited this page Mar 15, 2015 · 5 revisions

References:

Required:


Install nfs-common package

sudo apt-get install nfs-common

Get avaliable folders for mounting

showmount -e 192.168.1.21

Mounting a nfs folder to your local computer folder

sudo mount -o rw,soft,intr,nfsvers=3 192.168.1.21:/media/wdmycloud/shares /shared

Automatic mount

sudoedit /etc/fstab

192.168.1.21:/media/wdmycloud/shares     /shared      nfs       rw,soft,intr,rsize=8192,wsize=8192,addr=192.168.1.21      0     0