The present disclosure introduces a method and an apparatus of shrinking virtual hard disk image file. The present techniques search a garbage data block in a file and revise a record of the garbage data block in a block allocation table (BAT). The file includes one or more data blocks and a BAT that records information of each data block. The garbage data block is a data block that does not store effective data. The present techniques move an effective data block subsequent to the garbage data block, revise a record of the effective data block in the BAT after the moving, and shrink a size of the file after the movement.
申请公布号
WO2013023133(A8)
申请公布日期
2013.12.19
申请号
WO2012US50296
申请日期
2012.08.10
申请人
ALIBABA GROUP HOLDING LIMITED;SONG, ZHEN-HUA;CHEN, WEICAI;WANG, QIAN;WAN, JIA