CN109408343A - A kind of hard disk indication lamp control method, device and relevant device - Google Patents

A kind of hard disk indication lamp control method, device and relevant device Download PDF

Info

Publication number
CN109408343A
CN109408343A CN201811320253.1A CN201811320253A CN109408343A CN 109408343 A CN109408343 A CN 109408343A CN 201811320253 A CN201811320253 A CN 201811320253A CN 109408343 A CN109408343 A CN 109408343A
Authority
CN
China
Prior art keywords
hard disk
information
indication lamp
lamp control
instruction
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
Application number
CN201811320253.1A
Other languages
Chinese (zh)
Other versions
CN109408343B (en
Inventor
李永亮
姜洪正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811320253.1A priority Critical patent/CN109408343B/en
Publication of CN109408343A publication Critical patent/CN109408343A/en
Application granted granted Critical
Publication of CN109408343B publication Critical patent/CN109408343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of hard disk indication lamp control methods, including obtain information and collect instruction;The current state information of each hard disk of instruction acquisition is collected according to the information;Idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to the current state information;The hard disk indication lamp control method can the corresponding hard disk indication lamp of changed hard disk be effectively modified to state, and the personnel that maintain easily find the problem hard disk in time, and replacement is repaired to it, further ensures the integrality of user data.Disclosed herein as well is a kind of hard disk indication lamp control device, equipment and computer readable storage mediums, it may have above-mentioned beneficial effect.

Description

A kind of hard disk indication lamp control method, device and relevant device
Technical field
This application involves hard disc of computer field, in particular to a kind of hard disk indication lamp control method further relates to a kind of hard Disk controlling apparatus for indicator lamp, equipment and computer readable storage medium.
Background technique
The display state of hard disk indication lamp embodies the current read-write service condition of hard disk.The state of present hard discs indicator light Variation is by event driven, for example, system can trigger Spare status lamp and be shown accordingly when adding HotSpare disk.
However, we can have found system after restart during general project delivery stage, there are HotSpare disk instructions Not the problem of lamp does not work, this is because the adding procedure of HotSpare disk is incorporated directly in RAID start-up course after system reboot , therefore, from actual motion, there is no triggering HotSpare disk to add event for process, therefore not by its corresponding instruction Lamp is set as Spare state.Correspondingly, there is also same problems for hard disk failure indicator light, in system operation, work as RAID When there is hard disk Remove event, it will it is shown in red to trigger corresponding hard disk failure lamp, and after system reboot, since this is hard Disk does not add RAID, therefore there is no the events of Remove hard disk to occur from actual motion, therefore, malfunction indicator lamp Display is not will do it.
But from the point of view of the monitoring of system and maintenance angle, problem above will will cause maintenance personnel and set in computer room inspection The situation of hard disk exception can not be found due to can't see hard disk failure indicator light when standby, or be will appear maintenance personnel and be mistakenly considered The case where hard disk failure has excluded, so as to cause faulty hard disk is not replaced in time.Further, system is based on the situation continued Operation, which will be gone down, RAID can be caused to degrade or fail because of low-quality disk occurs again, cause serious data to damage to client It loses.
Therefore, how to state, the corresponding hard disk indication lamp of changed hard disk is effectively modified, in order to tie up Shield personnel find the problem hard disk in time, and replacement is repaired to it, are further ensured that the integrality of user data is this field Technical staff's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of hard disk indication lamp control method, which can be to state The corresponding hard disk indication lamp of changed hard disk is effectively modified, and the personnel that maintain easily find the problem hard disk in time, and Replacement is repaired to it, further ensures the integrality of user data;The another object of the application is to provide a kind of hard disk Controlling apparatus for indicator lamp, equipment and computer readable storage medium, it may have above-mentioned beneficial effect.
In order to solve the above technical problems, this application provides a kind of hard disk indication lamp control method, the hard disk indication lamp Control method includes:
It obtains information and collects instruction;
The current state information of each hard disk of instruction acquisition is collected according to the information;
Idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to the current state information.
Preferably, the acquisition information collects instruction, comprising:
Receive power on signal;
The information, which is automated toed respond to, according to the power on signal collects instruction.
It is preferably, described that the information collection instruction is automated toed respond to according to the power on signal, comprising:
The information, which is responded, according to prefixed time interval collects instruction.
Preferably, after the current state information that each hard disk of instruction acquisition is collected according to the information, further includes:
Obtain the configuration file and RAID information of each hard disk;
The hard disk is updated according to the configuration file and the RAID information, disk state is believed after being updated Breath;
It is then described that idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to the current state information, Include:
The idsplay order is sent to the hard disk indication lamp according to disk state information after the update.
In order to solve the above technical problems, this application provides a kind of hard disk indication lamp control device, the hard disk indication lamp Control device includes:
Instruction acquisition module is collected, collects instruction for obtaining information;
State information collection module, for collecting the current state information of each hard disk of instruction acquisition according to the information;
Idsplay order issues module, for sending idsplay order to each hard disk pair according to the current state information The hard disk indication lamp answered.
Preferably, the collection instruction acquisition module includes:
Power on signal receiving submodule, for receiving power on signal;
Power on signal responds submodule, collects instruction for automated toing respond to the information according to the power on signal.
Preferably, the power on signal response submodule is specifically used for responding the information collection according to prefixed time interval Instruction.
Preferably, the hard disk indication lamp control device further include:
Data obtaining module is updated, for obtaining the configuration file and RAID information of each hard disk;
Disk state update module, for being carried out more according to the configuration file and the RAID information to the hard disk Newly, disk state information after being updated;
Then the idsplay order issues module and is specifically used for sending the display according to disk state information after the update It instructs to the hard disk indication lamp.
In order to solve the above technical problems, this application provides a kind of hard disk indication lamps to control equipment, the hard disk indication lamp Controlling equipment includes:
Memory, for storing computer program;
Processor realizes the step of any one of the above hard disk indication lamp control method when for executing the computer program Suddenly.
In order to solve the above technical problems, this application provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes that any one of the above hard disk refers to when being executed by processor The step of showing lamp control method.
A kind of hard disk indication lamp control method provided herein, including obtain information and collect instruction;According to the letter Breath collects the current state information of each hard disk of instruction acquisition;Idsplay order is sent to each institute according to the current state information State the corresponding hard disk indication lamp of hard disk.
As it can be seen that hard disk indication lamp control method provided herein, can collect instruction to each according to the information of acquisition The current status information of hard disk is acquired, and further, can send corresponding idsplay order extremely according to its current state information Corresponding hard disk indication lamp can be realized as a result, and state occurred so that hard disk indication lamp is shown according to idsplay order The corresponding hard disk indication lamp of the hard disk of variation is effectively modified, and more convenient maintenance personnel finds the problem hard disk in time, and right It repairs replacement, further ensures the integrality of user data.In addition, this method is real on the basis of not change request Show problem reparation, can guarantee the competitiveness of product to greatest extent.
A kind of hard disk indication lamp control device, equipment and computer readable storage medium provided herein, also has There is above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of hard disk indication lamp control method provided herein;
Fig. 2 is the flow diagram that a kind of hard disk indication lamp provided herein controls acquisition methods;
Fig. 3 is the flow diagram of another hard disk indication lamp control method provided herein;
Fig. 4 is the flow diagram of another hard disk indication lamp control method provided herein;
Fig. 5 is a kind of structural schematic diagram of hard disk indication lamp control device provided herein;
Fig. 6 is the structural schematic diagram of another hard disk indication lamp control device provided herein;
Fig. 7 is the structural schematic diagram that a kind of hard disk indication lamp provided herein controls equipment.
Specific embodiment
The core of the application is to provide a kind of hard disk indication lamp control method, which can be to state The corresponding hard disk indication lamp of changed hard disk is effectively modified, and the personnel that maintain easily find the problem hard disk in time, and Replacement is repaired to it, further ensures the integrality of user data;Another core of the application is to provide a kind of hard disk Controlling apparatus for indicator lamp, equipment and computer readable storage medium, it may have above-mentioned beneficial effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In prior art, during being directly contained in system reboot due to the state change of some hard disks, Will appear the problem of hard disk indication lamp is not shown after system reboot, this will will cause maintenance personnel in computer room inspection device due to It can't see hard disk failure indicator light and can not find the situation of hard disk exception, or will appear maintenance personnel and be mistakenly considered hard disk failure The case where having excluded, so as to cause faulty hard disk is not replaced in time.Further, system is gone down based on situation continued operation RAID will likely can be caused to degrade or fail because of low-quality disk occurs again, and cause serious data degradation to client.
Therefore, to solve the above problems, this application provides a kind of hard disk indication lamp control method, the hard disk indication lamp control Method processed can be collected according to the information of acquisition instructs the status information current to each hard disk to be acquired, and according to its current shape State information modifies to the display state of hard disk indication lamp, and more convenient maintenance personnel finds the problem hard disk in time, and to it Replacement is repaired, the integrality of user data is further ensured.In addition, the hard disk indication lamp control method is not changing need Problem reparation is realized on the basis of asking, and can guarantee the competitiveness of product to greatest extent.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of hard disk indication lamp control method provided herein, this is hard Disk indicates that lamp control method may include:
S101: it obtains information and collects instruction;
Specifically, this step aims at the acquisition for collecting instruction to information, realized to collect instruction according to the information The acquisition of subsequent related data.It should be noted that the state change due to hard disk is directly contained in the restarting process of system, That is after the problem of hard disk indication lamp is not shown comes across system reboot, therefore, the acquisition that above- mentioned information collect instruction is It carries out after the system starts.
Certainly, for above- mentioned information collect instruction acquisition modes, the application without limitation, for example, system reboot it Afterwards, user directly can send information by client and collect instruction to processor, or after system start-up, processor is certainly Dynamic response information collects instruction, can also be other acquisition modes, however, will not influence using which kind of above embodiment The implementation of the technical program.
Preferably, referring to FIG. 2, Fig. 2 is the process for the acquisition methods that a kind of information provided herein collects instruction Schematic diagram, above-mentioned acquisition information collect instruction and may include:
S110: power on signal is received;
S120: information is automated toed respond to according to power on signal and collects instruction.
This application provides the acquisition modes that a kind of more specific information collects instruction, specifically, system is restarted It generally relies in power on signal, it therefore, can be immediately from the sound of something astir when processor receives power on signal namely after system reboot Information is answered to collect instruction, to collect the acquisition that subsequent relevant information is realized in instruction according to the information.Wherein, since the information is received Collection instruction can automated to respond to, therefore the information is collected instruction and pre-set, and further, can be stored in and processor In connected storage medium, so as to processor when receiving power on signal automatic trigger.
Preferably, above-mentioned that information collection instruction is automated toed respond to according to power on signal, it may include according to prefixed time interval Response message collects instruction.
Specifically, for be effectively ensured hard disk indication lamp show state real-time, processor after receiving power on signal, Can timing response information collect instruction, i.e., according to above-mentioned prefixed time interval response message collect instruct, with realize to correlation believe The timing acquiring of breath.Wherein, it for the specific duration of above-mentioned prefixed time interval, can be carried out according to actual needs by technical staff Otherness setting was collected for example, in this application, taking prefixed time interval is 1 minute every one minute response primary information Instruction, every progress primary information acquisition in one minute;It is, of course, also possible to which the quantity according to hard disk is configured, the application is to this Without limitation.
S102: the current state information of each hard disk of instruction acquisition is collected according to information;
Specifically, this step, which aims at, adopts hard disk current state information each in system on the basis of S101 Collection, i.e., the information obtained according to S101 are collected instruction and are acquired to the current state information of each hard disk.Wherein, above-mentioned hard disk Current state information be each hard disk after system reboot status information, particular content may include locating for hard disk The various informations such as slot position, hard disk title, state.
S103: idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to current state information.
Specifically, on the basis of S102, it, can be by the current state information after the current state information for obtaining hard disk Corresponding idsplay order is sent to the corresponding hard disk indication lamp of hard disk, so that hard disk indication lamp can carry out phase according to the idsplay order The display answered.For example, when the current state letter of the current state information or the collected hard disk that can not collect some hard disk When breath is is detached from RAID, illustrate that the hard disk breaks down, at this point, sending indicating fault instructs hard disk instruction corresponding to the hard disk Lamp, so that hard disk indication lamp carries out malfunction coefficient, such as is shown as red light and is always on or blinking red lamp, to remind maintenance people Member has hard disk failure, to repair or replace in time.
Hard disk indication lamp control method provided herein can collect instruction according to the information of acquisition and work as to each hard disk Preceding status information is acquired, and further, corresponding idsplay order can be sent according to its current state information to corresponding Hard disk indication lamp can be realized changed to state as a result, so that hard disk indication lamp is shown according to idsplay order The corresponding hard disk indication lamp of hard disk is effectively modified, and more convenient maintenance personnel finds the problem hard disk in time, and carries out to it Maintenance replacement, further ensures the integrality of user data.In addition, the hard disk indication lamp control method is in not change request On the basis of realize problem reparation, can guarantee the competitiveness of product to greatest extent.
On the basis of the above embodiments, referring to FIG. 3, Fig. 3 is another hard disk indication lamp control provided herein The flow diagram of method processed.
As a kind of preferred embodiment, it is above-mentioned according to information collect each hard disk of instruction acquisition current state information it Afterwards, can also include:
S203: the configuration file and RAID information of each hard disk are obtained;
S204: being updated hard disk according to configuration file and RAID information, disk state information after being updated;
It is then above-mentioned that idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to current state information, it can wrap It includes:
S205: idsplay order is sent to hard disk indication lamp according to disk state information after update.
Specifically, for the correctness that hard disk indication lamp is shown is effectively ensured, it after the system starts, can also be further right The current state of hard disk is updated.For example, during the addition of HotSpare disk is contained in system reboot, after system reboot, Corresponding HotSpare disk indicator light will not appear as Spare state, at this point it is possible in the current shape for obtaining each hard disk based on S202 After state information, its corresponding configuration file is further obtained, that is, is stored belonging to the file and the HotSpare disk of the HotSpare disk information All kinds of relevant informations of RAID (Redundant Arrays of Independent Disks, disk array), i.e., above-mentioned RAID Information can determine whether the HotSpare disk is newly added HotSpare disk as a result, according to the configuration file and RAID information.If it is Newly added HotSpare disk can then be updated the current state of the HotSpare disk, HotSpare disk state after being updated, into one Step can send corresponding idsplay order to HotSpare disk indicator light, so that the HotSpare disk refers to according to HotSpare disk state after the update Show that lamp is shown accordingly, that is, is shown as Spare state.
Wherein, it for the particular content of above-mentioned RAID information, need to only can be achieved to the more new function of wherein disk state i.e. Can, the application is not specifically limited it, such as can be metadata information, status information, hard disk quantity information.
It should be noted that the present embodiment is described the update of disk state by taking HotSpare disk as an example, but and unlimited It is applicable for all hard disks in RAID in HotSpare disk.
For other steps of the embodiment of the present application, an embodiment of the method is please referred to, details are not described herein by the application.
On the basis of the various embodiments described above, this application provides a kind of more specifically hard disk indication lamp control methods. Referring to FIG. 4, Fig. 4 is the flow diagram of another hard disk indication lamp control method provided herein, specific implementation Process is as follows:
(1) after system starting, while the timing function service of Disk State collection is opened;
(2) relevant information (such as slot position, title, state etc.) of all disks is collected;
(3) RAID metadata is collected;
(4) status information of RAID is collected;
(5) collection profile;
(6) state of all disks is updated according to the various information of collection and configuration file;
(7) indicator light of Disk State is successively modified according to updated Disk State;
Above step is re-executed after (8) one minutes.
The modification to hard disk indication lamp is realized as a result,.
Hard disk indication lamp control method provided herein can collect instruction according to the information of acquisition and work as to each hard disk Preceding status information is acquired, and further, corresponding idsplay order can be sent according to its current state information to corresponding Hard disk indication lamp can be realized changed to state as a result, so that hard disk indication lamp is shown according to idsplay order The corresponding hard disk indication lamp of hard disk is effectively modified, and more convenient maintenance personnel finds the problem hard disk in time, and carries out to it Maintenance replacement, further ensures the integrality of user data.In addition, the hard disk indication lamp control method is in not change request On the basis of realize problem reparation, can guarantee the competitiveness of product to greatest extent.
To solve the above problems, referring to FIG. 5, Fig. 5 is a kind of hard disk indication lamp control device provided herein Structural schematic diagram, the hard disk indication lamp control device can include:
Instruction acquisition module 10 is collected, collects instruction for obtaining information;
State information collection module 20, for collecting the current state information of each hard disk of instruction acquisition according to information;
Idsplay order issues module 30, corresponding hard to each hard disk for sending idsplay order according to current state information Disk indicator light.
As a kind of preferred embodiment, above-mentioned collection instruction acquisition module 10 may include:
Power on signal receiving submodule, for receiving power on signal;
Power on signal responds submodule, collects instruction for automated toing respond to information according to power on signal.
As a kind of preferred embodiment, above-mentioned power on signal response submodule 12 can be specifically used for according to prefixed time interval Response message collects instruction.
On the basis of the above embodiments, referring to FIG. 6, Fig. 6 is another hard disk indication lamp control provided herein Device processed.
As a kind of preferred embodiment, which can also include:
Data obtaining module 40 is updated, for obtaining the configuration file and RAID information of each hard disk;
Disk state update module 50 is updated for being updated according to configuration file and RAID information to hard disk Disk state information afterwards;
Then above-mentioned idsplay order issues module 30 and can be specifically used for sending idsplay order according to disk state information after update To hard disk indication lamp.
Above method embodiment is please referred to for the introduction of device provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 7, Fig. 7 is that a kind of hard disk indication lamp provided herein controls equipment Structural schematic diagram, the hard disk indication lamp control equipment can include:
Memory 1, for storing computer program;
Processor 2, realizes following steps when for executing above-mentioned computer program:
It obtains information and collects instruction;The current state information of each hard disk of instruction acquisition is collected according to information;According to current Status information sends idsplay order to the corresponding hard disk indication lamp of each hard disk.
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, present invention also provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, can be realized when computer program is executed by processor following rapid:
It obtains information and collects instruction;The current state information of each hard disk of instruction acquisition is collected according to information;According to current Status information sends idsplay order to the corresponding hard disk indication lamp of each hard disk.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated them here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to hard disk indication lamp control method, device, equipment and computer-readable storage medium provided herein Matter is described in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept.It should be pointed out that for the art Those of ordinary skill for, under the premise of not departing from the application principle, can also to the application carry out it is several improvement and repair Decorations, these improvement and modification also fall into the protection scope element of the claim of this application.

Claims (10)

1. a kind of hard disk indication lamp control method characterized by comprising
It obtains information and collects instruction;
The current state information of each hard disk of instruction acquisition is collected according to the information;
Idsplay order is sent to the corresponding hard disk indication lamp of each hard disk according to the current state information.
2. hard disk indication lamp control method as described in claim 1, which is characterized in that the acquisition information collects instruction, packet It includes:
Receive power on signal;
The information, which is automated toed respond to, according to the power on signal collects instruction.
3. hard disk indication lamp control method as claimed in claim 2, which is characterized in that described automatic according to the power on signal It responds the information and collects instruction, comprising:
The information, which is responded, according to prefixed time interval collects instruction.
4. hard disk indication lamp control method as described in claim 1, which is characterized in that described collected according to the information instructs After the current state information for collecting each hard disk, further includes:
Obtain the configuration file and RAID information of each hard disk;
The hard disk is updated according to the configuration file and the RAID information, disk state information after being updated;
It is then described that idsplay order is sent to the corresponding hard disk indication lamp of each hard disk, packet according to the current state information It includes:
The idsplay order is sent to the hard disk indication lamp according to disk state information after the update.
5. a kind of hard disk indication lamp control device characterized by comprising
Instruction acquisition module is collected, collects instruction for obtaining information;
State information collection module, for collecting the current state information of each hard disk of instruction acquisition according to the information;
Idsplay order issues module, corresponding to each hard disk for sending idsplay order according to the current state information Hard disk indication lamp.
6. hard disk indication lamp control device as claimed in claim 5, which is characterized in that the collection instruction acquisition module packet It includes:
Power on signal receiving submodule, for receiving power on signal;
Power on signal responds submodule, collects instruction for automated toing respond to the information according to the power on signal.
7. hard disk indication lamp control device as claimed in claim 6, which is characterized in that the power on signal response submodule tool Body, which is used to respond the information according to prefixed time interval, collects instruction.
8. hard disk indication lamp control device as claimed in claim 5, which is characterized in that further include:
Data obtaining module is updated, for obtaining the configuration file and RAID information of each hard disk;
Disk state update module is obtained for being updated according to the configuration file and the RAID information to the hard disk Disk state information after must updating;
Then the idsplay order issues module and is specifically used for sending the idsplay order according to disk state information after the update To the hard disk indication lamp.
9. a kind of hard disk indication lamp controls equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the hard disk indication lamp as described in Claims 1-4 any one when for executing the computer program The step of control method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the hard disk indication lamp control as described in Claims 1-4 any one when the computer program is executed by processor The step of method processed.
CN201811320253.1A 2018-11-07 2018-11-07 Hard disk indicator lamp control method and device and related equipment Active CN109408343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811320253.1A CN109408343B (en) 2018-11-07 2018-11-07 Hard disk indicator lamp control method and device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811320253.1A CN109408343B (en) 2018-11-07 2018-11-07 Hard disk indicator lamp control method and device and related equipment

Publications (2)

Publication Number Publication Date
CN109408343A true CN109408343A (en) 2019-03-01
CN109408343B CN109408343B (en) 2022-02-18

Family

ID=65472028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811320253.1A Active CN109408343B (en) 2018-11-07 2018-11-07 Hard disk indicator lamp control method and device and related equipment

Country Status (1)

Country Link
CN (1) CN109408343B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502408A (en) * 2019-08-16 2019-11-26 苏州浪潮智能科技有限公司 A kind of display methods, device, equipment and the medium of storage system indicator light
CN112699004A (en) * 2020-12-29 2021-04-23 新华三信息技术有限公司 Hard disk monitoring method, device, equipment and machine readable storage medium
CN113031850A (en) * 2019-12-24 2021-06-25 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for data processing

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080123278A1 (en) * 2006-11-03 2008-05-29 International Business Machines Corporation Slot availability indication system and method for indicating slot availability
CN101231610A (en) * 2007-01-26 2008-07-30 佛山市顺德区顺达电脑厂有限公司 Apparatus and method for monitoring SATA hardpan
US20080183987A1 (en) * 2007-01-25 2008-07-31 Fujitsu Limited Storage system, storage control method, and storage control program
CN101937385A (en) * 2010-08-30 2011-01-05 浪潮电子信息产业股份有限公司 System for monitoring running state of RAID card
CN102568539A (en) * 2010-12-20 2012-07-11 鸿富锦精密工业(深圳)有限公司 Hard disk
US20120260035A1 (en) * 2011-04-08 2012-10-11 Goldick Jonathan S Zero rebuild extensions for raid
CN104484264A (en) * 2014-12-30 2015-04-01 浪潮电子信息产业股份有限公司 Hard disk state indication method and hard disk state indication device
CN106776196A (en) * 2017-02-27 2017-05-31 郑州云海信息技术有限公司 A kind of server hard disc method for monitoring state and system
US20170177437A1 (en) * 2015-12-21 2017-06-22 International Business Machines Corporation Reducing latency for raid destage operations
CN206515814U (en) * 2016-09-12 2017-09-22 恒为科技(上海)股份有限公司 A kind of monitoring hard-disk status device
CN107368264A (en) * 2017-07-26 2017-11-21 郑州云海信息技术有限公司 A kind of combination RAID method, system and storage management software system
CN108763035A (en) * 2018-05-28 2018-11-06 郑州云海信息技术有限公司 A kind of instruction machine box for server internal hard drive status system and method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080123278A1 (en) * 2006-11-03 2008-05-29 International Business Machines Corporation Slot availability indication system and method for indicating slot availability
US20080183987A1 (en) * 2007-01-25 2008-07-31 Fujitsu Limited Storage system, storage control method, and storage control program
CN101231610A (en) * 2007-01-26 2008-07-30 佛山市顺德区顺达电脑厂有限公司 Apparatus and method for monitoring SATA hardpan
CN101937385A (en) * 2010-08-30 2011-01-05 浪潮电子信息产业股份有限公司 System for monitoring running state of RAID card
CN102568539A (en) * 2010-12-20 2012-07-11 鸿富锦精密工业(深圳)有限公司 Hard disk
US20120260035A1 (en) * 2011-04-08 2012-10-11 Goldick Jonathan S Zero rebuild extensions for raid
CN104484264A (en) * 2014-12-30 2015-04-01 浪潮电子信息产业股份有限公司 Hard disk state indication method and hard disk state indication device
US20170177437A1 (en) * 2015-12-21 2017-06-22 International Business Machines Corporation Reducing latency for raid destage operations
CN206515814U (en) * 2016-09-12 2017-09-22 恒为科技(上海)股份有限公司 A kind of monitoring hard-disk status device
CN106776196A (en) * 2017-02-27 2017-05-31 郑州云海信息技术有限公司 A kind of server hard disc method for monitoring state and system
CN107368264A (en) * 2017-07-26 2017-11-21 郑州云海信息技术有限公司 A kind of combination RAID method, system and storage management software system
CN108763035A (en) * 2018-05-28 2018-11-06 郑州云海信息技术有限公司 A kind of instruction machine box for server internal hard drive status system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JIANZONG WANG ET AL: "Reducing Storage Overhead with Small Write Bottleneck Avoiding in Cloud RAID System", 《2012 ACM/IEEE 13TH INTERNATIONAL CONFERENCE ON GRID COMPUTING》 *
熊昱等: "浅谈存储raid5及其运行过程中遇两块硬盘出错问题的解决方法", 《南方农机》 *
老兵: "主板电容导致的故障", 《电脑迷》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502408A (en) * 2019-08-16 2019-11-26 苏州浪潮智能科技有限公司 A kind of display methods, device, equipment and the medium of storage system indicator light
CN113031850A (en) * 2019-12-24 2021-06-25 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for data processing
CN112699004A (en) * 2020-12-29 2021-04-23 新华三信息技术有限公司 Hard disk monitoring method, device, equipment and machine readable storage medium

Also Published As

Publication number Publication date
CN109408343B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN109408343A (en) A kind of hard disk indication lamp control method, device and relevant device
CN107817950B (en) Data processing method and device
CN103761165B (en) Log backup method and device
US11892922B2 (en) State management methods, methods for switching between master application server and backup application server, and electronic devices
US8996826B2 (en) Techniques for system recovery using change tracking
US9223657B2 (en) Self-rescue method and device for damaged file system
CN111158599B (en) Method, device and equipment for writing data and storage medium
CN107016014A (en) The method of data synchronization and device of heterogeneous database
CN103532731A (en) method and device for preventing network configuration of virtual machine from losing
JP2017097408A (en) Information processing device and program update control method
CN110908613A (en) Data writing command processing method and device, electronic equipment and storage medium
CN111796959A (en) Host machine container self-healing method, device and system
CN102932387A (en) Equipment operation maintenance method and device
WO2020000956A1 (en) Method, apparatus and device for bmc monitoring of correctable ecc errors
CN110597779A (en) Data reading and writing method in distributed file system and related device
CN105573863A (en) Index file recovery method and apparatus and video monitoring system
CN110011854A (en) MDS fault handling method, device, storage system and computer readable storage medium
CN113946487A (en) Method and system for realizing autonomous service degradation recovery in fault scene
JP2008104251A (en) Power supply failure detection method
CN104239167A (en) Backup method and backup device for database as well as electronic equipment
CN106909477A (en) A kind of storage server IO stack internal storage data guard methods and device
CN105938445B (en) Data back up method and device
CN109240845A (en) A kind of processing method, device and the storage medium of heartbeat disk exception
WO2021155668A1 (en) Method and device for making online hot backup of database
CN103019961A (en) Cache flash processing method and device

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