CN114356043A - Hard disk anti-vibration control method, device and system and storage medium - Google Patents
Hard disk anti-vibration control method, device and system and storage medium Download PDFInfo
- Publication number
- CN114356043A CN114356043A CN202111440117.8A CN202111440117A CN114356043A CN 114356043 A CN114356043 A CN 114356043A CN 202111440117 A CN202111440117 A CN 202111440117A CN 114356043 A CN114356043 A CN 114356043A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- vibration
- shock
- data
- disk
- 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.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The application relates to a method, a device and a system for controlling hard disk shockproof and a storage medium; the method is suitable for a hard disk shockproof control system; the method comprises the following steps: in a substrate management controller, acquiring hard disk information of each hard disk through a disk array card; determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter; acquiring vibration data of a vibration sensor; and comparing the vibration data with a vibration threshold, and adjusting the preset operation parameters of each hard disk through a controller of the disk array card when the vibration data is greater than or equal to the vibration threshold. Through the method and the device, the problem that the cost requirements cannot be flexibly adapted in the related technology is solved, the preset operation parameters of each hard disk are adjusted through the controller of the disk array card according to the hard disk information of each hard disk, risks of losing disks or data loss and the like possibly caused by vibration are reduced, and the cost requirements can be flexibly adapted.
Description
Technical Field
The present application relates to the field of computer storage technologies, and in particular, to a method, an apparatus, a system, and a storage medium for controlling shock prevention of a hard disk.
Background
With the development of big data and artificial intelligence, data grows explosively, and great challenges are brought to data storage. This challenge has also driven the evolution of storage technologies, where storage media have evolved from early mechanical hard disks to later solid state hard disks, and storage interface speeds have also increased from 6Gb to 12 Gb. Although the performance and the stability of the solid state disk are superior to those of a mechanical hard disk, the solid state disk cannot completely replace the mechanical hard disk at the present stage. In each large data center at present, the mechanical hard disk still occupies a great proportion, the main factor is cost, and the massive storage space and the cost performance of the mechanical hard disk are incomparable with those of a solid state disk in a short time, so that the mechanical hard disk exists in the field of storage for a long time.
The mechanical hard disk has high requirements on the mechanical vibration of the environment in the operation process due to the complexity and the precision of the structure, if the environmental mechanical vibration exceeds the specification requirement of the hard disk, the performance of the mechanical hard disk is reduced if the environmental mechanical vibration exceeds the specification requirement of the hard disk, and the magnetic tracks of the hard disk or the hard disks are damaged if the environmental mechanical vibration exceeds the specification requirement of the hard disk. At present, the scheme for shock resistance of a mechanical hard disk is as follows: the mechanical hard disk is loaded by adopting a case with a shockproof structure so as to realize the shockproof control of the mechanical hard disk. The disadvantage of this solution is that the shock-resistant structural chassis cannot be flexibly adapted to the cost requirements. For example, if the requirements of the customer change, the configuration of the mechanical hard disk is required to be completely replaced by the solid state disk, because the shock-proof coefficient of the solid state disk is relatively high, the shock-proof structural chassis is redundant, and the cost is wasted.
Aiming at the problem that a case with a shockproof structure in the related technology cannot flexibly meet the cost requirement, no effective solution is provided at present.
Disclosure of Invention
The embodiment provides a method, a device, a system and a storage medium for controlling hard disk shock prevention, so as to solve the problem that a shock-proof structure case in the related art cannot flexibly meet the cost requirement.
In a first aspect, in this embodiment, a method for controlling hard disk shock resistance is provided, which is suitable for a hard disk shock resistance control system; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; the substrate management controller is connected with the vibration sensor; the method comprises the following steps:
in the baseboard management controller, acquiring hard disk information of each hard disk through the disk array card;
determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
acquiring vibration data of the vibration sensor;
and comparing the vibration data with the vibration threshold value, and adjusting the preset operation parameters of each hard disk through a controller of the disk array card when the vibration data is greater than or equal to the vibration threshold value.
In some embodiments, the method for controlling shock resistance of a hard disk provided in this embodiment further includes:
and when the vibration data is smaller than the vibration threshold value, controlling each hard disk to operate according to preset operation parameters through a controller of the disk array card.
In some embodiments, before obtaining the hard disk information of each hard disk through the disk array card, the method further includes:
and detecting whether the server is powered on or not, and detecting whether the vibration sensor is in place or not after the server is powered on.
In some embodiments, the determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter includes:
acquiring a preset vibration specification data table, wherein the vibration specification data table comprises vibration specification parameters corresponding to various types of hard disks;
and matching vibration specification parameters of corresponding models from the vibration specification data table according to the model information in the hard disk information, and taking the vibration specification parameters as vibration threshold values.
In some embodiments, the acquiring the vibration data of the vibration sensor includes:
and starting a monitoring process, and periodically acquiring vibration data of the vibration sensor.
In some embodiments, the method for controlling shock resistance of a hard disk provided in this embodiment further includes:
and after the vibration data of the vibration sensor are acquired periodically, recording the vibration data to generate a vibration time event log.
In some embodiments, the acquiring the vibration data of the vibration sensor includes:
and starting a monitoring process, and periodically acquiring vibration data of each vibration sensor.
In a second aspect, in the present embodiment, a hard disk anti-vibration control device is provided, which is suitable for a hard disk anti-vibration control system; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; a hard disk shockproof control device is arranged in the substrate management controller and is connected with the shock sensor; the device comprises: the device comprises a first acquisition module, a determination module, a second acquisition module and an adjustment module;
the first obtaining module is configured to obtain, in the baseboard management controller, hard disk information of each hard disk through the disk array card;
the determining module is used for determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
the second acquisition module is used for acquiring vibration data of the vibration sensor;
the adjusting module is used for comparing the vibration data with the vibration threshold value, and adjusting the preset operation parameters of the hard disks through the controller of the disk array card when the vibration data is larger than or equal to the vibration threshold value.
In a third aspect, in this embodiment, a hard disk anti-shock control system is provided, including a disk array card, a substrate management controller, a server, and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; the substrate management controller is connected with the vibration sensor; the baseboard management controller comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the shockproof control method of the hard disk of the first aspect is realized.
In a fourth aspect, in the present embodiment, a storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the method for controlling hard disk shock protection according to the first aspect.
Compared with the related art, the hard disk anti-vibration control method, the device, the system and the storage medium provided in the embodiment are applicable to a hard disk anti-vibration control system; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; the substrate management controller is connected with the vibration sensor; the method comprises the following steps: in a substrate management controller, acquiring hard disk information of each hard disk through a disk array card; determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter; acquiring vibration data of a vibration sensor; and comparing the vibration data with a vibration threshold, and adjusting the preset operation parameters of each hard disk through a controller of the disk array card when the vibration data is greater than or equal to the vibration threshold. Through the method and the device, the problem that the cost requirements cannot be flexibly adapted in the related technology is solved, the preset operation parameters of each hard disk are adjusted through the controller of the disk array card according to the hard disk information of each hard disk, risks of losing disks or data loss and the like possibly caused by vibration are reduced, and the cost requirements can be flexibly adapted.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hard disk shock protection control system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for controlling shock protection of a hard disk according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a hard disk shock protection control device according to an embodiment of the present application.
In the figure: 10. a server; 11. a hard disk backplane; 12. a hard disk; 13. a shock sensor; 20. a disk array card; 30. a baseboard management controller; 210. a first acquisition module; 220. a determination module; 230. a second acquisition module; 240. and an adjusting module.
Detailed Description
For a clearer understanding of the objects, aspects and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms used herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of this application do not denote a limitation of quantity, either in the singular or the plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference throughout this application to "connected," "coupled," and the like is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
The method embodiment provided in this embodiment may be executed in a hard disk anti-shock control system. The hard disk shockproof control system, as shown in fig. 1, includes a disk array card 20, a substrate management controller 30, a server 10 and a shock sensor 13; the server 10 comprises a hard disk back plate 11, wherein a plurality of hard disks 12 and at least one vibration sensor 13 are arranged in the hard disk back plate 11; the server 10 is used to store data and provide computing or application services. The hard disk 12 is inserted on the hard disk backboard 11, and the disk array card 20 is connected with the hard disk backboard 11 through a cable to manage and control the hard disk 12 on the backboard.
Specifically, the disk array card 20 is connected to the baseboard management controller 30 and each hard disk 12 respectively; the disk array card 20 is used for RAID (redundant array of inexpensive disks), which is a system in which hard disk drives are integrated as a whole according to a certain requirement, and the entire disk array is managed by the controller of the disk array card 20. The basic architectural feature of RAID is the assembly (Striping) of 2 or more physical hard disks 12 bundled into groups to form a single logical disk. The combination Set (Striping Set) refers to binding the physical hard disk 12 groups together. The combination set is installed in the hard disk backplane 11, and when multiple hard disk 12 drives are utilized, the combination can provide better performance enhancement than a single physical hard disk 12 drive. Data is written to the assembly in blocks (Chunks), the size of which is a fixed value and is selected before the bundling process is performed. The relationship between the block size and the size of the average I/O requirement determines the characteristics of the combined set. In general, the purpose of block size selection is to maximize performance for different featured computing environment applications. A board management controller 30 connected to the vibration sensor 13; the baseboard Management controller 30 is bmc (baseboard Management controller), also called server controller; the basic core function subsystem of the server 10 is responsible for core functions of the server 10, such as hardware state management, operating system management, health state management, power consumption management, and the like. The baseboard management controller 30 in this embodiment comprises a memory having a computer program stored therein and a processor configured to run the computer program to perform the steps of any of the method embodiments.
It should be noted that, for the specific examples in this embodiment, reference may be made to the examples described in the method embodiment and the optional implementation, and details are not described again in this embodiment. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely an illustration and is not intended to limit the structure of the terminal described above. For example, the hard disk anti-shock control system may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. For example, the number of the vibration sensors 13 may be multiple, and the vibration sensors are disposed at different positions of the hard disk backplane 11 and connected to the baseboard management controller 30 through a 12C bus, so as to collect vibration data of different positions of the hard disk backplane 11. The vibration sensor 13 is installed on the hard disk backplane 11 as an optional component, and can be disassembled or installed at any time, and when the server 10 is in a relatively severe environment, the sensor can be selected.
Specifically, the method embodiments provided in the present embodiment may also be executed in a terminal, a computer, or a similar operation device. The terminal may comprise one or more processors and a memory for storing data, wherein the processors may comprise, but are not limited to, a processing means such as a microprocessor MCU or a programmable logic device FPGA. The terminal may further include a transmission device for a communication function and an input-output device.
The memory may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the hard disk anti-shock control method in the embodiment, and the processor executes various functional applications and data processing by running the computer programs stored in the memory, so as to implement the above-mentioned method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. The network described above includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for controlling shock resistance of a hard disk is provided, which is suitable for a control system for shock resistance of a hard disk as shown in fig. 1; fig. 2 is a flowchart of the hard disk shock protection control method of the present embodiment, and as shown in fig. 2, the flowchart includes the following steps:
step S210, in the substrate management controller, acquiring hard disk information of each hard disk through a disk array card;
step S220, determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
step S230, obtaining vibration data of a vibration sensor;
and step S240, comparing the vibration data with a vibration threshold value, and adjusting the preset operation parameters of each hard disk through the controller of the disk array card when the vibration data is greater than or equal to the vibration threshold value.
It should be noted that, a plurality of hard disks are arranged in the hard disk backplane of the server, and each hard disk is connected with the disk array card through the hard disk backplane, and when the hard disk is installed, the hard disk information is transmitted to the disk array card. The hard disk comprises a mechanical hard disk and a solid state hard disk. The hard disk information includes, but is not limited to, a hard disk model, a specification size, transmission parameters, and the like. The hard disk model can be as follows: ST3XX1AS, LENSEXX 2TA, etc. Each hard disk has unique hard disk information, whether the hard disk is a mechanical hard disk or a solid state hard disk can be judged through the hard disk information, and the specific type of each hard disk can be judged.
The vibration specification parameters are preset according to the hard disk model. The vibration specification parameters of the hard disks of different models are different, the vibration specification parameter of the solid state hard disk is higher than that of the mechanical hard disk, and the vibration specification parameter of the mechanical hard disk is about 350 Gs. Different models of mechanical hard disks have different vibration specification parameters due to different manufacturers. Then, the vibration threshold corresponding to each hard disk can be determined according to the hard disk information of each hard disk and the preset vibration specification parameters. Typically, the shock threshold is less than or equal to the shock specification parameter.
The vibration sensor is arranged on the hard disk backboard as an optional component and can be disassembled or assembled at any time, and the working condition of the current server can be judged by acquiring vibration data through the vibration sensor; and comparing the vibration data with a vibration threshold, when the vibration data is greater than or equal to the vibration threshold, indicating that the vibration caused by the work of the server is too high at the moment, and risks such as disc loss or data loss exist, adjusting preset operation parameters of each hard disc through a controller of the disk array card, and operating each hard disc according to the adjusted operation parameters. For example, reducing the speed of the hard disk, etc. ensures that the shock of the hard disk is reduced within the range of the shock threshold.
And if the requirement of a customer changes, the configuration of the mechanical hard disk is required to be completely replaced by the solid state disk, and the shock resistance coefficient of the solid state disk is higher, so that the shock data generated under the condition of presetting the operation parameters cannot exceed the shock threshold of the solid state disk. Moreover, even if the collected vibration data is greater than or equal to the vibration threshold of the solid state disk during the operation of the solid state disk, the controller of the disk array card can be used for adjusting the preset operation parameters of each solid state disk, reducing the speed of the hard disk and the like, and ensuring that the vibration of the hard disk is reduced within the range of the vibration threshold. The method and the device can reduce the risk of losing the disk or data and the like possibly caused by vibration, and can flexibly adapt to the cost requirement. And the case with a shockproof structure is not needed to be adopted in the related prior art, so that the waste of resources is avoided.
The above steps are explained in detail below:
in some embodiments, the provided method for controlling shock resistance of a hard disk further includes the following steps:
and when the vibration data is smaller than the vibration threshold value, controlling each hard disk to operate according to preset operation parameters through a controller of the disk array card.
Specifically, each hard disk operates under the control of the controller of the disk array card, and operates according to preset operation parameters under normal conditions (vibration data is smaller than a vibration threshold). For adjusting the operation parameters, it is required to know that each hard disk operates according to the adjusted operation parameters, and at this time, if the vibration data is smaller than the vibration threshold for a certain time, each hard disk is also controlled to operate according to preset operation parameters by a controller of the disk array card, which is equivalent to relieving the vibration standard exceeding.
In some embodiments, before obtaining the hard disk information of each hard disk through the disk array card, the method further includes the following steps:
and detecting whether the server is powered on or not, and detecting whether the vibration sensor is in place or not after the server is powered on.
Specifically, whether a server is powered on is detected; and if the server is not electrified, stopping working. If the server is detected to be powered on, continuously detecting whether the vibration sensor is in place; whether the vibration sensor is in place or not can be determined by whether the vibration data collected by the vibration sensor can be received or not; if the vibration data collected by the vibration sensor can be received, the vibration sensor is in place; if the vibration data collected by the vibration sensor cannot be received, the vibration sensor is not in place.
In some embodiments, step S220 includes the following steps:
step S221, acquiring a preset vibration specification data table, wherein the vibration specification data table comprises vibration specification parameters corresponding to various types of hard disks;
step S222, according to the model information in the hard disk information, matching the vibration specification parameter of the corresponding model from the vibration specification data table, and using the vibration specification parameter as a vibration threshold.
Specifically, the vibration specification data table may be preset in the external database, or may be preset in the BMC. If the vibration specification data table is arranged in the external database, the vibration specification data table in the external database needs to be called when the vibration specification data table is used. The vibration specification data table stores vibration specification parameters corresponding to hard disks of each type; the corresponding vibration specification parameters can be screened out according to the type of the hard disk. In this embodiment, the vibration specification parameter may be directly used as the vibration threshold. In other embodiments, the shock threshold is less than the shock specification parameter. For example: and subtracting the parameter threshold value from the vibration specification parameter to obtain a vibration threshold value.
Specifically, step S230 includes the following steps:
step S231, starting a monitoring process, and periodically acquiring vibration data of the vibration sensor.
In step S233, the vibration data is recorded to generate a vibration time event log.
Specifically, in the BMC, a monitoring process is started to periodically acquire vibration data of the vibration sensor, record the vibration data, and generate a vibration time event log. According to the recorded vibration data, a time curve of vibration can be drawn; if the vibration data in the vibration time curve exceeds the vibration threshold, a trigger time log with vibration exceeding the standard is recorded, the log information is uploaded to a controller of the disk array card, and the disk array card can adjust parameters of the administered hard disk (such as reducing the speed of the hard disk) to ensure that the vibration of the hard disk is reduced within the range of the vibration threshold. In other embodiments, a real-time acquisition mode may also be adopted, for example: and starting a monitoring process, acquiring vibration data of the vibration sensor in real time, recording the vibration data, and generating a vibration time event log.
Specifically, in the case of multiple shock sensors, step S230 includes the following steps:
and starting a monitoring process, periodically acquiring vibration data of each vibration sensor, recording each vibration data, and generating a vibration time event log.
If the vibration data of one vibration sensor is larger than or equal to the vibration threshold, the preset operation parameters of each hard disk are adjusted through the controller of the disk array card.
The present embodiment is described and illustrated below by means of preferred embodiments.
In a Baseboard Management Controller (BMC), detecting that a server is powered on; detecting whether the vibration sensor is in place; if the vibration sensor is detected to be in place, acquiring hard disk information through a disk array (RAID) card, and if a mechanical hard disk exists in the hard disks, acquiring vibration specification data of each type of hard disk from a vibration specification data table according to the type of the installed mechanical hard disk;
the base plate management controller (BMC) can match different vibration specification data according to hard disk information of different models, and can record different vibration threshold values aiming at different mechanical hard disks;
starting a monitoring process by a Baseboard Management Controller (BMC), periodically reading vibration data of a vibration sensor, recording the vibration data into an event log, and drawing a vibration time curve according to the recorded vibration data;
if the read vibration data exceed the corresponding vibration threshold, a trigger time log with vibration exceeding the standard is recorded, a Baseboard Management Controller (BMC) uploads log information to a controller of an RAID card, and the RAID card can adjust parameters of the managed hard disk (such as reducing the speed of the hard disk) and ensure that the vibration of the hard disk is reduced within a certain range.
When the vibration data acquired by the Baseboard Management Controller (BMC) is recovered to be within the vibration threshold range, the Baseboard Management Controller (BMC) triggers an event log for releasing the vibration exceeding standard, and the RAID card also makes a corresponding releasing action to recover the original working state when acquiring a releasing request.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
In this embodiment, a hard disk shock protection control device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted for brevity. The terms "module," "unit," "subunit," and the like as used below may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 3 is a block diagram of the control device for preventing hard disk vibration according to the present embodiment, and as shown in FIG. 3, the device is suitable for a control system for preventing hard disk vibration; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; a hard disk shockproof control device is arranged in the substrate management controller and is connected with the shock sensor; the device includes: a first obtaining module 210, a determining module 220, a second obtaining module 230, and an adjusting module 240;
a first obtaining module 210, configured to obtain, in the baseboard management controller, hard disk information of each hard disk through a disk array card;
the determining module 220 is configured to determine a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
a second obtaining module 230, configured to obtain vibration data of the vibration sensor;
and the adjusting module 240 is configured to compare the vibration data with a vibration threshold, and adjust the preset operation parameters of each hard disk through the controller of the disk array card when the vibration data is greater than or equal to the vibration threshold.
Through the device, the problem that the cost requirements cannot be flexibly adapted in the related technology is solved, the preset operation parameters of each hard disk are adjusted through the controller of the disk array card according to the hard disk information of each hard disk, so that the risks of disk loss or data loss and the like possibly caused by vibration are reduced, and the cost requirements can be flexibly adapted.
In some embodiments, the hard disk shock protection control device provided in this embodiment further includes an operation module on the basis of fig. 3;
and the operation module is used for controlling each hard disk to operate according to preset operation parameters through the controller of the disk array card when the vibration data is smaller than the vibration threshold value.
In some embodiments, the hard disk shockproof control device provided in this embodiment is based on fig. 3, and includes a detection module;
and the detection module is used for detecting whether the server is powered on or not before the hard disk information of each hard disk is acquired through the disk array card, and detecting whether the vibration sensor is in place or not after the server is powered on.
In some embodiments, the determining module 220 is further configured to obtain a preset vibration specification data table, where the vibration specification data table includes vibration specification parameters corresponding to various types of hard disks;
and matching vibration specification parameters of corresponding models from the vibration specification data table according to the model information in the hard disk information, and taking the vibration specification parameters as vibration threshold values.
In some embodiments, the second obtaining module 230 is further configured to start a monitoring process to periodically obtain vibration data of the vibration sensor;
and recording the vibration data to generate a vibration time event log.
In some embodiments, the second obtaining module 230 is further configured to initiate a monitoring process to periodically obtain the vibration data of each vibration sensor.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In addition, in combination with the method for controlling shock resistance of a hard disk provided in the foregoing embodiment, a storage medium may also be provided in this embodiment. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the above-described embodiments of the method for controlling hard disk shock protection.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without any inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
The term "embodiment" is used herein to mean that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly or implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (10)
1. A control method for hard disk vibration prevention is characterized in that the method is suitable for a hard disk vibration prevention control system; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; the substrate management controller is connected with the vibration sensor; the method comprises the following steps:
in the baseboard management controller, acquiring hard disk information of each hard disk through the disk array card;
determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
acquiring vibration data of the vibration sensor;
and comparing the vibration data with the vibration threshold value, and adjusting the preset operation parameters of each hard disk through a controller of the disk array card when the vibration data is greater than or equal to the vibration threshold value.
2. The method for controlling shock protection of a hard disk according to claim 1, further comprising:
and when the vibration data is smaller than the vibration threshold value, controlling each hard disk to operate according to preset operation parameters through a controller of the disk array card.
3. The method for controlling shock protection of hard disks according to claim 1, further comprising, before obtaining the hard disk information of each hard disk by the disk array card:
and detecting whether the server is powered on or not, and detecting whether the vibration sensor is in place or not after the server is powered on.
4. The method for controlling shock prevention of a hard disk according to any one of claims 1 to 3, wherein the determining the shock threshold corresponding to each hard disk according to the hard disk information and the preset shock specification parameter of each hard disk comprises:
acquiring a preset vibration specification data table, wherein the vibration specification data table comprises vibration specification parameters corresponding to various types of hard disks;
and matching vibration specification parameters of corresponding models from the vibration specification data table according to the model information in the hard disk information, and taking the vibration specification parameters as vibration threshold values.
5. The method for controlling shock protection of a hard disk according to claim 4, wherein said obtaining shock data of said shock sensor comprises:
and starting a monitoring process, and periodically acquiring vibration data of the vibration sensor.
6. The method for controlling shock protection of a hard disk according to claim 5, further comprising:
and after the vibration data of the vibration sensor are acquired periodically, recording the vibration data to generate a vibration time event log.
7. The method for controlling shock protection of a hard disk according to claim 4, wherein said obtaining shock data of said shock sensor comprises:
and starting a monitoring process, and periodically acquiring vibration data of each vibration sensor.
8. A shockproof control device of a hard disk is characterized in that the shockproof control device is suitable for a shockproof control system of the hard disk; the hard disk shockproof control system comprises a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; a hard disk shockproof control device is arranged in the substrate management controller and is connected with the shock sensor; the device comprises: the device comprises a first acquisition module, a determination module, a second acquisition module and an adjustment module;
the first obtaining module is configured to obtain, in the baseboard management controller, hard disk information of each hard disk through the disk array card;
the determining module is used for determining a vibration threshold corresponding to each hard disk according to the hard disk information of each hard disk and a preset vibration specification parameter;
the second acquisition module is used for acquiring vibration data of the vibration sensor;
the adjusting module is used for comparing the vibration data with the vibration threshold value, and adjusting the preset operation parameters of the hard disks through the controller of the disk array card when the vibration data is larger than or equal to the vibration threshold value.
9. A shockproof control system of a hard disk is characterized by comprising a disk array card, a substrate management controller, a server and a shock sensor; the server comprises a hard disk back plate, wherein a plurality of hard disks and at least one vibration sensor are arranged in the hard disk back plate; the disk array card is respectively connected with the substrate management controller and each hard disk; the substrate management controller is connected with the vibration sensor; the baseboard management controller comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the hard disk anti-shock control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for controlling hard disk shock protection according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111440117.8A CN114356043A (en) | 2021-11-27 | 2021-11-27 | Hard disk anti-vibration control method, device and system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111440117.8A CN114356043A (en) | 2021-11-27 | 2021-11-27 | Hard disk anti-vibration control method, device and system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114356043A true CN114356043A (en) | 2022-04-15 |
Family
ID=81097591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111440117.8A Pending CN114356043A (en) | 2021-11-27 | 2021-11-27 | Hard disk anti-vibration control method, device and system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114356043A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120182641A1 (en) * | 2011-01-14 | 2012-07-19 | International Business Machines Corporation | Hard Disk Drive Availability Following Transient Vibration |
CN103218173A (en) * | 2013-03-27 | 2013-07-24 | 华为技术有限公司 | Method and device for storage control |
CN103455448A (en) * | 2012-05-30 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Shake resisting method and system for server |
CN103678176A (en) * | 2012-09-10 | 2014-03-26 | 鸿富锦精密工业(深圳)有限公司 | Hard disk data protection method and system |
US20170207964A1 (en) * | 2016-01-15 | 2017-07-20 | Dell Products L.P. | Systems and methods for proactively recommending input/output redirection using management controller |
CN108170620A (en) * | 2018-01-05 | 2018-06-15 | 郑州云海信息技术有限公司 | A kind of server hard disk extension system and method, hard disk signal enhancing method |
CN109597714A (en) * | 2018-12-03 | 2019-04-09 | 郑州云海信息技术有限公司 | Data guard method, device and equipment when a kind of generation physical vibration |
US20200142457A1 (en) * | 2018-11-02 | 2020-05-07 | Dell Products L.P. | Activity-light-based parameter reporting system |
-
2021
- 2021-11-27 CN CN202111440117.8A patent/CN114356043A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120182641A1 (en) * | 2011-01-14 | 2012-07-19 | International Business Machines Corporation | Hard Disk Drive Availability Following Transient Vibration |
CN103455448A (en) * | 2012-05-30 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Shake resisting method and system for server |
CN103678176A (en) * | 2012-09-10 | 2014-03-26 | 鸿富锦精密工业(深圳)有限公司 | Hard disk data protection method and system |
CN103218173A (en) * | 2013-03-27 | 2013-07-24 | 华为技术有限公司 | Method and device for storage control |
US20170207964A1 (en) * | 2016-01-15 | 2017-07-20 | Dell Products L.P. | Systems and methods for proactively recommending input/output redirection using management controller |
CN108170620A (en) * | 2018-01-05 | 2018-06-15 | 郑州云海信息技术有限公司 | A kind of server hard disk extension system and method, hard disk signal enhancing method |
US20200142457A1 (en) * | 2018-11-02 | 2020-05-07 | Dell Products L.P. | Activity-light-based parameter reporting system |
CN109597714A (en) * | 2018-12-03 | 2019-04-09 | 郑州云海信息技术有限公司 | Data guard method, device and equipment when a kind of generation physical vibration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103118188B (en) | Application heartbeat cycle adjusting method and device, and terminal | |
EP3261420A1 (en) | Virtual chassis management controller | |
US20060069886A1 (en) | Managing disk storage media | |
US20160232450A1 (en) | Storage device lifetime monitoring system and storage device lifetime monitoring method thereof | |
US8447998B2 (en) | Reducing current draw of a plurality of solid state drives at computer startup | |
US20140122753A1 (en) | Electronic Device, Management Method Thereof, and Rack Serving System | |
CN103576835A (en) | Data manipulation method and device for sleep disk | |
US9653110B2 (en) | Speed control of data storage device using service controller | |
US20110320712A1 (en) | Method and apparatus for controlling state of storage device and storage device | |
CN107844165A (en) | Hard disk hot-plug realization device | |
CN105446657A (en) | Method for monitoring RAID card | |
CN111176967A (en) | Query method and device for remote out-of-band SSD log information and BMC | |
CN112506427A (en) | Method, system, equipment and medium for reducing power consumption of solid state disk | |
CN103778024A (en) | Server system and message processing method thereof | |
CN109445561B (en) | Power failure protection system and method applied to server and server | |
CN103870319A (en) | Method and device for information processing and electronic device | |
CN104067222A (en) | Booting a server using a remote read-only memory image | |
US20220404986A1 (en) | Configuration of a computational drive | |
CN109960638A (en) | BMC starts reason recording method, system, device and readable storage medium storing program for executing | |
CN114356043A (en) | Hard disk anti-vibration control method, device and system and storage medium | |
CN103617053A (en) | Method and device for upgrading software | |
CN104199621A (en) | Hard disk management system | |
CN115562582A (en) | Data migration method based on blue-ray disc library, server and blue-ray disc library | |
EP3477468B1 (en) | Method and system for binding chassis and components | |
CN103544975A (en) | Vehicular hard disk drive protection method |
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 |