Data restoration method and device

A recovery method and data technology, applied in the field of data processing, can solve problems such as multiple storage resources, affecting system work efficiency, occupation, etc., to achieve the effect of saving storage resources and improving system work efficiency

Inactive Publication Date: 2017-12-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, both of the above two methods need to occupy more storage resources, and additional steps are required to back up data before using ocfs, which affects system work efficiency

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
  • Data restoration method and device
  • Data restoration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other if there is no conflict.

[0017] The embodiment of the present invention uses the feature of the log file system of the ocfs to perform a rolling backup of the modified metadata of the file system to restore the super block to complete the file system restoration.

[0018] First, locate the log information of the block device by traversing the block device data of the damaged file system; analyze the log of the block device based on the static disk layout of the log system; then backtrack the history log in the block device, and find the history through the super block index Backup the super block data in the backup data, and take out the latest super block data backup to restore the super block, thereby completing t...

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 data restoration method and device. The method comprises the following steps of obtaining log information of block equipment through index information of the block equipment where a file system anomaly occurs; obtaining latest super block data backup in a log according to the log information of the block equipment and super block index information wherein the anomaly occurs and using the latest super block data backup to replace a super block where the anomaly occurs. According to the data restoration method and device, history backup of a super block is located through the log information of the block equipment, the purpose of restoring the super block to restore the file system is achieved, and not only are storage resources saved, but also the system work efficiency is improved; besides, a non-invasive mode is adopted to restore the file system super block, an original ocfs file system does not need to be modified, and meanwhile, the purpose of restoring the file system can be further achieved in emergencies.

Description

Technical field [0001] The invention belongs to the field of data processing, and in particular relates to a data recovery method and device. Background technique [0002] In the application scenarios of cloud computing and virtualization products, due to user misoperation or the existence of some bugs in the system itself, the super block of the ocfs file system (Oracle Cluster File System, Oracle file system) is mistakenly written and the file system is damaged; The existing methods for recovering damaged files include: creating a snapshot of the file system and writing it back after damage to recover; and backing up the super block of the ocfs file system. [0003] However, the above two methods require more storage resources, and additional steps are required to back up data before using ocfs, which affects the efficiency of the system. [0004] Therefore, there is an urgent need to provide a data recovery solution to solve the above technical problems. Summary of the invention...

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/14
CPCG06F11/1469G06F11/1471
Inventor 李宏伟
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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