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

Online repair method aimed at file system

A file system and repair method technology, applied in the direction of response to error generation, special data processing applications, instruments, etc., can solve problems such as suspension and stop access, and achieve the effect of ensuring continuity and reducing startup time

Active Publication Date: 2014-04-30
TOYOU FEIJI ELECTRONICS
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an online repair method for a file system, which ensures that the file system can still respond to IO requests normally during the real-time repair process of the storage volume, and solves the problem that the prior art stops accessing the storage volume or suspends the file system during the repair period , the specific technical solution is:

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
  • Online repair method aimed at file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The principle of technical solution design is as follows: figure 1 As shown, take an application program's IO request to file1 during the repair of file1 as an example.

[0015] According to step 1, the inode error of the file file1 scanned on the storage volume is repaired in real time in the background. The number of blocks storing actual data recorded in the inode associated with the file is wrong, and the background process will correct the wrong number of blocks, and at the same time estimate the repair time and display the repair progress based on past experience in repairing this type of error.

[0016] According to step 2, the manager device intercepts the read request and write request for the file file1 issued by the file system during the restoration.

[0017] According to step 3, process the read request or write request to the file file1 in the real-time repair state: if it is a read request, then perform step 4, if it is a write request, perform step 5; ...

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 relates to an online repair method aimed at a file system, and belongs to the technical field of computer storage. The online repair method comprises the following steps: scanning the damage of a storage volume associated with the file system, carrying out real-time error correction, and simultaneously keeping the storage volume online, so that the file system still can respond to an IO request; during the scanning process, classifying encountering errors, and adopting a corresponding repair scheme; during the repair process, establishing repair time for specific errors, and giving out a repair rate of progress; if the repair is in failure, clearing off the data; Establishing a manager device above the storage volume, and taking the last part of storage space of the storage volume as a logger device, wherein the manager device is in charge of management and maintenance; during the period of error amending, intercepting and processing the IO request issued by the file system by the manager device; processing a read-write request aimed at the damaged part of the storage volume. According to the online repair method, during the period of repairing the errors of the storage volume, the file system still can respond to the IO request normally.

Description

technical field [0001] The invention relates to an online repair method for a file system, belonging to the technical field of computer storage. Background technique [0002] A file system is a mechanism for organizing and managing data and metadata on a storage device, and responds to IO requests from different applications. An important aspect of managing a file system is maintaining file system consistency. However, when an unexpected situation occurs, such as an unexpected power failure or a certain IO failure, it may cause damage to metadata and data, that is, the file system is in an inconsistent state. If it is not repaired in time at this time, subsequent IO requests cannot be effectively responded. [0003] In view of this kind of file system damage situation, one of the current methods is to perform a consistency check on the file system when the computer is restarted, or repair the damaged file system according to the log record metadata or data changes. Howeve...

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/07G06F17/30
Inventor 霍米会孙斌杨峰李辉周泽湘谢红军王成武罗华
Owner TOYOU FEIJI ELECTRONICS