Hardware fault-oriented method and device for correcting faults in key files of system

A hardware failure, key file technology, applied in the direction of response error generation, special data processing applications, instruments, etc., can solve problems such as damage to key files of applications, error exit of applications, loss of service providers, etc., to achieve user transparency, Real-time failure recovery, avoiding the effect of inaccessible files

CN102880522BInactive Publication Date: 2014-12-31NAT UNIV OF DEFENSE TECH +1
7 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2014-12-31
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a hardware fault-oriented method and a hardware fault-oriented device for correcting faults in key files of a system. The method comprises the following steps: (1), establishing a backup file table which contains information of the key files of the system, establishing a copy file for each target file of the backup file table and maintaining synchronization of the copy files and the target files; (2), detecting file operation fault of an operating system in real time and diagnosing the reason of the fault, when the file confronting the operation fault is the target file corresponding to the backup file table and the fault is caused by hardware fault of a storage system, carrying out next step; and (3), replacing the file encountering the operation fault with the corresponding copy file and trying to operate the file again. The device comprises a copy file managing module, a fault detecting module, a fault diagnosing module and a fault processing module. According to the method and the device, the problem of system down or service crash caused by file access failure can be prevented; and the method and the device have the advantages of good fault tolerance characteristic, high robustness, real-time fault recovery, transparency to user, strong expandability and good commonality.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of high-reliability computer systems, in particular to a real-time and dynamic correction method for key system files facing hardware failures in high-end servers. Background technique

[0002] With the continuous increase of storage device capacity, the probability of storage device failure is getting higher and higher, which is a huge challenge for computer users, especially high-end server users. In order to cope with the increasing failure rate of storage devices, hardware manufacturers, including some system software providers, have provided many measures, such as: building redundant disk arrays, etc., but in any case, no matter what measures are taken, it cannot be avoided Occurrence of storage device failure.

[0003] The failure of the storage device has a huge impact on the upper system software and application software. For example, when the storage device fails and the key files of the operating system can...

Examples

Embodiment Construction

[0046] Such as figure 1As shown, the implementation steps of the hardware failure-oriented system key file failure correction method in this embodiment are as follows:

[0047] 1) Establish a backup file table containing system key file information, create a copy file in the storage system for each target file corresponding to the backup file table, and keep the copy file and the corresponding target file in sync;

[0048] 2) Detect the file operation failure of the operating system in real time and diagnose the cause of the failure. When the file with the file operation failure is the target file corresponding to the backup file table and the failure is caused by a hardware failure of the storage system, execute the next step;

[0049] 3) Modify the index of the file where the operation failure occurred, use the corresponding copy file to replace the file where the file operation failure occurred, and call the retry mechanism of the file system to retry the file operation.

...