# US 2015/0309898 A1 · Storage control of storage media subject to write amplification effects

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

- Number: US 2015/0309898 A1
- Document ID: US20150309898A1
- Status: Published application
- Kind: A1
- Application number: 14/685,630
- Filed: 2015-04-14
- Published: 2015-10-29
- Earliest claimed: 2014-04-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Yong Hong Shi; Qian Su; Yu Sun; Wei You
- Web page: https://patentgrep.com/patent/US20150309898A1

## CPC

- G06F 11/2038: {with a single idle spare processing component}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1464: {for networked environments}
- G06F 11/1662: {the resynchronized component or unit being a persistent storage device (re-synchronization of failed mirror storage G06F11/2082; rebuild or reconstruction of parity RAID storage G06F11/1008)}
- G06F 11/2069: {Management of state, configuration or failover}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F 2211/1059: Parity-single bit-RAID5, i.e. RAID 5 implementations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one aspect of the present invention, there is provided a method for performing storage control. Member storage media and a hot spare storage medium are identified in a storage system. The member storage media are members of a storage medium array, and the hot spare storage medium is for joining in the storage medium array when a member storage medium fails. Data on a member storage medium having a write amplification effect is migrated to the hot spare storage medium. In the member storage medium having a write amplification effect, an erase operation is performed on a storage medium where the migrated data is located. Embodiments of the present invention can alleviate adverse impact caused by a write amplification effect.

## Claims

### Claim 1

A method for performing storage control, comprising:
identifying member storage media and a hot spare storage medium in a storage system, wherein the member storage media are members of a storage medium array, and the hot spare storage medium is for joining in the storage medium array when a member storage medium fails;
migrating data on a member storage medium having a write amplification effect to the hot spare storage medium; and
performing, in the member storage medium having a write amplification effect, an erase operation on a storage medium where the migrated data is located.

### Claim 2 (depends on 1)

The method according to claim 1, wherein a variance of data volumes migrated from respective member storage media having a write amplification effect is smaller than a variance threshold.

### Claim 3 (depends on 1)

The method according to claim 1, wherein cold data in member storage media having a write amplification effect is migrated to the hot spare storage medium in priority.

### Claim 4 (depends on 1)

The method according to claim 1, wherein migrating data on a member storage medium having a write amplification effect to the hot spare storage medium comprises:
identifying a data stride in the storage medium array, wherein the data stride is composed of data strips from respective member storage media, and mutual checks are enabled between the data strips;
determining a maximum number of data strips in the data stride that can be migrated to the hot spare storage medium based on a data redundancy of a structure of the storage medium array; and
migrating a number of data strips no more than the determined number to the hot spare storage medium.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
determining, in response to detecting a storage medium failure, a lost data strip caused by the storage medium failure;
recovering the lost data strip with other data strips located in a same data stride as the lost data strip; and
storing the recovered data strip.

### Claim 6 (depends on 5)

The method according to claim 5, wherein storing the recovered data strip comprises:
storing the recovered data strip into a storage medium other than a storage medium where the data strips for recovering data are located.

### Claim 7 (depends on 5)

The method according to claim 5, further comprising:
in response to the hot spare storage medium storing data from member storage media of a plurality of storage medium arrays, reversely migrating data strips from storage medium arrays without a failing member storage medium to originating member storage media.

### Claim 8

An apparatus for performing storage control, comprising:
an identifying module configured to identify member storage media and a hot spare storage medium in a storage system, wherein the member storage media are members of a storage medium array, and the hot spare storage medium is for joining in the storage medium array when a member storage medium fails;
a migrating module configured to migrate data on a member storage medium having a write amplification effect to the hot spare storage medium; and
an erasing module configured to perform, in the member storage medium having a write amplification effect, an erase operation on a storage medium where the migrated data is located.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein a variance of data volumes migrated from respective member storage media having a write amplification effect is smaller than a variance threshold.

### Claim 10 (depends on 8)

The apparatus according to claim 8, wherein cold data in member storage media having a write amplification effect is migrated to the hot spare storage medium in priority.

### Claim 11 (depends on 8)

The apparatus according to claim 8, wherein the migrating module comprises:
a module configured to identify a data stride in the storage medium array, wherein the data stride is composed of data strips from respective member storage media, and mutual checks are enabled between the data strips;
a module configured to determine a maximum number of data strips in the data stride that can be migrated to the hot spare storage medium based on a data redundancy of a structure of the storage medium array; and
a module configured to migrate a number of data strips no more than the determined number to the hot spare storage medium.

### Claim 12 (depends on 11)

The apparatus according to claim 11, further comprising:
a determining module configured to determine, in response to detecting a storage medium failure, a lost data strip caused by the storage medium failure;
a recovering module configured to recover the lost data strip with other data strips located in a same data stride as the lost data strip; and
a storing module configured to store the recovered data strip.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the storing module comprises:
a module configured to store the recovered data strip into a storage medium other than a storage medium where the data strips for recovering data are located.

### Claim 14 (depends on 12)

The apparatus according to claim 12, further comprising:
a reverse migration module configured to, in response to the hot spare storage medium storing data from member storage media of a plurality of storage medium arrays, reversely migrate data strips from storage medium arrays without a failing member storage medium to originating member storage media.

### Claim 15

A computer program product for performing storage control, the computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to identify member storage media and a hot spare storage medium in a storage system, wherein the member storage media are members of a storage medium array, and the hot spare storage medium is for joining in the storage medium array when a member storage medium fails;
program instructions to migrate data on a member storage medium having a write amplification effect to the hot spare storage medium; and
program instructions to perform, in the member storage medium having a write amplification effect, an erase operation on a storage medium where the migrated data is located.

### Claim 16 (depends on 15)

The computer program product according to claim 15, wherein a variance of data volumes migrated from respective member storage media having a write amplification effect is smaller than a variance threshold.

### Claim 17 (depends on 15)

The computer program product according to claim 15, wherein cold data in member storage media having a write amplification effect is migrated to the hot spare storage medium in priority.

### Claim 18 (depends on 15)

The computer program product according to claim 15, wherein the program instructions to migrate data on a member storage medium having a write amplification effect to the hot spare storage medium comprise:
program instructions to identify a data stride in the storage medium array, wherein the data stride is composed of data strips from respective member storage media, and mutual checks are enabled between the data strips;
program instructions to determine a maximum number of data strips in the data stride that can be migrated to the hot spare storage medium based on a data redundancy of a structure of the storage medium array; and
program instructions to migrate a number of data strips no more than the determined number to the hot spare storage medium.

### Claim 19 (depends on 18)

The computer program product according to claim 18, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to determine, in response to detecting a storage medium failure, a lost data strip caused by the storage medium failure;
program instructions to recover the lost data strip with other data strips located in a same data stride as the lost data strip; and
program instructions to store the recovered data strip.

### Claim 20 (depends on 19)

The computer program product according to claim 19, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to, in response to the hot spare storage medium storing data from member storage media of a plurality of storage medium arrays, reversely migrate data strips from storage medium arrays without a failing member storage medium to originating member storage media.
