Introduction to several common files under the VMware Virtual System folder
1. vmx file: Represents a virtual system file, we use a virtual machine program to open this file to start the virtual system.
2. vmem file: Represents a virtual memory file with the Pagefile.sys (also known as a paging file). When the virtual system performs a shutdown operation, the Vmem file disappears, but hangs off when it does not disappear.
3. vmdk file: Represents a virtual disk of a virtual machine.
4. vmss file: The file produced after the execution of the suspend operation. (equivalent to a snapshot file?) )
5. When running a "virtual system", in order to prevent the system from being opened by another VMware program, causing data to be modified or corrupted, VMware will automatically generate three locked files in the same folder as the "virtual system".
(Virtual system lock, Virtual disk lock, virtual memory Lock), respectively:
"SystemType.vmx.lck", "SystemType.vmdk.lck", "SystemTyep.vmem.lck".
When the virtual system shuts down properly, VMware unlocks and the "SystemTyep.vmdk.lck" and "SystemType.vmem.lck" folders disappear.
When the virtual machine program shuts down, the "SYSTEMTYPE.VMX.LKC" folder disappears.
Problems
Although VMware's locking mechanism is a good way to prevent the same virtual system files from being run by multiple VMware running programs, data corruption is avoided. But it also brings a number of problems. That is, when a power outage or other unexpected situation occurs, a virtual system file may not open properly. The reason for this is that the virtual system file is not unlocked. Workaround: Just delete the three Lck folder.
Knowledge development
1. What is virtual memory? What is the Pagefile.sys file?
Virtual memory is a technology of computer system memory management. It allows the application to assume that it has contiguous available memory (a contiguous, complete address space), and in fact, it is usually separated into multiple physical memory fragments, and some are temporarily stored on external disk storage and exchanged for data when needed.
Pagefile.sys is a paging file, the virtual memory file, which exists by default in the root directory of the system disk, the larger the system disk space, your system can make more space for virtual memory, then your system will be more stable, it is recommended to try not to install software programs in the system disk.
2. Why should I set up virtual memory?
Programs running on your computer need to be executed in memory, and if you execute a large or many program, memory consumption will be exhausted.
and memory shortage often results in card machine, system instability and other situations. To solve this problem, Windows uses virtual memory technology, which is to absorb some of the hard disk space to act as memory.
Although virtual memory technology can alleviate the tension of physical memory to some extent. However, because the rate at which computers read data from RAM is faster than the rate at which data is read from the hard disk, expanding RAM capacity (plus memory bars) is the best choice if you want to improve performance.
3. How does it work?
How it works: if the running program or operation lacks the required physical memory (random memory, RAM), Windows uses it to compensate. It combines the RAM of the computer and the temporary space (virtual memory) on the hard disk. When RAM runs slowly, it moves data from RAM to a space called a paging file.
Introduction to several common files under the VMware Virtual System folder