A fault detection method and system

A fault detection and fault technology, applied in the field of fault detection methods and systems, can solve problems such as the failure of business to run normally, the inability to accurately reflect the real state of the disk, and the lack of processing methods for potential faulty disks

Active Publication Date: 2018-06-22
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The management of disk resources is a relatively important task in the cluster system. The carrier of business data in our system and software is the disk. Failure of disk resources will directly cause our business to fail to run normally.
Using the traditional RW method to detect the disk state cannot accurately reflect the real state of the disk, and there is also a lack of processing methods for potential faulty disks

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
  • A fault detection method and system
  • A fault detection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0034] In the high-availability cluster technology, the traditional RW method of detecting the disk status only detects whether the disk status is normal based on the size returned by the input / output I / O, while ignoring the return time of the I / O and whether the disk is correct before the detection Therefore, it is impossible to accurately detect the real status of disk resources, let alone detect potential faulty disks with relatively large I / O delays.

[0035] This patent invents an improved method for detecting the state of disk resources in high-availability technology, which judges whether the disk is in a fault state by performing I / O operations on blocks on the disk and querying the virtual file system proc system; B...

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 disk resource fault detection method and system. The method comprises: before performing input / output (I / O) operation on a physical block on disk resources, inspecting a virtual file system, namely a proc system, and determining whether the disk resources are correctly mounted in a local machine; when determining whether the disk resources are correctly mounted in the local machine, performing the I / O operation; comparing return time of the I / O operation with a preset time threshold value; when the return time is smaller than the time threshold value, judging that the disk resources are normal and performing fault detection on next I / O operation; and when the return time is greater than or equal to the time threshold value, judging that the disk resources are faulted and modifying self-inspection parameters of a disk file system. Through the scheme, the real state of a disk can be accurately reflected and the disk with potential faults is processed.

Description

technical field [0001] The invention relates to disk resource detection technology, in particular to a fault detection method and system. Background technique [0002] High-availability technology is a technology that can ensure the uninterrupted operation of our system and software and provide normal services, and can quickly restore normal business in the event of a node failure or even downtime. The cluster system built with high-availability technology can manage and monitor various resources, including: database resources, IP resources, NIC resources, service resources, and disk resources. [0003] The management of disk resources is a relatively important task in the cluster system. The carrier of business data in our system and software is the disk. Failure of disk resources will directly cause our business to fail to run normally. Using the traditional RW method to detect the disk state cannot accurately reflect the real state of the disk, and there is also a lack o...

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 Patents(China)
IPC IPC(8): G06F11/22G06F3/06
Inventor 成金祥李大生刘志勇
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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