Hard Disk Fault Handling Method, Array Controller, and Hard Disk
AssigneeHuawei Technologies Co., Ltd.
InventorsGuoxia Liu, Liming Wu
Life of this patent
Estimating the term…
Abstract
A storage array includes a plurality of hard disks, where each of the hard disks is divided into a plurality of chunks, and a plurality of chunks of different hard disks form a chunk group by using a redundancy algorithm. The storage array obtains fault information of a faulty area in a first hard disk, and determines a faulty chunk storing the lost data according to the fault information. The storage array recovers the data in the faulty chunk by using another chunk in a chunk group to which the faulty chunk belongs and stores the recovered data in a recovered chunk. The recovered chunk is located in a second hard disk which is not a hard disk for forming the chunk group.
Claims20
A system comprising:
- a Non-Volatile Memory Express (NVMe) hard disk configured to:
- detect a plurality of fault logical addresses in the NVMe hard disk;
- and
- record the fault logical addresses;
- and
- a controller in communication with the NVMe hard disk using an NVMe protocol and configured to send a query command to the NVMe hard disk,
- wherein the NVMe hard disk is further configured to report, in response to the query command, the fault logical addresses.
A method implemented by a data storage system, wherein the method comprises:
- detecting, by a Non-Volatile Memory Express (NVMe) hard disk of the data storage system, a plurality of fault logical addresses in the NVMe hard disk;
- recording, by the NVMe hard disk, the fault logical addresses;
- sending, by a controller of the data storage system through an NVMe protocol, a query command to the NVMe hard disk;
- and
- reporting, by the NVMe hard disk in response to the query command, the fault logical addresses.
A Non-Volatile Memory Express (NVMe) hard disk comprising:
- a non-transitory computer-readable storage medium configured to store programming instructions;
- and
- a processor coupled to the non-transitory computer-readable storage medium, wherein the programming instructions cause the processor to be configured to:
- detect a plurality of fault logical addresses in the NVMe hard disk;
- record the fault logical addresses;
- receive, from a controller, a query command;
- and
- report, in response the query command being received, the fault logical addresses to the controller.
A Non-Volatile Memory Express (NVMe) hard disk comprising:
- a non-transitory computer-readable storage medium configured to store programming instructions;
- and
- a processor coupled to the non-transitory computer-readable storage medium, wherein the programming instructions cause the processor to:
- detect a plurality of fault logical addresses in the NVMe hard disk;
- record the fault logical addresses;
- and
- send an asynchronous alarm to a controller to notify that the NVMe hard disk has one or more of the fault logical addresses.
Dependencies are inferred from the claim text.