Storage Systems

The storage system reconfigures stripes by moving parity between nodes to adapt to configuration changes, addressing inefficiencies in data movement and maintaining performance in distributed RAID systems.

JP7553060B2Active Publication Date: 2024-09-18HITACHI VANTARA LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023041303
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-18
Estimated Expiration
2038-12-27

AI Technical Summary

Technical Problem

Conventional distributed RAID systems face challenges in maintaining data locality and storage performance when nodes are added or removed, leading to inefficient data movement and potential performance degradation.

Method used

A storage system that reconfigures stripes by moving parity between nodes without moving data, using a management unit to send relocation requests and recalculate parity based on configuration changes, ensuring data locality is maintained.

Benefits of technology

Enables flexible node configuration changes without affecting storage performance, maintaining data locality and reducing data transfer costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553060000005
    Figure 0007553060000005
  • Figure 0007553060000024
    Figure 0007553060000024
  • Figure 0007553060000011
    Figure 0007553060000011
Patent Text Reader

Abstract

A storage system is provided that moves parity between nodes and reconfigures stripes when the node configuration is changed. [Solution] A storage system comprising multiple nodes, each node being a target for data write and read requests, forms stripes using multiple pieces of data stored in different nodes and parity generated based on this multiple pieces of data, and stores the parity of the stripe to which the data of the write request belongs in a node different from the multiple nodes storing the multiple pieces of data to achieve redundancy, and when the node configuration is changed, a management unit sends a relocation request to the node to move the parity between nodes and reconfigure the stripe.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a storage system, and is suitable for application to, for example, a storage system that provides redundancy. [Background technology]

[0002] Conventionally, a redundant array of independent disks (RAID) group is configured using a plurality of storage devices in a storage system, and a logical volume created based on the RAID group is provided to a higher-level device (for example, a host computer).

[0003] For example, distributed RAID is known as a technology related to RAID. Distributed RAID is a technology that distributes and manages stripes containing data and redundant data for restoring the data across multiple storage devices, the number of which is greater than m+n, as defined by a data protection policy (mDnP).

[0004] In recent years, the market for SDS (Software Defined Storage) has expanded. In this regard, an erasure coding (EC) method that maintains data storage in the own node (data locality) has been disclosed as a data protection method between nodes in SDS (see Patent Document 1). This data protection method makes it possible to achieve both high capacity efficiency and high reliability. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] International Publication No. 2016 / 052665 Summary of the Invention [Problem to be solved by the invention]

[0006] Recently, there has been an increasing need to add nodes such as storage apparatuses and devices.

[0007] In conventional distributed RAID, nodes are expanded by generating an expanded stripe row for the current stripe row and moving data to match the generated stripe row. However, in order to use the free space in the expanded node, data must be moved from the existing node to the expanded node, and changing the data storage destination can have a negative impact on the storage system.

[0008] Furthermore, when a redundancy group is formed based on the technology described in Patent Document 1, if data is moved from an existing node, data locality is lost, resulting in a problem of reduced storage performance.

[0009] The present invention has been made in consideration of the above points, and proposes a storage system that moves parity between nodes and reconfigures stripes when the node configuration is changed. [Means for solving the problem]

[0010] In order to solve such problems, the present invention provides a storage system comprising a plurality of nodes, the nodes being targets of data write and read requests, a stripe being formed from a plurality of data stored in different nodes and parity generated based on this plurality of data, and redundancy being achieved by storing the parity of the stripe to which the data of the write request belongs in a node different from the plurality of nodes that store the plurality of data, and when the node configuration is changed, a management unit is configured to send a placement change request to the node to move the parity between nodes and reconfigure the stripe.

[0011] According to the above configuration, for example, it is possible to change the configuration by calculating the parity of the stripes rearranged in response to the change in configuration. Effect of the Invention

[0012] According to the present invention, a highly adaptable storage system can be realized. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a conceptual diagram showing an overview of a storage system according to a first embodiment. [Diagram 2] FIG. 1 illustrates an example of a physical configuration of a storage system according to a first embodiment. [Diagram 3] FIG. 1 illustrates an example of a logical configuration of a storage system according to a first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of information in a memory according to the first embodiment. [Diagram 5] FIG. 4 is a diagram illustrating an example of a cluster configuration management table according to the first exemplary embodiment. [Figure 6] FIG. 13 is a diagram illustrating an example of a storage pool configuration management table according to the first embodiment. [Figure 7] FIG. 11 is a diagram illustrating an example of a chunk configuration management table according to the first embodiment. [Figure 8] FIG. 11 is a diagram illustrating an example of a chunk mapping management table according to the first embodiment. [Figure 9] FIG. 11 is a diagram showing an example of a chunk group mapping management table according to the first embodiment. [Figure 10] FIG. 2 is a conceptual diagram showing an overview of mapping change according to the first embodiment. [Figure 11] FIG. 2 is a conceptual diagram showing a characteristic configuration of mapping change according to the first embodiment. [Figure 12] FIG. 2 is a conceptual diagram showing a characteristic configuration of mapping change according to the first embodiment. [Figure 13] FIG. 13 illustrates an example of a flowchart for a read process according to the first embodiment. [Figure 14]FIG. 13 illustrates an example of a flowchart for a write process according to the first embodiment. [Figure 15] FIG. 11 is a diagram illustrating an example of a flowchart for a storage pool expansion process according to the first embodiment. [Figure 16] FIG. 11 is a diagram illustrating an example of a flowchart for a configuration change process according to the first embodiment. [Figure 17] FIG. 11 is a diagram illustrating an example of a flowchart relating to a mapping change process according to the first embodiment. [Figure 18] FIG. 11 is an example of a flowchart illustrating a data redundancy destination change process according to the first embodiment. [Figure 19] FIG. 11 is a conceptual diagram showing a characteristic configuration of mapping change according to the second embodiment. [Figure 20] FIG. 13 is a conceptual diagram showing an overview of MEC according to the third embodiment. [Figure 21] FIG. 13 is a conceptual diagram showing a characteristic configuration of mapping change according to the third embodiment. [Figure 22] FIG. 13 is a conceptual diagram showing a characteristic configuration of mapping change according to the fourth embodiment. [Diagram 23] FIG. 13 is a conceptual diagram showing an overview of mapping change according to the fifth embodiment. [Figure 24] FIG. 13 is a diagram illustrating an example of a flowchart of a mapping change process according to the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] An embodiment of the present invention will be described in detail with reference to the drawings below. This embodiment relates to a technology that allows the configuration of a storage system to be changed without moving data. The storage system shown in this embodiment has one or more characteristic configurations. For example, this storage system is characterized by reading data, transferring it to a node that is a parity generation destination in a new grouping, generating parity for the new grouping, and further generating another data storage area and new parity for the old grouping. Also, for example, this storage system is characterized by determining grouping so that the ratio between the number of data and the number of parities in each node is uniform. Also, for example, this storage system is characterized by determining whether the target of expansion is a node or a device, and regrouping by moving data between devices within the node when it is determined that the expansion is a device expansion. Other characteristic configurations are also shown below.

[0015] In the following description, when describing elements of the same type without distinction, the common portion (part excluding the branch number) of the reference code including the branch number is used, and when describing elements of the same type with distinction, the reference code including the branch number may be used. For example, when describing a node without distinction, it may be written as "node 100", and when describing individual nodes with distinction, it may be written as "node 100-0", "node 100-1", etc.

[0016] (1) First embodiment In FIG. 1, reference numeral 1 indicates a storage system according to a first embodiment as a whole.

[0017] 1 is a conceptual diagram showing an overview of a storage system 1. The storage system 1 is configured to include one or more nodes 100 (for example, server devices).

[0018] A user issues an instruction to change the configuration of the storage system 1 (such as an instruction to add a node 100) to the management program 101 via a client node (e.g., a client device) not shown. The management program 101 issues a mapping change request accompanying the change in configuration to the storage control program 102 on each node 100. The mapping change request is a request to change the arrangement (stripes) of parity related to the redundancy of the data, without changing the node 100 that stores the data (for example, moving the data). The storage control program 102 calculates and rewrites the parity in accordance with the mapping change request.

[0019] The management program 101 (also called a coordinator or arbitration program) may be provided in any node, in all nodes 100, in some of the nodes 100, or in an independent node in which the storage control program 102 does not exist.

[0020] The management program 101 issues a mapping change request to execute parity calculation by mapping change processing, for example, with the physical area 104 allocated to the logical area 103 as the processing target. With this configuration, unnecessary calculations for the unused physical area 104 and transfer of data required for the calculations are reduced.

[0021] In the following, the storage resource whose configuration is to be changed (added or removed) will mainly be explained using node 100 as an example, but other storage resources such as sites such as data centers or storage devices such as drives may also be used, and processing can be performed in the same way.

[0022] FIG. 2 is a diagram showing an example of a physical configuration of the storage system 1. As shown in FIG.

[0023] The storage system 1 may be provided with one or more sites 210. The sites 210 are communicatively connected via a network 220. The network 220 is, for example, a WAN (Wide Area Network), but is not limited to a WAN.

[0024] The site 210 is a data center or the like, and is configured to include one or more nodes 100 .

[0025] The node 100 may have the configuration of a general server computer. The node 100 is configured to include, for example, one or more processor packages including a processor 211, a memory 212, etc., one or more drives 213, and one or more ports 214. Each component is connected via an internal bus 215.

[0026] The processor 211 is, for example, a CPU (Central Processing Unit), and performs various types of processing.

[0027] The memory 212 stores control information and cache data necessary to realize the functions of the node 100. The memory 212 also stores, for example, a program executed by the processor 211. The memory 212 may be a volatile dynamic random access memory (DRAM), a non-volatile storage class memory (SCM), or another storage device.

[0028] The drive 213 stores various data, programs, etc. The drive 213 may be a hard disk drive (HDD) or solid state drive (SSD) connected via SAS (Serial Attached SCSI) or SATA (Serial Advanced Technology Attachment), an SSD connected via NVMe (Non-Volatile Memory Express), or a non-volatile memory (SCM: Storage Class Memory), etc., which are examples of a storage device.

[0029] The port 214 is connected to a network 216, and is communicatively connected to other nodes 100 within the site 210. The network 216 is, for example, a LAN (Local Area Network), but is not limited to a LAN.

[0030] The physical configuration of the storage system 1 is not limited to the above. For example, the networks 216 and 220 may be made redundant. Also, for example, the network 216 may be separated into a management network and a storage network, the connection standard may be Ethernet (registered trademark), Infiniband, or wireless, and the connection topology is not limited to the configuration shown in FIG. 2.

