I do not know what is happening, I have two datastores and I moved my vm from one to the other, I had to recreate a new VM to import the migrated files, when I open the datastore to import files only saw two vmdk files, the first with 00001 other a single vmdk file, which contains 00 001 not opened on import, the second was successful, but when the server starts he climbs a very old version, as if it were newly installed windows 2003, i saw within folders flat files, delta but do not know what to do, I tried to check the snapshot manager but did not find anything there.
Did you already try to fix things? The attached .vmx file points to the correct snapshot .vmdk file(scsi0:0.fileName = "Cezzanne-000001.vmdk"), but the parentCID in this .vmdk file is not correct!?
Anyway, after replacing "Cezzanne-000001.vmdk" with the one in the attached archive, you should be able to start the VM again. Btw. you can delete the ".lck..." file. This is only needed on an NFS datastore.
Next time you copy a VM, don't create a new virtual machine. Only remove the VM from the inventory before moving it and after moving it, right click the VM's .vmx file and select "Add to Inventory".
André
Guara - I'm sorry but from your description, I really have no idea what you did or are trying to do.
Here's what I can decipher:
You moved a VM from one datastore to another.
That's all that made any sense. How did you move it? Did you shut it down, change datastore, and power back up?
Or were you trying a storage vMotion?
It sounds a little like you had the machine off, moved the files, then had to create a machine and point to an existing VMDK? That's an odd way to do it, so that could be where the problem is.
Can you please give considerably more detail so we can more easily assist? I don't understand why you had to "recreate a new VM" and what files you are trying to import?
It sounds a little like you had the machine powered off, moved the files, but you hadn't removed the original from inventory? Or maybe the file copy failed?
What version of ESXi were you using? Do you have a vCenter or is this a single ESXi host?
Thanks!
Jes
Welcome to the Community,
unless you already did, power off the VM immediately to reduce the risk of data corruption/loss!
What happened is that you attached the base disk to the VM rather than the latest snapshot, as this is not possible from the GUI. What needs to be done now is to fix the snapshot chain and edit the configuration file (.vmx). To see what exactly has to be done, please provide a list of all files in the datastore, the vmware.log files, the .vmx file as well as all the .vmdk header/descriptor files. To be able to download the header files (which are only a few hundred bytes in size) you need to allow SSH access to the host and use e.g. WinSCP.
Once you have all files, compress/zip them and attach them to your next post.
Andrße
Hello Andre,
sorry about my english.
Did you already try to fix things? The attached .vmx file points to the correct snapshot .vmdk file(scsi0:0.fileName = "Cezzanne-000001.vmdk"), but the parentCID in this .vmdk file is not correct!?
Anyway, after replacing "Cezzanne-000001.vmdk" with the one in the attached archive, you should be able to start the VM again. Btw. you can delete the ".lck..." file. This is only needed on an NFS datastore.
Next time you copy a VM, don't create a new virtual machine. Only remove the VM from the inventory before moving it and after moving it, right click the VM's .vmx file and select "Add to Inventory".
André
Did you already delete the LCK file on the datastore?
Please post/attach the VM's latest vmware.log file. This should contain the information about what's causing the issue.
André
vmware log:
Can you confirm the copy/move from the NAS has completed successfully?
I'd suggest you take a look at http://kb.vmware.com/kb/10051 to find out what causes the lock. Maybe restarting the management agents will already help.
André
I Found the Cezzanne-00001-delta.vmdk on lsof command, what i do ? can i kill this process ?
In Attach Files i put my new vm folder after put a file which you send.
can i kill this process ?
Good question. I assume moving the VM's files has been done some time ago and should be finished by now (even if there's still a process locking the file). There might be a risk in killing the process, but I don't know what else you could do in this situation.
André
Andre , Thank you so much!!!!!!
Thanks for the file above
I Just killed the process of delta file and vm up !!!