# US 2021/0286526 A1 · Method, device and computer program products for storage management

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

- Number: US 2021/0286526 A1
- Document ID: US20210286526A1
- Status: Published application
- Kind: A1
- Application number: 17/020,033
- Filed: 2020-09-14
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Hongpo Gao; Xinlei Xu; Lifeng Yang; Jianbin Kang; Geng Han; Zhenhua Zhao
- Web page: https://patentgrep.com/patent/US20210286526A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0622: {in relation to access}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0683: {Plurality of storage devices}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for storage management involve determining, in response to a detection that a disk changes from an unavailable state to an available state, at least one candidate storage unit associated with the disk; acquiring historical access information about the at least one candidate storage unit, the historical information comprising information related to a write request directed to the at least one candidate storage unit when the disk is in the unavailable state; determining a target storage unit from the at least one candidate storage unit based on the historical access information; and rebuilding the target storage unit. Such techniques may, in a low-cost manner, improve rebuilding efficiency and reliability of a storage system.

## Claims

### Claim 1

A method for storage management, comprising:
determining, in response to a detection that a disk changes from an unavailable state to an available state, at least one candidate storage unit associated with the disk;
acquiring historical access information about the at least one candidate storage unit, the historical information comprising information related to a write request directed to the at least one candidate storage unit when the disk is in the unavailable state;
determining a target storage unit from the at least one candidate storage unit based on the historical access information; and
rebuilding the target storage unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the at least one candidate storage unit comprises:
determining disk slices comprised in the disk; and
determining a storage unit built based on at least a part of the disk slices as a candidate storage unit.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the target storage unit comprises:
determining an access flag directed to the at least one candidate storage unit from the historical access information, the access flag indicating whether a write request directed to the at least one candidate storage unit exists when the disk is in the unavailable state; and
determining the target storage unit from the at least one candidate storage unit based on the access flag, a write request directed to the target storage unit existing when the disk is in the unavailable state.

### Claim 4 (depends on 1)

The method of claim 1, wherein the at least one candidate storage unit comprises a plurality of candidate storage units, and the method further comprises:
removing, for candidate units other than the target candidate unit in the plurality of candidate storage units, disabling of a write operation when the disk is in the unavailable state.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
acquiring, from a write request received when the disk is in the unavailable state, an identifier of the storage unit to which the write request is directed; and
updating, according to a determination that the identifier corresponds to the at least one candidate storage unit, an access flag directed to the at least one candidate storage unit, for indicating that a write request directed to the at least one candidate storage unit exists when the disk is in the unavailable state.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
removing, for the target storage unit and in response to completion of the rebuilding, disabling of a write operation when the disk is in the unavailable state.

### Claim 7 (depends on 3)

The method of claim 3, further comprising:
clearing, in response to completion of the rebuilding, an access flag directed to the target storage unit, the access flag indicating that a write request directed to the target storage unit exists when the disk is in the unavailable state.

### Claim 8

An electronic device, comprising:
a processor; and
a memory coupled to the processor and storing instructions to be executed, wherein when executed by the processor, the instructions cause the electronic device to perform actions comprising:
determining, in response to a detection that a disk changes from an unavailable state to an available state, at least one candidate storage unit associated with the disk;
acquiring historical access information about the at least one candidate storage unit, the historical information comprising information related to a write request directed to the at least one candidate storage unit when the disk is in the unavailable state;
determining a target storage unit from the at least one candidate storage unit based on the historical access information; and
rebuilding the target storage unit.

### Claim 9 (depends on 8)

The device of claim 8, wherein the device determines the at least one candidate storage unit by:
determining disk slices comprised in the disk; and
determining a storage unit built based on at least a part of the disk slices as a candidate storage unit.

### Claim 10 (depends on 8)

The device of claim 8, wherein the device determines the target storage unit by:
determining an access flag directed to the at least one candidate storage unit from the historical access information, the access flag indicating whether a write request directed to the at least one candidate storage unit exists when the disk is in the unavailable state; and
determining the target storage unit from the at least one candidate storage unit based on the access flag, a write request directed to the target storage unit existing when the disk is in the unavailable state.

### Claim 11 (depends on 8)

The device of claim 8, wherein the at least one candidate storage unit comprises a plurality of candidate storage units, and the actions further comprise:
removing, for candidate units other than the target candidate unit in the plurality of candidate storage units, disabling of a write operation when the disk is in the unavailable state.

### Claim 12 (depends on 8)

The device of claim 8, wherein the actions further comprise:
acquiring, from a write request received when the disk is in the unavailable state, an identifier of the storage unit to which the write request is directed; and
updating, according to a determination that the identifier corresponds to the at least one candidate storage unit, an access flag directed to the at least one candidate storage unit, for indicating that a write request directed to the at least one candidate storage unit exists when the disk is in the unavailable state.

### Claim 13 (depends on 8)

The device of claim 8, wherein the actions further comprise:
clearing, in response to completion of the rebuilding, an access flag directed to the target storage unit, the access flag indicating that a write request directed to the target storage unit exists when the disk is in the unavailable state.

### Claim 14

A computer program product having a non-transitory computer readable medium which stores a set of instructions to perform storage management; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:
determining, in response to a detection that a disk changes from an unavailable state to an available state, at least one candidate storage unit associated with the disk;
acquiring historical access information about the at least one candidate storage unit, the historical information comprising information related to a write request directed to the at least one candidate storage unit when the disk is in the unavailable state;
determining a target storage unit from the at least one candidate storage unit based on the historical access information; and
rebuilding the target storage unit.
