×

Drive extent based end of life detection and proactive copying in a mapped RAID (redundant array of independent disks) data storage system

  • US 10,459,814 B2
  • Filed: 11/09/2017
  • Issued: 10/29/2019
  • Est. Priority Date: 10/31/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of providing RAID (Redundant Array of Independent Disks) data protection for at least one storage object in a data storage system, wherein the data storage system includes at least one storage processor and an array of data storage drives communicably coupled to the storage processor, the method comprising:

  • generating a RAID mapping table, wherein the RAID mapping table contains a plurality of RAID extent entries, wherein each RAID extent entry contained in the RAID mapping table indicates a predetermined total number of drive extents that each persistently store host data written to a corresponding one of a plurality of RAID extents within a logical address space that is mapped to the at least one storage object, wherein each drive extent comprises a unique contiguous region of non-volatile data storage located on one of the data storage drives, and wherein each one of the data storage drives has multiple drive extents located thereon;

    for each I/O operation directed to the storage object, performing a monitoring operation by the storage processor, wherein the monitoring operation includes;

    i) incrementing a total I/O operations counter corresponding to a target drive extent to which that I/O operation is directed, wherein the total I/O operations counter corresponding to the target drive extent stores a total number of I/O operations that have been directed to the target drive extent,ii) receiving, from a data storage drive within which the target drive extent is located, a completion status for that I/O operation, andiii) in response to detecting that the received completion status for that I/O operation indicates that a soft media error occurred within the data storage drive while performing that I/O operation on the target drive extent;

    a) incrementing a soft media error counter corresponding to the target drive extent, wherein the soft media error counter corresponding to the target drive extent stores a total number of soft media errors that have occurred while performing I/O operations on the target drive extent,b) calculating an error ratio for the target drive extent, wherein the error ratio for the target drive extent comprises a ratio of a current value of the soft media error counter corresponding to the target drive extent to a current value of the total I/O operations counter corresponding to the target drive extent, andc) in response to detecting that the error ratio for the target drive extent exceeds a threshold error ratio, performing a proactive copy operation on the target drive extent that copies all host data stored on the target drive extent to a newly allocated drive extent, wherein performing the proactive copy operation on the target drive extent also modifies a RAID extent entry in the RAID mapping table that stored an indication of the target drive extent to store an indication of the newly allocated drive extent, whereby the host data copied from the target drive extent to the newly allocated drive extent is accessed by subsequently received I/O operations on the newly allocated drive extent.

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