CN111813588B - Computer hard disk fault positioning method, device, equipment and storage medium - Google Patents
Computer hard disk fault positioning method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111813588B CN111813588B CN202010484680.4A CN202010484680A CN111813588B CN 111813588 B CN111813588 B CN 111813588B CN 202010484680 A CN202010484680 A CN 202010484680A CN 111813588 B CN111813588 B CN 111813588B
- Authority
- CN
- China
- Prior art keywords
- hard disk
- computer
- computer hard
- information
- positioning information
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0727—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a computer hard disk fault positioning method, a device, equipment and a storage medium, wherein the method comprises the following steps: setting soft links, wherein the soft links are in one-to-one correspondence with the positions of the card slot interfaces of the computer hard disk; reading each hard disk identification information of each computer hard disk, wherein each hard disk identification information corresponds to each computer hard disk one by one; reading each drive letter information of each computer hard disk; configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises the hard disk identification information of the computer hard disk, the soft link corresponding to the card slot interface position of the computer hard disk and the drive letter information of the computer hard disk; and when at least one computer hard disk has a fault, inquiring the hard disk positioning information of the fault hard disk, and uploading the soft link in the hard disk positioning information of the fault hard disk. The invention can realize the rapid positioning of the computer hard disk faults, improves the efficiency of positioning the faults and shortens the time for positioning the faults.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for locating a fault of a hard disk of a computer.
Background
At present, due to the popularization of big data technology and the continuous improvement of data volume, the data storage capacity of a computer is a new challenge facing us, and in order to store more data volume on one computer, a plurality of hard disk clamping grooves are reserved on the computer for mounting more hard disks. Mounting (mounting) refers to a process that an operating system makes a computer file and directory on a storage device (such as a hard disk, a CD-ROM or a shared resource) accessible to a user through a file system of a computer, and generally, when the computer is turned off, each mounted storage will be unloaded once, so as to ensure that all queued data is written in, and ensure the integrity of the file system structure on a medium, so that when many computers are started each time, the mounted drive symbols are not fixed when a plurality of hard disks are automatically mounted, and then, when a certain hard disk fails, how to quickly and accurately check the failed hard disk is still a technical problem to be solved.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method, an apparatus, a device, and a storage medium for locating a fault of a computer hard disk, so as to implement quick location of the fault of the computer hard disk, improve efficiency of locating the fault, and shorten time for locating the fault.
In order to achieve the above object, in one aspect, an embodiment of the present disclosure provides a method for locating a fault in a hard disk of a computer, including:
placing soft links, wherein the soft links are in one-to-one correspondence with the positions of the card slot interfaces of the computer hard disk;
reading each hard disk identification information of each computer hard disk, wherein each hard disk identification information corresponds to each computer hard disk one by one;
reading each drive letter information of each computer hard disk;
configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises the hard disk identification information of the computer hard disk, the soft link corresponding to the card slot interface position of the computer hard disk and the drive letter information of the computer hard disk;
and when at least one computer hard disk has a fault, inquiring the hard disk positioning information of the fault hard disk, and uploading the soft link in the hard disk positioning information of the fault hard disk.
On the other hand, the embodiment of the specification also provides a computer hard disk fault positioning device, which comprises:
the soft link setting module is used for setting soft links, and the soft links are in one-to-one correspondence with the positions of the card slot interfaces of the computer hard disk;
the hard disk identification information reading module is used for reading the hard disk identification information of each computer hard disk, wherein each hard disk identification information corresponds to each computer hard disk one by one;
the drive letter information reading module is used for reading drive letter information of each computer hard disk;
the hard disk positioning information configuration module is used for configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises the hard disk identification information of the computer hard disk, the soft link corresponding to the card slot interface position of the computer hard disk and the drive letter information of the computer hard disk;
and the hard disk positioning information uploading module is used for inquiring the hard disk positioning information of the failed hard disk when at least one computer hard disk fails and uploading the soft link in the hard disk positioning information of the failed hard disk.
In another aspect, an embodiment of the present disclosure further provides an electronic device, including:
memory for storing computer software program
And the processor is used for realizing the steps of the computer hard disk fault positioning method in the embodiment of the invention when the computer software program is run.
On the other hand, the embodiment of the present disclosure further provides a computer readable storage medium, on which a computer software program is stored, where the computer software program is executed to implement the steps of the method for positioning a fault in a computer hard disk in the embodiment of the present disclosure.
According to the technical scheme provided by the embodiment of the specification, the fault position of the computer hard disk is automatically positioned, the fault positioning efficiency is improved, and the fault positioning time is shortened.
Drawings
FIG. 1 is a flow chart of a method for locating a failure of a hard disk of a computer according to some embodiments of the present disclosure.
FIG. 2 is a flow chart of a computer hard disk fault locating device according to some embodiments of the present disclosure.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
As shown in fig. 1, in some embodiments of the present disclosure, a method for locating a fault in a hard disk of a computer is provided, which includes the following steps:
s102, setting soft links, wherein the soft links correspond to the interface positions of the clamping grooves of the hard disk of the computer one by one;
s104, reading all hard disk identification information of all computer hard disks, wherein all hard disk identification information corresponds to all computer hard disks one by one;
s106, reading the information of each drive letter of each computer hard disk;
s108, configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises hard disk identification information of the computer hard disk, a soft link corresponding to a clamping slot interface position of the computer hard disk and drive letter information of the computer hard disk;
s110, inquiring hard disk positioning information of the failed hard disk when at least one computer hard disk fails, and uploading soft links in the hard disk positioning information of the failed hard disk.
Specifically, a hot plug script of the computer can be configured, so that when a hard disk is hot plugged on the computer, soft links needed by the user are created according to a predefined rule, the soft links have fixed names and have a one-to-one correspondence with the interface positions of the clamping grooves, and the soft links point to the drive letter information of the hard disk of the computer corresponding to the soft links.
The card slot position of the hard disk can be judged through the soft link. The hard disk identification information includes characters that uniquely identify the hard disk, the characters including SN (Serial Number) codes and/or UUID (Universally Unique Identifier) codes of the hard disk,
the SN acquisition method in the Linux system is exemplified as follows:
smartctl-a[DEV_NAME],
the method for obtaining UUID in Linux system is exemplified as follows:
ls-la/dev/disk/by-uuid/。
it should be noted that the method for acquiring the SN code and the UUID code of the hard disk is not unique, and may be acquired by other methods, and it is not necessary to use the SN code or the UUID code as a unique identifier of software, and other software information that can uniquely identify a hard disk may also be used.
When a new hard disk is inserted into a clamping groove, the unique software identifier of the hard disk and the disk identifier of the hard disk in mounting are recorded, corresponding soft links are allocated to the hard disk, and the three pieces of information are used as a set of hard disk positioning information configuration to be stored. Thus, the card slot and the unique software identifier are in one-to-one correspondence through a fixed soft link name. When a certain hard disk fails, for example, when a certain hard disk is detected to be unsuccessfully mounted or unloaded, the position of the clamping groove where the hard disk is located can be rapidly positioned by reporting the soft link where the hard disk is located.
In some embodiments of the present disclosure, after the step S108 of configuring the hard disk positioning information of each computer hard disk, the computer hard disk fault positioning method further includes: when a plugging signal of the computer hard disk is detected, an access signal of the computer hard disk is identified, and the read hard disk identification information of the accessed computer hard disk is configured as hard disk positioning information, the drive letter information of the accessed computer hard disk is read again, and the drive letter information of the accessed computer hard disk and a soft link corresponding to the card slot interface position of the accessed computer hard disk are updated to the hard disk positioning information of the accessed computer hard disk; for example, when a hard disk is mounted after the hard disk positioning information has been collected, the mounted hard disk is assigned with the defined soft link and the drive letter information, and the soft link and the drive letter information in the original hard disk positioning information are replaced by the defined soft link and the drive letter information.
In some embodiments of the present disclosure, after the step S108 of configuring the hard disk positioning information of each computer hard disk, the computer hard disk fault positioning method further includes: when a plugging signal of a computer hard disk is detected and an access signal of the computer hard disk is identified, and the read hard disk identification information of the accessed computer hard disk is not configured as hard disk positioning information, reading the disk identifier information of the accessed computer hard disk, and newly adding the hard disk positioning information configured as the accessed computer hard disk, the hard disk identification information of the accessed computer hard disk and a soft link corresponding to the card slot interface position of the accessed computer hard disk; for example, when a new hard disk is inserted into a card slot, the unique software identifier of the hard disk and the disk identifier of the hard disk is recorded, a corresponding soft link is allocated to the hard disk, and the three information are stored as a set of newly added hard disk positioning information configuration.
In some embodiments of the present disclosure, after the step S108 of configuring the hard disk positioning information of each computer hard disk, the computer hard disk fault positioning method further includes: when the plugging signal of the computer hard disk is detected and the access signal of the computer hard disk cannot be identified within a preset time, the hard disk positioning information of the computer hard disk is deleted, for example, when the hard disk is unplugged and is no longer used on the computer or the hard disk needs to be replaced with a clamping groove, the hard disk positioning information stored in the local configuration file and the database of the hard disk is deleted automatically or by manual intervention. If the hard disk is reused, it needs to be used as a new hard disk to re-acquire and configure the hard disk positioning information.
In some embodiments of the present description, the hard disk positioning information is stored in a local configuration file of the computer;
backing up the hard disk positioning information in a database of the computer; when the computer hard disk is mounted, the access priority of the local configuration file is higher than that of the database; for example, when a hard disk is inserted, the local configuration file is preferentially read to complete hard disk mounting, and when the local configuration file is not available, the configuration information stored in the database is read.
In an actual application environment, from the current common storage amount of the hard disk, the storage amount of one hard disk is about T-level, and in order to cope with the storage of massive data, 8-16 hard disks can be generally supported on one computer. If the clamping groove of a certain hard disk is loose or the hard disk is damaged or the hard disk is not mounted successfully or unloaded in the using process, if the fault hard disk is found in a block-by-block hard disk troubleshooting mode, the method is quite large in workload and requires huge time cost, if positioning information of the hard disks can be obtained through some embodiments of the specification, once certain hard disks or the clamping grooves of the hard disks fail, the positioning information of the fault hard disk can be directly reported, and then the fault hard disk is accurately positioned to the clamping groove interface position of the computer hard disk through a soft link in the reported positioning information, so that the working efficiency is greatly improved and the time cost is saved.
As shown in fig. 2, in some embodiments of the present disclosure, there is further provided a fault locating device for a hard disk of a computer, where the device includes:
the soft link setting module 201 is configured to set soft links, where the soft links correspond to positions of card slot interfaces of the hard disk of the computer one by one;
the hard disk identification information reading module 202 is configured to read each hard disk identification information of each computer hard disk, where each hard disk identification information corresponds to each computer hard disk one by one;
the drive letter information reading module 203 is configured to read drive letter information of each computer hard disk;
the hard disk positioning information configuration module 204 is configured to configure hard disk positioning information of each computer hard disk, where the hard disk positioning information includes hard disk identification information of the computer hard disk, a soft link corresponding to a card slot interface position of the computer hard disk, and drive letter information of the computer hard disk;
and the hard disk positioning information uploading module 205 is configured to query hard disk positioning information of a failed hard disk when at least one computer hard disk fails, and upload soft links in the hard disk positioning information of the failed hard disk.
In some embodiments of the present disclosure, the computer hard disk fault positioning device further includes a hard disk positioning information updating module, configured to, when detecting a unplugged signal of a computer hard disk and identifying an access signal of the computer hard disk, and the read hard disk identification information of the accessed computer hard disk is configured as hard disk positioning information, re-read the drive letter information of the accessed computer hard disk, and update the drive letter information of the accessed computer hard disk and a soft link corresponding to a card slot interface position of the accessed computer hard disk to the hard disk positioning information of the accessed computer hard disk.
Further, in some embodiments of the present disclosure, the computer hard disk fault positioning device may further include a hard disk positioning information adding module, configured to, when detecting a unplugged signal of a computer hard disk and identifying an access signal of the computer hard disk, and the read hard disk identification information of the accessed computer hard disk is not configured as the hard disk positioning information, read the identifier information of the accessed computer hard disk, and add the hard disk identification information of the accessed computer hard disk, the identifier information of the accessed computer hard disk, and a soft link corresponding to a card slot interface position of the accessed computer hard disk, to the hard disk positioning information of the accessed computer hard disk.
Further, in some embodiments of the present disclosure, the fault location device for a hard disk of a computer may further include a hard disk location information deletion module, configured to delete hard disk location information of the hard disk of the computer when a unplugged signal of the hard disk of the computer is detected and an access signal of the hard disk of the computer cannot be identified within a predetermined time.
Further, in some embodiments of the present disclosure, the computer hard disk fault locating device may further include a storage module and a backup module for storing hard disk locating information and backing up hard disk locating information, respectively; the storage module comprises a local configuration file of the computer, the backup module comprises a database of the computer, and when the hard disk of the computer is mounted, the access priority of the local configuration file is higher than that of the database.
In some embodiments of the present specification, there is also provided an electronic device including: a memory for storing a computer software program; and the processor is used for realizing the steps of the computer hard disk fault locating method in the embodiment of the specification when running the computer software program.
In some embodiments of the present description, there is also provided a computer-readable storage medium having stored thereon a computer software program which, when executed, implements the steps of the computer hard disk failure localization method in the embodiments of the present description.
While the process flows described above include a plurality of operations occurring in a particular order, it should be apparent that the processes may include more or fewer operations, which may be performed sequentially or in parallel (e.g., using a parallel processor or a multi-threaded environment). The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices. In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the method embodiments, since they are substantially similar to the apparatus embodiments, the description is relatively simple, with reference to the description of the apparatus embodiments in part. The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.
Claims (11)
1. A method for locating a computer hard disk failure, the method comprising:
setting soft links, wherein the soft links are in one-to-one correspondence with the positions of the card slot interfaces of the computer hard disk;
reading each hard disk identification information of each computer hard disk, wherein each hard disk identification information corresponds to each computer hard disk one by one;
reading each drive letter information of each computer hard disk;
configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises the hard disk identification information of the computer hard disk, the soft link corresponding to the card slot interface position of the computer hard disk and the drive letter information of the computer hard disk;
inquiring the hard disk positioning information of a failed hard disk when at least one computer hard disk fails, and uploading the soft link in the hard disk positioning information of the failed hard disk;
when the plugging signal of the computer hard disk is detected, the access signal of the computer hard disk is identified, and the hard disk identification information of the accessed computer hard disk is read to be configured as the hard disk positioning information, the drive letter information of the accessed computer hard disk is read again, and the drive letter information of the accessed computer hard disk and the soft link corresponding to the card slot interface position of the accessed computer hard disk are updated to the hard disk positioning information of the accessed computer hard disk.
2. The method for locating a failure of a hard disk of a computer according to claim 1, further comprising:
when a plugging signal of the computer hard disk is detected, an access signal of the computer hard disk is identified, and the hard disk identification information of the accessed computer hard disk is read and is not configured as the hard disk positioning information, the hard disk identifier information of the accessed computer hard disk and the soft link corresponding to the card slot interface position of the accessed computer hard disk are read, and the hard disk positioning information of the accessed computer hard disk is newly added.
3. The method for locating a failure of a hard disk of a computer according to claim 2, wherein,
and deleting the hard disk positioning information of the computer hard disk when the plugging signal of the computer hard disk is detected and the access signal of the computer hard disk cannot be identified within a preset time.
4. A computer hard disk failure localization method according to claim 3, wherein,
storing the hard disk positioning information in a local configuration file of the computer;
backing up the hard disk positioning information in a database of the computer;
and when the computer hard disk is mounted, the access priority of the local configuration file is higher than that of the database.
5. A computer hard disk failure localization method according to claim 3, wherein,
the hard disk identification information comprises characters for uniquely identifying the hard disk, the characters comprise an SN code and/or a UUID code of the hard disk, the name of the soft link is fixed, and the soft link points to the disk character information of the computer hard disk corresponding to the soft link.
6. A computer hard disk failure location apparatus, the apparatus comprising:
the soft link setting module is used for setting soft links, and the soft links are in one-to-one correspondence with the positions of the card slot interfaces of the computer hard disk;
the hard disk identification information reading module is used for reading the hard disk identification information of each computer hard disk, wherein each hard disk identification information corresponds to each computer hard disk one by one;
the drive letter information reading module is used for reading drive letter information of each computer hard disk;
the hard disk positioning information configuration module is used for configuring hard disk positioning information of each computer hard disk, wherein the hard disk positioning information comprises the hard disk identification information of the computer hard disk, the soft link corresponding to the card slot interface position of the computer hard disk and the drive letter information of the computer hard disk;
the hard disk positioning information uploading module is used for inquiring the hard disk positioning information of the failed hard disk when at least one computer hard disk fails, and uploading the soft link in the hard disk positioning information of the failed hard disk;
and the hard disk positioning information updating module is used for re-reading the disk identifier information of the accessed computer hard disk and updating the disk identifier information of the accessed computer hard disk and the soft link corresponding to the card slot interface position of the accessed computer hard disk to the hard disk positioning information of the accessed computer hard disk when the plugging signal of the computer hard disk is detected and the access signal of the computer hard disk is identified and the read hard disk identification information of the accessed computer hard disk is configured as the hard disk positioning information.
7. The computer hard disk failure locator of claim 6, wherein the device comprises
And the hard disk positioning information adding module is used for reading the identifier information of the accessed computer hard disk and adding the hard disk identification information of the accessed computer hard disk, the identifier information of the accessed computer hard disk and the soft link corresponding to the card slot interface position of the accessed computer hard disk to the hard disk positioning information of the accessed computer hard disk when the plugging signal of the computer hard disk is detected and the access signal of the computer hard disk is identified and the hard disk identification information of the accessed computer hard disk is read out as the hard disk positioning information.
8. The computer hard disk failure locator of claim 7, wherein the device comprises
And the hard disk positioning information deleting module is used for deleting the hard disk positioning information of the computer hard disk when the plugging signal of the computer hard disk is detected and the access signal of the computer hard disk cannot be identified within a preset time.
9. The computer hard disk failure locator of claim 8, wherein the device comprises
The storage module and the backup module of the hard disk positioning information are respectively used for storing the hard disk positioning information and backing up the hard disk positioning information; the storage module comprises a local configuration file of the computer, the backup module comprises a database of the computer, and when the hard disk of the computer is mounted, the access priority of the local configuration file is higher than that of the database.
10. An electronic device, comprising
Memory for storing computer software program
Processor for implementing the steps of the computer hard disk fault localization method according to one of claims 1 to 5 when running the computer software program.
11. A computer readable storage medium, characterized in that it has stored thereon a computer software program which, when run, implements the steps of the computer hard disk fault localization method according to one of claims 1 to 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010484680.4A CN111813588B (en) | 2020-06-01 | 2020-06-01 | Computer hard disk fault positioning method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010484680.4A CN111813588B (en) | 2020-06-01 | 2020-06-01 | Computer hard disk fault positioning method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111813588A CN111813588A (en) | 2020-10-23 |
| CN111813588B true CN111813588B (en) | 2024-03-19 |
Family
ID=72848177
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010484680.4A Active CN111813588B (en) | 2020-06-01 | 2020-06-01 | Computer hard disk fault positioning method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111813588B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113297019B (en) * | 2021-05-18 | 2023-05-23 | 成都佰维存储科技有限公司 | Method and device for positioning hard disk, readable storage medium and electronic equipment |
| CN115357530B (en) * | 2022-07-08 | 2025-12-16 | 安信服(深圳)科技有限公司 | Hard disk information control reporting method and device, storage medium and computer equipment |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006268515A (en) * | 2005-03-24 | 2006-10-05 | Nec Corp | Pci card trouble management system |
| JP2010176464A (en) * | 2009-01-30 | 2010-08-12 | Hitachi Ltd | Computer system |
| CN103218180A (en) * | 2013-05-14 | 2013-07-24 | 北京百度网讯科技有限公司 | Disk positioning method and device |
| CN107577545A (en) * | 2016-07-05 | 2018-01-12 | 北京金山云网络技术有限公司 | A kind of failed disk detection and restorative procedure and device |
| CN109032887A (en) * | 2018-06-22 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of faulty hard disk method for rapidly positioning and system |
| CN109240870A (en) * | 2018-09-25 | 2019-01-18 | 浪潮电子信息产业股份有限公司 | A kind of solid-state hard disk fault location method and related device |
| CN109445866A (en) * | 2018-11-09 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of the determination method, apparatus and server of disk identifier of hard disk |
| WO2020048442A1 (en) * | 2018-09-05 | 2020-03-12 | 华为技术有限公司 | Hard disk fault processing method, array controller and hard disk |
| CN110989926A (en) * | 2019-11-11 | 2020-04-10 | 北京字节跳动网络技术有限公司 | Faulty disk slot location method, device and electronic device |
| CN111026576A (en) * | 2019-12-09 | 2020-04-17 | 山东超越数控电子股份有限公司 | Method, equipment and medium for analyzing mainboard faults |
-
2020
- 2020-06-01 CN CN202010484680.4A patent/CN111813588B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006268515A (en) * | 2005-03-24 | 2006-10-05 | Nec Corp | Pci card trouble management system |
| JP2010176464A (en) * | 2009-01-30 | 2010-08-12 | Hitachi Ltd | Computer system |
| CN103218180A (en) * | 2013-05-14 | 2013-07-24 | 北京百度网讯科技有限公司 | Disk positioning method and device |
| CN107577545A (en) * | 2016-07-05 | 2018-01-12 | 北京金山云网络技术有限公司 | A kind of failed disk detection and restorative procedure and device |
| CN109032887A (en) * | 2018-06-22 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of faulty hard disk method for rapidly positioning and system |
| WO2020048442A1 (en) * | 2018-09-05 | 2020-03-12 | 华为技术有限公司 | Hard disk fault processing method, array controller and hard disk |
| CN109240870A (en) * | 2018-09-25 | 2019-01-18 | 浪潮电子信息产业股份有限公司 | A kind of solid-state hard disk fault location method and related device |
| CN109445866A (en) * | 2018-11-09 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of the determination method, apparatus and server of disk identifier of hard disk |
| CN110989926A (en) * | 2019-11-11 | 2020-04-10 | 北京字节跳动网络技术有限公司 | Faulty disk slot location method, device and electronic device |
| CN111026576A (en) * | 2019-12-09 | 2020-04-17 | 山东超越数控电子股份有限公司 | Method, equipment and medium for analyzing mainboard faults |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111813588A (en) | 2020-10-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111124474B (en) | API version control method and device | |
| CN111813588B (en) | Computer hard disk fault positioning method, device, equipment and storage medium | |
| CN113486110B (en) | A method, device and medium for data synchronization | |
| CN104866391A (en) | Terminal information backup method and apparatus based on incremental information system | |
| CN111078719A (en) | Data recovery method and device, storage medium and processor | |
| CN116149902A (en) | Data recovery method and device, electronic equipment and computer readable storage medium | |
| CN113190325B (en) | A container creation method and device | |
| CN109783274B (en) | Disk snapshot management method and device and readable storage medium | |
| US20240272889A1 (en) | Intelligent port mapping method for wsl2 system | |
| CN105955773A (en) | System upgrading method and device | |
| CN112749043B (en) | Database disaster recovery method, system, device and medium | |
| CN109587202B (en) | Method, device and system for coprocessing between file verification and data processing | |
| CN110688199A (en) | Data recovery method, system, electronic equipment and storage medium | |
| CN109582396B (en) | Task state processing method, device and system and storage medium | |
| CN110968421A (en) | Cluster management method, device and system | |
| CN112433738A (en) | Firmware update test method, system, equipment and medium | |
| CN113645315B (en) | Method and system for automatically uploading static resources by code editor | |
| CN116841463A (en) | Data verification method, device and equipment of storage equipment and storage medium | |
| CN117411759A (en) | Network element management method, electronic device, computer readable medium | |
| CN107908441B (en) | Database upgrade method and upgrade device | |
| CN111813589A (en) | A distributed cluster fault location method, device, equipment and storage medium | |
| CN114527992A (en) | Front-end engineering deployment method, equipment and medium based on WEB interface | |
| CN114189512B (en) | Baseline code downloading method, device, terminal equipment and storage medium | |
| CN115390898B (en) | A GIT branch archiving method, device, equipment and storage medium | |
| CN109495288B (en) | Service deployment 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 |