Method for realizing directory-level snapshot of distributed file system and electronic equipment

The invention relates to the technical field of data security, in particular to a method for implementing directory-level snapshots of a distributed file system and electronic equipment.The method comprises the following steps that metadata of directory snapshot points are defined, and a certain dir...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU AIGUI, CHEN BINBIN, RUAN XUEPING
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 invention relates to the technical field of data security, in particular to a method for implementing directory-level snapshots of a distributed file system and electronic equipment.The method comprises the following steps that metadata of directory snapshot points are defined, and a certain directory is subjected to multiple times of snapshots to form an abstract directory snapshot tree; forming a snapshot expression through the timestamp set, and calculating a snapshot data view of a certain snapshot point according to the snapshot expression; when a snapshot point is accessed through the hidden directory of the snapshot, the request is redirected to the actual directory inode according to the actual directory id in the metadata; and finally, accessing the data according to the snapshot expression, matching through a set condition, and accessing a correct metadata version. According to the method, the problem of data dispersion is reduced, the influence on continuous reading is reduced, the data of the