CN111767182A - SSD failure analysis method and device, computer equipment and storage medium - Google Patents

SSD failure analysis method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111767182A
CN111767182A CN202010613304.0A CN202010613304A CN111767182A CN 111767182 A CN111767182 A CN 111767182A CN 202010613304 A CN202010613304 A CN 202010613304A CN 111767182 A CN111767182 A CN 111767182A
Authority
CN
China
Prior art keywords
ssd
failure
analysis
disk information
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.)
Pending
Application number
CN202010613304.0A
Other languages
Chinese (zh)
Inventor
李建
郭芳芳
贾宗铭
华荣
杨学森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN202010613304.0A priority Critical patent/CN111767182A/en
Publication of CN111767182A publication Critical patent/CN111767182A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units

Landscapes

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

Abstract

The invention relates to a method and a device for analyzing SSD failure, computer equipment and a storage medium, wherein the method comprises the steps of acquiring the information of the whole SSD when the SSD fails; constructing a failure scene according to the SSD full disk information, and analyzing the failure scene to obtain an analysis result; and sending the failure result to a terminal so as to display the failure result on the terminal. According to the invention, when the SSD fails, the SSD full-disk information is exported, the failure scene can be reconstructed according to the SSD full-disk information and analyzed locally, so that an analysis result is formed, the failure scene can be reconstructed infinitely by exporting the SSD full-disk information, the failure scene can be permanently stored, the failure analysis and the verification after the problem is solved are greatly facilitated, the failure analysis of various scenes is realized, and the success rate and the accuracy rate of the analysis are improved.

Description