[0031] 3 is a diagram showing an example of a logical configuration of the storage system 1. In the storage system 1, storage virtualization is performed, and multiple physical areas are virtually integrated and used as one storage pool. Furthermore, in the storage system 1, only the capacity currently being used by each host node 300 is allocated by thin provisioning.

[0032] 3, the drive 213 has a data storage area which is a physical area for storing data, parity, etc. A physical chunk 301 which is all or a part of the data storage area and is a continuous area is assigned to a chunk group 302.

[0033] A chunk group 302 is made up of physical chunks 301 on the drives 213 of multiple nodes 100. For example, if the data protection policy is 4D1P, the chunk group 302 is made up of five physical chunks 301 secured from the drives 213 of different nodes 100.

[0034] Here, examples of data protection policies include EC (Erasure Coding) and MEC (Multi-stage Erasure Coding). Note that EC includes a first method that does not maintain data locality and a second method that maintains data locality (for example, the method described in International Publication No. 2016 / 52665), and either method can be applied to the storage system 1. Note that in this embodiment, a case in which the second method is applied will be mainly described as an example.

[0035] In addition, for example, in the 2D1P EC of the first method, redundancy is achieved by dividing the data of a write request into first data and second data, storing the first data in the first node 100, storing the second data in the second node 100, and storing the parity of the first data and the second data in the third node 100. Also, for example, in the 2D1P EC of the second method, redundancy is achieved by dividing the data of a write request into first data and second data, storing the first data and the second data in the first node 100 (own node 100), storing the parity of the first data in the second node 100, and storing the parity of the second data in the third node 100. Note that MEC will be described later with reference to FIG. 20.

[0036] A logical chunk 303 is carved out from the chunk group 302. The logical chunk 303 is a unit for allocating capacity to the storage pool 305 of each node 100. One logical chunk 303 may be carved out from one chunk group 302, or multiple logical chunks 303 may be carved out.

[0037] In addition, for example, if the data protection policy is 4D1P, then the area available for data storage is 4 / 5 of the total amount of physical chunks 301 allocated to the chunk group 302, and the area available for parity storage is 1 / 5 of the total amount of physical chunks 301 allocated to the chunk group 302. In other words, the maximum capacity that can be carved out as a logical chunk 303 differs depending on the data protection policy.

[0038] The extracted logical chunk 303 is attached to a storage pool 305 as a pool volume 304. The storage pool 305 is configured to include one or more pool volumes 304. A virtual volume 306 used by an application 311 is extracted from the storage pool 305. In other words, the storage control program 102 allocates a capacity according to a user's request as a virtual volume 306, rather than allocating it to a drive 213.

[0039] For example, when the storage control program 102 receives a write request from the application 311, if it is a new write, it allocates page 307 of the virtual volume 306 (more specifically, the physical area of ​​the physical chunk 301 linked to the page 307). Note that page 307 is associated with page 308 of the pool volume 304. If it is an update write, the storage control program 102 identifies the physical area of ​​the physical chunk 301 linked to the allocated page 307 and updates the data. Note that the data of the write request (or intermediate data, described later) is transferred to another node 100 involved in data redundancy, and the parity is updated.

[0040] In this way, the storage control program 102 manages the drives 213 as a shared storage pool 305, and allocates capacity to the drives 213 according to the amount of data written to the virtual volume 306. This eliminates the waste of unused drives 213, and enables efficient operation.

[0041] In the following, we will mainly explain the example of a configuration in which, when updating data, the data is stored in drive 213 (local drive) of the node 100 that received the write request (a configuration that maintains data locality and eliminates network overhead when reading).

[0042] The application 311 that accesses the data may be provided and operated on the host node 300, may be provided and operated on the same node 100 as the storage control program 102, or may be provided and operated on a different node 100.

[0043] 4 is a diagram showing an example of information in the memory 212 (information read from the drive 213 to the memory 212). Note that the control information table 410 and various programs (such as the management program 101 and the storage control program 102) are deployed on the memory 212 during execution, but are stored in a non-volatile area such as the drive 213 in preparation for a power outage or the like.

[0044] The control information table 410 includes a cluster configuration management table 411, a storage pool configuration management table 412, a chunk configuration management table 413, a chunk mapping management table 414, and an intra-chunk group mapping management table 415. Each table will be described later with reference to Figs. 5 to 9.

[0045] The management program 101 is an example of a management section, and comprises an increase / decrease management processing section 421 and a logical chunk allocation processing section 422 .

[0046] The storage control program 102 is an example of a storage control unit, and comprises a read processing unit 431 , a write processing unit 432 , and a mapping change processing unit 433 .

[0047] The functions of the node 100 (such as the expansion / reduction management processor 421, logical chunk allocation processor 422, read processor 431, write processor 432, and mapping change processor 433) may be realized, for example, by the processor 211 reading out a program stored in the drive 213 into the memory 212 and executing it (software), or may be realized by hardware such as a dedicated circuit, or may be realized by a combination of software and hardware. In addition, some of the functions of the node 100 may be realized by another computer capable of communicating with the node 100.

[0048] FIG. 5 is a diagram showing an example of the cluster configuration management table 411. As shown in FIG.

[0049] The cluster configuration management table 411 stores information for managing the configuration of the sites 210 , the nodes 100 , and the drives 213 .

[0050] The cluster configuration management table 411 includes a site configuration management table 510, a node configuration management table 520, and a drive configuration management table 530. The storage system 1 manages the site configuration management table 510, the site 210 manages a plurality of node configuration management tables 520 within the site 210, and the node 100 manages a plurality of drive configuration management tables 530 within the node 100.

[0051] The site configuration management table 510 stores information indicating the configuration related to the site 210 (such as the relationship between the site 210 and the node 100). More specifically, the site configuration management table 510 stores information in which a site ID (identification) 511, a state 512, and an associated node ID 513 are associated with each other.

[0052] The site ID 511 is identification information (e.g., an ID) capable of identifying the site 210. The status 512 is status information (NORMAL, WARNING, FAILURE, etc.) indicating the status of the site 210. The associated node ID 513 is identification information (e.g., an ID) capable of identifying the node 100 provided in the site 210.

[0053] The node configuration management table 520 is provided for each site 210, and stores information indicating the configuration related to the nodes 100 provided in the site 210 (such as the relationship between the nodes 100 and the drives 213). More specifically, the node configuration management table 520 stores information in which a node ID 521, a state 522, and an associated drive ID 523 are associated with each other.

[0054] The node ID 521 is identification information (for example, an ID) capable of identifying the node 100. The status 522 is status information (NORMAL, WARNING, FAILURE, etc.) indicating the status of the node 100. The associated drive ID 523 is identification information (for example, an ID) capable of identifying the drive 213 provided in the node 100.

[0055] The drive configuration management table 530 is provided for each node 100, and stores information indicating the configuration related to the drives 213 provided in the node 100. More specifically, the drive configuration management table 530 stores information in which a drive ID 531, a status 532, and a size 533 (blocks) are associated with each other.

[0056] The drive ID 531 is identification information (e.g., ID) capable of identifying the drive ID 531. The status 532 is status information (NORMAL, WARNING, FAILURE, etc.) indicating the status of the drive 213. The size 533 is information (e.g., the number of blocks) indicating the capacity of the drive 213. For example, the blocks are a fixed size (512 kbytes, etc.).

[0057] FIG. 6 is a diagram showing an example of the storage pool configuration management table 412. As shown in FIG.

[0058] The storage pool configuration management table 412 stores control information for the thin provisioning function provided by the storage pool 305 .

[0059] The storage pool configuration management table 412 includes a storage pool information table 610 , a virtual volume management table 620 , a page mapping table 630 , and a pool volume management table 640 .

[0060] The storage pool information table 610 stores information related to the storage pool 305. More specifically, the storage pool information table 610 stores information in which a storage pool ID 611, a total capacity 612 (blocks), a consumed capacity 613 (blocks), and a depletion threshold 614 are associated with each other.

[0061] The storage pool ID 611 is identification information (e.g., an ID) capable of identifying the storage pool 305. The total capacity 612 is information indicating the total capacity of the storage pool 305 (e.g., the number of blocks). The consumed capacity 613 is information indicating the capacity consumed in the storage pool 305 (e.g., the number of blocks). The depletion threshold 614 is a threshold for determining whether the capacity of the storage pool 305 is depleted (a threshold for monitoring a shortage). If it is determined that the capacity is depleted, the storage pool is expanded by a storage pool expansion process described in Fig. 15.

[0062] The virtual volume management table 620 stores information related to the virtual volume 306 (such as information indicating the correspondence between the virtual volume 306 and the storage pool 305 to which the virtual volume 306 is allocated). More specifically, the virtual volume management table 620 stores information in which a virtual volume ID 621, a size 622 (blocks), and a storage pool ID 623 are associated with each other.

[0063] The virtual volume ID 621 is identification information (e.g., an ID) capable of identifying the virtual volume 306. The size 622 (blocks) is information (e.g., the number of blocks) indicating the capacity of the virtual volume 306. The storage pool ID 623 is identification information (e.g., an ID) capable of identifying the storage pool 305 to which the virtual volume 306 belongs.

[0064] The page mapping table 630 stores information related to the pages 307 allocated to the virtual volumes 306 (such as information indicating the correspondence between the virtual volumes 306 and the pool volumes 304). More specifically, the page mapping table 630 stores information in which a virtual volume ID 631, an LBA (Logical Block Addressing) 632, a size 633 (blocks), a pool volume ID 634, and an LBA 635 are associated with each other.

[0065] The virtual volume ID 631 is identification information (for example, an ID) capable of identifying the virtual volume 306. The LBA 632 is information (for example, a numerical value) indicating the number from the first page 307 of the virtual volume 306. The page 307 is a unit by which the storage control program 102 accesses the virtual volume 306. The size 633 (blocks) is information (the number of blocks) indicating the capacity of the page 307 (page 308). The pool volume ID 634 is identification information (for example, an ID) capable of identifying the pool volume 304. The LBA 635 is information (for example, a numerical value) indicating the number from the first page 308 of the pool volume 304. The page 308 is a unit by which the storage control program 102 accesses the pool volume 304, and is the same size as the page 307.

[0066] The size 633 may be the same for all pages 307 or may be different for each page 307 .

[0067] In addition, the storage control program 102 refers to the page mapping table 630 when converting the address of the virtual volume 306 into the address of the pool volume 304. Furthermore, the storage control program 102 allocates a page 307 (adds a record to the page mapping table 630) every time a new write is received.

