Storage control device and data recovery method for storage control device
First Claim
1. A storage control device comprising a plurality of storage devices including at least one spare storage device, comprising:
- an error condition detection section that detects the error condition of each of the storage devices;
an input/output request control section that, when an error is detected by the error condition detection section, controls the input/output request from a host computer with respect to the storage device in which the error has been detected; and
a recovery control section that, when the error condition detected by the error condition detection section exceeds a preset threshold, recovers the stored content of a recovery-target storage device, in which the error has been detected, in the spare storage device, wherein the recovery control section comprises;
a first copy mode that reads data from the recovery-target storage device and copies the data thus read to the spare storage device; and
a second copy mode that restores data stored in the recovery-target storage device on the basis of data read from other storage devices belonging to the same RAID group as the recovery-target storage device and copies the restored data to the spare storage device, and wherein when shifting from the first copy mode to the second copy mode, the recovery control section starts the second copy mode from the copy interrupt position of the first copy mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention efficiently recovers an error drive by suppressing futile copying. When the number of errors of the disk drive is equal to or more than a first threshold, data stored in the disk drive is copied to a spare drive by a drive copy section. When the number of errors of the disk drive is equal to or more than a second threshold prior to completion of the drive copy, the disk drive is closed, and a correction copy by a correction copy section is started in place of the drive copy. The correction copy section starts the correction copy from the position where the drive copy is interrupted by taking over the drive copy completion position (copy interrupt position) managed by a copy progress condition management section.
283 Citations
9 Claims
-
1. A storage control device comprising a plurality of storage devices including at least one spare storage device, comprising:
-
an error condition detection section that detects the error condition of each of the storage devices;
an input/output request control section that, when an error is detected by the error condition detection section, controls the input/output request from a host computer with respect to the storage device in which the error has been detected; and
a recovery control section that, when the error condition detected by the error condition detection section exceeds a preset threshold, recovers the stored content of a recovery-target storage device, in which the error has been detected, in the spare storage device, wherein the recovery control section comprises;
a first copy mode that reads data from the recovery-target storage device and copies the data thus read to the spare storage device; and
a second copy mode that restores data stored in the recovery-target storage device on the basis of data read from other storage devices belonging to the same RAID group as the recovery-target storage device and copies the restored data to the spare storage device, and wherein when shifting from the first copy mode to the second copy mode, the recovery control section starts the second copy mode from the copy interrupt position of the first copy mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for recovering data stored in a storage control device comprising a RAID group constituted by a plurality of storage devices, the method comprising the steps of:
-
detecting an error condition relating to each storage device in the RAID group;
setting a first status for selecting a first copy mode for a recovery-target storage device in which an error has been detected when the detected error condition is equal to or more than a first threshold and less than a second threshold;
setting a second status for selecting a second copy mode for the recovery-target storage device when the detected error condition is equal to or more than the second threshold;
copying data in predetermined amounts at a time from the recovery-target storage device to the spare storage device by starting the first copy mode when the first status is set for the recovery-target storage device;
updating copy position management information for managing a copy completion position each time a data copy of the predetermined amount is completed;
confirming the status of the recovery-target storage device each time the copy position management information is updated;
shifting from the first copy mode to the second copy mode by using the copy position management information continuously when the status of the recovery-target storage device is changed from the first status to the second status, and restoring data that has been stored in the recovery-target storage device on the basis of data that is read from the other storage devices belonging to the same RAID group as the recovery-target storage device; and
copying the restored data to the spare storage device.
-
Specification