# US 2021/0334042 A1 · Data storage method, device and computer program product

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

- Number: US 2021/0334042 A1
- Document ID: US20210334042A1
- Status: Published application
- Kind: A1
- Application number: 16/994,903
- Filed: 2020-08-17
- Published: 2021-10-28
- Earliest claimed: 2020-04-27
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Jian Gao; Yousheng Liu; Xinlei Xu
- Web page: https://patentgrep.com/patent/US20210334042A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique involves determining, in redundant array of independent disks (RAID) stripes, source slices for restriping, and allocating, from a reserved capacity for file system check (FSCK), destination slices for restriping. The technique further involves performing restriping for the RAID stripes by copying data in the source slices into the destination slices. Accordingly, using the reserved capacity for FSCK as the destination slices for restriping may mitigate the influence on an available capacity of a mapper during restriping, thereby improving the performance of a storage system.

## Claims

### Claim 1

A data storage method, comprising:
determining, in redundant array of independent disks (RAID) stripes, source slices for restriping;
allocating, from a reserved capacity for file system check, destination slices for restriping; and
performing restriping for the RAID stripes by copying data in the source slices into the destination slices.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining the source slices for restriping comprises:
determining whether to split an RAID resilient set (RRS) based on a determination that a new disk is added into a storage pool; and
receiving a selection of the source slices for restriping across the RRS based on a determination that the RRS is to be split.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining the source slices for restriping further comprises:
merging the new disk into the RRS to generate a new RRS based on a determination that the RRS does not need to be split; and
receiving a selection of the source slices for restriping within the new RRS.

### Claim 4 (depends on 1)

The method of claim 1, further comprising during execution of the restriping,
marking the destination slices as used; and
keeping an available capacity of a mapper of a storage system unchanged.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
initiating file system check for the storage system in response to data failure during the execution of the restriping.

### Claim 6 (depends on 5)

The method of claim 5, wherein the initiating the file system check for the storage system comprises:
terminating the execution of the restriping;
releasing the destination slices allocated from the reserved capacity for file system check; and
using the reserved capacity to perform the file system check for the storage system.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
determining whether the file system check for the storage system is completed;
re-initiating the execution of the restriping based on a determination that the file system check for the storage system is completed; and
updating information of the RAID stripes after the restriping is completed.

### Claim 8 (depends on 4)

The method of claim 4, further comprising:
allocating, from a total capacity of the storage system, a capacity of a predetermined proportion as a reserved capacity for file system consistency check, wherein the reserved capacity is unavailable to the mapper.

### Claim 9

An electronic device, comprising:
a processing unit; and
a memory coupled to the processing unit and storing instructions, wherein the instructions, when executed by the processing unit, perform the following actions:
determining, in RAID stripes, source slices for restriping;
allocating, from a reserved capacity for file system check, destination slices for restriping; and
performing restriping for the RAID stripes by copying data in the source slices into the destination slices.

### Claim 10 (depends on 9)

The device of claim 9, wherein the determining the source slices for restriping comprises:
determining whether to split an RRS based on a determination that a new disk is added into a storage pool; and
receiving a selection of the source slices for restriping across the RRS based on a determination that the RRS is to be split.

### Claim 11 (depends on 10)

The device of claim 10, wherein the determining the source slices for restriping further comprises:
merging the new disk into the RRS to generate a new RRS based on a determination that the RRS does not need to be split; and
receiving a selection of the source slices for restriping within the new RRS.

### Claim 12 (depends on 9)

The device of claim 9, further comprising during execution of the restriping,
marking the destination slices as used; and
keeping an available capacity of a mapper of a storage system unchanged.

### Claim 13 (depends on 12)

The device of claim 12, wherein the actions further comprise:
initiating file system check for the storage system in response to data failure during the execution of the restriping.

### Claim 14 (depends on 13)

The device of claim 13, wherein the initiating the file system check for the storage system comprises:
terminating the execution of the restriping;
releasing the destination slices allocated from the reserved capacity for file system check; and
using the reserved capacity to perform the file system check for the storage system.

### Claim 15 (depends on 14)

The device of claim 14, wherein the actions further comprise:
determining whether the file system check for the storage system is completed;
re-initiating the execution of the restriping based on a determination that the file system check for the storage system is completed; and
updating information of the RAID stripes after the restriping is completed.

### Claim 16 (depends on 12)

The device of claim 12, wherein the actions further comprise:
allocating, from a total capacity of the storage system, a capacity of a predetermined proportion as a reserved capacity for file system consistency check, wherein the reserved capacity is unavailable to the mapper.

### Claim 17

A computer program product having a non-transitory computer readable medium which stores a set of instructions to perform data storage; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:
determining, in redundant array of independent disks (RAID) stripes, source slices for restriping;
allocating, from a reserved capacity for file system check, destination slices for restriping; and
performing restriping for the RAID stripes by copying data in the source slices into the destination slices.
