Hidden bad disk positioning method, device, electronic equipment and computer storage medium

By monitoring the system log and hard disk indicator information of the node server in real time, it predicts and warns hard disk damage, solving the problem of being unable to deal with hard disk damage in time in the existing technology, extending the service life of the hard disk and reducing the failure rate.

CN112346932BActive Publication Date: 2024-10-15CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011223432.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-05
Publication Date
2024-10-15
Estimated Expiration
2040-11-05

AI Technical Summary

Technical Problem

The existing technology cannot predict and handle possible hard disk data block damage in a timely manner, resulting in shortened hard disk service life and increased failure rate, and cannot handle bad disks in a timely manner when the application system is running normally.

Method used

By monitoring the system log of the node server in real time, we can determine the logical volume and array card where the error message is located, obtain the hard disk indicator information, and determine whether the alarm conditions are met. If so, the alarm information will be sent, including the hard disk indicator information, serial number and slot. to predict possible hard drive damage.

Benefits of technology

It realizes the prediction and timely processing of hard disks that may have data block damage, extends the service life of the hard disk, reduces the failure rate, and ensures the normal operation of the application system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112346932B_ABST
    Figure CN112346932B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and computer storage medium for locating hidden bad disks, the method comprising: monitoring the system log of each node server in real time; then, if the system log includes error information consistent with preset information, determining the array card corresponding to the logical volume where the error information is located; then obtaining the hard disk index information in the array card log corresponding to the array card; for the hard disk index information of each hard disk, judging whether the hard disk index information meets the alarm condition corresponding to the hard disk index information; if it is judged that the hard disk index information meets the alarm condition corresponding to the hard disk index information, sending an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where data blocks may be damaged, and thus timely processing the hard disk where the bad disk may occur before the bad disk occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for locating a hidden bad disk, an electronic device and a computer storage medium. Background Art

[0002] With the continuous development of modern information technology, the world has entered the era of big data. At present, in the big data scenario, there are higher requirements for the input / output throughput of hard disks.

[0003] However, as the number of accesses to the hard disk by the application system increases at a geometric rate, it exceeds the bearing capacity of the hard disk itself, greatly shortening the service life of the hard disk and increasing the failure rate. If the data block is damaged when the hard disk is in a busy working state, it will affect the normal operation of the application system. In the prior art, it is impossible to predict hidden bad disks, that is, it is impossible to predict hard disks that may have data block damage. As a result, when a bad disk occurs, it is impossible to handle it in time. Summary of the invention

[0004] In view of this, the present application provides a method, device, electronic device and computer storage medium for locating hidden bad disks, which are used to predict hard disks that may have data block damage, so as to promptly handle hard disks that may have bad disks before bad disks occur.

[0005] The first aspect of the present application provides a method for locating a hidden bad disk, comprising:

[0006] Monitor the system logs of each node server in real time;

[0007] If the system log includes error information that is consistent with the preset information, determining the array card corresponding to the logical volume where the error information is located;

[0008] Obtain hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks;

[0009] For each hard disk indicator information of the hard disk, determining whether the hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information;

[0010] If it is determined that the hard disk index information meets the alarm condition corresponding to the hard disk index information, an alarm message is sent; wherein the alarm message includes the hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0011] Optionally, the real-time monitoring of the system log of each node server includes:

[0012] Real-time monitoring of all keywords in the system log of each node server;

[0013] Wherein, if the system log contains error information consistent with preset information, determining the array card corresponding to the logical volume where the error information is located includes:

[0014] Determine whether there is a preset keyword among all the keywords in the system log;

[0015] If it is determined that the preset keyword is included in all the keywords in the system log, the array card corresponding to the logical volume where the keyword is located is determined.

[0016] Optionally, judging, for each piece of hard disk indicator information of the hard disk, whether the hard disk indicator information satisfies an alarm condition corresponding to the hard disk indicator information includes:

