I have an issue mounting an NFS datastore on ESX: get the following error:
Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "172.21.11.126" failed.
NFS mount 172.21.13.200:/NFS_1 failed: The mount request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it.
An unknown error has occurred.
The export exists, and it is completely open for all clients to R/W and access it.
i know you are saying open for "all" clients, why ? Configure export and specify ip of the interface on ESXi that will be making the connection, if you have multiple interfaces something you have to set static routes on ESXi to force it to use correct route. Also try to add ip address of VMKernel port to the export.
What I want is not to restrict the NFS exports for any client IP (this is actually the customer requirement), therefore when creating an export, I do not specify any value for 'root' and 'access' options - per EMC support it is supposed to leave them open for connections from any host that will ping the VDM interface on which the export resides.
So when I do that, I can mount the export on the ESX, but I cannot write to it: cannot create a new folder or a VM.
These is the command I use to configure export:
'server_export VDM_NFS_01 -P nfs /NFS_3'
Then it mounts on the server with no issue, but no write access.
Is there a way to use a wild card, or any specific command, switch option, to make it read/write for all hosts?
In fact, you cannot even manage them from the GUI, because there is a bug, and after sometime the exports disappear from unisphere. This freaked me out today a bit when I first saw it. here is an EMC kb for that:
dynamox
11 Legend
•
20419 Posts
•
87439 Points
7165
0
Posted June 18th, 2015 11:00
i know you are saying open for "all" clients, why ? Configure export and specify ip of the interface on ESXi that will be making the connection, if you have multiple interfaces something you have to set static routes on ESXi to force it to use correct route. Also try to add ip address of VMKernel port to the export.