I'm unable to add a Windows Server 2008 R2 NFS share. When I try to add the share I receive the following error:
"HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "192.168.1.24" failed.
NFS mount server1:nfs failed: The mount request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it.
I have enabled the NFS service in server 2008 R2 and shared using NFS setting (as referenced here: http://www.kasraeian.com/2011/02/nfs-on-windows-server-2008-r2/)
I have also checked that the "NFS Client" is ticked on ESXi Client firewall settings.
Windows Firewall has been disabled.
I have tried using both the host name and IP when creating the NFS storage, but results with the same error which looks like it is related to permissions. The Windows NFS share has "everyone" and "anonymous" with full access to the share.
Unfortunately I have limited knowledge with NFS/Unix shares therefore am unsure of the best way to test these are setup correctly. I am also very new to vSphere, so all the advise would be helpful. This setup is in a new environment, with 1 single host connected on the same network by vSphere client. Can anyone advise a step-by-step guide to obtain log files?
Many Thanks