I'm unable to add a NFS datastore to my esx servers with the VI client.
When I go to:
Configuration | Storage -> Add Storage -> Network File System
and use these parameters:
Server: 172.26.20.1
Folder: nfsshare
Datastrore name: nfsshare
I get this error:
Error during configuration of the host:
NFS Error:
Unable to Mount filesystem:
Unable to connect to NFS server
But if I mount the same nfs share in the service console everything works without problems:
mount 172.26.20.1:/nfsshare -t nfs /mnt/nfsshare -o rw,noatime,soft,retry=100,rsize=32768,wsize=32768
What could be wrong?
check whether the virtual center is able to ping the server by server name?????If not than make a entry in the etc/hosts which will related the ip address to hostname
ex.
172.2.21 nfsserver
If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points
I've tried pinging the nfs server (by IP and by hostname that is in the hosts file) from the vcenter and it works. The nfs server is on the same network as the esx hosts and vcenter and there are no firewalls between them.
I've solved it. If anyone else has trouble with this: You have to add a vmkernel port to the virtual switch where the nfs server is.
It's strange that I could mount the nfs share from the console without this but t least now it works.
That is really strage.
But I thought you had already an vmkernel port configured.
MCP, VCP
strange....
me too thought that u have added the vmkernel port
If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points
I had the vmkernel port, but it was in another network (dedicated to vmotion)
Ok that is a good reason!
MCP, VCP