Method and device for achieving copy-on-write snapshot

A technology of copy-on-write and implementation method, which is applied in the direction of data error detection, response error generation, memory address/allocation/relocation, etc., which can solve the problem of large storage space in the snapshot data area and storage system burden, low space occupancy, etc., to achieve the effect of reducing the size of the snapshot data area, reducing blank data copies, and improving storage space utilization

Active Publication Date: 2010-09-22
深圳创云科软件技术有限公司
View PDF0 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0027] Although copy-on-write snapshots are created quickly and only need to save the changed data blocks in the source data area, the space usage rate is also low. However, when the data blocks in the source data area are changed for the first time, the The data block is backed up to the snapshot data area and the snapshot reference pointer is established in the memory before the data block can be updated, which brings a large delay to the user's write request; at the same time, as more and more data is changed in the source data area, The memory consumed by the snapshot reference index will become larger and larger, and the storage space occupied by the snapshot data area will also increase, which will bring a great burden to the storage 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 achieving copy-on-write snapshot
  • Method and device for achieving copy-on-write snapshot
  • Method and device for achieving copy-on-write snapshot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The basic train of thought of the present invention's scheme is as follows:

[0057] Based on the existing copy-on-write snapshot technology, a judging module is added to the source data area and the snapshot data area to judge whether the corresponding data block needs to be copied to the snapshot data area when the source data area receives a write request, and only The copy operation is performed only when necessary.

[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further elaborated below in conjunction with the accompanying drawings.

[0059] In the embodiment of the present invention, a bitmap is introduced to identify whether the corresponding data blocks in the source data area and the snapshot data area are valid. Each bit of the bitmap may correspond to one or more data blocks. In order to record the state of the data block in the source data area, a bitmap must be create...

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 an improved method for achieving copy-on-write (COW) snapshot, which comprises the following steps: setting up the bitmaps for a source data area and a snapshot area, wherein each bit in the bitmap corresponds to N data blocks; and indicating that data are written in the corresponding data blocks if the bit is valid, and if not, indicating that the data are not written in the corresponding data blocks, wherein N represents a natural number. Based on the bitmaps for the source data area and the snapshot area, the following functions can be performed: when a writing request is received by the source data area, whether the corresponding data blocks are required to be copied to the snapshot data area is judged, and the copy operation is carried out only when necessary. The invention further discloses an improved device for achieving the copy-on-write snapshot. The improved scheme provided by the invention is capable of directly responding to most writing request of a host computer instead of copying the data blocks to the snapshot data area. By making the improvement, the invention can reduce the delay in the writing request of a user, reduce the size of the snapshot citation index and the snapshot data area and increase the utilization rate of the memory space.

Description

technical field [0001] The invention relates to the technical field of computer storage, in particular to an improved implementation method and device for copy-on-write snapshots. Background technique [0002] With the accelerated development of information technology, the scale of key business data of enterprises is increasing day by day. Enterprises not only require larger and larger storage capacity, but also have higher and higher requirements for data security. With the improvement of storage application requirements, users need online backup and data protection. A snapshot (Snapshot) technology is an effective online data protection method, which can quickly realize online data backup. [0003] A snapshot is a fully available copy of a specified data set, which includes an image of the specified data set at a certain point in time. The specified data collection is called the source data area, and the image at a certain point in time is called the snapshot data area. ...

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): G06F11/14G06F12/06
Inventor 吉永光金振成
Owner 深圳创云科软件技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products