How to properly mount a NFS share on Linux for FileCloud

Introduction

FileCloud server might need use storage from devices over network for both local storage as well as external shares. This document explains how to mount a NFS network share on Linux.

Prerequisites

Required Packages

Ubuntu: nfs-common

Installing nfs-common in ubuntu
user@host:~$ sudo apt-get update
user@host:~$ sudo apt-get install nfs-common

Mounting

Use the following command to mount the NFS share

Commandline
user@host:~$ mount simpson.example.com:/misc/export /misc/local

In this command:
simpson.example.com is the hostname of the NFS file server
/misc/export is the directory that simpson is exporting
/misc/local is the location to mount the file system on the local machine.

After the mount command runs (and if the client has proper permissions from the simpson.example.com NFS server) the client user can execute the command ls /misc/local to display a listing of the files in /misc/export on simpson.example.com.

The mount point directory on local machine (/misc/local in the above example) must exist.