Patent ID: 7975168

Claim:
A storage system comprising: a plurality of storage devices for providing one or more RAID groups; one or more spare devices; and a controller for controlling data input/output to/from the storage devices in response to an I/O request from a host computer and managing a plurality of unit storage areas on each of the plurality of storage devices, wherein, if a failure occurs in a first storage device included in a first RAID group, the controller executes first correction-write for recovering data corresponding to the I/O request from a host computer and second correction-write for recovering whole data of the failed first storage device, in parallel, wherein the first correction-write being executed, upon the receipt of a read request from the host computer for the first RAID group including the first failed storage device, by: recovering data for each unit storage area corresponding to the read request and stored in the failed first storage device, using data stored in the other storage devices in the first RAID group, transmitting the recovered data to the host computer, and writing the recovered data to the spare device, and the second correction-write being executed by: recovering data for each unit storage area, which stored in the failed first storage device, using data stored in the other storage devices in the first RAID group in order of logical block address of each unit storage area of the failed first storage device, and writing the recovered data to the spare device, wherein if the first RAID group receives from the host computer less sequential-access compared to random-access, the controller sets a first size as a size of each unit storage area, wherein if the first RAID group receives from the host computer more sequential-access compared to random-access, the controller sets a second size, which is larger than the first size, as a size of each unit storage area, and prioritizes the first correction-write over the second correction-write.