[0068] The pool volume management table 640 stores information related to the pool volume 304 (information indicating the correspondence between the pool volume 304 and the logical chunk 303). More specifically, the pool volume management table 640 stores information in which a pool volume ID 641, a size 642 (blocks), and a logical chunk ID 643 are associated with each other.

[0069] The pool volume ID 641 is identification information (e.g., an ID) capable of identifying the pool volume 304. The size 642 (blocks) is information (e.g., the number of blocks) indicating the capacity of the pool volume 304. The logical chunk ID 643 is identification information (e.g., an ID) capable of identifying the logical chunk 303 attached to the pool volume 304.

[0070] The size 642 may be the same for all pool volumes 304 or may be different for each pool volume 304 .

[0071] FIG. 7 is a diagram showing an example of the chunk configuration management table 413. As shown in FIG.

[0072] The chunk configuration management table 413 stores control information for managing the configuration of a physical chunk 301 and a chunk group 302 (redundancy group) configured by combining a plurality of physical chunks 301 .

[0073] The chunk configuration management table 413 includes a logical chunk management table 710 , a chunk group management table 720 , and a physical chunk management table 730 .

[0074] The logical chunk management table 710 stores information (logical chunk information) related to the logical chunks 303 cut out from the chunk groups 302. More specifically, the logical chunk management table 710 stores information in which a logical chunk ID 711, a size 712 (blocks), and a chunk group ID 713 are associated with each other.

[0075] The logical chunk ID 711 is identification information (e.g., an ID) capable of identifying a logical chunk 303 cut out from a chunk group 302. The size 712 is information (e.g., the number of blocks) indicating the capacity of the logical chunk 303. The chunk group ID 713 is identification information (e.g., an ID) capable of identifying the chunk group 302 to which the logical chunk 303 belongs.

[0076] The chunk group management table 720 stores information (chunk group information) related to the chunk groups 302. More specifically, the chunk group management table 720 stores information in which a chunk group ID 721, a data protection policy 722, an associated physical chunk ID 723, and mapping change progress information 724 are associated with each other.

[0077] The chunk group ID 721 is identification information (e.g., an ID) capable of identifying the chunk group 302. The data protection policy 722 is the data protection policy of the chunk group 302. The associated physical chunk ID 723 is identification information (e.g., an ID) capable of identifying the physical chunk 301 assigned to the chunk group 302. The mapping change progress information 724 is information (e.g., an address) indicating the progress of the mapping change. The mapping change progress information 724 includes information in which data 725 and parity 726 are associated with each other. The data 725 is information (e.g., an address) indicating the progress of the mapping change for the data. The parity 726 is information (e.g., an address) indicating the progress of the mapping change for the parity.

[0078] The physical chunk management table 730 stores information related to the physical chunk 301 (information for cutting out an area of ​​the drive 213 by the size from the start offset and managing it as the physical chunk 301). More specifically, the physical chunk management table 730 stores information in which a physical chunk ID 731, a start offset 732, a size 733 (blocks), and a site ID / node ID / drive ID 734 are associated with each other.

[0079] The physical chunk ID 731 is identification information (for example, an ID) capable of identifying the physical chunk 301. The start offset 732 indicates the start position when the physical chunk 301 is cut out from the drive 213. The size 733 (blocks) is information (number of blocks) indicating the capacity of the physical chunk 301. The site ID / node ID / drive ID 734 is identification information capable of identifying the storage resource from which the physical chunk 301 is cut out (information indicating which drive 213 of which node 100 of which site 210 the physical chunk 301 is cut out from).

[0080] FIG. 8 is a diagram showing an example of the chunk mapping management table 414. As shown in FIG.

[0081] In FIG. 8, the concept of the chunk mapping management table 414 is shown as an image 800. As shown in the image 800, it is shown that the mapping of three chunk groups 302 ("Group0", "Group1", and "Group2") is changed collectively. For example, it can be seen that the node 100 of "node0" is arranged in the first column (column 0), the node 100 of "node1" is arranged in the second column (column 1), and the node 100 of "node2" is arranged in the third column (column 2). It can also be seen that all chunk groups 302 of "Group0" are set to the first offset (Offset0), all chunk groups 302 of "Group1" are set to the second offset (Offset1), and all chunk groups 302 of "Group2" are set to the third offset (Offset2). In addition, even if the data protection policy is changed, the arrangement of the chunk groups 302 that have already been set (chunk mapping management table 414) does not change.

[0082] The number of chunk groups 302 to be collectively changed in mapping is not limited to three, and may be one, two, or four or more. In addition, the following description will be given taking as an example a case where one chunk group 302 is all set with the same offset, but this is not limiting. In addition, when multiple chunk groups 302 are provided as processing units for mapping change, they do not all need to be set with the same offset, and may be set to include different offsets.

[0083] The chunk mapping management table 414 stores chunk mapping management information for defining the unit of mapping change (such as control information for deciding in what combination chunk groups 302 are to be formed for physical chunks 301 in multiple nodes 100). The chunk mapping management table 414 includes chunk group mapping information 810, an intra-node chunk offset management table 820, and a free physical chunk list 830.

[0084] The chunk group mapping information 810 stores information in which a group ID 811 is associated with a mapping list 812 (column ID, node ID, offset).

[0085] The group ID 811 is identification information (for example, an ID) capable of identifying the chunk group 302. The mapping list 812 is information in which a column ID for identifying the arrangement of the nodes 100, a node ID for identifying the nodes 100 to be arranged in each column, and an offset indicating the relative position of the chunk group 302 are associated with each other.

[0086] It should be noted that the chunk group mapping information 810 is merely an example, and is calculated according to the configuration of the site 210 and the configuration of the node 100.

[0087] The intra-node chunk offset management table 820 stores information for identifying the position of the physical chunk 301 within the node 100. The intra-node chunk offset management table 820 is managed for each node 100 in accordance with the configuration of the drive 213.

[0088] More specifically, the intra-node chunk offset management table 820 stores information in which an offset 821, a physical chunk ID 822, and a status 823 are associated with each other. The offset 821 is information indicating the position of the physical chunk 301 allocated to the chunk group 302. The physical chunk ID 822 is identification information (e.g., an ID) capable of identifying the physical chunk 301 allocated to the chunk group 302. The status 823 is information indicating the status (NORMAL, ALTERING, etc.) of the physical chunk 301 allocated to the chunk group 302.

[0089] The free physical chunk list 830 is a list of identification information (e.g., IDs) capable of identifying physical chunks 301 that are not assigned to chunk groups 302, among the physical chunks 301 in the drives 213 in the node 100. In the free physical chunk list 830, the physical chunks 301 are arranged starting from the first physical chunk 301 in the drive 213 that consumes the least amount of capacity. In other words, the physical chunks 301 in the node 100 are selected starting from the one that consumes the least amount of capacity per drive 213.

[0090] FIG. 9 is a diagram showing an example of the chunk group mapping management table 415. As shown in FIG.

[0091] The chunk group intra-mapping management table 415 stores information for managing the arrangement of data and parity within the chunk group 302. More specifically, the chunk group intra-mapping management table 415 stores information indicating whether the data or parity of the chunk group 302 is stored in each segment (element) identified by a column and a row.

[0092] For example, segment 901 "A1" identified by "Column0" and "Row0" indicates that data of chunk group 302 "GroupA" is stored. Segment 902 "A2" identified by "Column1" and "Row0" indicates that data of chunk group 302 "GroupA" is stored. Segment 903 "AP" identified by "Column3" and "Row0" indicates that parity of chunk group 302 "GroupA" is stored. The combination of segment 901 "A1" indicating chunk group 302 "GroupA", segment 902 "A2", and segment 903 "AP" is appropriately referred to as a "stripe".

[0093] Here, as shown in composition unit 910, the unit of mapping change processing is called a "frame." As shown in composition unit 920, when one offset is composed of one chunk group 302, the unit indicating that one offset is called a "chunk." As shown in composition unit 930, when one offset is composed of one chunk group 302, the unit managed by the chunk group intra-mapping management table 415 is called a "cycle."

[0094] Also, the chunk group intra-mapping management table 415 shows an example in which the data protection policy is "2D1P", and if the data protection policy changes, the contents of the chunk group intra-mapping management table 415 are changed.

[0095] Furthermore, it is preferable that the chunk group intra-mapping management table 415 is set so that the storage ratio of data to parity per physical chunk 301 in a chunk group 302 is data:parity=m:n when the data protection policy is mDnP. Because parity is frequently updated, if parity is stored unevenly in a certain node 100, the load will be unevenly distributed on that node 100. However, by determining the storage ratio as described above, it becomes possible to equalize the load on each node 100.

[0096] Here, the chunk group intra-mapping management table 415 is used to specify the physical LBA (redundancy destination) of the parity area for the physical LBA of a certain data area. The following methods, for example, can be used to specify the redundancy destination.

[0097] - Column ID=0 is assigned from the top of the list in chunk group mapping information 810. Obtain the corresponding column ID from the group ID and node ID of the access destination - Calculate the row from the LBA of the access destination Row ID = LBA mod Row max (Row maxis "3" in the chunk group mapping management table 415) Once the row and column on the data side are identified, obtain the corresponding row and column on the xP (parity side). Calculate the node ID and physical LBA of the parity side LBA p = LBA d + S size × Row ID (S size is the size of the segment) The method for identifying the data position from the parity position in the data recovery process is the reverse of the above procedure.

[0098] 10 is an image diagram showing an overview of mapping change. Here, as shown in chunk mapping management information 1010 before the configuration change and chunk mapping management information 1020 after the configuration change, a case in which a node 100 (node ​​100-3) of "N3" is added (node ​​addition) will be described as an example.

[0099] In the chunk mapping management information 1020, for node 100 "N3", group "G0" of chunk group 302 is set to offset "#1", group "G1" is set to offset "#1", and group "G3" is set to offset "#2".

[0100] Furthermore, the chunk group intra-mapping management table 415 is created (modified) so that data and parity are not biased in each node 100 of each chunk group 302. In addition, even after the configuration is changed, the storage ratio of data and parity in each node 100 is uniform according to mDnP (there is no bias in data or parity for each node 100).

[0101] In a mapping change, a mapping change request is sent from the management program 101 to each node 100 in units of frames 1030, and in each node 100, the physical chunks 301 assigned to the chunk group 302 are processed (transfer of data or intermediate data, calculation of parity, etc.) in order from the top.

