Hello,
We have ESX 4.1 & VC 4.1..i have added 2 NFS based Datastore & 1 VMFS based Datastore, i 'm able to create VM in VMFS based datastore. But not able to create VM in both NFS based datastore getting below error and after browsing NFS Datastore two (.vmfs & .vmsd) files created less than 1KB. Both NFS Datastore is not selected Read only.
Please help.
Note: Discussion successfully moved from VMware vCenter Operations Manager to VMware vCenter™ Server
What NFS storage are you using and what options did you specify in your exports?
Thanks vmroyale,
We are using NetApp Storage and storage guys just gave me below Qtree path 10.95.78.1:/vol/prod/prod_NFSD93 and i was successfully added NFS datastore in VC.
ec=sys,rw=10.25.81.41,10.25.81.42,10.25.81.43,10.25.81.44,10.25.81.45,nosuid
Hi..
To me it seems that root= is missing from the export statement.. Im not sure that rw= only will do it.
But check this with the storage guys...
/Rubeck
check if you have read-write access enabled for root on the Datastore and no_root_squash option set (NetApp equivalent anon=0) in the /etc/exports file?
also do you see any errors in the vmkernel and hostd logs?
Message was edited by: vGuy
Hi,
When mounting a NFS datastore, it mounts but is not accessible.
For more information, see the NetApp whitepapers TR-3428: NetApp and VMware Virtual Infrastructure 3 Storage Best Practices and TR-3749: NetApp and VMware vSphere Storage Best Practices
To check the qtree permissions, run this command from the CLI on NetApp:
qtree status
The output appears similar to this:
Volume Tree Style Oplocks Status
-------- -------- ----- -------- ---------
vol0 unix enabled normal
ProdLuns unix enabled normal
ProdRDM1 unix enabled normal
<server> ntfs enabled normal
To change the qtree permission using the NetApp GUI:
NTFS
to UNIX
. Sounds like an export permission issue. By default NetApp will give RW access to All Systems, but you need root-access permissions for the host (VMkernel IP). For example you have a prod network and a storage network, your prod IP for the host is 10.10.0.20 and Storage IP is 10.16.0.20 with GW of 10.16.0.1. In this case you need to add 10.16.0.20 to your export with root-access permissions.
It looks like you already have RW, hence being able to mount the NFS datastore, but it is read-only because you don't have root-access.
Thanks a lot guys..
Storage guys given permission to root-access permissions for the host (VMkernel IP). Now issue gots resloved..