# US 2020/0264785 A1 · Method and system for managing storage device

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

- Number: US 2020/0264785 A1
- Document ID: US20200264785A1
- Status: Published application
- Kind: A1
- Application number: 16/798,217
- Filed: 2020-02-21
- Published: 2020-08-20
- Earliest claimed: 2016-06-16
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Yousheng Liu; Geng Han; Jibing Dong; Ruiyong Jia; Jian Gao; Xinlei Xu
- Web page: https://patentgrep.com/patent/US20200264785A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention provide a method and system for managing a storage area. In one embodiment of the present invention, there is provided a method for managing a storage areas, comprising: obtaining a storage area in a storage system according to a predefined dividing rule; determining status regarding whether the storage area has been used; setting a status identifier for the storage area based on the use status; and managing the storage area based on the status identifier. In another embodiment, there is proposed a system for managing a storage area, comprising: one or more processors; a memory coupled to at least one processor of the one or more processors; computer program instructions stored in the memory which, when executed by the at least one processor, cause the system to execute a method for managing a storage area.

## Claims

### Claim 1

A method for managing a storage area, comprising:
obtaining a storage area in a storage system according to a predefined dividing rule;
determining status regarding whether the storage area has been used includes, in response to receipt of an initialization operation to initialize the storage system, setting the status identifier to “unused” status without physically clearing data stored in the storage area prior to the initialization operation from the storage area;
setting a status identifier for the storage area based on the use status; and
managing the storage area based on the status identifier.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
in response to receipt of the initialization operation to initialize the storage system, setting a status identifier of other storage area in the storage system to “unused” status.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the managing the storage area based on the status identifier comprises:
in response to receipt of a write operation to write to the storage area, determining status of the status identifier; and
in response to the status identifier being “unused,” clearing data in the storage system; writing data to a target address; and setting the status identifier as “used.”

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
in response to the status identifier being “used,” writing target data associated with the write operation to a target address indicated by the write operation.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the managing the storage area based on the status identifier comprises:
in response to receipt of a read operation to read from the storage area, determining status of the status identifier; and
in response to the status identifier being “unused,” returning “empty;” otherwise returning target data from a target address in the storage area which is indicated by the read operation.

### Claim 6 (depends on 1)

The method according to claim 1, wherein managing the storage area based on the status identifier comprises:
in response to receipt of a rebuilding operation to rebuild the storage system, determining status of the status identifier, wherein a status identifier of “unused” is indicative of a failing storage area that has not been used since the receipt of the initialization operation; and
in response to the status identifier being “unused”, skipping recovery processing on the storage area.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
in response to the status identifier being “used,” recovering data, from an online storage device associated with the storage area, for writing into a backup storage area used for replacing the storage area.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
forbidding a read operation and a write operation from being performed on a storage area in the storage system, during an initialization operation to initialize the storage system.

### Claim 9 (depends on 1)

The method according claim 1, wherein the obtaining a storage area in a storage system based on a predefined dividing rule comprises:
taking one or more stripes in the storage system as the storage area.

### Claim 10

A system for managing a storage area, comprising:
one or more processors;
a non-transitory memory coupled to at least one processor of the one or more processors;
computer program instructions stored in the memory which, when executed by the at least one processor, cause the system to:
obtain a storage area in a storage system according to a predefined dividing rule;
determining status regarding whether the storage area has been used includes, in response to receipt of an initialization operation to initialize the storage system, setting the status identifier to “unused” status without physically clearing data stored in the storage area prior to the initialization operation from the storage area;
set a status identifier for the storage area based on the use status; and
manage the storage area based on the status identifier.

### Claim 11 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to receipt of the initialization operation to initialize the storage system, set a status identifier of other storage area in the storage system to “unused” status.

### Claim 12 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to receipt of a write operation to write to the storage area, determine status of the status identifier; and
in response to the status identifier being “unused,” clear data in the storage system; write data to a target address; and set the status identifier as “used.”

### Claim 13 (depends on 12)

The system according to claim 12, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to the status identifier being “used,” write target data associated with the write operation to a target address indicated by the write operation.

### Claim 14 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to receipt of a read operation to read from the storage area, determine status of the status identifier; and
in response to the status identifier being “unused,” return “empty;” otherwise return target data from a target address in the storage area which is indicated by the read operation.

### Claim 15 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to receipt of a rebuilding operation to rebuild the storage system, determining status of the status identifier, wherein a status identifier of “unused” is indicative of a failing storage area that has not been used since the receipt of the initialization operation;
in response to the status identifier being “unused,” skipping recovery processing on the storage area; and

### Claim 16 (depends on 15)

The system according to claim 15, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
in response to the status identifier being “used,” recover data, from an online storage device associated with the storage area, for writing into a backup storage area used for replacing the storage area.

### Claim 17 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
forbid a read operation and a write operation from being performed on a storage area in the storage system, during an initialization operation to initialize the storage system.

### Claim 18 (depends on 10)

The system according to claim 10, wherein the computer program instructions, when executed by the at least one processor, further cause the system to:
take one or more stripes in the storage system as the storage area.
