Blog

How one can Add a Home windows Server NFS Shares to VMware ESXi

by | Aug 1, 2024 | Gadgets

[ad_1]

Learn this information to discover ways to arrange a Home windows Server 2022 NFS Folder share and use it to create an ESXi NFS datastore.

Overview and Background

After I constructed my VMware/vCenter house lab, I used a Home windows iSCSI goal server for the ESXi datastore. Nonetheless, at any time when I transfer a VM to the iSCSI datastore it freezes and the whole lot crashes.

I consider the iSCSI storage was failing as a consequence of community congestion. To repair this drawback, I made a decision to make use of a Home windows NFS share as an alternative.

Step 1: Set up the Server for NFS Function

Open PowerShell as administrator on the server you need to create the share and run the command under:

Set up-WindowsFeature -Title FS-NFS-Service -IncludeManagementTools

Step 2: Create an NFS Folder Share

The 2 subsections on this part clarify learn how to create a folder, after which use it to create an NFS share.

Step 2.1: Create a Folder to Use for the NFS Share

Run this command in PowerShell

New-Merchandise -Title ESXiDatastore -Path E: -ItemType Listing

Step 2.2: Create an NFS Share

  1. Proper-click the folder and choose Properties.
  1. Select the NFS Sharing tab after which click on Handle NFS Sharing.
  1. Test the “Share this folder” checkbox on the NFS Superior Sharing display screen. After that, click on the Permissions button.
Check the "Share this folder" checkbox on the NFS Advanced Sharing screen. After that, click the Permissions button.Check the "Share this folder" checkbox on the NFS Advanced Sharing screen. After that, click the Permissions button.
  1. On the permissions web page, ALL MACHINES are allowed Learn-only entry by default. You may add particular person computer systems by clicking the Add button.

Nonetheless, for my house lab, I’ll enable all machines Learn-write by deciding on the choice from the Sort of access drop-down. Additionally, to permit root entry, I’ll verify the checkbox, Enable root entry.

However, for my home lab, I will allow all machines Read-write by selecting the option from the Type of access drop-down. Also, to allow root access, I'll check the checkbox, Allow root access.However, for my home lab, I will allow all machines Read-write by selecting the option from the Type of access drop-down. Also, to allow root access, I'll check the checkbox, Allow root access.
  1. Click on OK till you get to the folder’s properties sheet. Then, word the NFS Share community path.

Step 3: Mount the NFS Share as a Datastore

  1. Check in to the ESXi host in an internet browser. After that, click on the Storage node, then the New Datastore button.
  1. On the primary web page of the New datastore wizard, select the Mount NTS Datastore possibility and click on Subsequent.
On the first page of the New datastore wizard, choose the Mount NTS Datastore option and click Next. On the first page of the New datastore wizard, choose the Mount NTS Datastore option and click Next.
  1. On the configuration web page, give the datastore a reputation, enter the IP handle of the FQDN of the Home windows Server, and the share identify (add a “/” earlier than the share identify). Lastly, on the ultimate web page, evaluate your settings and click on End.

If the whole lot goes in response to plan, ESXi will take a short time so as to add the NFS datastore.

On the configuration page, give the datastore a name, enter the IP address of the FQDN of the Windows Server, and the share name (add a "/" before the share name). On the configuration page, give the datastore a name, enter the IP address of the FQDN of the Windows Server, and the share name (add a "/" before the share name).
Finally, on the final page, review your settings and click Finish.Finally, on the final page, review your settings and click Finish.

Repeat the above steps so as to add the identical NFS to different ESXi hosts you want to share the identical datastore.

Conclusion

A Home windows Server NFS Share seems to carry out higher than a Home windows iSCSI goal server. On this information, I’ve defined the steps to put in the Server for NFS Function Home windows Server position.

Then, create an NFS folder share. Lastly, I confirmed learn how to mount the NFS share as an EXSi datastore.

[ad_2]

Laubeau Jac Lawrance

Laubeau Jac Lawrance

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.