# US 2021/0081130 A1 · Method, device, and product for managing scrubbing operation in storage system

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

- Number: US 2021/0081130 A1
- Document ID: US20210081130A1
- Status: Published application
- Kind: A1
- Application number: 16/836,715
- Filed: 2020-03-31
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Bing Liu
- Web page: https://patentgrep.com/patent/US20210081130A1

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0673: {Single storage device}
- G06F 3/0683: {Plurality of storage devices}
- G06F 11/106: {Correcting systematically all correctable errors, i.e. scrubbing}
- 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/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/3409: {for performance assessment}
- G06F 11/3485: {for I/O devices}
- G06F 2201/81: Threshold
- G06F 2201/82: Solving problems relating to consistency
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a method, device and product for managing scrubbing operations in a storage system. In the method for managing scrubbing operations in a storage system, regarding a plurality of extents included in the storage system, respective usage states of the plurality of extents are obtained. A group of target extents in which a failure will occur are detected from the plurality of extents based on the respective usage states of the plurality of extents. A scrubbing interval of the scrubbing operations to be performed on the storage system is adjusted according to the detected group of target extents. A scrubbing operation is performed on at least one part of the plurality of extents in the storage system according to the adjusted scrubbing interval, so as to identify a failed extent.

## Claims

### Claim 1

A method for managing scrubbing operations in a storage system, the method comprising:
obtaining usage states of a plurality of extents in the storage system;
detecting, from the plurality of extents, a group of target extents in which a failure will occur based on the usage states of the plurality of extents;
adjusting, according to the detected group of target extents, a scrubbing interval of a scrubbing operation to be performed on the storage system; and
performing, according to the adjusted scrubbing interval, the scrubbing operation on at least one part of the plurality of extents in the storage system; and
identifying, based on the scrubbing operation, a failed extent of the plurality of extents.

### Claim 2 (depends on 1)

The method of claim 1,
wherein adjusting, according to the detected group of target extents, the scrubbing interval of the scrubbing operation to be performed on the storage system comprises: setting the scrubbing interval to “execute immediately” in response to determining the group of target extents satisfy a predetermined condition; and
wherein performing, according to the adjusted scrubbing interval, the scrubbing operation on the at least one part of the plurality of extents in the storage system comprises: immediately performing a partial scrubbing operation on the group of target extents.

### Claim 3 (depends on 1)

The method of claim 1, wherein detecting from the plurality of extents the group of target extents in which the failure will occur based on the usage states of the plurality of extents comprises:
determining features of extents of the plurality of extents based on the usage states of the plurality of extents;
obtaining an association between failures in the plurality of extents and the features of the plurality of extents; and
identifying from the plurality of extents the group of target extents in which latent failures will occur based on the features of the plurality of extents and the association.

### Claim 4 (depends on 3)

The method of claim 3,
wherein the usage states of the plurality of extents comprises a response time of each extent of the plurality of extents for an access time,
wherein determining the features of extents of the plurality of extents comprises:
for a given extent of the plurality of extents, determining a feature of the given extent in response to the response time of the given extent being higher than a predetermined threshold.

### Claim 5 (depends on 4)

The method of claim 4,
wherein the usage states of the plurality of extents further comprises failure information and a failure identifier of each extent of the plurality of extents, and
determining the features of extents of the plurality of extents further comprises:
regarding the given extent, determining the feature of the given extent additionally based on the failure information and the failure identifier of the given extent.

### Claim 6 (depends on 3)

The method of claim 3, wherein obtaining the association comprises:
training the association based on features of the plurality of extents included in a plurality of storage devices of the storage system and failures in the plurality of extents included in the plurality of storage devices of the storage system.

### Claim 7 (depends on 1)

The method of claim 1, wherein adjusting, according to the detected group of target extents, the scrubbing interval of the scrubbing operation to be performed on the storage system comprises:
determining a wear level of the plurality of extents in response to determining no target extent in which a latent failure will occur is detected; and
adjusting the scrubbing interval according to the determined wear level.

### Claim 8 (depends on 7)

The method of claim 7, wherein adjusting the scrubbing interval according to the determined wear level comprises any of:
reducing the scrubbing interval in response to determining the wear level in any of an early stage and a late stage of a lifecycle of a storage device in the storage system; and
increasing the scrubbing interval in response to determining the wear level in a middle stage of the lifecycle of the storage device in the storage system.

### Claim 9 (depends on 7)

