Tuesday, July 6, 2010

VMware KB: Validating the .vmx settings of a virtual machine

Issue: When I tried to open the virtual machine using the vmware I get the following message, this is the 1st time I’m opening not sure how come the error message says its already in use by a VM/snapshot, does anybody has clue on this?

Error Message: Unable to open file"xxx\wubdiws.vmdk : one of the disks in this virtual machine is already in use by a virtual machine or by a snapshot



Resolution: After a 2 day battle and a quick tip from a professional able to find the following KB article and fallowed the case 4 able to resolve the issue successfully :)

In summary created new .vmx file and intern its created bunch of associated files and able to boot the machine.


VMware KB: Validating the .vmx settings of a virtual machine

4.Create a new virtual machine that points to the same virtual disks:
Note: You cannot perform this task with VMware Player or an ACE Instance.
a.Back up your virtual machine by cloning it or copying all of the files in its directory somewhere else.
b.Delete the existing .vmx file.
c.Create a new virtual machine.
d.Choose Custom for the type of virtual machine.
e.When prompted by the wizard for the location of the virtual machine, pick the same location as the existing virtual machine.
f.Choose all of the same settings as for the original virtual machine.
g.Click Use an existing virtual disk when prompted for the disk. Browse to the location of the original virtual machine's .vmdk files.
Note: If the original virtual machine had more than one virtual disk, you must edit the new virtual machine after it has been created to add these back in again.
h.Power on the new virtual machine after it is created.
i.If the problem no longer occurs, confirm that everything is now working as expected, and delete the copy of the virtual machine.

0 comments: