CN114281611A - Method, system, equipment and storage medium for comprehensively detecting system disk - Google Patents
Method, system, equipment and storage medium for comprehensively detecting system disk Download PDFInfo
- Publication number
- CN114281611A CN114281611A CN202111342222.8A CN202111342222A CN114281611A CN 114281611 A CN114281611 A CN 114281611A CN 202111342222 A CN202111342222 A CN 202111342222A CN 114281611 A CN114281611 A CN 114281611A
- Authority
- CN
- China
- Prior art keywords
- value
- state information
- disk
- hard disk
- link
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000001514 detection method Methods 0.000 claims abstract description 55
- 230000036541 health Effects 0.000 claims abstract description 40
- 230000004044 response Effects 0.000 claims description 21
- 230000008859 change Effects 0.000 claims description 18
- 230000009643 growth defect Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 7
- 230000007547 defect Effects 0.000 claims description 7
- 238000012360 testing method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000003862 health status Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 208000000044 Amnesia Diseases 0.000 description 1
- 208000026139 Memory disease Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000006984 memory degeneration Effects 0.000 description 1
- 208000023060 memory loss Diseases 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method, a system, equipment and a storage medium for comprehensively detecting a system disk, wherein the method comprises the following steps: acquiring first state information of a serial connection small computer system interface hard disk at intervals of first preset time, and judging whether the serial connection small computer system interface hard disk is healthy or not according to the first state information; responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link at intervals of second preset time, and judging whether the link is healthy or not according to the second state information; responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy or not according to the third state information; and responding to the health of the redundant array of independent disks, confirming the health of the system disk and starting the next detection of the system disk at an interval of a third preset time. The invention can detect the system disk more comprehensively.
Description
Technical Field
The present invention relates to the field of system disks, and more particularly, to a method, system, device and storage medium for comprehensively detecting a system disk.
Background
The hard disk is one of the most important components of the server, and the importance of the system disk is closely related to the good use of the device, however, after the hard disk is used for a long time, the hard disk is damaged due to some irregular operations, for example, the hard disk is forcibly turned off when cpu occupation is particularly large, such as playing games, watching videos, and the like, or the hard disk is forcibly turned off when the system is reset or updating programs, and the damage of the hard disk or the memory loss are caused in these times. Therefore, the health condition of the hard disk needs to be regularly detected.
The detection of the current system disk is judged only based on the parameters of the hard disk, such as the current temperature, the health state, the serial number, the cache, the capacity and the like of the hard disk, and the optimized tool is also used for reading the detailed information of the local hard disk, including an interface, the rotating speed, the temperature, the service time and the like. The software also makes an assessment based on the score of the s.m.a.r.t. and alerts when the hard disk is about to fail. The health of the system disk is not only dependent on the health condition of the strongly-related hard disk, but also information of links connected with the main board, Raid (Redundant array of Independent Disks) and the like also needs to be detected healthily, otherwise, a failure of the system disk is caused by any one of the links.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for detecting a system disk comprehensively, where the detection of the system disk is not only based on detection of parameters in various aspects of a single disk, but also based on detection of parameters in various aspects of a single disk, the hard disk itself accesses a link, accesses a linked redundant array of independent disks, and sets specific alarm and failure determination criteria, so that the detection of the system disk is more comprehensive.
Based on the above object, an aspect of the embodiments of the present invention provides a method for comprehensively detecting a system disk, including the following steps: acquiring first state information of a serial connection small computer system interface hard disk at intervals of first preset time, and judging whether the serial connection small computer system interface hard disk is healthy or not according to the first state information; responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link at intervals of second preset time, and judging whether the link is healthy or not according to the second state information; responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy or not according to the third state information; and responding to the health of the redundant array of independent disks, confirming the health of the system disk and starting the next detection of the system disk at an interval of a third preset time.
In some embodiments, said determining whether said serial attached small computer system interface hard disk is healthy based on said first status information comprises: judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in the grown defect list increasing.
In some embodiments, said determining whether the link is healthy according to the second status information comprises: judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and; determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
In some embodiments, the determining whether the redundant array of independent disks is healthy according to the third status information includes: judging whether the volume state parameter is equal to a preset value or not; and determining that the redundant array of independent disks is unhealthy in response to the volume state parameter not being equal to the preset value.
In another aspect of the embodiments of the present invention, a system for comprehensively detecting a system disk is provided, which includes: the system comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is configured to acquire first state information of a serial connection small computer system interface hard disk at intervals of first preset time and judge whether the serial connection small computer system interface hard disk is healthy or not according to the first state information; the second detection module is configured to respond to the health of the serial connection small computer system interface hard disk, acquire second state information of a system disk link at intervals of second preset time, and judge whether the link is healthy according to the second state information; the third detection module is configured to respond to the link health, acquire third state information of the redundant array of independent disks, and judge whether the redundant array of independent disks is healthy according to the third state information; and the confirming module is configured to respond to the health of the redundant array of independent disks, confirm the health of the system disk and start the next detection of the system disk at an interval of third preset time.
In some embodiments, the first detection module is configured to: judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in the grown defect list increasing.
In some embodiments, the second detection module is configured to: judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
In some embodiments, the third detection module is configured to: judging whether the volume state parameter is equal to a preset value or not; and determining that the redundant array of independent disks is unhealthy in response to the volume state parameter not being equal to the preset value.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: based on the server hard disk communication hardware logic, the detection of the system disk is not only based on the detection of parameters of each aspect of a single disk, but also started by the hard disk itself to access a link, access a linked redundant array of independent disks, set up definite alarm and fault judgment standards, and detect the system disk more comprehensively.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a method for fully inspecting a system disk according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a system for comprehensive testing of system disks provided by the present invention;
FIG. 3 is a schematic hardware structure diagram of an embodiment of a computer apparatus for fully detecting a system disk according to the present invention;
FIG. 4 is a schematic diagram of an embodiment of a computer storage medium for fully testing a system disk provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In a first aspect of embodiments of the present invention, embodiments of a method for comprehensively detecting a system disk are provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for comprehensively inspecting a system disk provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, acquiring first state information of the serial small computer system interface hard disk at intervals of first preset time, and judging whether the serial small computer system interface hard disk is healthy or not according to the first state information;
s2, responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link every second preset time, and judging whether the link is healthy according to the second state information;
s3, responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy according to the third state information; and
s4, responding to the health of the redundant array of independent disks, confirming the health of the system disks and starting the next detection of the system disks at intervals of a third preset time.
The method comprises the steps of obtaining first state information of a serial connection small computer system interface hard disk at intervals of first preset time, and judging whether the serial connection small computer system interface hard disk is healthy or not according to the first state information. For a common SAS (serial attached small computer system interface) hard disk, first status information to be monitored includes: SMART Health Status (SMART Health Status), Elements in growth defect list and Non-medium error count
In some embodiments, said determining whether said serial attached small computer system interface hard disk is healthy based on said first status information comprises: judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in the grown defect list increasing.
And (3) alarm principle: the Elements in growth defect list parameter is not 0; the Non-medium error count parameter is not 0.
The failure principle is as follows: SMART Health Status is not equal to OK;
elements in growth defect list: the detection is carried out once in 1.30 minutes, and fault alarm is carried out when 5 times of continuous detection are increased; 2. during the detection process, the parameter is stored if it changes.
Non-medium error count: the detection is carried out once in 1.30 minutes, and fault alarm is carried out when 5 times of continuous detection are increased; 2. during the detection process, the parameter is stored if it changes.
And responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link at intervals of second preset time, and judging whether the link is healthy or not according to the second state information. If the first state information has no problem, the link is further detected. The second state information of the system disk link includes: 1. the system disk corresponds to the error code information of the PHY (physical layer protocol) of the expander (expansion); 2, error code information of PHY of Expnder uplink wide port; 3. the system disk corresponds to Change Count of the PHY of Expaner; change Count of PHY of Exanpder upstream Wide port.
In some embodiments, said determining whether the link is healthy according to the second status information comprises: judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and; determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
And (3) alarm principle: the error code of PHY is increased compared with the initial state, the initial state is the state of starting detection; the change count of the PHY is increased from the initial state, which is a state where detection is started.
The failure principle is as follows:
the errors of the PHY are continuously increasing compared to the initial state.
Detecting once in 5 minutes, and carrying out fault alarm when 5 times of continuous detection are increased;
b. during the detection process, the parameter is stored if it changes.
Change count of PHY continuously increases compared to initial state.
Detecting once in 5 minutes, and carrying out fault alarm when 5 times of continuous detection are increased;
b. during the detection process, the parameter is stored if it changes.
And responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy or not according to the third state information. If the second state information of the link has no problem, the redundant array of independent disks is further detected.
In some embodiments, the determining whether the redundant array of independent disks is healthy according to the third status information includes: judging whether the volume state parameter is equal to a preset value or not; and determining that the redundant array of independent disks is unhealthy in response to the volume state parameter not being equal to the preset value. The failure principle is as follows: status of volume is not equal to Okay (OKY).
And responding to the health of the redundant array of independent disks, confirming the health of the system disk and starting the next detection of the system disk at an interval of a third preset time.
It should be particularly noted that, the steps in the embodiments of the method for comprehensively inspecting a system disk may be mutually intersected, replaced, added, or deleted, and therefore, these reasonable permutations and combinations of the method for comprehensively inspecting a system disk should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, a system for comprehensively checking a system disk is provided. As shown in fig. 2, the system 200 includes the following modules: the system comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is configured to acquire first state information of a serial connection small computer system interface hard disk at intervals of first preset time and judge whether the serial connection small computer system interface hard disk is healthy or not according to the first state information; the second detection module is configured to respond to the health of the serial connection small computer system interface hard disk, acquire second state information of a system disk link at intervals of second preset time, and judge whether the link is healthy according to the second state information; the third detection module is configured to respond to the link health, acquire third state information of the redundant array of independent disks, and judge whether the redundant array of independent disks is healthy according to the third state information; and the confirming module is configured to respond to the health of the redundant array of independent disks, confirm the health of the system disk and start the next detection of the system disk at an interval of third preset time.
In some embodiments, the first detection module is configured to: judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in the grown defect list increasing.
In some embodiments, the second detection module is configured to: judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
In some embodiments, the third detection module is configured to: judging whether the volume state parameter is equal to a preset value or not; and determining that the redundant array of independent disks is unhealthy in response to the volume state parameter not being equal to the preset value.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, acquiring first state information of the serial small computer system interface hard disk at intervals of first preset time, and judging whether the serial small computer system interface hard disk is healthy or not according to the first state information; s2, responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link every second preset time, and judging whether the link is healthy according to the second state information; s3, responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy according to the third state information; and S4, responding to the health of the redundant array of independent disks, confirming the health of the system disks and starting the next detection of the system disks at intervals of a third preset time.
In some embodiments, said determining whether said serial attached small computer system interface hard disk is healthy based on said first status information comprises: judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in the grown defect list increasing.
In some embodiments, said determining whether the link is healthy according to the second status information comprises: judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and; determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
In some embodiments, the determining whether the redundant array of independent disks is healthy according to the third status information includes: judging whether the volume state parameter is equal to a preset value or not; and determining that the redundant array of independent disks is unhealthy in response to the volume state parameter not being equal to the preset value.
Fig. 3 is a schematic hardware structure diagram of an embodiment of the computer device for comprehensively detecting the system disk according to the present invention.
Taking the device shown in fig. 3 as an example, the device includes a processor 301 and a memory 302.
The processor 301 and the memory 302 may be connected by a bus or other means, such as the bus connection in fig. 3.
The memory 302 is a non-volatile computer-readable storage medium and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for comprehensively inspecting a system disk in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., implements a method of comprehensively inspecting a system disk, by executing nonvolatile software programs, instructions, and modules stored in the memory 302.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of a method of comprehensively checking a system disk, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Any embodiment of a computer device implementing the method for comprehensively detecting a system disk may achieve the same or similar effects as any corresponding method embodiment described above.
The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs a method of comprehensively detecting a system disk.
FIG. 4 is a schematic diagram of an embodiment of a computer storage medium for fully testing a system disk according to the present invention. Taking the computer storage medium as shown in fig. 4 as an example, the computer readable storage medium 401 stores a computer program 402 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for comprehensively testing the system disk can be stored in a computer readable storage medium, and when the program is executed, the processes of the embodiments of the methods can be included. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for comprehensively detecting a system disk is characterized by comprising the following steps:
acquiring first state information of a serial connection small computer system interface hard disk at intervals of first preset time, and judging whether the serial connection small computer system interface hard disk is healthy or not according to the first state information;
responding to the health of the serial connection small computer system interface hard disk, acquiring second state information of a system disk link at intervals of second preset time, and judging whether the link is healthy or not according to the second state information;
responding to the link health, acquiring third state information of the redundant array of independent disks, and judging whether the redundant array of independent disks is healthy or not according to the third state information; and
and responding to the health of the redundant array of independent disks, confirming the health of the system disk and starting the next detection of the system disk at an interval of a third preset time.
2. The method of claim 1, wherein determining whether the serial attached small computer system interface hard disk is healthy based on the first status information comprises:
judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and
determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in a grown defect list increasing.
3. The method of claim 1, wherein the determining whether the link is healthy according to the second status information comprises:
judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and;
determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
4. The method of claim 1, wherein the determining whether the redundant array of independent disks is healthy according to the third status information comprises:
judging whether the volume state parameter is equal to a preset value or not; and
and in response to the volume state parameter not being equal to the preset value, determining that the redundant array of independent disks is unhealthy.
5. A system for fully testing a system disk, comprising:
the system comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is configured to acquire first state information of a serial connection small computer system interface hard disk at intervals of first preset time and judge whether the serial connection small computer system interface hard disk is healthy or not according to the first state information;
the second detection module is configured to respond to the health of the serial connection small computer system interface hard disk, acquire second state information of a system disk link at intervals of second preset time, and judge whether the link is healthy according to the second state information;
the third detection module is configured to respond to the link health, acquire third state information of the redundant array of independent disks, and judge whether the redundant array of independent disks is healthy according to the third state information; and
and the confirming module is configured to respond to the health of the redundant array of independent disks, confirm the health of the system disk and start the next detection of the system disk at an interval of third preset time.
6. The system of claim 5, wherein the first detection module is configured to:
judging whether the value of the element parameter and/or the value of the non-medium error counting parameter in the growth defect list are increased every time; and
determining that the serial attached small computer system interface hard disk is unhealthy in response to each acquisition of a value of an element parameter or a value of a non-media error count parameter in a grown defect list increasing.
7. The system of claim 5, wherein the second detection module is configured to:
judging whether the error code value and/or the change counting value of the physical layer protocol are increased every time of acquisition; and
determining that the link is unhealthy in response to each acquisition of a value of an error code or a value of a change count of a physical layer protocol increasing.
8. The system of claim 5, wherein the third detection module is configured to:
judging whether the volume state parameter is equal to a preset value or not; and
and in response to the volume state parameter not being equal to the preset value, determining that the redundant array of independent disks is unhealthy.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111342222.8A CN114281611B (en) | 2021-11-12 | 2021-11-12 | Method, system, equipment and storage medium for comprehensively detecting system disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111342222.8A CN114281611B (en) | 2021-11-12 | 2021-11-12 | Method, system, equipment and storage medium for comprehensively detecting system disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114281611A true CN114281611A (en) | 2022-04-05 |
CN114281611B CN114281611B (en) | 2023-11-03 |
Family
ID=80869244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111342222.8A Active CN114281611B (en) | 2021-11-12 | 2021-11-12 | Method, system, equipment and storage medium for comprehensively detecting system disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114281611B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114675791A (en) * | 2022-05-27 | 2022-06-28 | 苏州浪潮智能科技有限公司 | Disk processing method and system and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951383A (en) * | 2014-03-31 | 2015-09-30 | 伊姆西公司 | Hard disk health state monitoring method and hard disk health state monitoring device |
US20150301883A1 (en) * | 2012-06-15 | 2015-10-22 | Citrix Systems, Inc. | Systems and methods for propagating health of a cluster node |
CN106980562A (en) * | 2016-01-18 | 2017-07-25 | 中兴通讯股份有限公司 | A kind of hard disk monitoring method and device |
CN109684138A (en) * | 2018-12-03 | 2019-04-26 | 郑州云海信息技术有限公司 | A kind of visualization hard disk automatic test approach, device, terminal and storage medium |
CN112783703A (en) * | 2021-01-15 | 2021-05-11 | 苏州浪潮智能科技有限公司 | SAS link fault positioning method, device, equipment and storage medium |
-
2021
- 2021-11-12 CN CN202111342222.8A patent/CN114281611B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150301883A1 (en) * | 2012-06-15 | 2015-10-22 | Citrix Systems, Inc. | Systems and methods for propagating health of a cluster node |
CN104951383A (en) * | 2014-03-31 | 2015-09-30 | 伊姆西公司 | Hard disk health state monitoring method and hard disk health state monitoring device |
CN106980562A (en) * | 2016-01-18 | 2017-07-25 | 中兴通讯股份有限公司 | A kind of hard disk monitoring method and device |
CN109684138A (en) * | 2018-12-03 | 2019-04-26 | 郑州云海信息技术有限公司 | A kind of visualization hard disk automatic test approach, device, terminal and storage medium |
CN112783703A (en) * | 2021-01-15 | 2021-05-11 | 苏州浪潮智能科技有限公司 | SAS link fault positioning method, device, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114675791A (en) * | 2022-05-27 | 2022-06-28 | 苏州浪潮智能科技有限公司 | Disk processing method and system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114281611B (en) | 2023-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107025153B (en) | Disk failure prediction method and device | |
CN110992992B (en) | Hard disk test method, device and storage medium | |
CN107025154B (en) | Disk failure prediction method and device | |
CN111881014B (en) | System test method, device, storage medium and electronic equipment | |
CN113708986B (en) | Server monitoring apparatus, method and computer-readable storage medium | |
CN107516547A (en) | The processing method and processing device of internal memory hard error | |
CN116775362A (en) | Method and system for processing path blocking of redundant array of independent disks | |
CN114281611A (en) | Method, system, equipment and storage medium for comprehensively detecting system disk | |
CN112416670A (en) | Hard disk test method, device, server and storage medium | |
US9378082B1 (en) | Diagnosis of storage system component issues via data analytics | |
CN117149550A (en) | Solid state disk performance detection method and device and electronic equipment | |
CN117607595A (en) | Device improvement method, apparatus, device, storage medium, and program product | |
CN115328814B (en) | Fault injection method, device, equipment and storage medium based on mirror pair | |
CN114629690B (en) | Device safety baseline compliance detection method and device and computer device | |
CN113625957B (en) | Method, device and equipment for detecting hard disk faults | |
CN117439899B (en) | Communication machine room inspection method and system based on big data | |
CN116719663B (en) | Data processing method, device, equipment and readable storage medium | |
WO2017067249A1 (en) | Fault locating method and apparatus for optical fiber electronic tag | |
CN117453567A (en) | Chaos testing method, device and equipment | |
CN118606194A (en) | Component detection method and device, nonvolatile storage medium and electronic equipment | |
CN115344466A (en) | Cluster robustness testing method and device and electronic equipment | |
CN107390115B (en) | Method for detecting SC serial port and MC serial port of IO in raid memory in batch | |
CN117251320A (en) | Multi-node server testing method and device | |
CN118093295A (en) | Method and device for testing embedded board card, computer equipment and storage medium | |
CN117194157A (en) | Monitoring index checking method, device, equipment, medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |