VMware Cloud Community
ipnnn2000
Contributor
Contributor

Windows 2012 NFS sharing for esxi 6.5 not allow to create VM.

The NFS storage has successfully mounted, from Datastores to browse and create new folder has no error. But only when creating a new VM machine it show an error as below. 

Failed - Unable to load configuration file '/vmfs/volumes/***/New Virtual Machine/New Virtual Machine.vmx'.

Errors

 

  • Unable to load configuration file '/vmfs/volumes/***New Virtual Machine/New Virtual Machine.vmx'.
  • An error occurred while writing dictionary file "/vmfs/volumes/***/New Virtual Machine/New Virtual Machine.vmx": 16 (Device or resource busy)

Appreciate any advice, thanks!

 

Reply
0 Kudos
10 Replies
PierluigiCastel
Contributor
Contributor

On the Win Srv 2012, verify the permissions on the NFS Folder.
So, right-clicked the 
NFS folder, clicked Properties, selected the NFS Sharing tab, clicked the Manage NFS Sharing button, checked the Share this folder check box, clicked the Permissions button, then verify:
1) if all esxi hosts are listed, otherwise add it (if is a Lab, allow all)
2)all listed hosts, have read-write as type and 
Allow root access is checked

Reply
0 Kudos
continuum
Immortal
Immortal

I see that quite regularly - most of the times it is no real error at all and just means that the webinterface is reaching its limits ...
Sorry for anthropomorphizing the webinterface - but sometimes that guy just needs a break and a restart ...
Thats about 6.5 mostly .... just have some patience ...

 

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
ipnnn2000
Contributor
Contributor

I have tested from win2012 to allow all client access, and Allowed root access. But still same.

The NFS is using 4.1.

I have also tested from another win2012 created another testing NFS share, but still the same.

I use an old NAS to create an NFS 3 test it worked without an issue.

Where should I check?

Reply
0 Kudos
ipnnn2000
Contributor
Contributor

Not only create a new VM, but even I migrate a VM into this NFS volume it also has the error:

..Status The virtual disk is either corrupted or not a supported format.

 

 

Reply
0 Kudos
ipnnn2000
Contributor
Contributor

I have tried upgrading esxi 6.5 to 6.7 and using a fresh Windows 2019 as NFS server but still same. likely the problem is common, I really wonder no one has this same issue? 

 

Reply
0 Kudos
PierluigiCastel
Contributor
Contributor

Is windows Server a physical machine or a vm?

Reply
0 Kudos
ipnnn2000
Contributor
Contributor

Hi PierluigiCastel

Windows Server also running as a VM.

Reply
0 Kudos
goldeneye_007
Enthusiast
Enthusiast

Did you ever get a resolution to this?

I am running into this issue today.

.I am on 7.0.2u2a and working against a Windows 2012R2 NFS datastore.

I am able to use vCenter to upload files to that datastore but if you try to create a new VM on it, it bails with

Unable to load configuration file '/vmfs/volumes/***New Virtual Machine/New Virtual Machine.vmx'.

ipnnn2000
Contributor
Contributor

No. I use NFS3 to mount the volume then it works.

It defiantly not a solution.

Reply
0 Kudos
goldeneye_007
Enthusiast
Enthusiast

I can confirm it works well if you select NFS3.

The NFS 4.1 implementation appears to be broken even up through 7.0.u2a.

Reply
0 Kudos