Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Troubleshooting the failed process of adding a data store from a Windows Services NFS device
Symptoms
- The process of adding the NFS datastores times out
- Unable to add NFS datastores
- Adding NFS datastores fails
nfs-connectivity add-nfs-datastore
Purpose
This article identifies steps for resolving issues with mounting an NFS share from a server using Windows Services for UNIX.
Warning: Windows Services for UNIX is not a supported storage solution for use with ESX, and the information in this article is provided as-is. For a full list of supported storage solutions, refer to our Hardware Compatibility List. VMware provides support only for the devices that are listed in the Hardware Compatibiltiy List. If you are having a technical issue with 3rd party hardware or software and it is not found on this list, see our 3rd Party Hardware and Software support policy.
Resolution
Note: The link links in this article were correct as of August 10, 2011. If you find a link is broken, provide feedback and a VMware employee will update the link.
To correctly set up the Windows Service for UNIX:
-
Install Windows Services for UNIX (WSFU).
-
Copy the ESX host password and group files to Windows.
-
Configure WSFU for accepting ESX host connections.
-
Share the Windows folder for NFS compatibility.
-
Configure the ESX host to mount the Windows NFS Share as Datastore.
Install Windows Services for UNIX (WSFU)
To install WSFU:
-
Download WSFU from the Microsoft Download Center.
-
Install WSFU by extracting and running the setup.exe.
-
Select the Custom Installation.
-
Choose the following Components to install:
-
Expand NFS, click Server for NFS, and choose Will be installed on local hard drive.

-
Expand Authentication tools for NFS, click User Name Mapping, and choose Will be installed on local hard drive.

-
- Open the services control panel applet and change the service User Name Mapping to startup automatically and start the service.
Copy the ESX host password and group files to Windows
Copy /etc/passwd and /etc/group to C:\SFU (or the location where WSFU is installed).
You can get WinSCP from http://winscp.net/eng/download.php#download2.
Configure WSFU to accept ESX host connections
To configure WSFU to accept ESX host connections:
-
Click Start > Programs > Windows Services for UNIX > Services for UNIX Administration.
-
Click user name mappings.
-
Click Configuration.
-
Click Password and Group Files.
-
From the browse dialog box for both the password and group fields, browse for the password and group files that you copied.
-
Click Apply.
-
Go to maps.
-
Click Show Maps.
-
List windows users and list Unix users.
-
Select a local administrator user on the left that can be mapped to the root account and the root user on the right.
-
Click Apply.
Share the Windows folder for NFS
To share the Windows folder for NFS:
-
Right-click the local folder you want to share via NFS.
-
Click NFS Sharing.
-
Type in the name for the share. For example, NFS-VMFS01.
-
Remove allow anonymous access.
-
Click Permissions.
-
Change the type of access to Read+Write and select Allow root Access.
Configure the ESX host to mount the Windows NFS Share as VMFS
To configure the ESX host to mount the Windows NFS Share as VMFS:
-
Verify that the ESX host firewall permits NFS traffic.
-
Verify the configuration of the network port groups. For more information, see the Server Configuration Guide.
-
Verify connectivity to the NFS server. For more information, see Troubleshooting connectivity issues to an NFS data store (1003967).
-
Add the NFS storage. For more information, see the Server Configuration Guide.
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

