# US 2021/0278983 A1 · Node Capacity Expansion Method in Storage System and 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/0278983 A1
- Document ID: US20210278983A1
- Status: Published application
- Kind: A1
- Application number: 17/239,194
- Filed: 2021-04-23
- Published: 2021-09-09
- Earliest claimed: 2018-10-25
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jianlong Xiao; Feng Wang; Qi Wang; Chen Wang; Chunhua Tan
- Web page: https://patentgrep.com/patent/US20210278983A1

## CPC

- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A node capacity expansion method in a storage system and a storage system, where the storage system includes a first node, and a data partition group and a metadata partition group are configured for the first node, where the data partition group includes a plurality of data partitions, the metadata partition group includes a plurality of metadata partitions, and metadata of data in the data partition group is a subset of metadata in the metadata partition group. When a second node is added to the storage system, the first node splits the metadata partition group into at least two metadata partition subgroups, and migrates a first metadata partition subgroup in the at least two metadata partition subgroups and metadata in the first metadata partition subgroup to the second node.

## Claims

### Claim 1

A method implemented by a storage system, wherein the method comprises:
configuring a data partition group for a first node of the storage system, wherein the data partition group comprises a plurality of data partitions,
configuring a metadata partition group for the first node, wherein the metadata partition group comprises a plurality of metadata partitions, and wherein metadata of data in the data partition group is a subset of metadata in the metadata partition group;
adding a second node to the storage system;
splitting the metadata partition group into at least two metadata partition subgroups in response to adding the second node to the storage system; and
migrating a first metadata partition subgroup in the at least two metadata partition subgroups and metadata in the first metadata partition subgroup to the second node.

### Claim 2 (depends on 1)

The method of claim 1, wherein before splitting the metadata partition group, the method further comprises:
obtaining a metadata partition group layout after capacity expansion, wherein the metadata partition group layout after the capacity expansion comprises a quantity of metadata partition subgroups configured for each node in the storage system after adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition subgroups after adding the second node to the storage system;
obtaining a metadata partition group layout before the capacity expansion, wherein the metadata partition group layout before the capacity expansion comprises a quantity of metadata partition groups configured for the first node before adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition groups before adding the second node to the storage system; and
splitting the metadata partition group based on the metadata partition group layout after the capacity expansion and the metadata partition group layout before the capacity expansion.

### Claim 3 (depends on 1)

The method of claim 1, further comprising splitting the data partition group into at least two data partition subgroups after migrating the first metadata partition subgroup and the metadata in the first metadata partition subgroup, wherein metadata of data in the at least two data partition subgroups is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 4 (depends on 1)

The method of claim 1, further comprising keeping the data in the data partition group stored on the first node after adding the second node to the storage system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the metadata of the data in the data partition group is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 6 (depends on 1)

The method of claim 1, wherein a quantity of the data partitions is less than a quantity of the metadata partitions.

### Claim 7 (depends on 1)

The method of claim 1, wherein a quantity of the data partitions is equal to a quantity of the metadata partitions.

### Claim 8

An apparatus in a storage system, wherein the apparatus comprises:
a memory configured to store instructions; and
a processor coupled to the memory, wherein the instructions cause the processor to be configured to:
configure a data partition group for a first node of the storage system, wherein the data partition group comprises a plurality of data partitions;
configure a metadata partition group for the first node, wherein the metadata partition group comprises a plurality of metadata partitions, and wherein metadata of data in the data partition group is a subset of metadata in the metadata partition group;
add a second node to the storage system;
split the metadata partition group into at least two metadata partition subgroups in response to adding the second node to the storage system; and
migrate a first metadata partition subgroup in the at least two metadata partition subgroups and metadata in the first metadata partition subgroup to the second node.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the instructions further cause the processor to be configured to:
obtain a metadata partition group layout after capacity expansion, wherein the metadata partition group layout after the capacity expansion comprises a quantity of metadata partition subgroups configured for each node in the storage system after adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition subgroups after adding the second node to the storage system;
obtain a metadata partition group layout before the capacity expansion, wherein the metadata partition group layout before the capacity expansion comprises a quantity of metadata partition groups configured for the first node before adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition groups before adding the second node to the storage system; and
split the metadata partition group based on the metadata partition group layout after the capacity expansion and the metadata partition group layout before the capacity expansion.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the instructions further cause the processor to be configured to split the data partition group into at least two data partition subgroups after migrating the first metadata partition subgroup and the metadata in the first metadata partition subgroup, and wherein metadata of data in the at least two data partition subgroups is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the instructions further cause the processor to be configured to keep the data in the data partition group stored on the first node after adding the second node to the storage system.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the metadata of the data in the data partition group is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein a quantity of the data partitions is less than a quantity of the metadata partitions.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein a quantity of the data partitions is equal to a quantity of the metadata partitions.

### Claim 15

A storage system comprising:
a first node configured to configure a data partition group for the first node, wherein the data partition group comprises a plurality of data partitions;
a third node configured to configure a metadata partition group for the third node, wherein the metadata partition group comprises a plurality of metadata partitions,
wherein metadata of data in the data partition group is a subset of metadata in the metadata partition group, and
wherein when a second node is added to the storage system, the third node is further configured to:
split the metadata partition group into at least two metadata partition subgroups; and
migrate a first metadata partition subgroup in the at least two metadata partition subgroups and metadata in the first metadata partition subgroup to the second node.

### Claim 16 (depends on 15)

The storage system of claim 15, wherein the third node is further configured to:
obtain a metadata partition group layout after capacity expansion, wherein the metadata partition group layout after the capacity expansion comprises a quantity of metadata partition subgroups configured for each node in the storage system after adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition subgroups after adding the second node to the storage system;
obtain a metadata partition group layout before the capacity expansion, wherein the metadata partition group layout before the capacity expansion comprises a quantity of metadata partition groups configured for the third node before adding the second node to the storage system and a quantity of metadata partitions comprised in each of the metadata partition groups before adding the second node to the storage system; and
split the metadata partition group based on the metadata partition group layout after the capacity expansion and the metadata partition group layout before the capacity expansion in response to adding the second node to the storage system.

### Claim 17 (depends on 15)

The storage system of claim 15, wherein the third node is further configured to split the data partition group into at least two data partition subgroups after migrating the first metadata partition subgroup and the metadata in the first metadata partition subgroup, and wherein metadata of data in the at least two data partition subgroups is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 18 (depends on 15)

The storage system of claim 15, wherein the first node is further configured to keep the data in the data partition group stored on the first node after adding the second node to the storage system.

### Claim 19 (depends on 15)

The storage system of claim 15, wherein the metadata in the data partition group is a subset of metadata in one of the at least two metadata partition subgroups.

### Claim 20 (depends on 15)

The storage system of claim 15, wherein a quantity of the data partitions is less than a quantity of the metadata partitions.