[0017] For each hard disk index information of the hard disk, determining whether the hard disk index information is consistent with standard information corresponding to the hard disk index information;

[0018] If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information satisfies the alarm condition corresponding to the hard disk index information.

[0019] Optionally, after determining, for each hard disk index information of the hard disk, whether the hard disk index information is consistent with standard information corresponding to the hard disk index information, the method further includes:

[0020] For each hard disk index information of the hard disk, the hard disk index information and standard information corresponding to the hard disk index information are saved.

[0021] Optionally, after the hard disk index information of each hard disk is saved and the standard information corresponding to the hard disk index information is saved, the method further includes:

[0022] The hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information is classified according to a preset category.

[0023] The second aspect of the present application provides a hidden bad disk positioning device, comprising:

[0024] Monitoring unit, used to monitor the system log of each node server in real time;

[0025] A determination unit, configured to determine, if the system log includes error information consistent with preset information, the array card corresponding to the logical volume where the error information is located;

[0026] An acquisition unit, used for acquiring hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks;

[0027] A judgment unit, used for judging, for each hard disk index information of the hard disk, whether the hard disk index information satisfies an alarm condition corresponding to the hard disk index information;

[0028] An alarm unit is used to send an alarm message if the judgment unit determines that the hard disk index information meets the alarm condition corresponding to the hard disk index information; wherein the alarm information includes the hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0029] Optionally, the monitoring unit includes:

[0030] The monitoring subunit is used to monitor all keywords in the system log of each node server in real time;

[0031] Wherein, the determining unit includes:

[0032] A keyword determination unit, used for determining whether there is a preset keyword among all the keywords in the system log;

[0033] The determination subunit is used to determine the array card corresponding to the logical volume where the keyword is located if the keyword determination unit determines that the preset keyword is included in all the keywords in the system log.

[0034] Optionally, the judging unit includes:

[0035] A judging subunit, for each hard disk index information of the hard disk, judging whether the hard disk index information is consistent with the standard information corresponding to the hard disk index information;

[0036] If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information satisfies the alarm condition corresponding to the hard disk index information.

[0037] Optionally, the hidden bad disk positioning device further includes:

[0038] The storage unit is used to store the hard disk index information and the standard information corresponding to the hard disk index information for each hard disk.

[0039] Optionally, the hidden bad disk positioning device further includes:

[0040] The classification unit is used to classify the hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information according to a preset category.

[0041] A third aspect of the present application provides an electronic device, including:

[0042] one or more processors;

[0043] a storage device having one or more programs stored thereon;

[0044] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the first aspects.

[0045] A fourth aspect of the present application provides a computer storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0046] As can be seen from the above scheme, the present application provides a method, device, electronic device and computer storage medium for locating a hidden bad disk, the method includes: monitoring the system log of each node server in real time; then, if the system log includes an error message consistent with the preset information, determining the array card corresponding to the logical volume where the error message is located; then obtaining the hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; then, for each hard disk index information of the hard disk, judging whether the hard disk index information meets the alarm condition corresponding to the hard disk index information; if it is judged that the hard disk index information meets the alarm condition corresponding to the hard disk index information, sending an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where the data block may be damaged, and thus timely processing the hard disk where the bad disk may occur before the bad disk occurs. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0048] Figure 1 A specific flow chart of a method for locating a hidden bad disk provided in an embodiment of the present application;

[0049] Figure 2A specific flow chart of a method for locating a hidden bad disk provided in another embodiment of the present application;

[0050] Figure 3 A schematic diagram of a hidden bad disk positioning device provided by another embodiment of the present application;

[0051] Figure 4 A schematic diagram of a hidden bad disk positioning device provided by another embodiment of the present application;

[0052] Figure 5 A schematic diagram of an electronic device for implementing a method for locating a hidden bad disk provided in another embodiment of the present application. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units, and the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0055] The present application embodiment provides a method for locating a hidden bad disk, such as Figure 1 As shown, the specific steps include:

