How to properly mount a NFS share on Linux for FileCloud

Introduction

The FileCloud server may need to use storage from devices on the network for both local storage and external shares. This document explains how to mount a NFS network share on Linux.

Prerequisites

Required Packages

Ubuntu: nfs-common

Installing nfs-common on 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:

Command line
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 the local machine (/misc/local in the above example) must exist.