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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com