# US 2021/0286528 A1 · Raid (redundant array of independent disks) group configuration and storage drive distribution based on storage drive health

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286528 A1
- Document ID: US20210286528A1
- Status: Published application
- Kind: A1
- Application number: 17/038,645
- Filed: 2020-09-30
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Nickolay Dalmatov; Mikhail Danilov
- Web page: https://patentgrep.com/patent/US20210286528A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0629: {Configuration or reconfiguration of storage systems}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/008: {Reliability or availability analysis}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Drive health information is collected for each one of the data storage drives in one or more RAID groups of data storage drives, and is used to calculate a faultiness level of each data storage drive in the RAID group(s). A suitable RAID level for configuration of at least one RAID group may be generated based on the faultiness levels of the data storage drives contained in the RAID group. A faultiness-balanced distribution of the data storage drives across multiple RAID groups may be generated based on the faultiness levels of individual data storage drives. The data storage drives may be automatically redistributed across the multiple RAID groups according to the faultiness-balanced distribution of the data storage drives.

## Claims

### Claim 1

A method comprising:
providing RAID (Redundant Array of Independent Disks) protection for data written into a logical RAID space, wherein data written to the logical RAID space is stored in data storage drives contained in a corresponding RAID group of data storage drives;
calculating a faultiness level of each data storage drive in the RAID group based on drive health information collected for each one of the data storage drives in the RAID group; and
generating a suitable RAID level for the RAID group based on the faultiness levels of the data storage drives contained in the RAID group.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
comparing the suitable RAID level for the RAID group to a requested RAID level for the RAID group; and
in response to detecting that the suitable RAID level for the RAID group does not match the requested RAID level for the RAID group, generating a message indicating that the RAID level requested for the RAID group does not match the suitable RAID level for the RAID group.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
comparing the suitable RAID level for the RAID group to a RAID level currently configured to the RAID group; and
in response to detecting that the suitable RAID level for the RAID group does not match the RAID level currently configured to the RAID group, generating a message indicating that the RAID level currently configured to the RAID group does not match the suitable RAID level for the RAID group.

### Claim 4 (depends on 1)

The method of claim 1, further comprises:
automatically configuring the RAID group with the suitable RAID level for the RAID group, such that data subsequently written into the corresponding logical RAID space is stored in the RAID group according to the suitable RAID level for the RAID group.

### Claim 5 (depends on 1)

The method of claim 1, wherein the logical RAID space is one of a plurality of logical RAID spaces and the RAID group is one of a plurality of RAID groups, wherein data written to each one of the logical RAID spaces is stored in data storage drives contained in a corresponding one of the plurality of data storage drives, wherein a faultiness level is calculated for each individual data storage drive in the plurality of RAID groups based on drive health information collected for each one of the data storage drives in the plurality of RAID groups, and further comprising:
generating a faultiness-balanced distribution of the data storage drives across the RAID groups based on the faultiness levels of the individual data storage drives.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining whether the faultiness-balanced distribution of the data storage drives across the RAID groups matches a current distribution of the data storage drives across the RAID groups; and
in response to the faultiness-balanced distribution of the data storage drives across the RAID groups not matching the current distribution of the data storage drives across the RAID groups, automatically redistributing the data storage drives across the RAID groups according to the faultiness-balanced distribution of the data storage drives.

### Claim 7 (depends on 6)

The method of claim 6, wherein automatically redistributing the data storage drives across the RAID groups of data storage drives according to the faultiness-balanced distribution of the data storage drives includes moving at least one of data storage drive from a first one of the RAID groups to a second one of the RAID groups.

### Claim 8 (depends on 5)

The method of claim 5, wherein generating the faultiness-balanced distribution of the faulty data storage drives across the RAID groups further comprises:
determining a faultiness-balanced distribution of the data storage drives across the RAID groups that minimizes a range of values of a faultiness metric calculated for the individual RAID groups based on the faultiness levels of the individual data storage drives; and
wherein the faultiness metric calculated for each RAID group comprises a size of the RAID group divided by a sum of the faultiness levels of the data storage drives contained in the RAID group.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
determining whether the faultiness-balanced distribution of the data storage drives across the RAID groups provides a significant improvement over a current distribution of the data storage drives across the RAID groups; and
in response to the faultiness-balanced distribution of the data storage drives across the RAID groups providing a significant improvement over the current distribution of the data storage drives across the RAID groups, automatically redistributing the data storage drives across the RAID groups according to the faultiness-balanced distribution of the data storage drives.

### Claim 10