[0056] S101. Monitor the system log of each node server in real time.

[0057] The node server can be a node server in the GP big data cluster or a node server in other clusters, which is not limited here. GP is a large-scale parallel processing architecture that runs on virtualized X86 servers without sharing. Due to the "barrel principle" of the parallel processing architecture, the GP big data cluster is very sensitive to hard disk performance and has extremely high requirements for hard disk read and write of node servers.

[0058] Specifically, the system logs of each node server in the GP big data cluster are monitored in real time.

[0059] S102: If the system log includes error information that is consistent with the preset information, determine the array card corresponding to the logical volume where the error information is located.

[0060] Specifically, it is checked whether there is error information consistent with the preset information in the system log. If error information consistent with the preset information is found in the system log, the array card corresponding to the logical volume where the error information is located is determined.

[0061] S103: Obtain hard disk index information in the array card log corresponding to the array card.

[0062] The hard disk index information includes multiple pieces of hard disk index information of multiple hard disks.

[0063] S104 . For each hard disk indicator information, determine whether the hard disk indicator information satisfies an alarm condition corresponding to the hard disk indicator information.

[0064] Optionally, in another embodiment of the present application, an implementation of step S104 includes:

[0065] For the hard disk index information of each hard disk, it is determined whether the hard disk index information is consistent with the standard information corresponding to the hard disk index information.

[0066] If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information satisfies the alarm condition corresponding to the hard disk index information.

[0067] See Table 1, which shows the hard disk indicator information and the standard information corresponding to the hard disk indicator information. Take the case where the standard information corresponding to each type of hard disk indicator information is 0 as an example. For example, if the hard disk indicator information Read Errors Hard obtained is 0, that is, the hard disk indicator information Read Errors Hard is consistent with the standard information corresponding to the hard disk indicator information Read Errors Hard, then the alarm condition corresponding to the hard disk indicator information Read Errors Hard is not satisfied, that is, the hard disk indicator information Read Errors Hard is in a normal state; if the hard disk indicator information Read Errors Hard obtained is 1, that is, the hard disk indicator information Read Errors Hard is inconsistent with the standard information corresponding to the hard disk indicator information Read Errors Hard, then the alarm condition corresponding to the hard disk indicator information Read Errors Hard is satisfied, that is, the hard disk indicator information Read Errors Hard is in an abnormal state.

[0068] It is understandable that, in actual application, the standard information corresponding to the hard disk index information may not be 0 and may be different from each other, which is not limited here.

[0069]

[0070]

[0071] Table 1

[0072] Optionally, in another embodiment of the present application, after determining whether the hard disk index information of each hard disk is consistent with the standard information corresponding to the hard disk index information, the following may also be included:

[0073] For the hard disk index information of each hard disk, the hard disk index information and the standard information corresponding to the hard disk index information are saved.

[0074] By saving each hard disk indicator information and the standard information corresponding to each hard disk indicator information, it is convenient for the subsequent processing and analysis of hidden bad disks.

[0075] Optionally, in another embodiment of the present application, for the hard disk index information of each hard disk, after the hard disk index information and the standard information corresponding to the hard disk index information are saved, the following may also be included:

[0076] The hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information is classified according to a preset category.

[0077] It should be noted that the preset categories may be the fault types described in Table 1, such as hard disk failure, hard disk or link failure, link failure, hard disk performance degradation, etc., and may also be classified according to other categories, which are not limited here.

[0078] The hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information is classified according to the preset categories, so as to facilitate the subsequent processing and analysis of the hidden bad disk.

[0079] S105: If it is determined that the hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information, an alarm message is sent.

[0080] The alarm information includes hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0081] It should be noted that when it is determined that any hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information, an alarm message is sent, and it is continued to be determined whether other hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information. If there is other hard disk indicator information that meets the alarm condition corresponding to the hard disk indicator information, then an alarm message is also sent.

