# US 2021/0286529 A1 · Mapped raid (redundant array of independent disks) with drive health aware protection groups

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

- Number: US 2021/0286529 A1
- Document ID: US20210286529A1
- Status: Published application
- Kind: A1
- Application number: 17/038,869
- 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/US20210286529A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0631: {by allocating resources to 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

Mapped RAID protection is provided for data written into multiple logical RAID spaces, and the data written to each one of the RAID spaces is stored in data storage drives contained in a corresponding one of multiple protection groups of data storage drives. Drive health information is collected for each data storage drive contained in the protection groups, and a faultiness level of each individual data storage drive in the protection groups is calculated based on the drive health information. A faultiness-balanced distribution of the data storage drives across the protection groups is then generated based on the calculated faultiness levels of the individual data storage drives.

## Claims

### Claim 1

A method comprising:
providing mapped RAID (Redundant Array of Independent Disks) protection for data written into a plurality of logical RAID spaces, wherein data written to each one of the logical RAID spaces is stored in data storage drives contained in a corresponding one of a plurality of protection groups of data storage drives;
collecting drive health information for each data storage drive contained in the protection groups;
calculating a faultiness level of each individual data storage drive in the protection groups based on the drive health information; and
generating a faultiness-balanced distribution of the data storage drives across the protection groups based on the calculated faultiness levels of the individual data storage drives.

### Claim 2 (depends on 1)

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

### Claim 3 (depends on 2)

The method of claim 2, wherein automatically redistributing the data storage drives across the protection 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 protection groups to a second one of the protection groups.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the faultiness-balanced distribution of the faulty data storage drives across the protection groups further comprises:
determining a faultiness-balanced distribution of the data storage drives across the protection groups that minimizes a range of values of a faultiness metric calculated for the individual protection groups based on the faultiness levels of the individual data storage drives.

### Claim 5 (depends on 4)

The method of claim 4, wherein the values of the faultiness metric calculated for the individual protection groups is further based on the sizes of the individual protection groups.

### Claim 6 (depends on 5)

The method of claim 5, wherein the sizes of the individual protection groups used to calculate the values of the faultiness metric for the individual protection groups comprises a total capacity of each protection group.

### Claim 7 (depends on 5)

The method of claim 5, wherein the sizes of the individual protection groups used to calculate the values of the faultiness metric for the individual protection groups comprises an amount of data stored in each protection group.

### Claim 8 (depends on 5)

The method of claim 5, wherein the faultiness metric calculated for each protection group comprises a size of the protection group divided by a sum of the faultiness levels of the data storage drives contained in the protection group.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
determining whether the faultiness-balanced distribution of the data storage drives across the protection groups provides a significant improvement over a current distribution of the data storage drives across the protection groups; and
in response to the faultiness-balanced distribution of the data storage drives across the protection groups providing a significant improvement over the current distribution of the data storage drives across the protection groups, automatically redistributing the data storage drives across the protection 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 mapped RAID (Redundant Array of Independent Disks) protection for data written into a plurality of logical RAID spaces, wherein data written to each one of the logical RAID spaces is stored in data storage drives contained in a corresponding one of a plurality of protection groups of data storage drives,
collect drive health information for each data storage drive contained in the protection groups,
calculate a faultiness level of each individual data storage drive in the protection groups based on the drive health information, and
generate a faultiness-balanced distribution of the data storage drives across the protection groups based on the calculated faultiness levels of the individual data storage drives.

### 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:
determine whether the faultiness-balanced distribution of the data storage drives across the protection groups matches a current distribution of the data storage drives across the protection groups; and
in response to the faultiness-balanced distribution of the data storage drives across the protection groups not matching the current distribution of the data storage drives across the protection groups, automatically redistribute the data storage drives across the protection groups according to the faultiness-balanced distribution of the data storage drives.

### Claim 12 (depends on 11)

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

### 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 generate the faultiness-balanced distribution of the faulty data storage drives across the protection groups at least in part by causing the processing circuitry to:
determine a faultiness-balanced distribution of the data storage drives across the protection groups that minimizes a range of values of a faultiness metric calculated for the individual protection groups based on the faultiness levels of the individual data storage drives.

### Claim 14 (depends on 13)

The data storage system of claim 13, wherein the values of the faultiness metric calculated for the individual protection groups is further based on the sizes of the individual protection groups.

### Claim 15 (depends on 14)

The data storage system of claim 14, wherein the sizes of the individual protection groups used to calculate the values of the faultiness metric for the individual protection groups comprises a total capacity of each protection group.

### Claim 16 (depends on 14)

The data storage system of claim 14, wherein the sizes of the individual protection groups used to calculate the values of the faultiness metric for the individual protection groups comprises an amount of data stored in each protection group.

### Claim 17 (depends on 14)

The data storage system of claim 14, wherein the faultiness metric calculated for each protection group comprises a size of the protection group divided by a sum of the faultiness levels of the data storage drives contained in the protection group.

### Claim 18 (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:
determine whether the faultiness-balanced distribution of the data storage drives across the protection groups provides a significant improvement over a current distribution of the data storage drives across the protection groups; and
in response to the faultiness-balanced distribution of the data storage drives across the protection groups providing a significant improvement over the current distribution of the data storage drives across the protection groups, automatically redistribute the data storage drives across the protection 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 mapped RAID (Redundant Array of Independent Disks) protection for data written into a plurality of logical RAID spaces, wherein data written to each one of the logical RAID spaces is stored in data storage drives contained in a corresponding one of a plurality of protection groups of data storage drives;
collecting drive health information for each data storage drive contained in the protection groups;
calculating a faultiness level of each individual data storage drive in the protection groups based on the drive health information; and
generating a faultiness-balanced distribution of the data storage drives across the protection groups based on the calculated faultiness levels of the individual data storage drives.