[0102] 11 is an image diagram showing a characteristic configuration of a mapping change (an overview of an operation within a frame). Here, one cycle of one chunk is taken as an example for explanation.

[0103] When a node 100 is added, data is not moved between nodes 100, but the parity is rearranged and a stripe is formed that includes the added node 100. At that time, for example, the chunk group intra-mapping management table 415 is changed so that the data and parity are not biased, and mapping is changed according to the changed chunk group intra-mapping management table 415.

[0104] The main process of changing the mapping is as follows: <Process A> A portion of the parity of the existing node 100 is reconstructed in the added node 100. <Process B> Generate parity for the new stripe. <Process C> Parity is generated for stripes where the data combination changes in existing stripes.

[0105] In this example, the image before the mapping change and process A are shown as image 1110, the image after the mapping change and process A are shown as image 1120, and the image after the mapping change is shown as image 1130. In this example, "A1-A2-AP", "B1-B2-BP", and "C1-C2-CP" indicate existing stripes, and "D1-D2-DP" indicates a new stripe.

[0106] Furthermore, as can be seen by comparing images 1110 and 1130, among the existing stripes, "B1-B2-BP" is a stripe in which the parity storage location has been changed (moved stripe), and "C1-C2-CP" is a stripe in which the data combination has been changed (changed stripe).

[0107] Note that "A1, A2, B1, B2, C1, C2, D1, D2" indicate segments that store data, and "AP, BP, CP, DP" indicate segments that store parity.

[0108] In image 1110, storage system 1 reconstructs the parity of "BP" of existing "node 0" to the added "node 3" based on image 1130 (here, it calculates the exclusive OR 1113 of "B1" data 1111 and "B2" data 1112 and stores it as "BP" parity 1114), and creates free space in existing "node 0."

[0109] In image 1120, storage system 1 calculates exclusive OR 1123 of data 1121 of "D1" that constitutes a new stripe (data 1121 of "C1" stored in "node 2") and data 1122 of "D2" based on image 1130 in the free space created, and generates parity 1124 of "DP".

[0110] Furthermore, in image 1120, based on image 1130, storage system 1 calculates exclusive OR 1127 of data 1125 of "C1" and data 1126 of "C2" that constitute the changed stripe for "C1-C2-CP" in which the data combination in the existing stripe is changed, and generates parity 1128 of the changed "CP".

[0111] Image 1130 shows that the data has been rearranged into stripes that accommodate the addition of node 100-3 by constructing (moving, calculating, etc.) parity without moving data.

[0112] Fig. 12 is an image diagram showing a characteristic configuration of mapping change (overview of intra-frame operation). It differs from Fig. 11 in that optimization of data transfer between nodes 100 is performed, and this point will be mainly described.

[0113] In this example, process A is shown as image 1210, processes B and C are shown as image 1220, and the image after the mapping change is shown as image 1230.

[0114] As shown in image 1210, the storage system 1 does not transfer data used to calculate the existing parity 1211 that is moved to create free space, but transfers the existing parity 1211 itself to create the parity 1212 of "B1-B2-BP." This transfer makes it possible to reduce the amount of data transferred between the nodes 100.

[0115] As shown in image 1220, the storage system 1 treats the data in the node 100-3 to be added as "0 (zero)" and transfers data 1221 of "C1" of the stripe to be changed, thereby generating new parity 1222 and regenerating existing parity 1223. This transfer makes it possible to reduce the amount of data transferred between the nodes 100.

[0116] For example, parity 1222 (new DP) is generated by transforming it as follows. The old DP is considered as old DP=0=0 XOR 0, and the new DP is new DP=D1(=old C1) XOR 0, so by XORing the old DP with D1, it is generated as old DP XOR D1=0 XOR D1=new DP. In other words, the new DP can be generated using C1 without using (transferring) D2.

[0117] For example, parity 1223 is regenerated by modifying it as follows. For the old CP, old CP=C1 XOR C2, and for the new CP, new CP=0 XOR C2, so by XORing the old CP with C1, old CP OXR C1=(C1 XOR C2) XOR C1=(C1 XOR C1) OXR C2=0 XOR C2=new CP is generated. In other words, a new DP can be generated using C1 without using (transferring) C2.

[0118] Next, the processing related to the storage system 1 will be described.

[0119] Fig. 13 is a diagram showing an example of a flowchart related to read processing. In read processing, upon receiving a read request from the application 311, data is read from the drive 213 of the own node 100. If the accessed area (drive 213) is in a fault state, the data to be read is restored from the redundant data and responded to. Also, in the restoration processing during mapping change, it is determined whether the intra-chunk group mapping management table 415 (hereinafter referred to as mapping information as appropriate) is the new side (mapping information after the configuration change) or the old side (mapping information before the configuration change), and the position of the redundant data to be restored is decided. Details will be explained below.

[0120] In step S1301, the read processing unit 431 determines whether or not a page 307 is unallocated in the storage pool 305 for the data of the read request. If the read processing unit 431 determines that the page 307 is unallocated, it proceeds to step S1302, and if it determines that the page 307 is not unallocated, it proceeds to step S1303.

[0121] In step S1302, the read processing unit 431 returns 0 data indicating that there is no data to the host node 300, and ends the read processing.

[0122] In step S1303, the read processing unit 431 acquires the address of the allocation destination.

[0123] In step S1304, the read processing unit 431 performs exclusive acquisition. In the exclusive acquisition, an exclusive algorithm such as a mutex is used for the LBA (Logical Block Addressing) of the access destination to control so that multiple processes do not access the same area at the same time. The same process is performed for the subsequent exclusive processes.

[0124] In step S1305, the read processing unit 431 determines whether or not the accessed drive 213 is in a fault state. If the read processing unit 431 determines that the drive 213 is in a fault state, it moves the process to step S1306, and if it determines that the drive 213 is not in a fault state, it moves the process to step S1320.

[0125] In step S1306, the read processing unit 431 judges whether or not mapping is being changed. If the read processing unit 431 judges that mapping is being changed, it moves the process to step S1307, and if it judges that mapping is not being changed, it moves the process to step S1310. For example, the read processing unit 431 checks the intra-node chunk offset management table 820 of the chunk mapping management table 414, and if the updating status is "ALTERING", it judges that mapping is being changed.

[0126] In step S1307, the read processing unit 431 judges whether or not the mapping change has been completed for the data of the read request. If the read processing unit 431 judges that the mapping change has been completed, it moves the process to step S1308, and if it judges that the mapping change has not been completed, it moves the process to step S1309. For example, the read processing unit 431 checks the mapping change progress information 724 in the chunk group management table 720 in the node 100, and if "access destination LBA<progress information", it judges that the mapping change has been completed.

[0127] In step S1308, the read processing unit 431 determines the redundancy destination node 100 (redundancy destination node) that stores the parity of the data of the read request from the changed mapping information (new mapping information). Note that in the following description, it is assumed that the node 100 that stores the parity of the data of the read request is determined as the redundancy destination node 100.

[0128] In step S1309, the read processing unit 431 determines the redundancy destination node 100 from the mapping information before the change (old mapping information).

[0129] In step S1310, the read processing unit 431 determines the redundancy destination node 100 from the current mapping information.

[0130] In step S1311, the read processing unit 431 transmits a request for restoring data (data restoration request) to the determined redundancy destination node 100.

[0131] In step S1312, the read processing unit 431 of the redundancy destination node 100 (redundancy destination read processing unit) performs exclusive acquisition.

[0132] In step S1313, the redundancy destination read processing unit transmits a read request for the data required for recovery. Although not shown in the figure, communication between the nodes 100 is generated here, and the data required for recovery is read from another node 100 having data that forms the same stripe as the data required for recovery.

[0133] In step S1314, the redundancy destination read processing section reads out the parity required for recovery.

[0134] In step S1315, the redundancy destination read processor receives the data necessary for recovery.

[0135] In step S1316, the redundancy destination read processing section recovers the failed data from the data and parity.

[0136] In step S1317, the redundancy destination read processing section transmits the restored data.

[0137] In step S1318, the redundancy destination read processing section releases the exclusion.

[0138] In step S1319, the read processing unit 431 receives the restored data.

[0139] In step S1320, the read processing unit 431 reads data from the drive 213 (local drive) of the own node 100.

[0140] In step S1320, the read processing unit 431 performs exclusive release and ends the read processing.

[0141] Fig. 14 is a diagram showing an example of a flowchart related to write processing. In write processing, upon receiving a write request from the application 311, data is written to the drive 213 of the own node 100, and redundant data (parity) is further written to the drive 213 of the other node 100. During mapping change, the redundancy destination is determined after determining whether it is the new side or the old side. Details will be explained below.

[0142] In step S1401, the write processing unit 432 determines whether or not a page 307 for the data of the write request is unallocated in the storage pool 305. If the write processing unit 432 determines that the page 307 is unallocated, the process proceeds to step S1402, and if the write processing unit 432 determines that the page 307 is not unallocated, the process proceeds to step S1403.

[0143] In step S1402, the write processing unit 432 allocates a page 307 to a volume 304 (local volume) to which the physical chunk 301 of the drive 213 of the local node 100 is associated.

[0144] In step S1403, the write processing unit 432 acquires the address of the allocation destination.

[0145] In step S1404, the write processing unit 432 performs exclusive acquisition.

[0146] In step S1405, the write processing unit 432 reads the data before writing (old data) (more specifically, performs the read process shown in FIG. 13 on the old data).

[0147] In step S1406, the write processing unit 432 generates intermediate data. Intermediate data is temporary data created when partially updating data, and is data that indicates the difference between the old and new data. For example, when the stripe of the old data is "A1-A2-AP", the intermediate data is obtained as follows. AP (old parity) = A1 (old data) XOR A2 (old data) A1(new data) XOR A1(old data) = M(intermediate data) The new parity is calculated as follows. AP (old parity) XOR M (intermediate data) = AP (new parity)

[0148] In step S1407, the write processing unit 432 judges whether or not the mapping is being changed. If the write processing unit 432 judges that the mapping is being changed, the process proceeds to step S1408, and if the write processing unit 432 judges that the mapping is not being changed, the process proceeds to step S1411. Note that the method of judgment is the same as that in step S1306, and therefore description thereof will be omitted.

[0149] In step S1408, the write processing unit 432 judges whether or not the mapping change has been completed for the data of the write request. If the write processing unit 432 judges that the mapping change has been completed, the process proceeds to step S1409, and if the write processing unit 432 judges that the mapping change has not been completed, the process proceeds to step S1410. Note that the method of judgment is the same as that of step S1307, and therefore the explanation will be omitted.

