Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2012-10-10
ZTE CORP
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a snapshot implementation method and device based on a distributed file system, which solves the technical problem that the existing snapshot technology cannot meet the requirements of a distributed file system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing snapshot based on distributed file system
  • Method and device for realizing snapshot based on distributed file system
  • Method and device for realizing snapshot based on distributed file system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for realizing snapshot based on a distributed file system. The method includes the following steps of: copying metadata of a data block to create a snapshot file, and saving the snapshot file; and associating the snapshot file and the metadata of the data block with the data block. According to the invention, by adopting the above technical scheme, a technical problem of incapability of satisfying demands of a distributed file system of the prior-art snapshot technologies can be solved.

Description

technical field [0001] The invention relates to the field of storage, in particular to a method and device for implementing a snapshot based on a distributed file system. Background technique [0002] With the improvement of storage application requirements, users need online data protection. Snapshot is one of the effective methods for online storage devices to prevent data loss. The most common use of snapshot technology is to quickly and easily restore data that has been accidentally erased or damaged. Snapshot technology can achieve two functions: integrating resources and migrating data. With snapshot technology, the reliability of data in the storage system is greatly improved, and it provides strong data guarantee for software testing and regression testing. In existing storage systems, snapshot technology can be implemented at multiple levels in the storage system: there are file system-based snapshots, logical volume device-based snapshots, device driver-based snap...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 欧阳伟
Owner ZTE CORP