VMware Communities
ishwest
Contributor
Contributor

Can't run VM of network share: .vmx and .vmdk files get deleted; linux host

Hi!

I have encountered a problem, probably a bug, running a virtual machine located on my NAS.

When I run the VM it warns me about "no swap space" (true, no swap on host OS) and then fails without further error / warning messages. By this time the .vmx file is already missing! If I replace the .vmx from a saved copy while the swap warning is hanging, the VM starts up properly but by the time the guest OS boots up both .vmx and .vmdk (the small one, with metadata) are missing from VM directory!

What am I doing wrong? Or is it a bug?

There are a few lines like this in the vmware.log file:

2014-04-18T13:33:50.479+04:00| vmx| I120: FileIO_AtomicUpdate: rename of '<some path>/VMs/Ubuntu_14.04_64-bit/Ubuntu_14.04_64-bit.vmx~' to '<some path>/VMs/Ubuntu_14.04_64-bit/Ubuntu_14.04_64-bit.vmx' failed 17.

2014-04-18T13:42:29.868+04:00| vcpu-0| I120: FileIO_AtomicUpdate: rename of '<some path>/VMs/Ubuntu_14.04_64-bit/Ubuntu_14.04_64-bit.vmdk~' to '<some path>/VMs/Ubuntu_14.04_64-bit/Ubuntu_14.04_64-bit.vmdk' failed 17.

But nor the .vmx~ neither the .vmdk~ file is there.

My setup:

Host OS: Ubuntu 12.04.4 x64 3.8.0-38-generic

VMware Player: 6.0.1 build 1379776

Network share is CIFS served by samba of a linux-based NAS

The share's mounted on the host with with command like this:

mount -t cifs //<NAS>/<share> <some path> -o rw,iocharset=utf8,uid=1000,gid=1000,file_mode=0644,dir_mode=0755,user=<NAS username>

The guest OS is Ubuntu 14.04 x64 desktop (though I believe the guest is irrelevant)

Thanks in advance!

0 Kudos
0 Replies