Method and device for realizing snapshot based on distributed file system
A technology for distributed files and implementation methods, which is applied in the field of snapshot implementation methods and devices based on distributed file systems, which can solve the problems that snapshot technology cannot meet the requirements of distributed file systems, and reduce the consumption of system resources and IO resources , reduce the process of repeated replication, and improve the effect of generally lower system performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The general idea of the present invention is that when taking a snapshot of the source file, only the metadata of the data block is copied to obtain the snapshot file, and the contents of each data block (chunk) of the source file are not copied temporarily, but wait until the data block needs to be processed When updating operations (such as modifying, deleting, adding content, etc.), copy the content of the data block. The snapshot file of the present invention is obtained by copying metadata of data blocks.
[0023] The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.
[0024] A source file is often stored by multiple data blocks. Suppose the source file is stored by 4 data blocks, which are respectively counted as data blocks A, B, C, and D. Before the snapshot, the meta information of the source file includes pA, pB, pC, pD, as shown in Table 1, before the snapshot, the snapsh...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 