The invention relates to a storage synchronization method for a
virtual machine based on a shared virtual disk. The method comprises the following steps: firstly, storing a virtual
disk image in a shared storage, and operating the
virtual machine by adopting a snapshoot manner; then, acquiring a
dirty page bitmap of a memory, and acquiring an address of the
dirty page bitmap in a logic space of the
virtual machine; obtaining a real address of the page in a memory space of a physical
machine, and packaging the dirty pages of the memory into a data packet and transmitting the data packet to the virtual
machine; mapping the page to the same address in the logic space of the virtual
machine; finally, returning information, via a spare virtual machine, to a primary virtual machine to finish synchronization. According to the storage synchronization method for the virtual machine based on the virtual disk, the problems of long
copying time and high
system expenditure happening in a storage synchronization process of the virtual machine during
error tolerance at present are solved; the storage synchronization method disclosed by the invention can be applied to an error tolerant technique for virtual machines.