SSD failure analysis method and device, computer equipment and storage medium
Technical Field
The invention relates to a solid storage device, in particular to an SSD failure analysis method, an SSD failure analysis device, a computer device and a storage medium.
Background
SSD (Solid State drive) is commonly referred to as Solid State Disk, which is a hard Disk made of an array of Solid State electronic memory chips. The SSD fails in the working process, the failure analysis of the SSD is performed by acquiring a system log of the SSD through an FA tool at present, but the recorded information of the system log is limited, directions cannot be indicated for the analysis sometimes, and the analysis of various scenes cannot be performed, so that the success rate and the accuracy rate of the analysis are low.
Therefore, it is necessary to design a new method to implement failure analysis in multiple scenarios and to improve the success rate and accuracy of the analysis.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an SSD failure analysis method, an SSD failure analysis device, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: an SSD failure analysis method, comprising:
when the SSD fails, acquiring the information of the whole SSD;
constructing a failure scene according to the SSD full disk information, and analyzing the failure scene to obtain an analysis result;
and sending the failure result to a terminal so as to display the failure result on the terminal.
The further technical scheme is as follows: when the SSD fails, acquiring the SSD information of the whole disk, comprising the following steps:
when the SSD fails, an FA tool is used for sending a full disk information export command to the SSD so that the SSD reads corresponding data according to a physical block sequence;
and packaging the data read by the SSD into a file with a specified format to obtain the SSD full disk information.
The further technical scheme is as follows: the SSD full disk information comprises all information of a system data block, out-of-band data in a user data block and the state of each page in all blocks.
The further technical scheme is as follows: the method for constructing the failure scene according to the SSD full disk information and analyzing the failure scene to obtain an analysis result comprises the following steps:
simulating firmware behavior in the SSD;
recovering the states of all the physical blocks, the data in the physical blocks and the out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scene;
and performing local failure analysis by combining the system log according to the failure scene to obtain an analysis result.
The further technical scheme is as follows: the analysis result comprises whether the mapping table state is normal or not and whether the block state is normal or not.
The further technical scheme is as follows: the analysis result also comprises when the running state is abnormal when the flash translation layer increases the information for debugging and acquires more running state information from the serial port.
The present invention also provides an SSD failure analysis device, including:
the acquisition unit is used for acquiring the information of the whole SSD when the SSD fails;
the analysis unit is used for constructing a failure scene according to the SSD full disk information and analyzing the failure scene to obtain an analysis result;
and the sending unit is used for sending the failure result to the terminal so as to display the failure result on the terminal.
The further technical scheme is as follows: the acquisition unit includes:
the command sending subunit is configured to send a full-disk information export command to the SSD by using the FA tool when the SSD fails, so that the SSD reads corresponding data in the order of the physical blocks;
and the packaging subunit is used for packaging the data read by the SSD into a file with a specified format so as to obtain the SSD full disk information.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, when the SSD fails, the SSD full-disk information is exported, the failure scene can be reconstructed according to the SSD full-disk information and analyzed locally, so that an analysis result is formed, the failure scene can be reconstructed infinitely by exporting the SSD full-disk information, the failure scene can be permanently stored, the failure analysis and the verification after the problem is solved are greatly facilitated, the failure analysis of various scenes is realized, and the success rate and the accuracy rate of the analysis are improved.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an SSD failure analysis method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an SSD failure analysis method according to an embodiment of the invention;
fig. 3 is a schematic sub-flow diagram of an SSD failure analysis method according to an embodiment of the invention;
fig. 4 is a schematic sub-flow diagram of an SSD failure analysis method according to an embodiment of the invention;
FIG. 5 is a schematic block diagram of an SSD invalidation analysis device provided by the embodiment of the invention;
fig. 6 is a schematic block diagram of an obtaining unit of the SSD failure analysis device according to the embodiment of the present invention;
fig. 7 is a schematic block diagram of an analysis unit of the SSD failure analysis device according to the embodiment of the present invention;
FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of an SSD failure analysis method according to an embodiment of the invention. Fig. 2 is a schematic flowchart of an SSD failure analysis method according to an embodiment of the invention. The SSD failure analysis method is applied to a server with a simulator, the server performs data interaction with the SSD and a terminal, all data are derived from the SSD, simulation of NAND management is performed through the simulator, a failure scene and a reconstructed failure scene are constructed through the simulator and then analyzed, so that an analysis result is obtained, and the analysis result is displayed on the terminal.
Fig. 2 is a schematic flowchart of an SSD failure analysis method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S130.
And S110, when the SSD fails, acquiring the SSD information.
In this embodiment, the SSD full disk information includes all information of the system data block, out-of-band data in the user data block, and the status of each page in all blocks. All information of the system data block comprises main data and out-of-band data.
All data is stored in physical blocks, and the physical blocks can be divided into blocks for storing system data and blocks for storing user data according to the type of data to be stored. Each physical block is composed of a plurality of pages, each page is used as a writing unit and comprises two parts, one part is main data, and for a user data block, the user data block corresponds to user data; for the system data block, the corresponding system data is a mapping table, and the other part is out-of-band data used for storing auxiliary information related to the main data, such as timestamp information, logical addresses and the like.
In an embodiment, referring to fig. 3, the step S110 may include steps S111 to S112.
And S111, when the SSD fails, sending a full disk information export command to the SSD by using an FA (Failure Analysis) tool so that the SSD reads corresponding data according to a physical block sequence.
In this embodiment, after an abnormality occurs in the SSD, the FA tool is used to send a full disk information export command, and after the SSD receives such a command, the functional module of the SSD reads data in the physical blocks page by page in the order of the physical blocks, and feeds the data back to the FA tool.
And S112, packaging the data read by the SSD into a file with a specified format to obtain the SSD full disk information.
Specifically, the SSD forms a specific format according to the sequence of block cache, block and page cache of the non-idle meta-information, block and page cache of the non-idle user and cache of the idle page and sends the format to the FA tool; and packaging the received data into an SSD _ DUMP file, thereby forming SSD full-disk information.
And S120, constructing a failure scene according to the SSD information, and analyzing the failure scene to obtain an analysis result.
In this embodiment, the analysis result includes whether the mapping table state is normal or not, whether the block state is normal or not, and when the running state is abnormal when the information for debugging is added to the flash translation layer and more running state information is obtained from the serial port.
And the SSD full-disk information is exported, so that a failure scene can be reconstructed in a local simulation environment according to the information, and failure analysis is performed through various debugging means. In addition, once the SSD full-disk information is derived, the failure scene can be reconstructed for an unlimited time, which is equivalent to the failure scene can be permanently stored, and failure analysis and verification after problem resolution are greatly facilitated.
In an embodiment, referring to fig. 4, the step S120 may include steps S121 to S123.
And S121, simulating the firmware behavior in the SSD.
Specifically, a simulator in the server is used for simulating firmware behaviors in the SSD and mainly used for simulating NAND management, wherein the FTL module and the Snapshot MNG module are completely consistent in the simulator and the SSD; hardware-related drivers need to be simulated, including host interface drivers, NAND drivers, and peripheral drivers such as serial port drivers, NOR Flash drivers, clock drivers, and the like. The simulator can conveniently run in a PC development environment, does not depend on an actual hardware environment, and facilitates analysis and solution of logic problems.
And S122, recovering the states of all the physical blocks, the data in the physical blocks and the out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scene.
In this embodiment, the actual environment of the SSD is simulated to ensure that the analysis can be performed in an equivalent scenario, which is a failure scenario.
Specifically, a simulator is started; inputting a command for importing the SSD snapshot from a command line and indicating the position of the snapshot file; the Snapshot MNG module reads the Snapshot file, and the SSD transmits the format one-by-one recovery block information sent to the FA tool to the NANDflash SIM module; and initializes a Flash Translation Layer (FTL) module.
And S123, performing local failure analysis according to the failure scene and the system log to obtain an analysis result.
Specifically, according to the reconstructed failure scenario, local failure analysis can be performed in combination with system log analysis, such as: checking whether the mapping table state is normal; checking whether the block state is normal; and adding information for debugging in the FTL module, acquiring more running state information from a serial port, and checking when the running state is abnormal.
And S130, sending the failure result to the terminal so as to display the failure result on the terminal.
In this embodiment, in a simulation environment, failure analysis is performed according to data information and an out-of-band data recovery failure scenario in a user data block, and a failure result formed thereby is sent to a terminal for an analyst to review.
According to the SSD failure analysis method, when the SSD fails, the SSD full-disk information is derived, the failure scene can be reconstructed according to the SSD full-disk information and analyzed locally, so that an analysis result is formed, the failure scene can be reconstructed infinitely by deriving the SSD full-disk information, the failure scene can be permanently stored, failure analysis and verification after problem solving are greatly facilitated, failure analysis of various scenes is realized, and the success rate and the accuracy rate of analysis are improved.
Fig. 5 is a schematic block diagram of an SSD failure analysis device 300 according to an embodiment of the invention. As shown in fig. 5, the present invention further provides an SSD failure analysis device 300 corresponding to the above SSD failure analysis method. The SSD failure analysis device 300 includes a unit for executing the SSD failure analysis method described above, and the device may be configured in a server. Specifically, referring to fig. 5, the SSD failure analysis device 300 includes an obtaining unit 301, an analyzing unit 302, and a sending unit 303.
An obtaining unit 301, configured to obtain SSD full disk information when an SSD fails; an analysis unit 302, configured to construct a failure scenario according to the SSD full disk information, and analyze the failure scenario to obtain an analysis result; a sending unit 303, configured to send the failure result to the terminal, so as to display the failure result on the terminal.
In one embodiment, as shown in fig. 6, the obtaining unit 301 includes a command sending subunit 3011 and a packing subunit 3012.
A command sending subunit 3011, configured to, when the SSD fails, send a full-disk information export command to the SSD by using an FA tool, so that the SSD reads corresponding data according to a physical block sequence; and a packaging subunit 3012, configured to package the data read by the SSD into a file in a specified format, so as to obtain SSD full disk information.
In an embodiment, as shown in fig. 7, the analysis unit 302 includes a behavior simulation subunit 3021, a scene reconstruction subunit 3022, and a failure analysis subunit 3023.
A behavior simulation subunit 3021 configured to simulate firmware behavior in the SSD; a scene reconstruction subunit 3022, configured to recover, according to the SSD full disk information, the states of all the physical blocks, data in the physical blocks, and out-of-band data in the user data blocks, to obtain a failure scene; and the failure analysis subunit 3023 is configured to perform local failure analysis according to the failure scenario and in combination with the system log, so as to obtain an analysis result.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the SSD failure analysis device 300 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The SSD failure analysis device 300 described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server, which may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform an SSD failure analysis method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the running of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to execute an SSD failure analysis method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration relevant to the present teachings and does not constitute a limitation on the computer device 500 to which the present teachings may be applied, and that a particular computer device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
when the SSD fails, acquiring the information of the whole SSD; constructing a failure scene according to the SSD full disk information, and analyzing the failure scene to obtain an analysis result; and sending the failure result to a terminal so as to display the failure result on the terminal.
The SSD full disk information comprises all information of a system data block, out-of-band data in a user data block and the state of each page in all blocks.
In an embodiment, when implementing the step of acquiring the SSD full disk information when the SSD fails, the processor 502 specifically implements the following steps:
when the SSD fails, an FA tool is used for sending a full disk information export command to the SSD so that the SSD reads corresponding data according to a physical block sequence; and packaging the data read by the SSD into a file with a specified format to obtain the SSD full disk information.
In an embodiment, when implementing the step of constructing the failure scenario according to the SSD full disk information and analyzing the failure scenario to obtain the analysis result, the processor 502 specifically implements the following steps:
simulating firmware behavior in the SSD; recovering the states of all the physical blocks, the data in the physical blocks and the out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scene; and performing local failure analysis by combining the system log according to the failure scene to obtain an analysis result.
And the analysis result comprises whether the mapping table state is normal or not and whether the block state is normal or not.
The analysis result also comprises when the running state is abnormal when the flash translation layer increases the information for debugging and acquires more running state information from the serial port.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
when the SSD fails, acquiring the information of the whole SSD; constructing a failure scene according to the SSD full disk information, and analyzing the failure scene to obtain an analysis result; and sending the failure result to a terminal so as to display the failure result on the terminal.
The SSD full disk information comprises all information of a system data block, out-of-band data in a user data block and the state of each page in all blocks.
In an embodiment, when the processor executes the computer program to implement the step of obtaining the SSD full disk information when the SSD fails, the following steps are specifically implemented:
when the SSD fails, an FA tool is used for sending a full disk information export command to the SSD so that the SSD reads corresponding data according to a physical block sequence; and packaging the data read by the SSD into a file with a specified format to obtain the SSD full disk information.
In an embodiment, when the processor executes the computer program to implement the steps of constructing the failure scenario according to the SSD full disk information, and analyzing the failure scenario to obtain the analysis result, the following steps are specifically implemented:
simulating firmware behavior in the SSD; recovering the states of all the physical blocks, the data in the physical blocks and the out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scene; and performing local failure analysis by combining the system log according to the failure scene to obtain an analysis result.
And the analysis result comprises whether the mapping table state is normal or not and whether the block state is normal or not.
The analysis result also comprises when the running state is abnormal when the flash translation layer increases the information for debugging and acquires more running state information from the serial port.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

  1. An SSD failure analysis method, comprising:
    when the SSD fails, acquiring the information of the whole SSD;
    constructing a failure scene according to the SSD full disk information, and analyzing the failure scene to obtain an analysis result;
    and sending the failure result to a terminal so as to display the failure result on the terminal.
  2. 2. The SSD failure analysis method according to claim 1, wherein the obtaining SSD full disk information when the SSD fails comprises:
    when the SSD fails, an FA tool is used for sending a full disk information export command to the SSD so that the SSD reads corresponding data according to a physical block sequence;
    and packaging the data read by the SSD into a file with a specified format to obtain the SSD full disk information.
  3. 3. The SSD failure analysis method of claim 1, wherein the SSD full disk information includes all information of system data blocks, out-of-band data in user data blocks, and status of pages within all blocks.
  4. 4. The SSD failure analysis method according to claim 1, wherein the constructing a failure scenario according to the SSD full disk information and analyzing the failure scenario to obtain an analysis result comprises:
    simulating firmware behavior in the SSD;
    recovering the states of all the physical blocks, the data in the physical blocks and the out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scene;
    and performing local failure analysis by combining the system log according to the failure scene to obtain an analysis result.
  5. 5. The SSD failure analysis method of claim 4, wherein the analysis results include whether a mapping table state is normal or not and whether a block state is normal or not.
  6. 6. The SSD failure analysis method of claim 5, wherein the analysis results further comprise when the operational state is abnormal when the flash translation layer adds information for debugging and obtains more operational state information from the serial port.
  7. An SSD failure analysis device, comprising:
    the acquisition unit is used for acquiring the information of the whole SSD when the SSD fails;
    the analysis unit is used for constructing a failure scene according to the SSD full disk information and analyzing the failure scene to obtain an analysis result;
    and the sending unit is used for sending the failure result to the terminal so as to display the failure result on the terminal.
  8. 8. The SSD failure analysis device of claim 7, wherein the obtaining unit comprises:
    the command sending subunit is configured to send a full-disk information export command to the SSD by using the FA tool when the SSD fails, so that the SSD reads corresponding data in the order of the physical blocks;
    and the packaging subunit is used for packaging the data read by the SSD into a file with a specified format so as to obtain the SSD full disk information.
  9. 9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 6.
  10. 10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.