[0150] In step S1409, the write processing unit 432 determines the redundancy destination node 100 from the new mapping information. In the following description, it is assumed that the node 100 that stores the parity of the data of the write request is determined as the redundancy destination node 100.

[0151] In step S1410, the write processing unit 432 determines the redundancy destination node 100 from the old mapping information.

[0152] In step S1411, the write processing unit 432 determines the redundancy destination node 100 from the current mapping information.

[0153] In step S1412, the write processing unit 432 transmits the intermediate data to the determined redundancy destination node 100. The write processing unit 432 transfers the intermediate data according to the redundancy (if the redundancy is 2 or more, to two or more nodes 100).

[0154] In step S1413, the write processing unit 432 of the redundancy destination node 100 (redundancy destination write processing unit) receives the intermediate data.

[0155] In step S1414, the redundancy destination write processing section performs exclusive acquisition.

[0156] In step S1415, the redundancy destination write processing section reads the old parity from the drive 213 (local drive) of its own node 100.

[0157] In step S1416, the redundancy destination write processing section calculates new parity from the intermediate data and the old parity.

[0158] In step S1417, the redundancy destination write processing section writes the new parity to the local drive.

[0159] In step S1418, the redundancy destination write processing section performs exclusive release.

[0160] In step S1419, the write processing unit 432 writes the data of the write request (new data) to the local drive.

[0161] In step S1420, the write processing unit 432 receives a write response from the redundancy destination node 100.

[0162] In step S1421, the write processing unit 432 performs exclusive release and ends the write processing.

[0163] 15 is a diagram showing an example of a flowchart related to a storage pool expansion process (logical chunk allocation process). In the storage pool expansion process, when the depletion threshold of the storage pool 305 is reached, the logical chunks 303 are allocated to the storage pool 305 and the pool size is expanded. The storage pool expansion process may be executed periodically, or may be executed after each write process. Note that it is preferable to determine the groups to be converted into logical chunks so that the load and capacity usage among the nodes 100 are equalized.

[0164] In step S1501, the logical chunk allocation processing unit 422 checks the storage pool information table 610 of the storage pool configuration management table 412, and determines whether or not the consumed capacity 613 relative to the total capacity 612 exceeds the depletion threshold 614 (pool depletion threshold) of the storage pool 305. If the logical chunk allocation processing unit 422 determines that the capacity is exceeded, it proceeds to step S1502, and if it determines that the capacity is not exceeded, it terminates the storage pool expansion processing.

[0165] In step S1502, the logical chunk allocation processing unit 422 determines whether or not it is possible to carve out a logical chunk 303 from a physical chunk 301 in the drive 213 of its own node 100 (logical chunking from the capacity of its own node). If the logical chunk allocation processing unit 422 determines that it is possible, it proceeds to step S1503, and if it determines that it is not possible, it proceeds to step S1504. For example, the logical chunk allocation processing unit 422 determines that it is possible if the free physical chunk list 830 of the node 100 to which capacity is to be allocated is not empty.

[0166] In step S1503, the logical chunk allocation processing unit 422 performs logical chunking based on the capacity of the own node. For example, the logical chunk allocation processing unit 422 first acquires the physical chunk 301 from the free physical chunk list 830 of the own node, and registers it in the unallocated offset of the intra-node chunk offset management table 820 of the own node. Next, the logical chunk allocation processing unit 422 refers to the chunk group mapping information from the intra-node offset of the allocated own node, and identifies the node number and offset of the other node that constitutes the chunk group. Next, the logical chunk allocation processing unit 422 acquires the physical chunk 301 from the free physical chunk list 830 of the identified other node, and registers it in the identified intra-node chunk offset management table 820. Next, the logical chunk allocation processing unit 422 registers the chunk group information and the logical chunk information in the chunk configuration management table 413.

[0167] In step S1504, the logical chunk allocation processing unit 422 selects the other node 100 (other system node) with the least consumed capacity.

[0168] In step S1505, the logical chunk allocation processing unit 422 determines whether or not logical chunking is possible based on the capacity of the other system node. If the logical chunk allocation processing unit 422 determines that logical chunking is possible, it proceeds to step S1506, and if it determines that logical chunking is not possible, it proceeds to step S1507.

[0169] In step S1506, the logical chunk allocation processing unit 422 performs logical chunking based on the capacity of the selected other system node, and moves the process to step S1509. The process of creating a logical chunk using the capacity of the other system node is omitted because it is simply a matter of replacing the own system node in the procedure described in step S1503 with the other system node.

[0170] In step S1507, the logical chunk allocation processing unit 422 judges whether or not it has checked all the nodes 100 (whether or not it has been checked). If it is judged that it has been checked, the logical chunk allocation processing unit 422 moves the process to step S1510, and if it is judged that it has not been checked, the process moves to step S1508.

[0171] In step S1508, the logical chunk allocation processing unit 422 selects the other node having the next least consumed capacity, and moves the process to step S1505.

[0172] In step S1509, the logical chunk allocation processing module 422 allocates the logical chunk 303 to the storage pool 305, and ends the storage pool expansion process.

[0173] In step S1510, the logical chunk allocation processing unit 422 determines that allocation is not possible (allocation not possible), and ends the storage pool expansion process.

[0174] By dynamically allocating logical chunks 303 when a storage pool 305 exhaustion threshold is reached, transfer costs between nodes 100 can be reduced when mappings are changed.

[0175] FIG. 16 is a diagram showing an example of a flowchart related to the configuration change process. In the configuration change process, a mapping change request is issued to each node 100 on a frame-by-frame basis based on a configuration change instruction. The configuration change process is executed in the management program 101. The process may be executed periodically or when an operation is received from a user. In addition, in the event of a node failure or drive failure that is equal to or less than the redundancy (p), the change process is continued (rolled forward), and then the failed part is replaced to return to a normal state. In the event of a failure that is equal to or greater than the redundancy, the change process is stopped. The failed part is accessed by collection access and the mapping change process is continued.

[0176] In step S1601, the expansion / reduction management processing unit 421 determines whether or not an instruction to expand or reduce the drive 213 (drive expansion / reduction instruction) has been received. If the expansion / reduction management processing unit 421 determines that the instruction has been received, the process proceeds to step S1602, and if the expansion / reduction management processing unit 421 determines that the instruction has not been received, the process proceeds to step S1603.

[0177] In step S1602, the expansion / reduction management processor 421 recalculates the intra-node chunk offset management table 820. In the case of expansion / reduction of the drive 213, the expansion / reduction management processor 421 changes the configuration by changing the physical chunk 301 assigned to the chunk offset in the node 100 and moving (data movement) the data and parity in the node 100 between the drives 213. At this time, for example, the expansion / reduction management processor 421 may change the allocation and move the data so that the capacity of each drive 213 is equalized, or may change the allocation and move the data so that the IO load of each drive 213 is equalized. Note that in the case of expansion of the drive 213, the expansion / reduction management processor 421 may add it to the free physical chunk list 830 without changing the allocation in the intra-node chunk offset management table 820.

[0178] In step S1603, the expansion / reduction management processing unit 421 judges whether or not an instruction (node ​​expansion / reduction instruction) to expand or reduce the node 100 has been received. If the expansion / reduction management processing unit 421 judges that the instruction has been received, the process proceeds to step S1604, and if the expansion / reduction management processing unit 421 judges that the instruction has not been received, the process proceeds to step S1605.

[0179] In step S1604, the expansion / reduction management processing unit 421 recalculates the arrangement information, and proceeds to step S1606. For example, the expansion / reduction management processing unit 421 generates new arrangement information (for example, the chunk mapping management table 414 and the chunk group intra-mapping management table 415) for changing stripes in response to a change in configuration so as not to move data to other nodes 100. The recalculated arrangement information is transmitted to each node 100 at an appropriate timing.

[0180] In step S1605, the expansion / reduction management processing unit 421 judges whether or not an instruction to expand or reduce the site 210 (site expansion / reduction instruction) has been received. If the expansion / reduction management processing unit 421 judges that the instruction has been received, the process proceeds to step S1604, and if the expansion / reduction management processing unit 421 judges that the instruction has not been received, the process proceeds to step S1601.

[0181] In step S1606, the increase / decrease management processing unit 421 sets the leading frame as the frame for which mapping is to be changed.

[0182] In step S1607, the expansion / reduction management processing unit 421 determines whether or not the logical chunk 303 in the frame has been allocated to the storage pool 305. If the expansion / reduction management processing unit 421 determines that the logical chunk 303 has been allocated, it proceeds to step S1608, and if it determines that the logical chunk 303 has not been allocated, it proceeds to step S1610.

[0183] In this way, by targeting only the area allocated to the storage pool 305, the transfer cost between the nodes 100 when changing the configuration can be reduced.

[0184] In step S1608, the increase / decrease management processing unit 421 performs a mapping change process. In the mapping change process, a mapping change request is transmitted to each node 100. The mapping change process will be described later with reference to FIGS.

[0185] In step S 1609 , the increase / decrease management processing section 421 reflects the new chunk group mapping information 810 in the chunk configuration management table 413 .

[0186] In step S1610, the expansion / reduction management processing unit 421 determines whether the processing has been completed for all frames. If the expansion / reduction management processing unit 421 determines that the processing has been completed, the process proceeds to step S1601, and if the expansion / reduction management processing unit 421 determines that the processing has not been completed, the process proceeds to step S1611.

[0187] In step S1611, the increase / decrease management processing unit 421 advances the frame that is the target of the mapping change to the next frame, and moves the process to step S1607.

[0188] Fig. 17 is a diagram showing an example of a flowchart related to mapping change processing. In the mapping change processing, a case where execution is performed for one chunk when an instruction to add a node 100 is received will be described as an example. The processing on the management program 101 side is called as an extension of the configuration change processing, and the processing on the storage control program 102 side is executed by the storage control unit 430 on each node 100. Note that the mapping change processing shown in Fig. 17 illustrates processing in the optimized method shown in Fig. 12.

[0189] In step S1701, the expansion / reduction management processing section 421 of the management program 101 transmits a request to clear the physical area to zero to the node 100 to be expanded.

[0190] In step S1702, the mapping change processing unit 433 of the node 100 that has received the 0 clear request clears the physical area to be added to 0. Here, the 0 clearing of the physical area (setting to 0 data) may be performed by actually writing "0" or by managing the state of "0" as a bit.

[0191] In step S1703, the expansion / reduction management processing unit 421 receives the completion response.

