主权项 |
1. A storage system, comprising:
a plurality of RAID groups each combining a plurality of physical storage devices into a respective storage device group that stores data based on a corresponding RAID level for the storage device group; a pool that is a storage area group associated with one or more RAID groups of the plurality of RAID groups, the pool being composed of a plurality of real pages that are based on one or more RAID groups, the plurality of real pages including a plurality of allocated real pages that are each allocated to any of a plurality of a virtual pages that configure a virtual volume and a plurality of unallocated real pages that are not allocated to any of the plurality of virtual pages;an I/O part configured to carry out a write processing that includes:
allocating any one of the unallocated real pages to a write destination virtual page of the plurality of virtual pages; and writing a write target data to the unallocated real page that is allocated to the write destination virtual page; and a rebuild control part configured to carry out a rebuild processing that includes: copying each of data that has been stored into all allocated real pages among the plurality of real pages that are based on a specific RAID group of the one or more RAID groups that has a physical storage device in which a defect occurs to an unallocated real page that is based on at least one RAID group separate from the specific RAID group of the one or more RAID groups; and allocating a real page of each copy destination in place of an allocated real page of each copy source to each virtual page to which the allocated real page of each copy source is allocated, and wherein: each real page is a physical storage area, each virtual page is a virtual storage area, each of the plurality of unallocated real pages, upon being allocated to any of the virtual pages by the I/O part, becomes an allocated real page, upon a defect occurring in any of the physical storage devices, in accordance with which the RAID group that has the physical storage in which the defect occurs is a defect RAID group, the rebuild control part determines if the defect RAID group is associated with the pool, performs the rebuild processing on the defect RAID group by regarding the defect RAID group as the specific RAID group if the defect RAID group is associated with the pool, and, if the defect RAID group is not associated with the pool, performs collection copy for the defect RAID group, and in performing the rebuild processing on the defect RAID group, the rebuild control part reads a plurality of data elements stored in a physical storage device of the respective storage device group for the defect RAID group other than the physical storage device in which the defect occurs among data elements that configure data stored in each of the allocated real pages that is based on the defect RAID group, recovers data elements stored in the physical storage device in which the defect occurs based on the plurality of read data elements, and copies data that is composed of the plurality of read data elements and the recovered data elements to the unallocated real page that is based on at least one RAID group of the one or more RAID groups other than the defect RAID group. |