STORAGESVMware

How to Configure NFS Share in TrueNAS CORE

In this blog, I will show you how to Configure NFS Share in TrueNAS CORE. Creating a Network File System (NFS) share on TrueNAS CORE gives the benefit of making lots of data easily available for anyone with share access. Depending how the share is setup, users accessing the share can be restricted to read or write privileges.

How to install of TrueNAS CORE.

NFS allows users to mount all or a section of a file system throughout the network. The share section of the file system that is mounted would be accessed by clients with have permissions like read only or read/write.

How to share file/directory via NFS in TrueNAS.

Type the TrueNAS server IP address in the browser.
TrueNAS CORE OS supports OS X, Unix, and Windows clients and various virtualizations VMware.
To configure NFS share on TrueNAS, please follow below steps.

Login to TrueNAS CORE

truenas core login

TureNAS CORE dashboard.

truenas core dashboard

Configure NFS Share in TrueNAS CORE

Select the services tab and then enable NFS service.

truenas core services

Choose storage option and then disks to check your disks.

truenas core storage disks

Under storage choose pools and then click on ADD button.

truenas core storage pool

Choose create new pool and then choose create pool.

truenas core storage create pool

Type name and then choose disk the one you would like to use for NFS share.

truenas storage pool manager

Click on forward arrow key and then click create.

truenas create pool

Select confirm and click create pool.

truenas core create pool

A pool successfully created.

truenas core create pool

To configure NFS share choose the Unix Shares (NFS) option and then click on ADD button.

truenas iscsi add

Enter a path, select All dirs option, choose enabled and then click advanced mode.

truenas core create pool

Maproot User – Select root
Maproot Group – Select nogroup
Authorized Network – type your network address and then click SUBMIT

truenas core create pool

NFS path created.

truenas core create pool

Now we configure on TrueNas CORE. Now we can Add NFS shared to VMware Host as a datastore. Log in to VMware vsphere client.

vmware vsphere client

Right-click, on ESXi Host, click Storage and then New datastore.

vsphere client create datastore

Select NFS datastore and click next.

vmware new datastore type

Select NFS version and then click next.

vmware new datastore nfs versions

Enter Datastore Name, NFS share folder, NFS server IP, and then click next.

vmware new datastore name

Review the summary and click finish.

vmware new datastore finish

Successfully created datastore.

vmware recent task

Now we can see TrueNAS-NAS on storage list.

vsphere client datastore

For more details, please visit TrueNas

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Leave a Reply

Back to top button