# US 2020/0394112 A1 · Reducing incidents of data loss in raid arrays of differing raid levels

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

- Number: US 2020/0394112 A1
- Document ID: US20200394112A1
- Status: Published application
- Kind: A1
- Application number: 16/442,498
- Filed: 2019-06-15
- Published: 2020-12-17
- Earliest claimed: 2019-06-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Lokesh M. Gupta; Matthew G. Borlick; Karl A. Nielsen; Clint A. Hardy; Brian A. Rinaldi
- Web page: https://patentgrep.com/patent/US20200394112A1

## CPC

- G06F 11/2087: {with a common controller}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1088: {Reconstruction on already foreseen single or plurality of spare disks}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/2069: {Management of state, configuration or failover}
- G06F 2201/81: Threshold
- G06F 2211/103: Hybrid, i.e. RAID systems with parity comprising a mix of RAID types
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for reducing incidents of data loss in RAIDs of differing RAID levels is disclosed. Such a method identifies, in a data storage environment, first and second sets of RAIDs. The first set contains RAIDs providing more robust data protection (e.g., RAID-6 arrays), and the second set contains RAIDs providing less robust data protection (e.g., RAID-5 arrays). The method identifies, in the data storage environment, higher risk storage drives having a failure risk above a threshold and lower risk storage drives having a failure risk below the threshold. The method swaps higher risk storage drives from RAIDs of the second set with lower risk storage drives from RAIDs of the first set. In certain embodiments, the swapping may be performed such that no RAID of the second set includes more than a selected number of higher risk storage drives. A corresponding system and computer program product are also disclosed.

## Claims

### Claim 1

A method for reducing incidents of data loss in redundant arrays of independent disks (RAIDs) of differing RAID levels, the method comprising:
identifying, in a data storage environment, first and second sets of RAIDs, the first set comprising RAIDs providing more robust data protection, and the second set comprising RAIDs providing less robust data protection;
identifying, in the data storage environment, higher risk storage drives having a failure risk above a threshold and lower risk storage drives having a failure risk below the threshold; and
swapping higher risk storage drives from RAIDs of the second set with lower risk storage drives from RAIDs of the first set in order to reduce a risk of data loss in the data storage environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein swapping comprises swapping using a smart rebuild process that enables a storage drive to be used as a spare even as data is being copied to the storage drive.

### Claim 3 (depends on 1)

The method of claim 1, wherein swapping comprises swapping such that no RAID of the second set includes more than a selected number of higher risk storage drives.

### Claim 4 (depends on 1)

The method of claim 1, further comprising more evenly distributing higher risk storage drives across RAIDs of the second set.

### Claim 5 (depends on 1)

The method of claim 1, further comprising more evenly distributing higher risk storage drives across RAIDs of the first set.

### Claim 6 (depends on 1)

The method of claim 1, wherein identifying higher risk storage drives comprises using statistics to identify storage drives having a higher risk of failure.

### Claim 7 (depends on 6)

The method of claim 6, wherein the statistics include at least one of storage drive age and storage drive type.

### Claim 8

A computer program product for reducing incidents of data loss in redundant arrays of independent disks (RAIDs) of differing RAID levels, the computer program product comprising a computer-readable medium having computer-usable program code embodied therein, the computer-usable program code configured to perform the following when executed by at least one processor:
identify, in a data storage environment, first and second sets of RAIDs, the first set comprising RAIDs providing more robust data protection, and the second set comprising RAIDs providing less robust data protection;
identify, in the data storage environment, higher risk storage drives having a failure risk above a threshold and lower risk storage drives having a failure risk below the threshold; and
swap higher risk storage drives from RAIDs of the second set with lower risk storage drives from RAIDs of the first set in order to reduce a risk of data loss in the data storage environment.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein swapping comprises swapping using a smart rebuild process that enables a storage drive to be used as a spare even as data is being copied to the storage drive.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein swapping comprises swapping such that no RAID of the second set includes more than a selected number of higher risk storage drives.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the computer-usable program code is further configured to more evenly distribute higher risk storage drives across RAIDs of the second set.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the computer-usable program code is further configured to more evenly distribute higher risk storage drives across RAIDs of the first set.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein identifying higher risk storage drives comprises using statistics to identify storage drives having a higher risk of failure.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the statistics include at least one of storage drive age and storage drive type.

### Claim 15

A system for reducing incidents of data loss in redundant arrays of independent disks (RAIDs) of differing RAID levels, the system comprising:
at least one processor;
at least one memory device coupled to the at least one processor and storing instructions for execution on the at least one processor, the instructions causing the at least one processor to:
identify, in a data storage environment, first and second sets of RAIDs, the first set comprising RAIDs providing more robust data protection, and the second set comprising RAIDs providing less robust data protection;
identify, in the data storage environment, higher risk storage drives having a failure risk above a threshold and lower risk storage drives having a failure risk below the threshold; and
swap higher risk storage drives from RAIDs of the second set with lower risk storage drives from RAIDs of the first set in order to reduce a risk of data loss in the data storage environment.

### Claim 16 (depends on 15)

The system of claim 15, wherein swapping comprises swapping such that no RAID of the second set includes more than a selected number of higher risk storage drives.

### Claim 17 (depends on 15)

The system of claim 15, wherein the instructions further cause the at least one processor to more evenly distribute higher risk storage drives across RAIDs of the second set.

### Claim 18 (depends on 15)

The system of claim 15, wherein the instructions further cause the at least one processor to more evenly distribute higher risk storage drives across RAIDs of the first set.

### Claim 19 (depends on 15)

The system of claim 15, wherein identifying higher risk storage drives comprises using statistics to identify storage drives having a higher risk of failure.

### Claim 20 (depends on 19)

The system of claim 19, wherein the statistics include at least one of storage drive age and storage drive type.