A data storage system comprising:
at least one storage processor including processing circuitry and a memory;
a plurality of data storage drives communicably coupled to the storage processor; and
wherein the memory has program code stored thereon, wherein the program code, when executed by the processing circuitry, causes the processing circuitry to:
provide RAID (Redundant Array of Independent Disks) protection for data written into a logical RAID space, wherein data written to the logical RAID space is stored in data storage drives contained in a corresponding RAID group of data storage drives,
calculate a faultiness level of each data storage drive in the RAID group based on drive health information collected for each one of the data storage drives in the RAID group, and
generate a suitable RAID level for the RAID group based on the faultiness levels of the data storage drives contained in the RAID group.

### Claim 11 (depends on 10)

The data storage system of claim 10, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
compare the suitable RAID level for the RAID group to a requested RAID level for the RAID group; and
in response to detecting that the suitable RAID level for the RAID group does not match the requested RAID level for the RAID group, generate a message indicating that the RAID level requested for the RAID group does not match the suitable RAID level for the RAID group.

### Claim 12 (depends on 10)

The data storage system of claim 10, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
compare the suitable RAID level for the RAID group to a RAID level currently configured to the RAID group; and
in response to detecting that the suitable RAID level for the RAID group does not match the RAID level currently configured to the RAID group, generate a message indicating that the RAID level currently configured to the RAID group does not match the suitable RAID level for the RAID group.

### Claim 13 (depends on 10)

The data storage system of claim 10, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
automatically configure the RAID group with the suitable RAID level for the RAID group, such that data subsequently written into the corresponding logical RAID space is stored in the RAID group according to the suitable RAID level for the RAID group.

### Claim 14 (depends on 10)

The data storage system of claim 10, wherein the logical RAID space is one of a plurality of logical RAID spaces and the RAID group is one of a plurality of RAID groups, wherein data written to each one of the logical RAID spaces is stored in data storage drives contained in a corresponding one of the plurality of data storage drives, wherein a faultiness level is calculated for each individual data storage drive in the plurality of RAID groups based on drive health information collected for each one of the data storage drives in the plurality of RAID groups, and wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
generate a faultiness-balanced distribution of the data storage drives across the RAID groups based on the faultiness levels of the individual data storage drives.

### Claim 15 (depends on 14)

The data storage system of claim 14, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
determine whether the faultiness-balanced distribution of the data storage drives across the RAID groups matches a current distribution of the data storage drives across the RAID groups; and
in response to the faultiness-balanced distribution of the data storage drives across the RAID groups not matching the current distribution of the data storage drives across the RAID groups, automatically redistribute the data storage drives across the RAID groups according to the faultiness-balanced distribution of the data storage drives.

### Claim 16 (depends on 15)

The data storage system of claim 15, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to automatically redistribute the data storage drives across the RAID groups of data storage drives according to the faultiness-balanced distribution of the data storage drives at least in part by moving at least one of data storage drive from a first one of the RAID groups to a second one of the RAID groups.

### Claim 17 (depends on 14)

The data storage system of claim 14, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to generate the faultiness-balanced distribution of the faulty data storage drives across the RAID groups at least in part by causing the processing circuitry to:
determine a faultiness-balanced distribution of the data storage drives across the RAID groups that minimizes a range of values of a faultiness metric calculated for the individual RAID groups based on the faultiness levels of the individual data storage drives; and
wherein the faultiness metric calculated for each RAID group comprises a size of the RAID group divided by a sum of the faultiness levels of the data storage drives contained in the RAID group.

### Claim 18 (depends on 17)

The data storage system of claim 17, wherein the program code, when executed by the processing circuitry, further causes the processing circuitry to:
determine whether the faultiness-balanced distribution of the data storage drives across the RAID groups provides a significant improvement over a current distribution of the data storage drives across the RAID groups; and
in response to the faultiness-balanced distribution of the data storage drives across the RAID groups providing a significant improvement over the current distribution of the data storage drives across the RAID groups, automatically redistribute the data storage drives across the RAID groups according to the faultiness-balanced distribution of the data storage drives.

### Claim 19

A computer program product including a non-transitory computer readable medium having instructions stored thereon, wherein the instructions, when executed on processing circuitry, cause the processing circuitry to perform the steps of:
providing RAID (Redundant Array of Independent Disks) protection for data written into a logical RAID space, wherein data written to the logical RAID space is stored in data storage drives contained in a corresponding RAID group of data storage drives;
calculating a faultiness level of each data storage drive in the RAID group based on drive health information collected for each one of the data storage drives in the RAID group; and
generating a suitable RAID level for the RAID group based on the faultiness levels of the data storage drives contained in the RAID group.
