摘要 |
A virtual machine processing method and a virtual computer system. The method comprises: receiving, by a virtual file system of a virtual machine, a file command for operating a user file of the virtual machine (S501), the file command carrying a file path of the user file of the virtual machine in the virtual file system; forwarding, by the virtual file system, the file command for operating the user file of the virtual machine to a storage virtualization layer (S502); and converting, by a cluster file system of the storage virtualization layer, the file command for operating the user file of the virtual machine into an IO command for operating a physical disk of a storage device according to the file path of the user file of the virtual machine in the virtual file system and a first correlation between the user file of each virtual machine and a physical disk space (S503). When a user deletes a user file, a cluster file system or a distributed file system can recycle a data region of a physical disk occupied by the user file in real time, thereby improving the utilization rate of a storage space of a virtual machine. |