发明名称 METHOD AND DEVICE FOR HOST SYSTEM TO DYNAMICALLY COMPRESS VIRTUAL MACHINE DISK DATA
摘要 A method and device for a host system to dynamically compress virtual machine disk data, solving the problem that the virtual machine disk mirror image can be compressed only when the virtual machine is turned off. The dynamic compression method comprises: sequentially scanning every sector of virtual disk files of a virtual machine; if the currently scanned sector is an empty sector, then controlling the virtual machine to pause, the empty sector being a sector only comprising preset identification fields; obtaining the preset data of the virtual disk of the virtual machine, and replacing the preset identification fields of the empty sector after migrating the preset data; after moving the preset data and finishing the replacement of the preset identification fields, controlling the virtual machine to return to work and continuously scan the next sector until finishing the scanning of the remaining sectors of the virtual disk files. In the method, data is moved when empty sectors are scanned, realizing real-time compression, and ensuring that the virtual machine completes disk compression without interrupting services to save storage space.
申请公布号 WO2015154617(A1) 申请公布日期 2015.10.15
申请号 WO2015CN74645 申请日期 2015.03.19
申请人 ZTE CORPORATION 发明人 SHE, WENKUI
分类号 G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项
地址