[0192] In step S1704, the increase / decrease management processing unit 421 refers to the old and new arrangement information, and identifies the node IDs and intra-node offsets of the source physical chunk 301 (source chunk) and the destination physical chunk 301 (destination chunk).

[0193] For example, in the example shown in Fig. 10, by referring to the arrangement information before and after the mapping change, it is determined that the arrangements of group 0 (G0), group 1 (G1), and group 2 (G2) have been changed. Also, in the example shown in Fig. 23 described below, it is determined that the arrangements of group 1 (G1), group 2 (G2), and group 3 (G3) have been changed. In the example shown in Fig. 23, the arrangement of group 0 (G0) has not been changed, so it is excluded from the physical chunks to be moved.

[0194] In step S1705, the expansion / reduction management processing unit 421 transmits a migration request for migrating parity from the source chunk to the destination chunk to the node 100 of the source chunk. In this mapping change process, the issuance location is shown as one node 100, but in this case, transmission (issuance) is performed to all nodes 100 to be changed within one frame. Note that if parity migration is not required, the process of step S1705 is skipped.

[0195] In step S 1706 , the mapping change processor 433 of the node 100 that received the parity movement request initializes the mapping change progress information 724 .

[0196] In step S1707, the mapping change processing unit 433 performs exclusive acquisition.

[0197] In step S1708, the mapping change processing unit 433 reads the parity of the source chunk.

[0198] In step S1709, the mapping change processor 433 sends a parity write request to the storage control program 102 of the destination chunk.

[0199] In step S1710, the mapping change processing unit 433 receives the response.

[0200] In step S1711, the mapping change processing unit 433 sets the parity of the read source chunk to "0" (clears the source chunk to 0).

[0201] In step S1712, the mapping change processor 433 determines whether or not the process has been completed for all areas in the physical chunk 301. If the mapping change processor 433 determines that the process has been completed, the process of step S1715 is performed, and if the mapping change processor 433 determines that the process has not been completed, the process proceeds to step S1713.

[0202] In step S 1713 , the mapping change processing unit 433 updates the mapping change progress information 724 .

[0203] In step S1714, the mapping change processing unit 433 releases the exclusive access, and the process proceeds to step S1707.

[0204] In step S1715, the expansion / reduction management processing unit 421 receives the completion response.

[0205] In step S1716, the expansion / reduction management processing unit 421 transmits an update request to update the parity of the data of the source chunk. In this mapping change process, the issuing point is one node 100, but in this case, the request is transmitted (issued) to all nodes 100 that are the subject of the change within one frame. Note that if the parity does not need to be updated, the process of step S1716 is skipped.

[0206] In step S1717, the mapping change processor 433 of the node 100 that has received the parity update request performs data redundancy destination change processing, which will be described later with reference to FIG.

[0207] In step S1718, the expansion / reduction management processing section 421 receives the completion response.

[0208] In step S1719, the expansion / reduction management processor 421 determines whether or not the processing has been completed for all of the identified source chunks. If the expansion / reduction management processor 421 determines that the processing has been completed, it ends the mapping change processing, and if it determines that the processing has not been completed, it proceeds to step S1720.

[0209] In step S1720, the increase / decrease management processing section 421 sets the next source chunk (and destination chunk), and moves the process to step S1705.

[0210] 18 is a diagram showing an example of a flowchart related to the data redundancy destination change process. In the data redundancy destination change process, the parity of the redundancy destination is changed without moving the data. More specifically, data is transferred to a new redundancy destination and new parity is generated, and data is transferred to an old redundancy destination and the relationship with the old parity is released, and the parity is recalculated.

[0211] In step S 1801 , the mapping change processing unit 433 initializes the mapping change progress information 724 .

[0212] In step S1802, the mapping change processing unit 433 performs exclusive acquisition.

[0213] In step S1803, the mapping change processing unit 433 reads data (data for generating new parity in the destination chunk, or data for updating the parity of the destination chunk) from the local drive (drive 213 of its own node 100).

[0214] In step S1804, the mapping change processing unit 433 determines the new redundancy destination node 100 (new redundancy destination node) from the new mapping information.

[0215] In step S1805, the mapping change processing unit 433 transfers the data to the new redundancy destination node. If the redundancy is 2 or more, the data is transferred to two or more nodes 100. In addition, the node 100 that received the data updates the parity using the same process as the write process, and returns (responds) to the effect that the update has been completed.

[0216] In step S1806, the mapping change processing unit 433 receives the response.

[0217] If the parity of a new stripe is not being generated (for example, in the example shown in FIG. 12, when the node 100 of the source chunk is node 100-2 and the node 100-1 of the destination chunk), steps S1804 to S1806 may be skipped.

[0218] In step S1807, the mapping change processing unit 433 determines the node 100 (old redundancy destination node) that was the redundancy destination before the change from the old mapping information.

[0219] In step S1808, the mapping change processing unit 433 transfers the data to the old redundancy destination node. The node 100 that received the data updates the parity using the same process as the write process, and returns (responds) to the effect that the update has been completed.

[0220] In step S1809, the mapping change processing unit 433 receives the response.

[0221] Furthermore, if the parity of the changed stripe is not updated (for example, in the example shown in FIG. 12, when the node 100 of the source chunk is node 100-2 and the node 100-0 of the destination chunk), steps S1807 to S1809 may be skipped.

[0222] In step S1810, the mapping change processing unit 433 releases the exclusion.

[0223] In step S1811, the mapping change processor 433 determines whether or not the process has been completed for all areas in the physical chunk 301. If the mapping change processor 433 determines that the process has been completed, it ends the data redundancy destination change process, and if it determines that the process has not been completed, it proceeds to step S1812.

[0224] In step S1812, the mapping change processing unit 433 updates the mapping change progress information 724, and the process proceeds to step S1802.

[0225] According to this embodiment, for example, nodes can be added without affecting the performance of existing volumes before and after a configuration change. Also, for example, even in an EC that maintains data locality, data locality is maintained before, during, and after a configuration change, so storage performance does not decrease.

[0226] (2) Second embodiment In this embodiment, the fact that there are two parities will be described. In this embodiment, the same points as in the first embodiment will be omitted as appropriate, and the different points will be mainly described. In the following, the case where the data protection policy is 2D2P will be described as an example.

[0227] FIG. 19 is an image diagram showing a characteristic configuration of a mapping change (outline of an operation within a frame).

[0228] When there are two parities, the main processing for changing the mapping is basically the same as when there is one parity. <Process A> A portion of the parity of the existing nodes 100 is reconstructed (moved or recalculated) to the added node 100. <Process B> Generate parity for the new stripe. <Process C> Parity is generated for stripes where the data combination changes in existing stripes.

[0229] In this example, the process A is shown as image 1910, the process B is shown as image 1920, the process C is shown as image 1930, and the result after the mapping change is shown as image 1940. In this example, "A1-A2-AP-AQ", "B1-B2-BP-BQ", "C1-C2-CP-CQ", and "D1-D2-DP-DQ" indicate existing stripes, and "E1-E2-EP-EQ" indicates a new stripe. Note that "AP, BP, CP, DP, EP" are the first parity calculated by simple exclusive OR, whereas "AQ, BQ, CQ, DQ, EQ" mean the second parity calculated using an algorithm such as Cauchy-Reed-Solomon. Even if the redundancy becomes 3 or more, the third and fourth parities can be calculated using an algorithm such as Cauchy-Reed-Solomon. For algorithms such as Cauchy-Reed-Solomon, parity is calculated using exclusive OR (XOR). Therefore, in the following explanation, we will not mention the details of the code calculation method, but will simply refer to it as exclusive OR.

[0230] In this example, it is assumed that mapping information is generated with the stripes shown in image 1940. In addition, since the data protection policy is 2D2P, it is preferable that the mapping information is generated so that data:parity=2:2 is arranged in each node 100.

[0231] In image 1910, storage system 1 reconstructs "CP" and "BQ" parity 1911 of existing "node 0" to added "node 4" based on image 1940, because "node 0" requires an area to store "EP" parity. Also, storage system 1 reconstructs "DP" and "CQ" parity 1912 of "node 1" to free space in "node 0", because "node 1" requires an area to store "EQ" parity.

[0232] In image 1920, the storage system 1 calculates exclusive OR 1923 between "E1" data 1921 (stored is the "D1" data constituting the existing stripe) and "E2" data 1922 constituting a new stripe in the "DP" segment after the movement based on image 1940, and generates and stores "EP" parity 1924. Also, the storage system 1 calculates exclusive OR 1925 between "E1" data 1921 and "E2" data 1922 constituting a new stripe in the "EQ" segment based on image 1940, and generates "EQ" parity 1926.

[0233] In image 1930, the storage system 1 calculates, based on image 1940, an exclusive OR 1933 between "D1" data 1931 and "D2" data 1932 constituting the changed stripe for stripe "D1-D2-DP-DQ" in which the data combination is changed in an existing stripe, and generates changed "DP" parity 1934. The storage system 1 also calculates an exclusive OR 1935 between "D1" data 1931 and "D2" data 1932 constituting the changed stripe, and generates changed "DQ" parity 1936.

[0234] Image 1940 shows that the stripes have been rearranged by calculating parity without moving any data.

[0235] As described in the first embodiment with reference to FIG. 12, data transfer between the nodes 100 may be optimized.

[0236] According to this embodiment, even in a data protection policy with two parities, for example, it is possible to add nodes without affecting the performance of existing volumes before and after a change in configuration.

[0237] (3) Third embodiment This embodiment differs from the first embodiment mainly in that data is encoded and parity is generated and stored between the encoded data and the data of the write request in order to reduce the amount of data transferred over the network. In this embodiment, the same points as in the first embodiment will be omitted as appropriate, and the differences will be mainly described. In the following, an example will be described in which the data protection policy is MEC (Multi-stage Erasure Coding). Note that MEC is disclosed in International Publication No. 2016 / 052665, and may be incorporated as necessary.

[0238] Fig. 20 is a conceptual diagram showing an overview of MEC, in which an encoding process image 2010 and a decoding process image 2020 are shown.

[0239] As shown in the encoding process image 2010, for example, in node 100-3, "A1" data 2011 written in node 100-0 is transferred from node 100-0. Also, "A2" data 2012 written in node 100-1 is transferred from node 100-1. Also, "A3" data 2015 obtained by performing primary encoding (e.g., XOR operation) on "B2" data 2013 and "C1" data 2014 written in node 100-2 is transferred from node 100-2.

