Method, device and computer program product for managing storage system
US-11003556-B2 · May 11, 2021 · US
US11747990B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11747990-B2 |
| Application number | US-202117516766-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 2, 2021 |
| Priority date | Apr 12, 2021 |
| Publication date | Sep 5, 2023 |
| Grant date | Sep 5, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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
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
Related publications grouped by family.
Answers are generated from the same data shown on this page.