×

Raid rebuild algorithm with low I/O impact

  • US 10,120,769 B2
  • Filed: 04/13/2016
  • Issued: 11/06/2018
  • Est. Priority Date: 04/13/2016
  • Status: Active Grant
First Claim
Patent Images

1. A storage method, comprising:

  • detecting an unrecoverable error associated with a particular logical block of a virtual drive comprising a plurality of physical storage devices and a hot spare drive;

    identifying a particular source disk and a particular stripe associated with the particular logical block address;

    determining whether the unrecoverable error is a first error associated with the particular stripe;

    responsive to determining the unrecoverable error is the first error associated with the particular stripe, performing operations comprising;

    regenerating data corresponding to the particular logical block from remaining source disks in the virtual drive;

    storing the regenerated data to a first stripe of the hot spare drive; and

    creating an entry in a mapping structure, the entry associating the particular source disk and the particular stripe of the particular logical block address with the first stripe of the hot spare drive; and

    responsive to determining the unrecoverable error is not the first unrecoverable error associated with the particular stripe, performing operations comprising;

    copying a different logical block, stored in a different stripe of the particular source disk, to a second stripe of the hot spare drive;

    regenerating the logical block from;

    the first stripe of the hot spare drive; and

    unmapped portions of the particular stripe on other source disks;

    storing the regenerated logical block to the different stripe;

    creating an entry mapping the particular logical block to the different stripe; and

    creating an entry mapping the different logical block to the second stripe of the hot spare drive.

View all claims
  • 16 Assignments
Timeline View
Assignment View
    ×
    ×