[0240] In the node 100-3, the transferred "A1" data 2011, "A2" data 2012, and "A3" data 2015 are used to perform secondary encoding (e.g., XOR operation) to generate "AP" parity 2016, and are then secondary encoded (e.g., Galois operation) to generate "AQ" parity 2017. Regarding parity update, if the data is not complete, intermediate data calculated by XORing the old data is transferred, and the parity is updated by a RMW (Read Modify Write) operation. Furthermore, the data may be cached in the memory 212, drive 213, etc. until all the data is complete.

[0241] As shown in the decryption process image 2020, for example, if a failure occurs in node 100-0 and node 100-3, "A1" 2011 of node 100-0 is restored from the data and parity of node 100-1 and node 100-2.

[0242] More specifically, node 100-1 decrypts the stored "B1" data 2021 and "A2" data 2022 to generate "D3" data 2023 and transfers it to node 100-2. Node 100-1 generates "C3" data 2027 using "CP" parity 2024, "CQ" parity 2025, and "C1" data 2026 transferred from node 100-2, and transfers it to node 100-0.

[0243] Furthermore, the node 100-2 generates "D2" data 2030 using the "DP" parity 2028, the "DQ" parity 2029, and the "D3" data 2023 transferred from the node 100-1, and transfers it to the node 100-0.

[0244] Moreover, in node 100-0, the transferred “C3” data 2023 and “D2” data 2030 are used to restore the “A1” data 2011.

[0245] In addition, in the data protection policy of mDnP, EC requires the transfer of m×n data, but MEC allows the transfer of m+n-1 data by performing primary encoding, thereby reducing the amount of data transferred.

[0246] FIG. 21 is an image diagram showing a characteristic configuration of a mapping change (outline of an operation within a frame).

[0247] When the data protection policy is MEC, the main process of changing the mapping is basically the same as when it is EC. <Process A> A portion of the parity of the existing nodes 100 is reconstructed (moved or recalculated) to the added node 100. <Process B> Generate parity for the new stripe. <Process C> Parity is generated for stripes where the data combination changes in existing stripes.

[0248] In this example, process A is shown as image 2110, process B is shown as image 2120, and process C is shown as images 2130 and 2140, and the image after the mapping change is also shown as image 2140. In this example, "A1-A2-A3-AP-AQ", "B1-B2-B3-BP-BQ", "C1-C2-C3-CP-CQ", and "D1-D2-D3-DP-DQ" indicate existing stripes, and "E1-E2-E3-EP-EQ" indicates a new stripe.

[0249] In this example, it is assumed that mapping information has been generated for the stripes shown in image 2140. In addition, since the data protection policy is MEC (2D2P), it is preferable that the mapping information is generated so that data:parity=2:2 is arranged in each node 100. Note that the data of "A3" is virtual data that does not exist on the node 100, and when accessing it, the data of "A1" and the data of "D2" are read and calculated by XOR. Note that the same applies to "B3", "C3", "D3", and "E3".

[0250] In image 2110, storage system 1 reconstructs parity 2111 of "BP" and "BQ" of existing "node 0" to added "node 4" based on image 2140. Also, because "node 1" requires an area to store parity of "EP" and "EQ", storage system 1 reconstructs parity 2112 of "CP" and "CQ" of "node 1" to "node 0" as free area.

[0251] In image 2120, storage system 1, based on image 2140, performs secondary encoding 2124 on the "CP" and "CQ" segments before the move using "E1" data 2121 (note that what is stored is the "D1" data that constitutes the existing stripe), "E2" data 2122, and "E3" data 2123 (note that this is obtained by primary encoding of "A1" data and "D2" data), to generate and store parity 2125 for "EP" and "EQ."

[0252] In image 2130, storage system 1, based on image 2140, performs secondary encoding 2134 on stripe "D1-D2-D3-DP-DQ", an existing stripe in which the data combination is changed, using data 2131 of "D1", data 2132 of "D2", and data 2133 of "D3" (obtained by primary encoding of data "B1" and data "A2") that make up the changed stripe, to generate parity 2135 of the changed "DP" and "DQ".

[0253] In image 2140, storage system 1 uses image 2140 to perform secondary encoding 2144 on stripe "C1-C2-C3-CP-CQ", an existing stripe in which the data combination is changed, using data 2141 of "C1", data 2142 of "C2", and data 2143 of "C3" (obtained by primary encoding of data "D1" and data "E2") that make up the changed stripe, to generate parity 2145 of changed "CP" and "CQ".

[0254] Image 2140 also shows that the parity has been calculated and the stripes rearranged without moving any data.

[0255] According to this embodiment, even if the data protection policy is MEC, for example, it is possible to add nodes without affecting the performance of existing volumes before and after a change in configuration.

[0256] (4) Fourth embodiment In this embodiment, the point where the node 100 is removed will be described. In this embodiment, the explanation of the same points as in the first embodiment will be omitted as appropriate, and the different points will be mainly described. In the following, the case where the data protection policy is 2D1P will be described as an example.

[0257] FIG. 22 is an image diagram showing a characteristic configuration of a mapping change (outline of an operation within a frame).

[0258] When a node is removed, the main process of the mapping change is as follows: <Process A> The data of the node 100 to be removed is moved to another node 100 in advance. <Process B> Parity is generated for stripes where the data combination changes in existing stripes. <Process C> The parity of the node 300 to be removed is reconstructed.

[0259] In this example, process A is shown as image 2210, process B is shown as image 2220, and process C is shown as image 2230, and the image after the mapping change is also shown as image 2230. In this example, "A1-A2-AP", "B1-B2-BP", "C1-C2-CP", and "D1-D2-DP" indicate existing stripes, and "D1-D2-DP" indicates a stripe to be removed.

[0260] In image 2210, based on image 2230, storage system 1 performs migration of data 2211 of "C1" and data 2212 of "D1" of node 100-3 to be removed on host node 300 (application program side), and converts data 2211 of "C1" and data 2212 of "D1" into unnecessary data (e.g., clearing them to 0).

[0261] In image 2220, based on image 2230, storage system 1 calculates exclusive OR 2223 of data 2221 of "C1" and data 2222 of "C2" that constitute the changed stripe for stripe "C1-C2-CP" in which the data combination in the existing stripe is changed, and generates parity 2224 of the changed "CP".

[0262] In image 2230, the storage system 1 calculates exclusive OR 2233 between data 2231 of "B1" and data 2232 of "B2" constituting the stripe "B1-B2-BP" including "BP" of the "node 3" to be removed, in "DP" storing the parity of the stripe to be removed, based on image 2230, and generates parity 2234 of "BP". Note that parity 2234 of "BP" may be reconstructed by movement instead of generation. Note that the parity of the node 100 to be removed may be made unnecessary data (for example, cleared to 0).

[0263] According to this embodiment, for example, it is possible to remove nodes before and after a configuration change without affecting the performance of existing volumes.

[0264] (5) Fifth embodiment This embodiment differs from the first embodiment mainly in that when a node 100 is added, a new chunk group 302 is added instead of applying an existing chunk group 302. In this embodiment, the same points as in the first embodiment will be omitted as appropriate, and the different points will be mainly described.

[0265] 23 is an image diagram showing an overview of mapping change. Here, as shown in the chunk mapping management information 2310 and the chunk mapping management information 2320, a case in which a node 100 (node ​​100-3) of "N3" is added will be described as an example.

[0266] As shown in the chunk mapping management information 2320, a new chunk group 302, “G3”, has been added.

[0267] In this storage system 1, offsets within node 100 are used starting from the highest offset, so mapping is changed using the lowest unused offset. After switching the mapping of the unused offset, data is copied from the area of ​​the physical chunk 301 at the same position within the frame of the highest offset. Parity is calculated and constructed when the data is copied. This data movement is within node 100, so data locality is not lost.

[0268] For example, when data 2331 of a source chunk constituting chunk group 302 of "G0" is copied to a destination chunk, the data 2331 is transferred to other nodes 100 (node ​​100-1, node 100-2) constituting chunk group 302 of "G0". Node 100-1 which receives the data 2331 calculates and stores new parity 2333 using the transferred data 2331 and old parity 2332. Also, node 100-2 which receives the data 2331 calculates and stores new parity 2335 using the transferred data 2331 and old parity 2334.

[0269] In the above-mentioned data migration, the storage pool 305 is not aware of the data migration before and after the data migration.

[0270] FIG. 24 is a diagram illustrating an example of a flowchart relating to the mapping change process.

[0271] In step S2401, the expansion / reduction management processing unit 421 sets the current frame as the source frame, and sets the next offset frame as the destination frame.

[0272] In step S2402, the increase / decrease management processing section 421 sets the source chunk from the source frame.

[0273] In step S2403, the expansion / reduction management processing unit 421 sets the physical chunk 301 having the same relative position in the destination frame as the source physical chunk 301 (source chunk) as the destination physical chunk 301 (destination chunk).

[0274] In step S2404, the increase / decrease management processing unit 421 transmits a request (a transfer request) to transfer the parity from the transfer source chunk to the transfer destination chunk to the node 100 having the transfer source chunk.

[0275] In step S 2405 , the mapping change processing unit 433 of the node 100 that received the movement request initializes the mapping change progress information 724 .

[0276] In step S2406, the mapping change processing unit 433 performs exclusive acquisition.

[0277] In step S2407, the mapping change processing unit 433 reads the data of the source chunk.

[0278] In step S2408, the mapping change processing unit 433 writes data to the destination chunk. The mapping change processing unit 433 performs the write process shown in Fig. 14, similar to the write process of the host node 300. At this time, the write processing unit 432 writes data with attributes indicating that the mapping is being changed and that the write destination has been changed.

[0279] In step S2409, the mapping change processing unit 433 determines whether or not the processing has been completed for all areas in the physical chunk 301. If the mapping change processing unit 433 determines that the processing has been completed, the processing of step S2412 is performed, and if the mapping change processing unit 433 determines that the processing has not been completed, the processing proceeds to step S2410.

[0280] In step S 2410 , the mapping change processing unit 433 updates the mapping change progress information 724 .

[0281] In step S2411, the mapping change processing unit 433 releases the exclusive access, and the process proceeds to step S2406.

[0282] In step S2412, the expansion / reduction management processing section 421 receives the response completion.

[0283] In step S2413, the expansion / reduction management processing unit 421 determines whether or not the processing has been completed for all physical chunks 301 in the frame. If the expansion / reduction management processing unit 421 determines that the processing has been completed, it sets the current frame to the frame of the previous offset, and repeats the processing of S2401 to S2414 for all offsets. If the expansion / reduction management processing unit 421 determines that the processing has not been completed, it moves the processing to step S2414.

