HOWTO: Ubuntu mount NFS

Setting up NFS on Ubuntu and making a permanent mount is easy and straightforward.

Install NFS through SSH.

Step 1 – Downloading and Installing  NFS

sudo apt-get install cifs-utils

Step 2 – Create folder for mount point

To be able to mount an NFS target you will need to have an empty folder the mount binds to.

mkdir /mnt/foldername

Step 3 – Setup mounting at boot

Edit the file that stores what folders to mount upon boot.

sudo nano /etc/fstab /mnt/storage nfs auto 0 0

Things to change on the code above. This is the IP to your NFS server.
/mnt/foldername: This is the folder you created in Step 2.
/mnt/storage: Is the NFS share path.

Step 4 – Mount and finish

Run the code to mount the new share.

sudo mount -a


E-mail : *

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.