How to configure NFS on FreeNAS with VMware vSphere(ESXi)?

Today we will look at how to configure NFS on FreeNAS.

FreeNAS is a free and open-source software network-attached storage (NAS) system based on FreeBSD  system. FreeNAS supports Windows, OS X and Unix clients and various virtualization hosts such as XenServer and VMware.FreeNAS supports the OpenZFS files system which provides data integrity checking to prevent data corruption, enable point in time snapshotting, replication and several levels of redundancy including striping, mirroring, striped mirrors (RAID 1+0), and three levels of RAID-Z.

To configure NFS Server on FreeNAS, please follow steps below:

1.Login to FreeNAS web administration:

0freenasnfs

2.Shortly i want show you some basic configuration below, You can set your own hostname,DNS and etc:

1freenasnfs

2freenasnfs

3freenasnfs

3.Go to the services menu and enable NFS service:

4freenasnfs

4. Then go to  Storage->Volumes and click on Volume Manager , type Volume Name and click + to add available disk and click Add Volume:

5freenasnfs

6freenasnfs

5. You can set permission to that volume  by clicking Permission (2):

7freenasnfs

8freenasnfs

6. To configure NFS click on Add Unix(NFS) Share and click Browse select Volume and click OK:

9freenasnfs

That’s All we need to configure on FreeNas. Lets look at VMware Host and Add NFS to storage. So Log on to VMware vsphere client and click Host and navigate to Configuration->Storage- and click Add Storage:

10freenasnfs

7. Select  Network File System and click next:

11freenasnfs

8. Type server ip, folder path and Datastore Name then click next:

12freenasnfs

13freenasnfs

9. Once All completed we can see FreeNasNFS on storage list:

14freenasnfs