Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for recovering disk data and device thereof

A disk data recovery and data technology, which is applied in the direction of data error detection and response error generation, can solve the problems of reducing the time window of business stop to zero and instantly recovering data, etc.

Active Publication Date: 2011-08-24
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the use of snapshots or mirroring, although the user's data at a certain point in time is immediately available, after that, it still takes a long time window to stop the user's business, resynchronize the mirroring or copy the snapshot data back. Therefore, the traditional technology does not really reduce the time window of business stop to zero
The current so-called instant recovery method only moves the downtime to the back, and the data does not recover to the production volume in an instant. Therefore, for some systems that need to run continuously all day or all week, this method is impossible. accepted

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 for recovering disk data and device thereof
  • Method for recovering disk data and device thereof
  • Method for recovering disk data and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] An embodiment of the present invention provides a disk data recovery method. This method completes the restoration of disk data through a background thread. Such as figure 1 As shown, the method includes the following steps:

[0039] Step 110, determine the data block (CHUNK) to be restored according to the change state of the data block indicated by the data block change identifier, the change state of the data block is the change state of the data block after the backup data is created.

[0040] The backup data may be snapshot data or mirror data at a certain point in time. For example, at different time points: 5:00am, 8:00am, 1:00pm, and 3:30pm respectively create snapshots for the production data volume (source volume), if the data on the production data volume is infected at 3:35pm virus, you can choose to restore the production data volume to the snapshot created at 3:30pm. At this time, the snapshot data at 3:30pm is the backup data used to restore the data...

Embodiment 2

[0055] The embodiment of the invention also provides a disk data recovery method. The method realizes disk data recovery through the active recovery process of the disk after receiving the input and output request from the host. Such as Figure 5 As shown, the method includes the following steps:

[0056] Step 210, receiving an input / output (IO) request for a data block from the host.

[0057] The input and output requests include write requests and read requests.

[0058] Step 220, when it is determined that the data block is a data block that needs to be restored and the data block that needs to be restored has not been restored, use the backup data to restore the data block, and set a restoration completion flag for the restored data block.

[0059] The recovery of the data block by using the backup data refers to copying back the data to be recovered from the snapshot volume or the mirror volume to the data block of the production data volume.

[0060] Wherein, determi...

Embodiment 3

[0070] This embodiment provides a method for recovering disk data. In this embodiment, the instant recovery of data is realized by combining the disk recovery performed by the background thread and the immediate real-time recovery according to the access request of the host. Among them, the disk data recovery steps running in the background are as follows: Figure 6 shown, including:

[0071] Step 310, determine the data block to be restored according to the data change bitmap corresponding to the data block.

[0072] The data change bitmap is used to identify whether each data block is changed or not after the backup data is created.

[0073] The data change bitmap can be created when creating a snapshot or a mirror image, and is used to record information about changes in disk data blocks after the snapshot or mirror time point. Each bit in the bitmap corresponds to each disk data block. For example, when creating a snapshot or If a data block is changed in the production ...

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 provides a method for recovering disk data and a device thereof., wherein the method comprises the steps of: determining a data block requiring recovery in a disk according to the changestatus of the data block indicated by a change mark of the data block, utilizing backup data to recover the data block requiring recovery when the data block requiring recovery is not recovered and setting a recovery completion mark to the recovered data block. The change status of the data block is the change status of the data block after the backup data thereof is created. The embodiment of the invention can realize the instant recovery of source volume data without switching logical path and physical path and needing no business-stop time window.

Description

technical field [0001] The invention relates to disk array technology, in particular to a disk data recovery method and device. Background technique [0002] When the data is damaged, such as logical damage such as hacker virus, for traditional disk recovery, there are generally two recovery methods for disk data, (1) use the mirror volume to copy the data of the mirror volume back; (2) Offline incremental recovery using snapshot data. [0003] The specific recovery process may include the following steps: (1) When the source volume data is damaged, first switch the user business to the mirror volume or snapshot volume at a certain point of time in an instant, so that the user business can be used immediately. disk copy, the snapshot volume is used as an incremental copy. Before switching the user business to the mirror volume or snapshot volume, the business system can be temporarily stopped. Stopping the business system can release the cache to prevent the cache from aff...

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 Patents(China)
IPC IPC(8): G06F11/14
Inventor 罗姣林
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products