[0082] As can be seen from the above scheme, the method for locating a hidden bad disk provided by the present application includes: monitoring the system log of each node server in real time; then, if the system log includes an error message consistent with the preset information, determining the array card corresponding to the logical volume where the error message is located; then obtaining the hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; then, for the hard disk index information of each hard disk, judging whether the hard disk index information meets the alarm condition corresponding to the hard disk index information; if it is judged that the hard disk index information meets the alarm condition corresponding to the hard disk index information, sending an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where the data block may be damaged, and thus timely processing the hard disk where the bad disk may occur before the bad disk occurs.

[0083] Optionally, in another embodiment of the present application, an implementation method of locating a hidden bad disk is as follows: Figure 2 As shown, including:

[0084] S201. Monitor all keywords in the system log of each node server in real time.

[0085] The keywords may include but are not limited to Lun reset, Reset logical, etc., which are not limited here.

[0086] S202: Determine whether there is a preset keyword among all the keywords in the system log.

[0087] Specifically, if it is determined that there is a preset keyword among all the keywords in the system log, step S203 is executed.

[0088] S203: Determine the array card corresponding to the logical volume where the keyword is located.

[0089] S204: Obtain hard disk index information in the array card log corresponding to the array card.

[0090] The hard disk index information includes multiple pieces of hard disk index information of multiple hard disks.

[0091] It should be noted that the specific implementation process of step S204 is the same as the specific implementation process of the above-mentioned step S103, and they can refer to each other.

[0092] S205 . For each hard disk index information, determine whether the hard disk index information satisfies an alarm condition corresponding to the hard disk index information.

[0093] It should be noted that the specific implementation process of step S205 is the same as the specific implementation process of the above-mentioned step S104, and they can refer to each other.

[0094] S206: If it is determined that the hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information, an alarm message is sent.

[0095] The alarm information includes hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0096] It should be noted that the specific implementation process of step S206 is the same as the specific implementation process of the above-mentioned step S105, and they can refer to each other.

[0097] As can be seen from the above scheme, the method for locating a hidden bad disk provided by the present application includes: monitoring all keywords in the system log of each node server in real time; then, judging whether there is a preset keyword among all the keywords in the system log; if it is judged that there is a preset keyword among all the keywords in the system log, then determining the array card corresponding to the logical volume where the keyword is located; then obtaining the hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; then, judging whether the hard disk index information meets the alarm condition corresponding to the hard disk index information for each hard disk; if it is judged that the hard disk index information meets the alarm condition corresponding to the hard disk index information, then sending an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where the data block may be damaged, and thus timely processing the hard disk where the bad disk may occur before the bad disk occurs.

[0098] Another embodiment of the present application provides a hidden bad disk positioning device, such as Figure 3 As shown, specifically including:

[0099] The monitoring unit 301 is used to monitor the system log of each node server in real time.

[0100] The determination unit 302 is configured to determine the array card corresponding to the logical volume where the error information is located if the system log includes error information consistent with the preset information.

[0101] The acquisition unit 303 is used to acquire hard disk index information in the array card log corresponding to the array card.

[0102] The hard disk index information includes multiple pieces of hard disk index information of multiple hard disks.

[0103] The judgment unit 304 is used to judge whether the hard disk index information of each hard disk meets the alarm condition corresponding to the hard disk index information.

[0104] Optionally, in another embodiment of the present application, an implementation of the judging unit 304 includes:

[0105] The judging subunit judges, for each hard disk index information of the hard disk, whether the hard disk index information is consistent with the standard information corresponding to the hard disk index information.

[0106] If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information satisfies the alarm condition corresponding to the hard disk index information.

[0107] The specific working process of the units disclosed in the above embodiments of the present application can be found in the corresponding method embodiments, which will not be repeated here.

[0108] Optionally, in another embodiment of the application, an implementation of the hidden bad disk positioning device further includes:

[0109] The storage unit is used to store the hard disk index information and the standard information corresponding to the hard disk index information for each hard disk.

