How to enable NFS Server on FreeNAS

This tutorial will show you how to enable the NFS Server on FreeNAS. With NFS Server enabled, we can easily access the NFS Shared folder on FreeNAS from other Linux PC using nfs mount utility. To enable NFS Server on FreeNAS, please follow these steps:

First, login to FreeNAS web administration and go to Services tab. Click on the Setting button close to NFS service. You will see this popup window appear

nfs server freenas

You can specify some NFS server settings here. In my case, I leave it as the default value. Click OK when done and you can now switch the button from OFF to ON. At this point, the NFS Service is enabled on FreeNAS.

Now we need to add the shared folder for the NFS. You will need to add the second hard disk to FreeNAS, this tutorial how to add new hard disk to FreeNAS should help you.

Go to Sharing | Unix (NFS) Sharing on the left pane and click Add Unix (NFS) Share. This window will open up

nfs server freenas-1

You have to specify the path for NFS Share. Additionally you will also need to add the authorized network which allowed to access the share. Once finished press OK and you are done. Now NFS Server is up and running.

Now we can try to mount the NFS Shared folder from other computer. On this example I want to mount the NFS Share folder from Ubuntu 14.04 Trusty Tahr. First, I need to install nfs-common package

sudo apt-get install nfs-common

Now mount the NFS share using this command

sudo mount -t nfs /mnt/nfs-mount


  • is the NFS Server IP address
  • /mnt/disk2/nfs-share is the NFS Shared folder on the server
  • /mnt/nfs-mount is the mount directory on Ubuntu

Thanks for coming and leave me comment if any queries. Cheers


Leave a Reply

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