Dear,
I'm having trouble connecting vSphere to an NFS storage.
Environment:
NFS Server: Centos Linux
Client: VMware ESXi 6.0.0, vSphere Client 6.0.0
When I try to create a storage connection with the NFS server, I get this error:
Error:An error occurred during host configuration.
See the error stack for details on the cause of this problem.
Error Stack
Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "172.16.16.2" failed.
NFS mount 172.16.16.20:/storage/nfs failed: Unable to connect to NFS server.
In /var/log/vmkernel.log, I see this error:
2017-06-27T17:52:38.598Z cpu5:34724 opID=d88c6317)NFS: 157: Command: (mount) Server: (172.16.16.20) IP: (172.16.16.20) Path: (/storage/nfs) Label: (nfssrv20) Options: (None)
2017-06-27T17:53:08.663Z cpu4:34724 opID=d88c6317)NFS: 168: NFS mount 172.16.16.20:/storage/nfs failed: Unable to connect to NFS server.
Looking at the tutorials and posts I found on the subject, I've tried the following steps:
With vmkping I can ping the NFS server;
I can connect to the NFS server port. I tested it with the command: nc -z 172.16.16.20 2049
The Vmware firewall is releasing client connections nfs, as shown in the attached image.
I even created a VMkernel port.
I can connect to the NFS server without problems using another client.
Could someone help me in this case?
Text in english