Unlock instant, AI-driven research and patent intelligence for your innovation.

A disk link abnormality handling test method and device

A link abnormality and testing method technology, which is applied in the field of abnormality handling test method and device, and disk link error injection method, can solve the problems of increased recovery difficulty, high execution risk, and high difficulty in command execution, so as to reduce error recovery steps , simplify the error injection method, and avoid the effect of data loss risk

Active Publication Date: 2021-12-21
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Disks, disk slots, and controllers are all storage components, and cannot be simulated by external analyzers and other tools. Generally, errors are directly made to the data bus by means of forced assignment. After a construction error, there is a risk of data loss if the recovery is improper. , because the link error needs to exceed the threshold before it can enter the exception handling, so it is necessary to perform mandatory assignment multiple times, which increases the difficulty of recovery and high execution risk; the assignment field needs to be assigned according to the requirements of each field in the specific protocol, the command execution is difficult, and the test efficiency is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A disk link abnormality handling test method and device
  • A disk link abnormality handling test method and device
  • A disk link abnormality handling test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, this embodiment provides a method for simulating a disk link transmission error, including the following steps:

[0044] S101, both the disk to be tested and the test terminal are connected to the SCSI bus;

[0045] S102, the test terminal sends a command to read the information of the disk to be tested to the disk to be tested through the SCSI bus;

[0046] S103, the test terminal receives the relevant information read according to the command to read the information of the disk to be tested returned by the disk to be tested through the SCSI bus;

[0047] S104, the test terminal judges whether the actual value of the parameter of the returned relevant information is different from the theoretical value of the preset parameter;

[0048] S105, if different, the disk link error injection is successful; wherein, the theoretical value of the preset parameter is different from the actual value of the relevant information parameter returned under ...

Embodiment 2

[0058] On the basis of the error injection in the first embodiment, this embodiment provides a disk link abnormality handling test method to detect whether the test end can normally handle the abnormality when the link is abnormal.

[0059] The disk to be tested is generally a dual-control system, that is, the master controller and the disk to be tested communicate normally. When the link between the master controller and the disk to be tested is abnormal, it is switched to the backup control to ensure the normal operation of the business.

[0060] In this embodiment, the disk to be tested is specifically connected to the first test terminal and the second test terminal, wherein the first test terminal is used as a master control, and the second test terminal is used as a backup control.

[0061] like figure 2 As shown, the method includes the following steps:

[0062] S201. The first test terminal executes the method described in Embodiment 1 multiple times to inject disk l...

Embodiment 3

[0073] On the basis of the second embodiment, in the case that the first test end and the second test end can normally handle the link abnormality, it is further possible to test whether the slot of the disk to be tested can normally handle the link abnormality.

[0074] like image 3 As shown, the disk link abnormality handling test method provided in this embodiment includes the following steps:

[0075] S301, the second test terminal executes the method described in Embodiment 1 to perform disk link error injection;

[0076] S302. When the error injection is successful, detect whether the second test terminal issues a reminder that the disk slot is unavailable;

[0077] S303, if a warning that the disk slot is unavailable is issued, the test passes, and the disk slot to be tested can normally handle link exceptions;

[0078] S304, if the disk slot unavailable reminder is not issued, continue to execute the method described in Embodiment 1 to perform disk link error inject...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a disk link error injection method, an abnormality handling test method and a device. Both the disk to be tested and the test terminal are connected to a SCSI bus; the test terminal sends a command to read the information of the disk to be tested to the disk to be tested through the SCSI bus; The terminal receives the relevant information read by the disk to be tested according to the command to read the disk information to be tested through the SCSI bus; the test terminal judges whether the actual value of the parameter of the relevant information returned is different from the theoretical value of the preset parameter; if different, the disk The link error injection is successful; wherein, the theoretical value of the preset parameter is different from the actual value of the relevant information parameter returned under normal transmission conditions. The present invention will not affect the disk data, avoiding the risk of data loss; the returned data is different from the theoretical value of the preset parameters, which reduces the error recovery steps and simplifies the error injection method; simplifies the execution difficulty of the testers and improves the test of the exception handling process efficiency.

Description

technical field [0001] The invention relates to the field of disk link testing, in particular to a disk link error injection method, an exception handling testing method and a device. Background technique [0002] Storage devices are professional data storage. Storage manufacturers not only pay attention to data security under normal conditions, but also gradually improve the data processing process under various abnormal conditions. The disk link includes data transmission between disks, disk slots, and controllers. As the amount of data increases and the usage time becomes longer, the probability of errors in the link is inevitable. Taking dual-control devices as an example, when controller A When the error count on the link exceeds the set maximum value (threshold), the link of controller A is judged to be faulty. At this time, it is recommended that the user replace this controller and let another controller take over the normal operation of the business; If two control...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G11B20/18
CPCG11B20/1816
Inventor 孙小倩
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD