Methods and apparatuses for management of raid

US11747990B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11747990-B2
Application numberUS-202117516766-A
CountryUS
Kind codeB2
Filing dateNov 2, 2021
Priority dateApr 12, 2021
Publication dateSep 5, 2023
Grant dateSep 5, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques for managing a redundant array of independent disks (RAID) involve detecting an abnormality of a storage device in a RAID. The techniques further involve resetting the storage device in response to detecting the abnormality. The techniques further involve storing an address of a write operation for the RAID within a preset time period, so as to rebuild the RAID in the case that the storage device is recovered within the preset time period. Accordingly, temporary errors of the RAID can be efficiently handled, the number of downtime of the RAID caused by the storage device or the back end can be reduced, and computing resources and time required to rebuild the RAID can be significantly reduced.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for managing a redundant array of independent disks (RAID), comprising: detecting an abnormality of a storage device in the RAID; setting, in response to detecting the abnormality, a RAID stripe in the RAID to a degraded state, the RAID stripe including a storage location of the storage device; resetting the storage device in response to detecting the abnormality; and in response to setting the RAID stripe to the degraded state, storing an address of a write operation for the RAID within a preset time period, so as to rebuild the RAID in the case that the storage device is recovered within the preset time period. 2. The method according to claim 1 , wherein detecting the abnormality of the storage device in the RAID comprises detecting at least one of the following items: the number of retryable errors generated by an input/output (I/O) operation for the storage device, a timeout error generated by the storage device, and completion time of the I/O operation for the storage device. 3. The method according to claim 1 , further comprising: clearing away the stored address after the preset time period. 4. The method according to claim 1 , further comprising: in response to detecting the abnormality, degrading the RAID to prevent an I/O operation for the storage device. 5. The method according to claim 4 , further comprising: marking the address of the write operation for the degraded RAID as degraded, to rebuild the RAID in the case that the storage device is not recovered within the preset time. 6. The method according to claim 1 , further comprising: receiving an indication that the storage device was recovered within the preset time period; and rebuilding, by retrieving the stored address and in response to receiving the indication, data of the RAID stripe. 7. The method according to claim 6 , further comprising: performing, in response to detecting the abnormality, the write operation as a degraded write operation to the RAID stripe, the degraded write operation storing data in at least one non-degraded storage location of the RAID stripe; and wherein rebuilding data of the RAID stripe includes: retrieving, based on the stored address, data in the at least one non-degraded storage location of the RAID stripe; and constructing, based on the data in the at least one non-degraded storage location, data of the storage device. 8. An apparatus for managing a redundant array of independent disks (RAID), comprising: an abnormality detection unit, configured to detect an abnormality of a storage device in the RAID; and an abnormality processing unit, configured to set, in response to detecting the abnormality, a RAID stripe in the RAID to a degraded state, the RAID stripe including a storage location of the storage device; wherein the abnormality processing unit is further configured to reset the storage device in response to detecting the abnormality; wherein the abnormality processing unit is further configured to, in response to setting the RAID stripe to the degraded state, store an address of a write operation for the RAID within a preset time period, so as to rebuild the RAID in the case that the storage device is recovered within the preset time period. 9. The apparatus according to claim 8 , wherein the abnormality detection unit is further configured to detect at least one of the following items: the number of retryable errors generated by an input/output (I/O) operation for the storage device, a timeout error generated by the storage device, and completion time of the I/O operation for the storage device. 10. The apparatus according to claim 8 , wherein the abnormality processing unit is further configured to clear away the stored address after the preset time period. 11. The apparatus according to claim 8 , wherein the abnormality processing unit is further configured to degrade the RAID, in response to detecting the abnormality, to prevent an I/O operation for the storage device. 12. The apparatus according to claim 11 , wherein the abnormality processing unit is further configured to: mark the address of the write operation for the degraded RAID as degraded, so as to rebuild the RAID in the case that the storage device is not recovered within the preset time. 13. The apparatus according to claim 8 , wherein the abnormality processing unit is further configured to: receive an indication that the storage device was recovered within the preset time period; and rebuild, by retrieving the stored address and in response to receiving the indication, data of the RAID stripe. 14. The apparatus according to claim 13 , wherein the abnormality processing unit is further configured to: perform, in response to detecting the abnormality, the write operation as a degraded write operation to the RAID stripe, the degraded write operation storing data in at least one non-degraded storage location of the RAID stripe; and wherein rebuilding data of the RAID stripe includes: retrieving, based on the stored address, data in the at least one non-degraded storage location of the RAID stripe; and constructing, based on the data in the at least one non-degraded storage location, data of the storage device. 15. An electronic device, comprising: at least one processing unit; and at least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the electronic device to perform a method of managing a redundant array of independent disks (RAID) which includes, detecting an abnormality of a storage device in the RAID; setting, in response to detecting the abnormality, a RAID stripe in the RAID to a degraded state, the RAID stripe including a storage location of the storage device; resetting the storage device in response to detecting the abnormality; and in response to setting the RAID stripe to the degraded state, storing an address of a write operation for the RAID within a preset time period, so as to rebuild the RAID in the case that the storage device is recovered within the preset time period. 16. The electronic device according to claim 15 , wherein the method further comprises: receiving an indication that the storage device was recovered within the preset time period; and rebuilding, by retrieving the stored address and in response to receiving the indication, data of the RAID stripe. 17. The electronic device according to claim 16 , wherein the method further comprises: performing, in response to detecting the abnormality, the write operation as a degraded write operation to the RAID stripe, the degraded write operation storing data in at least one non-degraded storage location of the RAID stripe; and wherein rebuilding data of the RAID stripe includes: retrieving, based on the stored address, data in the at least one non-degraded storage location of the RAID stripe; and constructing, based on the data in the at least one non-degraded storage location, data of the storage device. 18. A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage a redundant array of independent disks (RAID); the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of: detecting an abnormality of a storage device in the RAID; setting, in response to detecting the abnormality, a RAID str

Assignees

Inventors

Classifications

  • G06F3/0617Primary

    in relation to availability · CPC title

  • by initialisation or re-initialisation of storage systems · CPC title

  • Disk arrays, e.g. RAID, JBOD · CPC title

  • Degraded mode, e.g. caused by single or multiple storage removals or disk failures · CPC title

  • Rebuilding, e.g. when physically replacing a failing disk · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11747990B2 cover?
Techniques for managing a redundant array of independent disks (RAID) involve detecting an abnormality of a storage device in a RAID. The techniques further involve resetting the storage device in response to detecting the abnormality. The techniques further involve storing an address of a write operation for the RAID within a preset time period, so as to rebuild the RAID in the case that the s…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F3/0617. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 05 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).