[0284] In step S2414, the increase / decrease management processing section 421 sets the next source chunk, and moves the process to step S2403.

[0285] According to this embodiment, even when adding a chunk group, for example, it is possible to add nodes without affecting the performance of existing volumes before and after changing the configuration.

[0286] (6) Other embodiments In the above embodiment, the present invention is described as being applied to a storage system, but the present invention is not limited to this and can be widely applied to various other systems, devices, methods, and programs.

[0287] Furthermore, in the above-described embodiments, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table.

[0288] In addition, in the above embodiment, for convenience of explanation, various data are explained using XX tables, but the data structure is not limited thereto, and may be expressed as XX information, etc.

[0289] In addition, in the above description, information such as programs, tables, files, etc. that realize each function can be placed in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or in a recording medium such as an IC card, an SD card, or a DVD.

[0290] The present invention may also have the following characteristic configurations.

[0291] For example, a storage system (e.g., storage system 1) including a plurality of nodes (e.g., node 100), the nodes being targets of data write and read requests, forming stripes with a plurality of data stored in different nodes and parity generated based on this plurality of data, storing the parity of the stripe to which the data of the write request belongs in a node different from the plurality of nodes storing the plurality of data to achieve redundancy (mDnP EC, mDnP MEC, etc.), and a management unit (e.g., management program 101) transmitting an arrangement change request (e.g., a mapping change request) to the nodes to move the parity between nodes and reconfigure the stripe when the node configuration is changed (addition or reduction of node 100, addition or reduction of site 210, etc.).

[0292] According to the above-mentioned configuration, for example, it is possible to change the configuration by calculating the parity of the stripes rearranged in response to the change in configuration.

[0293] Also, for example, the node is characterized in that it stores data related to the received write request in a volume of the node itself.

[0294] Also, for example, the above-mentioned rearrangement request is characterized in that the above-mentioned data is not moved between nodes.

[0295] According to the above-described configuration, for example, it is possible to change the configuration by calculating the parity of the stripes rearranged in response to the change in configuration without moving data to another node.

[0296] Also, for example, the node stores data related to the received write request and data stored in multiple other nodes and parity forming a stripe, and the change in configuration is a change to add a node, and the request for change in placement causes the parity stored in any of the nodes to be moved into the added node, and a stripe is formed using the data in the added node and the data and parity stored in the existing nodes.

[0297] According to the above-mentioned configuration, for example, each node can share parity.

[0298] Also, for example, the stripe to which the parity is moved (for example, B1-B2-BP) and the newly formed stripe (for example, D1-D2-DP) are different stripes.

[0299] Also, for example, the reconstruction of the above stripe is characterized in that the data in the added node is treated as specified data (note that in the above embodiment, an example was given in which the data is all "0", but it may also be all "1") and parity is calculated in addition to the above stripe.

[0300] According to the above-mentioned configuration, for example, since there is no need to transfer data within the added node, the amount of data transferred between nodes can be reduced.

[0301] In addition, for example, the parity of the newly formed stripe is stored in the node that had stored the parity moved to the added node.

[0302] In addition, for example, a redundancy group (e.g., chunk group 302) is constructed including physical areas (e.g., physical chunk 301) of multiple nodes, and a logical area (e.g., logical chunk 303) logically extracted from the constructed redundancy group is allocated as a storage pool (e.g., storage pool 305), and the management unit sends the allocation change request when the physical area linked to the logical area allocated to the storage pool is to be processed (see, for example, steps S1607 and S1608).

[0303] According to the above-mentioned configuration, for example, by excluding physical chunks that are not allocated to a storage pool from the processing target, it is possible to reduce the cost of transferring data between nodes when changing mapping.

[0304] Also, for example, the management unit transmits the request with one or a plurality of redundancy groups as a processing unit (for example, a frame).

[0305] According to the above-mentioned configuration, for example, one or a plurality of redundancy groups can be collectively processed as a frame unit, so that the communication cost between the management unit and the node can be reduced.

[0306] Furthermore, for example, when the data protection policy is set as mDnP, the management unit is characterized in that it generates placement information (chunk group mapping information, mapping information, etc.) so that the ratio of the number of data to be placed on each node is m and the number of parities is n.

[0307] According to the above-mentioned configuration, for example, it is possible to avoid a situation in which parity is unevenly stored in one node, resulting in a high load on that node.

[0308] Also, for example, the node that receives the request compares the arrangement information before the configuration change with the arrangement information after the configuration change, and transmits the arrangement change request so that parity is calculated for the area where the parity arrangement has been changed (for example, physical chunk 301) (for example, see steps S1704 and S1705).

[0309] According to the above-mentioned configuration, for example, by excluding physical areas that do not require parity calculation from the processing target, it is possible to reduce the cost of transferring data between nodes when changing mapping.

[0310] Also, for example, when the change in configuration involves changing a drive (e.g., drive 213), the management unit sends a request to the node in which the drive has been changed to move data and parity to the drive or a request to move data and parity from the drive (e.g., see step S1602).

[0311] According to the above-mentioned configuration, for example, by moving data and parity between drives within a node (by moving each piece of data), it is possible to reduce the movement cost.

[0312] Also, for example, a node that receives data of a write request stores the data in its own node (for example, in the case where the stripe shown in image 1130 of FIG. 11 is configured in the data protection policy of 2D1P, when node 100-0 receives data of a write request, the data is stored in "A1" and "C2"), generates intermediate data indicating the difference between the data and the old data of the data (for example, generates intermediate data of the data of "A1" and intermediate data of the data of "C2"), identifies a destination node for redundancy based on the placement information (for example, identifies node 100-2 that stores the parity of "A1" and node 100-1 that stores the parity of "C2"), transmits the intermediate data to the identified node, and the node that receives the intermediate data calculates the parity of the data from the intermediate data and the parity of the old data, using the intermediate data received from multiple nodes for one parity.

[0313] According to the above-described configuration, for example, in an EC that maintains data locality, configuration changes can be made without losing data locality, thereby making it possible to avoid a situation in which a decrease in storage performance occurs due to a configuration change.

[0314] Also, for example, the management unit generates arrangement information including a new redundancy group in response to a change in configuration, and transmits to each node a request to build parity in accordance with the arrangement information.

[0315] In the above configuration, for example, data moves within a node, but by recalculating the parity of the redundancy group (stripes) that has been changed in response to the change in configuration, the configuration can be changed without moving data between nodes. With the above configuration, data locality is not lost, making it possible to avoid a situation in which storage performance is reduced due to a change in configuration.

[0316] Also, for example, a primary code (e.g., “A3” data 2015) generated from a plurality of data stored in a first node (e.g., “B2” data 2013 and “C1” data 2014 in node 100-2 shown in FIG. 20) and secondary codes (e.g., “AP” parity 2016 and “AQ” parity 2017) generated based on data stored in a second node different from the first node (e.g., “A1” data 2011 in node 100-0 and “A2” data 2012 in node 100-1) are used as parity to be transmitted between the first node and the second node. In this embodiment, redundancy (e.g., MEC) is achieved by storing the data in a different third node (e.g., node 100-3), and the first node (e.g., node 100-1 shown in FIG. 21) that receives the placement change request calculates the primary code (e.g., data 2133 of "D3") from the multiple data items (data of "B1" and data of "A2") stored therein, identifies a node (e.g., node 100-2) that stores the parity related to redundancy using the primary code (e.g., parity 2135 of "DP" and "DQ") from the placement information, and transmits the primary code.

[0317] According to the above-described configuration, for example, in an MEC that maintains data locality, configuration changes can be made without losing data locality, thereby making it possible to avoid a situation in which a decrease in storage performance occurs due to a configuration change.

[0318] The present invention is also useful for, for example, increasing or decreasing the number of nodes and devices in an SDS system. For example, the present invention is highly useful because it enables a high-performance SDS system to be flexibly constructed and operated using inexpensive network devices.

[0319] Furthermore, the above-described configurations may be modified, rearranged, combined, or omitted as appropriate without departing from the spirit and scope of the present invention. [Explanation of symbols]

[0320] 1...storage system, 100...node, 101...management program, 102...storage control program.

Claims

1. A storage system including a plurality of sites each having a node having a processor and a drive, and a management unit, Each of the sites stores data in the drive, receives data write and read requests, and writes and reads data stored in the drive of its own site; the plurality of sites generate n parities (n is an integer of 1 or more) based on m data stored in m sites (m is an integer of 2 or more) among the plurality of sites, and store the parities in n site drives different from the m sites among the plurality of sites, and form a stripe using the m data and the n parities generated based on the m data; the management unit transmits a request for changing the layout of the plurality of sites when the number of sites is increased or decreased; The plurality of sites, based on the relocation request, Move data stored at the site to be removed between sites, and By using a plurality of pieces of data in a plurality of stripes related to a site to be added or removed, without moving data stored in a site other than the site to be removed, and by changing the data constituting the plurality of stripes and regenerating a plurality of parities, the stripe is reconfigured without changing the number m of data constituting the stripe and the number n of parities for each of the plurality of stripes. A storage system comprising:

2. The site stores the data related to the received write request in a volume of the site.

2. The storage system according to claim 1.

3. 1. A configuration change method for a storage system including a plurality of sites, each of which has a node having a processor and a drive, and a management unit, comprising: Each of the sites stores data in the drive, and receives data write and read requests to write and read data stored in the drive of its own site; the plurality of sites generate n parities (n is an integer of 1 or more) based on m data stored in m sites (m is an integer of 2 or more) among the plurality of sites, and store the parities in n site drives different from the m sites among the plurality of sites, respectively, and form a stripe using the m data and the n parities generated based on the m data; the management unit transmitting a request for relocation to the plurality of sites when a site is increased or decreased; The plurality of sites, based on the relocation request, Move data stored at the site to be removed between sites, and By using a plurality of pieces of data in a plurality of stripes related to a site to be added or removed, without moving data stored in a site other than the site to be removed, and by changing the data constituting the plurality of stripes and regenerating a plurality of parities, the stripe is reconfigured without changing the number m of data constituting the stripe and the number n of parities for each of the plurality of stripes. A configuration change method comprising:

Citation Information

Patent Citations

  • Distributed storage system

    WO2016052665A1

  • Computer system, control method for computer system, and recording medium

    WO2017145223A1

  • Storage system, computer-readable recording medium, and system control method

    WO2018179073A1