Openfiler

How to configure NFS Storage in Openfiler ?

NFS (Network File System) protocol designed by sun microsystems. It is client/server application which allows remote users to store & access the files through network.  NFS allows the system administrator to mount full or some of a portion of a file system on a server. The portion of the file system that is mounted can be accessed by clients only who has privileges are assigned to the file (read-only or read-write). In this post we will see on How to configure NFS Storage in the Openfiler to use it for various purposes.

Featured Sponsor

Configure NFS in Openfiler :-

Step 1:
Login to Openfiler using the Web browser.

Step 2:
Before creating the storage we need to start the NFS service in the Openfiler.
So to start the service go to Services menu.
Choose Manage services in the Services Section on the Right.
Here you can see the NFS Server Service so First start the service from Start/stop option & also Enable the service.

nfs-volume-342

Step 3:
First you need to add the new Disk to the VM (In case of LAB) or if you already have it in the server you can see that Disk as below.
Volumes > Volumes Section > Block Devices.
Click on the Disk “/dev/sdb” (In your case it might be different)

nfs-volume-16

Step 4:
Now you can see the Partition here.
Scroll down to the Create a Partition.
You can see that all the details are filled already so just check the starting & ending cylinder & the size then click on Create button to create new partition.

nfs-volume-15

Step 5:
At this stage we have successfully created NFS partition.
Now we will be creating new volume group for that partition.
So to create partition go to Volumes > Volumes Section > Volume Groups.
Here you can see the Create a new volume group section.
Provide the Name for your volume group (Do not use Spaces in the Name.)
Choose the Box to which volume you will be using.
Click on the button Add volume group.

nfs-volume-2

 

Now you can see that your newly created volume group is showing with all the details such as name, size etc.

nfs-volume-3

Step 6:
Now we will create a volume from the Volume group which we had created.
So to create volume go to Volumes > Volumes Section > Add Volume.
First select the Volume group from the Drop down. (If you are using for the first time you will see the first volume group or if you have multiple volume group then you need to choose the specific volume group) .
Scroll down to the Create Volume section.
Here you have to provide your volume details.
Provide the Volume Name, Volume Description, Size for the Volume & choose the XFS from the File System/Volume Type.
Click Create button to create new volume.

nfs-volume-4

You can see your created volume in the Manage Volumes from Volumes Section.
It will show the details such as Volume Name, Description, Size etc.

nfs-volume-5

Step 7:
Now we will share the NFS Volume.
Go to Shares Menu > Existing Shares.
Here you can see that your volume is listed.
Click on the Volume & It will prompt you to create Folder.
Provide Folder name & click create sub folder to create folder.

nfs-volume-7

Step 8:
We have successfully created NFS Folder in the above step now we will have to make that folder share.
So to create share click on the Folder (NFS-Data in my case.)
Here you can also create new folder, provide new name to folder & set the new description.
Click on Make Share button to make the NFS-Data folder share.

nfs-volume-8

Now you can see that your folder icon is changed little bit.
Click on NFS-Data Folder to provide the permissions.

nfs-volume-11

Step 9:
You can set the Share Access control Mode either public or Controlled. We are going with the Controlled mode.
Click on Update button to save.
Now we will provide the Group access .
So choose the Group & change the permissions from NO to PG click Update button to save.
Now we will provide the Host access for the NFS Share.
Check your network & choose the Radio button “RW” from NFS.
Click Update button to save.

nfs-volume-12

 

We have successfully created the NFS Share & Provided Network Access to the NFS Share folder So now you can directly add this NFS Folder to the ESXi to check how to add iSCSI Datastore check below link.

Checkout Our Posts on Openfiler :-

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 4 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Related Articles

Leave a Reply

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

Back to top button