[0110] The specific working process of the units disclosed in the above embodiments of the present application can be found in the corresponding method embodiments, which will not be repeated here.

[0111] Optionally, in another embodiment of the application, an implementation of the hidden bad disk positioning device further includes:

[0112] The classification unit is used to classify the hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information according to a preset category.

[0113] The specific working process of the units disclosed in the above embodiments of the present application can be found in the corresponding method embodiments, which will not be repeated here.

[0114] The alarm unit 305 is used to send an alarm message if the judgment unit 304 judges that the hard disk index information meets the alarm condition corresponding to the hard disk index information.

[0115] The alarm information includes hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0116] For the specific working process of the units disclosed in the above embodiments of the present application, please refer to the corresponding method embodiments, such as Figure 1 As shown, no further description is given here.

[0117] As can be seen from the above scheme, in the hidden bad disk positioning device provided by the present application, the system log of each node server is monitored in real time by the monitoring unit 301; then, if the system log includes error information consistent with the preset information, the determination unit 302 determines the array card corresponding to the logical volume where the error information is located; the acquisition unit 303 acquires the hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; then, the judgment unit 304 determines whether the hard disk index information meets the alarm condition corresponding to the hard disk index information for each hard disk; if the judgment unit 304 determines that the hard disk index information meets the alarm condition corresponding to the hard disk index information, the alarm unit 305 sends an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where the data block may be damaged, and thus timely processing the hard disk where the bad disk may occur before the bad disk occurs.

[0118] Optionally, in another embodiment of the present application, an implementation of the hidden bad disk positioning device is as follows: Figure 4 As shown, including:

[0119] The monitoring subunit 401 is used to monitor all keywords in the system log of each node server in real time.

[0120] The keyword determination unit 402 is used to determine whether there is a preset keyword among all the keywords in the system log.

[0121] The determination subunit 403 is used to determine the array card corresponding to the logical volume where the keyword is located if the keyword determination unit 402 determines that there is a preset keyword among all the keywords in the system log.

[0122] The acquisition unit 404 is used to acquire hard disk index information in the array card log corresponding to the array card.

[0123] The hard disk index information includes multiple pieces of hard disk index information of multiple hard disks.

[0124] The judgment unit 405 is used to judge whether the hard disk index information of each hard disk meets the alarm condition corresponding to the hard disk index information.

[0125] The alarm unit 406 is used to send an alarm message if the determination unit 405 determines that the hard disk index information satisfies the alarm condition corresponding to the hard disk index information.

[0126] The alarm information includes hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located.

[0127] For the specific working process of the units disclosed in the above embodiments of the present application, please refer to the corresponding method embodiments, such as Figure 2 As shown, no further description is given here.

[0128] As can be seen from the above scheme, in a hidden bad disk positioning device provided by the present application, all keywords in the system log of each node server are monitored in real time by the monitoring subunit 401; then, the keyword judgment unit 402 judges whether there is a preset keyword among all the keywords in the system log; if the keyword judgment unit 402 judges that there is a preset keyword among all the keywords in the system log, the determination subunit 403 determines the array card corresponding to the logical volume where the keyword is located; the acquisition unit 404 obtains the hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; then, the judgment unit 405 judges whether the hard disk index information meets the alarm condition corresponding to the hard disk index information for each hard disk; if the judgment unit 405 judges that the hard disk index information meets the alarm condition corresponding to the hard disk index information, the alarm unit 406 sends an alarm message; wherein the alarm message includes the hard disk index information and the serial number and slot of the hard disk where the hard disk index information is located. In order to achieve the purpose of predicting the hard disk where the data block may be damaged, so as to timely handle the hard disk where the bad disk may occur before the bad disk occurs.

[0129] Another embodiment of the present application provides an electronic device, such as Figure 5 As shown, including:

[0130] One or more processors 501 .

[0131] The storage device 502 stores one or more programs.

[0132] When the one or more programs are executed by the one or more processors 501 , the one or more processors 501 implement the method described in any one of the above embodiments.