CN202010613304.0A 2020-06-30 2020-06-30 SSD failure analysis method and device, computer equipment and storage medium Pending CN111767182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010613304.0A CN111767182A (en) 2020-06-30 2020-06-30 SSD failure analysis method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010613304.0A CN111767182A (en) 2020-06-30 2020-06-30 SSD failure analysis method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111767182A true CN111767182A (en) 2020-10-13

Family

ID=72723093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010613304.0A Pending CN111767182A (en) 2020-06-30 2020-06-30 SSD failure analysis method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111767182A (en)

Similar Documents

Publication Publication Date Title
US9158661B2 (en) Enhanced debugging for embedded devices
US5574855A (en) Method and apparatus for testing raid systems
US9600393B2 (en) Testing of application service versions on live data
US9262283B2 (en) Method for reading kernel log upon kernel panic in operating system
CN110718264A (en) Method and device for testing information of solid state disk, computer equipment and storage medium
US10013335B2 (en) Data flow analysis in processor trace logs using compiler-type information method and apparatus
US20200301815A1 (en) Using synthetic inputs to compare execution of different code versions
CN111078515A (en) SSD layered log recording method and device, computer equipment and storage medium
CN109542341B (en) Read-write IO monitoring method, device, terminal and computer readable storage medium
CN113632067A (en) Emulating non-trace code with recorded execution of trace code
US10970442B1 (en) Method of debugging hardware and firmware of data storage
CN116662050A (en) Error injection support function verification method, device, terminal and medium
CN109086162B (en) Memory diagnosis method and device
CN116521411A (en) Method, device and medium for detecting program error and resetting embedded device
CN111767182A (en) SSD failure analysis method and device, computer equipment and storage medium
CN116401086A (en) Test method, device, equipment and medium for memory funnel error reporting mechanism
US20220188221A1 (en) Regression testing method and regression testing apparatus
US10922023B2 (en) Method for accessing code SRAM and electronic device
CN112486717A (en) Method, system, terminal and storage medium for verifying consistency of disk data
CN113468020A (en) Memory monitoring method and device, electronic equipment and computer readable storage medium
CN117873771B (en) System downtime processing method, device, equipment, storage medium and server
US11586527B2 (en) Automated algorithmic verification in an embedded complex distributed storage environment
CN114791868B (en) Fault type detection method and device, computer equipment and readable storage medium
CN115114117B (en) Data recording method and data recording device
CN110162438B (en) Simulation debugging device and simulation debugging 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