VMware Virtual machine configuration file (. vmx) Corruption fix

Source: Internet
Author: User

Preface:Corruption for VMware Virtual machine configuration file (. vmx)the cause of failure may not be the same as mine, but the solution should be the same.However, this method only applies if the. vmx file is damaged and other files are perfect without damage.


problem occurs:Recently, we have been studying Hadoop and have just finished building hbase today. It feels very slow when you use it, and the result is stuck when you run the HBase shell. Then the error message ... Forgot the content ... Then the virtual machine crashes. Then this virtual machine can no longer open, prompting my. vmx file is corrupted.
The. vmx file is used in VMware virtual machines to save all hardware and software configurations for the virtual machine. Assuming an accidental corruption, a failure to open the virtual machine normally occurs.
my situation:The VMware version number is 10 and the virtual machine is a Linux system: the CentOS release 6.4.VMX filename is called: CENTOS.VMX
To view the log file:Open the Vmware.log file under the Virtual Machine folder I am in the last section of log logs. The following two words were found.

......................................................................................................................... ........... 2014-11-01t21:51:09.100+08:00| Vmx| W110:minidump failed: There is isn't enough space on the disk
2014-11-01t21:51:09.137+08:00| Vmx| I120:coredump error:write, page 0x113 (0xFFFFFFFF) No space left on device......................................................................................................................... ........... It is obvious that there is not enough disk space to cause errors when writing data. Finally caused configuration centos.vmx error.
Solution Ideas:1. Remove the. vmx file (do not delete the wrong!!!) ), and then create a new. vmx file of the same name, mine is centos.vmx;2. Find "DICT---CONFIGURATION" (front is the date and time information); 3. Find "DICT---USER DEFAULTS" (Front is the date and time information); 4. Copy the data between the two lines (the two lines mentioned above do not need to be duplicated); 5. Paste into the. vmx file (mine is CENTOS.VMX). 6. Delete the date-time flag in front of all lines in the Centos.vmx file, leaving only the following information, such as: 2014-11-01t20:50:32.963+08:00| Vmx| I120:dict config.version = "8" will "2014-11-01t20:50:32.963+08:00| Vmx| I120:dict "partially deleted, just keep config.version =" 8 ". PS: Suppose you don't know the simple way to delete columns. I recommend using notepad++, pressing out ALT to select columns, and then deleting all columns that represent the time of the flag.

Then select all, Tab+shift to move all content to the left. Finally let the front space all remove. The effect of the left-aligned log information is reached.

7. According to all changes in the above format, and then give all lines of the character after the equal sign (note Do not use the Chinese input method of the double cited) such as: Config.version = 8 to Config.version = "8" Suppose you, like me, already have the English double cited, do not need to add In; 8. Save the. vmx file (CENTOS.VMX). 9. Once again open the. vmx file (CENTOS.VMX); 10. OK, start the virtual machine.
Finally, the part of the modified CENTOS.VMX file (first + end, omitted in the middle) is attached: ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... config.version = "8"
Virtualhw.version = "8"
Scsi0.present = "TRUE"
Scsi0.virtualdev = "Lsilogic"
Memsize = "256"
Scsi0:0.present = "TRUE"
Scsi0:0.filename = "CENTOS-000010.VMDK"
Ide1:0.present = "TRUE"
Ide1:0.filename = "Auto Detect"
Ide1:0.devicetype = "Cdrom-raw"
floppy0.startconnected = "false" ... checkpoint.vmState.readOnly = "false"
Gui.lastpoweredviewmode = "fullscreen"
Ide0:0.present = "FALSE"
Usb:0.present = "TRUE"
Usb:0.devicetype = "HID"
Usb:0.port = "0"
Usb:0.parent = "-1" ...... ..... ................ ....................... ........

VMware Virtual machine configuration file (. vmx) Corruption fix

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.