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

Magnetic disk data repairing method and device

A data repair and disk technology, applied in the computer field, can solve problems such as data unrecoverable

Active Publication Date: 2016-10-05
ZHEJIANG DAHUA TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for restoring disk data to solve the problem in the prior art that undamaged data cannot be recovered when a disk fails

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
  • Magnetic disk data repairing method and device
  • Magnetic disk data repairing method and device
  • Magnetic disk data repairing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In the embodiment of the present invention, based on the CQFS file system, when the data in the data area is destroyed, input the original disk path of the faulty disk, the original globally unique identification string (UniversallyUnique Identifier, UUID) of the disk and the last write block ID, The faulty disk is quickly formatted again, that is, all metadata is cleared, and there is no dependence on the original metadata of the faulty disk in the subsequent repair process, so the disk data repair method in the embodiment of the present invention is universal. After the quick format, perform a complete disk consistency check, restore the metadata from the data area, and reset the recovery timestamp of the metadata, save the metadata to the disk, and complete the disk repair process. In this way, a general disk data repair method capable of repairing disk failures of the CQFS system is provided, which can protect undamaged data area data and continue normal storage.

...

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 magnetic disk data repairing method and a magnetic disk data repairing device, and aims at repairing magnetic disc data if magnetic disc faults happen in a CQFS system. The magnetic disk data repairing method comprises the following steps: in the embodiment of the invention, when confirming that the CQFS system has a magnetic disc with faults, implementing quick format operation on the magnetic disc with faults, and confirming corresponding new meta data information on the basis of in-block description information of a data zone retained after quick format in the magnetic disc with faults, wherein the meta data information is used for describing basic information of a data block and corresponds to the in-block description information of the data block one to one; resetting a recycling time stamp in the new meta data information, and storing the new meta data information on the magnetic disc after quick format. Therefore, the invention provides a universal magnetic disc data repairing method for the CQFS system with magnetic disc faults, and after the magnetic disc is repaired, data in all undamaged data zones can be normally read, and can be further normally stored.

Description

technical field [0001] The invention relates to the field of computers, in particular to a disk data restoration method and device. Background technique [0002] During the operation of the file system, the file system data will be lost due to some unexpected situations (such as power outages, etc.). The traditional file system will be equipped with inspection tools to repair the file system data. For example, the Windows operating system There are NTFS file system and CHKDSK checking tool under Linux operating system, ext3 file system and fsck. damaged, these tools will not be able to repair the file system data, resulting in the loss of the entire file system data. [0003] Take the ext3 file system under the linux operating system as an example. When the file system data is lost due to an unexpected situation, use the fsck.ext3 check tool to check and repair the disk data. In some cases, the file system can be repaired; and In some cases, errors such as damage to the su...

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/14G06F11/22
Inventor 孙俊伟张兴明
Owner ZHEJIANG DAHUA TECH CO LTD