×

Dynamic spare storage allocation by creating logical volumes from unused space allocated for user data of a raid storage

  • US 10,635,344 B2
  • Filed: 04/27/2016
  • Issued: 04/28/2020
  • Est. Priority Date: 04/27/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for dynamic spare storage allocation, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:

  • provide a storage array comprising a first redundant array of independent disks (RAID) 6 array, the first RAID 6 array having a first number of disk drives, each disk drive of the first number of disk drives having a storage space comprising;

    a first portion of used space storing user data;

    a second portion of unused space available for storing the user data; and

    a third portion of spare space providing redundancy to the first RAID 6 array;

    wherein a first cumulative amount of used space storing the user data in the first RAID 6 array includes each of the first portion of used space storing the user data of the first number of disk drives;

    wherein a second cumulative amount of unused space available for storing the user data in the first RAID 6 array includes each of the second portion of unused space available for storing the user data of the first number of disk drives;

    wherein a third cumulative amount of spare space providing redundancy to the first RAID 6 array in the first RAID 6 array includes each of the third portion of spare space providing redundancy to the first RAID 6 array of the first number of disk drives;

    determine that the third cumulative amount of spare space falls below two disk drives selected from the first number of disk drives;

    in response to determining that the third cumulative amount of spare space falls below the two disk drives selected from the first number of disk drives, determine that the second cumulative amount of unused space is greater than one disk drive selected from the first number of disk drives;

    in response to determining that the second cumulative amount of unused space is greater than the one disk drive selected from the first number of disk drives, migrating the user data within each of the first number of disk drives to re-allocate locations of the second portion of unused space in each of the first number of disk drives; and

    in response to migrating the user data, reduce each of the second portion of unused space available for storing the user data of the first number of disk drives by a first amount and increase each of the third portion of spare space providing redundancy to the first RAID 6 array of the first number of disk drives by the first amount, wherein the first amount is equal to the one disk drive selected from the first number of disk drives divided by the first number of disk drives.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×