[0133] Another embodiment of the present application provides a computer storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0134] In the above embodiments disclosed in the present application, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0135] In addition, each functional module in each embodiment of the present disclosure can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a live broadcast device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0136] The present application can be implemented or used by professionals and technicians. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for locating a hidden bad disk, characterized in that: include: Monitor the system logs of each node server in real time; If the system log includes error information that is consistent with the preset information, determining the array card corresponding to the logical volume where the error information is located; Obtain hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; For each hard disk indicator information of the hard disk, determining whether the hard disk indicator information meets the alarm condition corresponding to the hard disk indicator information; If it is determined that the hard disk index information meets the alarm condition corresponding to the hard disk index information, an alarm message is sent; wherein the alarm message includes the hard disk index information and the serial number and slot position of the hard disk where the hard disk index information is located; The step of determining, for each of the hard disk indicator information of the hard disk, whether the hard disk indicator information satisfies the alarm condition corresponding to the hard disk indicator information includes: For each hard disk index information of the hard disk, determining whether the hard disk index information is consistent with standard information corresponding to the hard disk index information; If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information meets the alarm condition corresponding to the hard disk index information; For each hard disk index information of the hard disk, save the hard disk index information and standard information corresponding to the hard disk index information; The hard disk indicator information that is inconsistent with the standard information corresponding to the hard disk indicator information is classified according to a preset category, the preset category is a fault type, and the fault type includes a hard disk failure, a link failure, and a hard disk performance degradation.

2. The positioning method according to claim 1, characterized in that: The real-time monitoring of the system log of each node server includes: Real-time monitoring of all keywords in the system log of each node server; Wherein, if the system log contains error information consistent with preset information, determining the array card corresponding to the logical volume where the error information is located includes: Determine whether there is a preset keyword among all the keywords in the system log; If it is determined that the preset keyword is included in all the keywords in the system log, the array card corresponding to the logical volume where the keyword is located is determined.

3. A hidden bad disk positioning device, characterized in that: include: Monitoring unit, used to monitor the system log of each node server in real time; A determination unit, configured to determine, if the system log includes error information consistent with preset information, the array card corresponding to the logical volume where the error information is located; An acquisition unit, used for acquiring hard disk index information in the array card log corresponding to the array card; wherein the hard disk index information includes multiple hard disk index information of multiple hard disks; A judgment unit, used for judging, for each hard disk index information of the hard disk, whether the hard disk index information satisfies an alarm condition corresponding to the hard disk index information; an alarm unit, configured to send an alarm message if the determination unit determines that the hard disk index information satisfies an alarm condition corresponding to the hard disk index information; wherein the alarm message includes the hard disk index information and a serial number and a slot position of the hard disk where the hard disk index information is located; The judging unit comprises: A judging subunit, for each hard disk index information of the hard disk, judging whether the hard disk index information is consistent with the standard information corresponding to the hard disk index information; If it is determined that the hard disk index information is inconsistent with the standard information corresponding to the hard disk index information, it means that the hard disk index information meets the alarm condition corresponding to the hard disk index information; A storage unit, used for storing hard disk index information of each hard disk and standard information corresponding to the hard disk index information; The classification unit is used to classify the hard disk index information that is inconsistent with the standard information corresponding to the hard disk index information according to a preset category, wherein the preset category is a fault type, and the fault type includes a hard disk failure, a link failure, and a hard disk performance degradation.

4. The positioning device according to claim 3, characterized in that: The monitoring unit comprises: The monitoring subunit is used to monitor all keywords in the system log of each node server in real time; Wherein, the determining unit includes: A keyword determination unit, used for determining whether there is a preset keyword among all the keywords in the system log; The determination subunit is used to determine the array card corresponding to the logical volume where the keyword is located if the keyword determination unit determines that the preset keyword is included in all the keywords in the system log.

5. An electronic platform, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 2.

6. A computer storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.