The method of claim 7, wherein performing, according to the adjusted scrubbing interval, the scrubbing operation on the at least one part of the plurality of extents in the storage system:
performing a global scrubbing operation on the plurality of extents according to the adjusted scrubbing interval.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
selecting a free storage device from storage devices other than a storage device comprising the failed extent among a plurality of storage devices in the storage system; and
rebuilding data in the failed extent to a free extent in the free storage device.

### Claim 11

A device, the device comprising:
at least one processor;
a volatile memory; and
a memory coupled to the at least one processor and having instructions stored thereon, the instructions, when executed by the at least one processor, causing the device to perform acts for managing scrubbing operations in a storage system, the acts comprising:
obtaining usage states of a plurality of extents in the storage system;
detecting, from the plurality of extents, a group of target extents in which a failure will occur based on the usage states of the plurality of extents;
adjusting, according to the detected group of target extents, a scrubbing interval of a scrubbing operation to be performed on the storage system; and
performing, according to the adjusted scrubbing interval, the scrubbing operation on at least one part of the plurality of extents in the storage system; and
identifying, based on the scrubbing operation, a failed extent of the plurality of extents.

### Claim 12 (depends on 11)

The device of claim 11,
wherein adjusting, according to the detected group of target extents, the scrubbing interval of the scrubbing operation to be performed on the storage system comprises: setting the scrubbing interval to “execute immediately” in response to determining the group of target extents satisfy a predetermined condition; and
wherein performing, according to the adjusted scrubbing interval, the scrubbing operation on the at least one part of the plurality of extents in the storage system comprises: immediately performing a partial scrubbing operation on the group of target extents.

### Claim 13 (depends on 11)

The device of claim 11, wherein detecting from the plurality of extents the group of target extents in which the failure will occur based on the usage states of the plurality of extents comprises:
determining features of extents of the plurality of extents based on the usage states of the plurality of extents;
obtaining an association between failures in the plurality of extents and the features of the plurality of extents; and
identifying from the plurality of extents the group of target extents in which latent failures will occur based on the features of the plurality of extents and the association.

### Claim 14 (depends on 13)

The device of claim 13,
wherein the usage states of the plurality of extents comprises a response time of each extent of the plurality of extents for an access time,
wherein determining the features of extents of the plurality of extents comprises:
for a given extent of the plurality of extents, determining a feature of the given extent in response to the response time of the given extent being higher than a predetermined threshold.

### Claim 15 (depends on 14)

The device of claim 14,
wherein the usage states of the plurality of extents further comprises failure information and a failure identifier of each extent of the plurality of extents, and
determining the features of extents of the plurality of extents further comprises:
regarding the given extent, determining the feature of the given extent additionally based on the failure information and the failure identifier of the given extent.

### Claim 16 (depends on 13)

The device of claim 13, wherein obtaining the association comprises:
training the association based on features of the plurality of extents included in a plurality of storage devices of the storage system and failures in the plurality of extents included in the plurality of storage devices of the storage system.

### Claim 17 (depends on 11)

The device of claim 11, wherein adjusting, according to the detected group of target extents, the scrubbing interval of the scrubbing operation to be performed on the storage system comprises:
determining a wear level of the plurality of extents in response to determining no target extent in which a latent failure will occur is detected; and
adjusting the scrubbing interval according to the determined wear level.

### Claim 18 (depends on 17)

The device of claim 17, wherein adjusting the scrubbing interval according to the determined wear level comprises any of:
reducing the scrubbing interval in response to determining the wear level in any of an early stage and a late stage of a lifecycle of a storage device in the storage system; and
increasing the scrubbing interval in response to determining the wear level in a middle stage of the lifecycle of the storage device in the storage system.

### Claim 19 (depends on 17)

The device of claim 17, wherein performing, according to the adjusted scrubbing interval, the scrubbing operation on the at least one part of the plurality of extents in the storage system:
performing a global scrubbing operation on the plurality of extents according to the adjusted scrubbing interval.

### Claim 20

(canceled)

### Claim 21

A computer program product, tangibly stored on a non-transient computer readable medium and comprising machine executable instructions, which are used perform a method, the method comprising:
obtaining usage states of a plurality of extents in the storage system;
detecting, from the plurality of extents, a group of target extents in which a failure will occur based on the usage states of the plurality of extents;
adjusting, according to the detected group of target extents, a scrubbing interval of a scrubbing operation to be performed on the storage system; and
performing, according to the adjusted scrubbing interval, the scrubbing operation on at least one part of the plurality of extents in the storage system; and
identifying, based on the scrubbing operation, a failed extent of the plurality of extents.
