# US 2021/0342235 A1 · Method, electronic device and computer program product for managing storage disk

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

- Number: US 2021/0342235 A1
- Document ID: US20210342235A1
- Status: Published application
- Kind: A1
- Application number: 16/994,918
- Filed: 2020-08-17
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Lei Sun; Jianbin Kang; Geng Han; Xinlei Xu; Jian Gao
- Web page: https://patentgrep.com/patent/US20210342235A1

## CPC

- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3495: {for systems}
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for managing a storage disk involve monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk includes a first disk slice configured to store metadata and a second disk slice configured to store user data. The techniques further involve, in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk. The techniques further involve, in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk. Accordingly, fault monitoring windows with different lengths are applied to disk slices for different logical tiers in the faulted storage disk. In this way, the reliability of data of a metadata tier can be effectively improved.

## Claims

### Claim 1

A method for managing a storage disk, comprising:
monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;
in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and
in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk.

### Claim 2 (depends on 1)

The method according to claim 1, wherein replacing the first disk slice with the first available disk slice comprises:
determining the first non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;
allocating a free disk slice as the first available disk slice from the first non-faulted storage disk;
determining metadata stored in the first disk slice; and
writing the determined metadata into the first available disk slice.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining metadata stored in the first disk slice comprises:
determining a metadata storage unit comprising the first disk slice, wherein the metadata storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and
determining the metadata stored in the first disk slice based on data stored in the at least one disk slice.

### Claim 4 (depends on 1)

The method according to claim 1, wherein monitoring the duration comprises:
in response to the occurrence of the fault, initiating a first timer with a period of validity of the first threshold value and a second timer with a period of validity of the second threshold value to monitor the duration.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
in response to the faulted storage disk being restored from the fault and the duration not reaching the second threshold value, determining a user data storage unit comprising the second disk slice, wherein the user data storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and
updating the user data stored in the second disk slice based on the update of the at least disk slice during the fault.

### Claim 6 (depends on 1)

The method according to claim 1, wherein replacing the second disk slice with the second available disk slice comprises:
determining the second non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;
allocating a free disk slice as the second available disk slice from the second non-faulted storage disk;
determining user data stored in the second disk slice; and
writing the determined user data into the second available disk slice.

### Claim 7

An electronic device, comprising:
a processor; and
a memory coupled to the processor, wherein the memory has an instruction stored therein, the instruction, when executed by the processor, causes the device to execute actions, and the actions comprise:
monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;
in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and
in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk.

### Claim 8 (depends on 7)

The device according to claim 7, wherein replacing the first disk slice with the first available disk slice comprises:
determining the first non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;
allocating a free disk slice as the first available disk slice from the first non-faulted storage disk;
determining metadata stored in the first disk slice; and
writing the determined metadata into the first available disk slice.

### Claim 9 (depends on 8)

The device according to claim 8, wherein determining metadata stored in the first disk slice comprises:
determining a metadata storage unit comprising the first disk slice, wherein the metadata storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and
determining the metadata stored in the first disk slice based on data stored in the at least one disk slice.

### Claim 10 (depends on 7)

The device according to claim 7, wherein monitoring the duration comprises:
in response to the occurrence of the fault, initiating a first timer with a period of validity of the first threshold value and a second timer with a period of validity of the second threshold value to monitor the duration.

### Claim 11 (depends on 7)

The device according to claim 7, further comprising:
in response to the faulted storage disk being restored from the fault and the duration not reaching the second threshold value, determining a user data storage unit comprising the second disk slice, wherein the user data storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and
updating the user data stored in the second disk slice based on the update of the at least disk slice during the fault.

### Claim 12 (depends on 7)

The device according to claim 7, wherein replacing the second disk slice with the second available disk slice comprises:
determining the second non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;
allocating a free disk slice as the second available disk slice from the second non-faulted storage disk;
determining user data stored in the second disk slice; and
writing the determined user data into the second available disk slice.

### Claim 13

A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage a storage disk; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:
monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;
in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and
in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk.
