Method and apparatus for snapshot processing

The present application provides a method and apparatus for snapshot processing, which avoids a large number of data copies caused by updating the snapshot and reduces the impact on normal IO services. The method comprises: determining a first snapshot from a snapshot system, the snapshot system com...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAN ZHAOCHEN, ZHANG LIANGXIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present application provides a method and apparatus for snapshot processing, which avoids a large number of data copies caused by updating the snapshot and reduces the impact on normal IO services. The method comprises: determining a first snapshot from a snapshot system, the snapshot system comprising a plurality of snapshots, the plurality of snapshots being backup data of the same data at different times; according to the update order of the plurality of snapshots, and a target data block included in the first snapshot, selecting a second snapshot for updating the target data block fromat least two snapshots other than the first snapshot of the plurality of snapshots, the second snapshot having a valid data block at a position corresponding to the target data block; updating the target data block in the first snapshot with a valid data block in the second snapshot corresponding to the target data block position. 本申请提供了种快照处理的方法和装置,避免了更新快照带来大量的数据拷贝,减小了对正常IO业务的影响。该方法包括:从快照系统中,确定第快照,所述快照系统包括多个快照,所述多个快照为同数据