Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for detecting hard disk disorder based on Linux system

A kind of hard disk, drive letter technology, applied in the computer field

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

AI Technical Summary

Problems solved by technology

At present, there is no clear method to detect whether the hard drive letters in the server will be out of order, so it is necessary to develop a method that can detect whether the hard drives in the server will be out of order

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
  • Method and device for detecting hard disk disorder based on Linux system
  • Method and device for detecting hard disk disorder based on Linux system
  • Method and device for detecting hard disk disorder based on Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0051] Such as figure 1 As shown, the embodiment of the present invention provides a method for detecting out-of-order hard disk based on Linux system, comprising the following steps:

[0052]Step 101 , for each hard disk to be tested, establish a standard correspondence between the bus ID of the hard disk to be tested and the drive letter of the hard ...

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 method and device for detecting hard disk disorder based on a Linux system. The method for detecting hard disk disorder includes the following steps that for each to-be-detected hard disk, the standard correspondence relationship of bus IDs of the to-be-detected hard disk and hard disk drives of the to-be-detected hard disk is built; A1, a server connected with the to-be-detected hard disk is started; A2, a hard disk drive sequence script is obtained through triggering, and for each to-be-detected hard disk, the current correspondence relationship of the bus IDs of the to-be-detected hard disk and the hard disk drives of the to-be-detected hard disk is obtained; A3, on the premise that the bus ID is the same one, the current correspondence relationship is compared with the standard correspondence relationship, and if there are at least two current correspondence relationships different from the standard correspondence relationship, the detection result is recorded as disorder; A4, the number of times of disorder and the number of times of detection are recorded, the A1 step is executed until a stopping command is received from the outside, the current process is stopped, and the number of times of disorder and the number of times of detection are displayed. The method and the device can be used for detecting whether hard disk drive disorder occurs in the hard disk in the server or not.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for detecting out-of-sequence of a hard disk based on a Linux system. Background technique [0002] In the Linux system, in order to distinguish the hard disks connected to the system, each connected hard disk is assigned a bus ID and a hard disk drive letter. Among them, the bus ID assigned by the system to the hard disk is unchanged, and the drive letter assigned by the system to the hard disk will change due to the different startup sequences of the hard disk. [0003] This allocation method of the hard disk drive letter will cause the corresponding hard disk drive letter of the hard disk to change, thus causing the hard disk drive letter to be out of sequence. Disordering of hard drive letters will have a negative impact on server performance. For example, the drive letter corresponding to hard disk A is sda, and the drive letter corresponding to hard ...

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
IPC IPC(8): G06F13/16G06F3/06G06F11/22
CPCG06F13/1668G06F3/0604G06F3/0635G06F11/2247
Inventor 兰太顺
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products