Source: https://patents.google.com/patent/JP3184171B2/en
Timestamp: 2020-08-09 00:22:06
Document Index: 282236851

Matched Legal Cases: ['art 211', 'art 212', 'art 212', 'art 212', 'art 212', 'art 31']

JP3184171B2 - Disk array device, error control method thereof, and recording medium recording the control program - Google Patents
Disk array device, error control method thereof, and recording medium recording the control program
JP3184171B2
JP3184171B2 JP01432599A JP1432599A JP3184171B2 JP 3184171 B2 JP3184171 B2 JP 3184171B2 JP 01432599 A JP01432599 A JP 01432599A JP 1432599 A JP1432599 A JP 1432599A JP 3184171 B2 JP3184171 B2 JP 3184171B2
JP01432599A
JPH11338648A (en
文男 市川
恭宏 益山
正信 赤木
1998-02-26 Priority to JP10-44844 priority Critical
1998-02-26 Priority to JP4484498 priority
1999-01-22 Application filed by 日本電気エンジニアリング株式会社, 日本電気株式会社 filed Critical 日本電気エンジニアリング株式会社
1999-01-22 Priority to JP01432599A priority patent/JP3184171B2/en
1999-12-10 Publication of JPH11338648A publication Critical patent/JPH11338648A/en
2001-07-09 Publication of JP3184171B2 publication Critical patent/JP3184171B2/en
The present invention relates to a disk array device widely used as a data storage device in an information processing device, an error control method in the disk array device, and a recording medium recording a control program for the error control method. About.
2. Description of the Related Art In recent years, as this kind of disk array device, a disk array device having a plurality of disk devices such as a hard disk device and recording data together with redundant data on the plurality of disk devices (RAID system: Redundant Arra)
y of Inexpensive Disks) is being widely used. This is one of the disk drives,
This is because even if a read error, failure, or abnormality occurs, data can be recovered by the remaining disk devices, and the data storage device has high reliability.
[0003] In recent years, a high-density disk device has a possibility that a read error may be caused only by a minute scratch or the like on a disk (recording medium). For a read error, retry of data writing / reading (also referred to as internal retry) is generally performed inside the disk device. The probability of performing this retry increases with the increase in the recording density of the disk device. It is increasing. It should be noted that the retry usually requires several seconds. In addition, although the probability is low, there is also a case where writing / reading is completely impossible without being remedied by retry (writing / reading is not successful). A disk device that cannot be completely written / read is subjected to maintenance such as replacement or repair.
In consideration of the above situation, a conventional disk array device used for general data processing is:
Wait until the retry is completed in the disk device, and if the retry succeeds, the normal operation is continued. On the other hand, the disk device that is still unable to write / read even after the retry is disconnected as a failure and degraded operation is performed. are doing.
However, recent disk drives tend to take a long time to retry. If the retry takes a long time, the original operation of the disk device, that is, data input / output with the host device is delayed. For this reason, as another conventional example, a disk array device in which retry is not completed within a predetermined time and in which an error has occurred is regarded as a failed device, is separated from the disk array device, and performs a degraded operation. I have.
When the disk array device is used as a moving image storage device, moving images are continuously recorded / recorded.
In order to reproduce data, a possible waiting time from issuance of a data write / read command to completion of data transfer is very short. That is, there is no room for securing a sufficient rescue processing time (retry time). Therefore, in the conventional disk array device for moving images, even if the waiting time is very short, all the disk devices for which retry is not completed during this waiting time are regarded as failed devices, and are separated from the disk array device and degraded. I have to drive.
In a conventional disk array device which limits the time for performing a retry, if a sufficient retry time is given, writing / reading may be successful and the disk device is originally a normal disk device. However, all the disk devices for which retry is not completed within a predetermined time will be degraded as failed devices. As described above, it is not rational to degenerate the originally normal disk device, and it is also irrational to perform maintenance and replacement of the originally normal disk device.
In addition, since the disk array device does not have redundancy during the degenerate operation of the disk device, if an error occurs in another portion or another disk device, there is a risk that data writing / reading becomes impossible. Is high. Even in consideration of this, the method of performing the degenerate operation on all the disk devices for which the retry is not completed within the predetermined time causes an increase in the probability of the degenerate operation, and eventually reduces the reliability as the data storage device. .
Therefore, an object of the present invention is not only to cope with a write / read error of a disk device without delaying the original operation, but also to perform an unnecessary degenerate operation that also degrades a normal disk device. The object of the present invention is to provide a disk array device that does not perform the above.
Another object of the present invention is to provide an error control method for processing an error in the disk array device.
Still another object of the present invention is to provide a recording medium storing a program for executing the error control method.
According to the present invention, a plurality of disk devices are provided with redundancy, and data is exchanged with a host computer in response to a data write command or a data read command from the host computer. In a disk array device performing a write operation or a data read operation, an abnormality in either the data write operation or the data read operation is detected, and an abnormality detection /
Abnormal device specifying information storage means, disconnection state management means for temporarily disconnecting the disk device in which the error has occurred and managing it as a degraded operation as a disk array device (referred to as temporary degraded operation), and a host computer during the temporary degraded operation Command execution means for causing a disk device other than the disk device in which an abnormality has occurred to perform a data write operation or a data read operation with a host computer by utilizing redundancy when receiving a data write instruction or a data read instruction from
There is provided a disk array device having retry means for retrying an abnormal disk device in parallel with a data write operation or a data read operation with the host computer.
According to the present invention, a plurality of disk devices are provided with redundancy, and a data write operation or a data read operation with the host computer is performed in response to a data write command or a data read command from the host computer. In an error control method for a disk array device that operates, an error is detected in one of a data write operation and a data read operation, and an error is detected / specified to identify which disk device has an error. An information storage step, a disconnection state management step of temporarily disconnecting the disk device in which the abnormality has occurred and managing the disk device as a degraded operation (referred to as a temporary reduced operation), and a data write command from the host computer during the temporary reduced operation Or, when receiving a data read command, An instruction execution step of causing a disk device other than the disk drive other than the disk drive to perform a data write operation or a data read operation with the host computer, and a data write operation or a data read operation with the host computer. And a retry step of retrying the disk device in which the abnormality has occurred.
According to the present invention, there is further provided a recording medium on which a control program for performing the error control method for the disk array device is recorded.
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a disk array device and an error control method thereof according to the present invention will be described.
A disk array device according to the present invention has a plurality of disk devices including at least one redundant disk device, and assigns redundant data to write data sent from a host computer and distributes the data to those disk devices. When a data read command is received from the host computer, the distributed data is restored and sent to the host computer.
Incidentally, as a special configuration of the disk array device of the present invention, the same data may be written to a plurality of disk devices and read from any one of the disk devices at the time of reading (for example, a RAID-1 configuration). Good.
In any case, the disk array device according to the present invention
When an error occurs in a certain disk device, the configuration is such that correct data is restored based on data including redundant data in the remaining disk devices.
In the above-configured disk array device, when an abnormality is detected in a data write operation or a data read operation in response to a data write command or a data read command received from a host computer, specifically, when a subordinate disk device is detected. If an error report such as a read error is issued from the server, or if a timeout event in which no response is returned within a predetermined time is detected, the one disk unit in which the error occurred is temporarily disconnected and the disk array is disconnected. The device is treated as degenerate operation (hereinafter, referred to as temporary degenerate operation).
When one of the plurality of disk devices is in the temporary degenerate operation, the data restoring means originally provided in the disk array device is operated to send the restored data to the host computer so that the read command can be normally executed. Let it complete.
At the same time as this processing, any one of the following (1) to (3) is executed for the disk device in the temporary degenerate operation.
(1) The operation in which the error occurred is executed again, and it is confirmed whether or not the same abnormality occurs again. If there is no abnormality, only the abnormality occurrence history is left, and no further special processing is performed.
(2) The data at the position where the error has occurred is rewritten to restore the data to a state where it can be read normally.
(3) If the content of the error is a read error due to partial physical loss of the medium, use of the corresponding position is prohibited, and an alternative position is assigned.
That is, a so-called reassignment process is performed.
Thereafter, the temporary degenerate operation is canceled to return from the degenerate operation state to a normal state. The above-described processing for the temporarily degraded disk device is performed in parallel with an instruction from the host computer.
When a read command is newly received from the host computer when the above-mentioned disk device of the temporary degenerate operation exists, the disk device of the temporary degenerate operation is continuously treated as the degenerate operation as the disk array device, and the data originally contained in the disk device is stored. The data is transmitted to the host computer by the restoration means (data recovery using the remaining disk devices).
If the command received from the host computer is a data write command, the disk device of the temporary degenerate operation is treated as a degenerate operation as the disk array device, and data is written to the remaining disk devices. At the same time as this processing, the position (block address) where the data was written is sequentially stored, and when the internal processing such as the replacement allocation replacement processing for the disk device in the temporary degeneration operation is completed, the stored block address is stored. Is restored sequentially based on the data of the remaining disk devices constituting the disk array device, the temporary degenerate operation is canceled, and the degraded operation state is returned to the normal operation state.
As a result, in the disk array device having the above configuration, data reading is not performed even if the next failure occurs before the recovery is completed, without shifting to the permanent (for a long time) degeneration operation. The danger of becoming impossible can be reduced, and stable operation can be continued.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a disk array apparatus according to an embodiment of the present invention;
Embodiment 1 Referring to FIG. 1, a disk array device according to Embodiment 1 of the present invention includes a disk array control unit 2 having a temporarily degraded disk array control unit 212.
1, disk control units 31-1 to 31-4, and disk devices 41-1 to 41-4. This device is RA
It is an ID-3 system, and has disk devices 41-1 to 41-4.
Has redundancy. And the host computer 1
A data write operation or a data read operation is performed with the host computer 10 in response to a data write instruction or a data read instruction from 0. In this embodiment, the case where four disk devices 41-1 to 41-4 are used will be described. However, the present invention is also applicable to a case where three or five or more disk devices are used.
Referring to FIG. 2, disk array control unit 2
1 is an abnormality detection / abnormal device identification information storage unit 211;
And a provisionally degraded disk array control unit 212. The provisionally degraded state disk array control unit 212 includes a detachment state management unit 212a, a retry unit 212b, and a reincorporation unit 212c that performs reincorporation after updating an unchanged portion due to a data write operation received during the temporarily degraded operation. It has.
Referring to FIGS. 1 and 2, disk array controller 21 decodes a command received from host computer 10.
At the time of a write command, the disk array controller 21 normally distributes the data received from the host computer 10 to the disk controllers 31-1 to 31-4 and sends the data. The disk control units 31-1 to 31-4 write data to the corresponding disk devices 41-1 to 41-4, respectively.
On the other hand, at the time of a read command, the disk devices 41-1 to 41-4 usually send the written data to the corresponding disk control units 31-1 to 31-4. The disk array controller 21 includes a disk controller 31
The data from -1 to 31-4 is returned to one data and sent to the host computer 10.
The abnormality detection / abnormal device specifying information storage unit 211 of the disk array control unit 21 detects an abnormal operation of any of the disk devices 41-1 to 41-4 at the time of the write command, In which disk device the (error) occurred is recorded in the memory, and at the same time, the disconnection state management unit 2 of the temporarily degraded state disk array control unit 212
12a, the detachment state management unit 212a temporarily removes the disk device from the operation target device of the disk array to perform the temporary degenerate operation, and
Continues the writing process for the remaining disk devices.
When the retry unit 212b of the temporarily degraded state disk array control unit 212 receives the error notification from the abnormality detection / abnormal device specifying information storage unit 211 of the disk array control unit 21, the retry unit 212b performs the processing of the disk array control unit 21. For the disk device in which an error has occurred in parallel, (1) the operation in which the error has occurred is executed again, and it is checked whether or not the same error occurs again. No further special processing is performed as it is only to be kept, (2) the data at the position where the error has occurred is restored to a state where it can be read normally by rewriting the data, or (3) the use of that position is prohibited. A maintenance process such as a so-called reassignment process (allocation assignment) for assigning a replacement position is performed as an internal process.
On the other hand, when the read command is issued, the disk device 41-
When an error occurrence is detected in any of 1 to 41-4, the abnormality detection / abnormal device specifying information storage unit 211 of the disk array control unit 21 records in which memory the abnormality (error) occurred in the memory. At the same time as the disconnection state management unit 212a of the temporarily degraded state disk array control unit 212.
, The detached state management unit 212a temporarily removes the disk device from the operation target device of the disk array to perform the temporary degenerate operation, and the disk array control unit 21 continues reading processing for the remaining disk devices.
When the retry unit 212b of the temporarily degraded state disk array control unit 212 receives the error notification from the abnormality detection / abnormal device specifying information storage unit 211 of the disk array control unit 21, the retry unit 212b performs the processing of the disk array control unit 21. For the disk device in which an error has occurred in parallel, (1) the operation in which the error has occurred is executed again, and it is checked whether or not the same error occurs again. No further special processing is performed as it is only to be kept, (2) the data at the position where the error has occurred is restored to a state where it can be read normally by rewriting the data, or (3) the use of that position is prohibited. A maintenance process such as a so-called reassignment process (allocation assignment) for assigning a replacement position is performed as an internal process. Each process is performed in parallel with the process of the disk array control unit 21.
When the disk array control unit 21 receives the next host computer instruction before the internal processing by the temporarily degraded disk array control unit 212 for the disk device in which the error has occurred is completed, it responds to the instruction. Processing is performed. If the processing is data writing, the writing position is stored in a storage unit (not shown).
If the write processing is performed in the disk array control unit 21 when the internal processing by the temporarily degraded disk array control unit 212 for the disk device in which the error has occurred is completed, the reintegration unit of the disk array control unit 21 212c, the disk array controller 21 releases the temporary degenerate operation after restoring data by the remaining disk devices and writing the restored data based on the write position stored in the storage unit, and returns to the normal state. return.
FIG. 3 is a diagram for explaining data generation at the time of writing in the disk array device according to the first embodiment of the present invention, and FIG. 4 is a diagram for explaining data recovery at the time of reading. is there.
Referring to FIGS. 1 and 3, when a write command is sent from the host computer 10 to the disk array device according to the embodiment of the present invention, the disk array control unit 21 Are distributed to data groups DG1-1 to DG1-4, and are respectively assigned to the disk controllers 31-1 to 31-4.
Distribute to The disk control unit 31-1 is the disk device 4
1-1 includes a data group DG1-1 (data (1), (4),
(7), (10), ..., (u), and (x))
The disk control unit 31-2 stores the data group DG1-2 (data (2), (5), (8),
(11),..., (V), and (y)), the disk control unit 31-3 stores the data group D in the disk device 41-3.
G1-3 (data (3), (6), (9), (12),
.., (W), and (z)) are respectively written. Also, the disk control unit 31-4 includes a disk device 41-4.
, Data (1), (2), (3), ..., (x),
Data groups DG1-4 (data (P1-3), (P4-6), (P4), which are parity data of (y) and (z)
7-9), (P10-12), ..., (Pu-w),
And (Px-z)).
The parity data (P1-3), (P4
-6), (P7-9), (P10-12), ...,
By (Pu-w) and (Px-z), any one of (disk control unit 31-1 + disk device 41-1) to (disk control unit 31-4 + disk device 41-4) is obtained. Data recovery is possible for a failure.
On the other hand, referring to FIGS. 1 and 4, when a read command is sent from host computer 10 to the disk array device according to the embodiment of the present invention, disk control units 31-1 to 31-31. 4 is a disk device 41-
The data groups DG2-1 to DG2-4 are sent to the disk array control unit 21 from 1 to 41-4. The disk array control unit 21 returns the data (1) to (z) and sends the data to the host computer 10.
That is, a data group DG2-1 (data (1), (4), (7), (1)
0),..., (U), and (x)) are transmitted from the disk device 41-2 to the data group DG2-2 (data (2),
(5), (8), (11),..., (V), and (y)) are transmitted from the disk unit 41-3 to the data group DG.
2-3 (data (3), (6), (9), (12),.
.., (W), and (z)) are read out, and are returned to data (1) to (z) by the disk array control unit 21. In addition, the disk device 41-4 receives a failure in any one of (disk control unit 31-1 + disk device 41-1) to (disk control unit 31-4 + disk device 41-4). In order to perform data recovery, the data group DG2-4 (parity data (P1-3), (P
4-6), (P7-9), (P10-12), ...,
(Pu-w) and (Px-z)) are read.
FIGS. 5, 6, and 7 are flowcharts for explaining the processing operation of the disk array control unit 21 shown in FIG. FIG. 8 is a flowchart for explaining the processing operation of the temporarily degraded disk array control unit 212 shown in FIG.
Hereinafter, the operation of the disk array apparatus according to the embodiment of the present invention, particularly, an error control method will be described with reference to FIGS. The disk array control unit 2
1 and the temporarily degraded state disk array control unit 212 realizes the following operation by executing a program stored in a control memory (not shown) in advance. As the control memory, a semiconductor memory or a magnetic and / or optical recording disk such as a flexible disk can be used.
When the disk array control section 21 starts operating, it waits for an instruction from the host computer 10 (step S1 in FIG. 5).
[Data Read] Disk Array Controller 2
When receiving a data read command from the host computer 10 (steps S2 and S3 in FIG. 5), 1 determines whether there is a disk device of the temporary degenerate operation (step S4 in FIG. 5).
If there is no provisionally degraded operation disk device, the disk array control unit 21 sends the subordinate disk devices 41-1 to 41-1 to the four disk control units 31-1 to 31-4 constituting the disk array device. A read command is given to 41-4 (step S5 in FIG. 5).
As a result, the disk devices 41-1 to 41-
4 are data (1), (4), (7),.
, And (x), data (2), (5), (8),
.. and (y), data (3), (6), (9),
, And (z), and their parity data (P1-3), (P4-6), (P7-9),
, ..., and (Px-z) are sequentially read and sent to the disk array control unit 21 through the disk control units 31-1 to 31-4.
When the disk array control unit 21 receives all these data normally (step S6 in FIG. 5), the data (P1-3), (P4-6), which are parity data,
(P7-9), ..., and (Px-z) are discarded,
The data from the disk devices 41-1 to 41-4 are returned to the data (1) to (z) and sent to the host computer 10 (step S7 in FIG. 5).
If there is a disk device of the temporary degenerate operation, the disk array control unit 21 continues to treat the disk device 41-1 of the temporary degenerate operation as a degenerate operation and sets the remaining disk devices 41-2 to 41-4. The restored data is used to send the restored data to the host computer 10 (step S20 in FIG. 7).
When an error occurs in any of the disk devices 41-1 to 41-4 during the read operation (step S6 in FIG. 5), the disk array control unit 21 temporarily processes the disk device in which the error has occurred. Disk array control unit 2
12 (step S8 in FIG. 5).
For example, when an error occurs in the disk device 41-1, the disk array control section 21 sends data (1), (4), (7),.
And cannot receive (x).
Therefore, the disk array control unit 21 sends the data (2), (5),
(8),..., And (y) are assigned to the disk device 41-
, And (z) from the disk device 41-4, and parity data (P1-3), (P4-6), and (P7-9) from the disk device 41-4. ), ...
, And (Px-z) are obtained, and the data (1), (4),
(7),..., And (x) are sequentially restored (step S9 in FIG. 5).
That is, data (1) is converted from data (2), data (3), and data (P1-3), and data (4) is converted from data (5), data (6), and data (P4-6). ) Is converted from data (8), data (9), and data (P7-9) to data (7)
1), data (12), and data (P10-12)
, Data (v), data (w), and data (x) from data (Px-z), and correct data (1) to (z) are read from the host computer. 10 (step S10 in FIG. 5).
Temporarily degraded disk array controller 212
When the occurrence of an error at the time of reading is notified from the disk array control unit 21 (step S21 in FIG. 8), the read operation is executed again in parallel with the processing operation of the disk array control unit 21 (step S22 in FIG. 8). . If the retry is not completed normally, the data at the position where the error occurred is rewritten with the data recovered from the other disk devices constituting the disk array device (step S in FIG. 8).
If this is not completed normally (step S27 in FIG. 8), the temporarily degraded state disk array control unit 212
Instructs the disk device 41-1 in which an error has occurred to be alternately allocated to a spare area (not shown) provided in the normal disk device, prohibits subsequent use of the error occurrence location, and sets (Step S28 in FIG. 8).
If this process is completed normally (step S29 in FIG. 8), the temporarily degraded state disk array control unit 212
Writes the data restored from the data of the remaining disk devices 41-2 to 41-4 in the location where the replacement assignment has been performed (step S30 in FIG. 8). The above-described processing by the temporarily degraded state disk array control unit 212 is a time-consuming process. Therefore, if the processing is not completed even when the next host computer instruction is issued, the next instruction from the host computer 10 by the disk array control unit 21 is issued. It is performed in parallel with the processing.
[Data Writing] On the other hand, when receiving a data write command from the host computer 10 (step S2 in FIG. 5), the disk array control section 21 determines whether there is a disk device of the temporary degeneration operation (step S6 in FIG. 6). S
If there is no provisionally degraded operation disk device, the disk array control unit 21 sends the four disk control units 31-1 to 31-4 constituting the disk array device to the subordinate disk devices 41-1 to 41-1. A write command is given to 41-4 (step S13 in FIG. 6).
At this time, simultaneously, the disk array control unit 2
1 receives data (1) to (z) to be written from the host computer 10 and receives data from the disk control units 31-1 to 31-3.
The data (1), (4), (7),.
..., and (z) and their parity data (P1-3), (P4-6), (P7-9), ...
And send (Px-z).
These data are stored in the disk controller 31-
Disk devices 41-1 to 41-4 according to 1-31-4
Is written to. Here, inside the disk device, a data management area (usually an I
(Referred to as D section).
If no error occurs in the read operation of the data management area (step S14 in FIG. 6), the disk array control section 21 sends the data from the host computer 10 to the disk control sections 31-1 to 31-4. Writing is performed on the devices 41-1 to 41-4 (step S15 in FIG. 6).
Further, if there is a disk device of the temporary degeneration operation, the disk array control unit 21 (step S1 in FIG. 6)
2), the disk device 41-1 in the temporary degenerate operation is continuously treated as the degenerate operation, and the remaining disk devices 41-2 to 41-
4 is written with data from the host computer 10 (step S18 in FIG. 6).
At this time, the disk array control unit 21 notifies the temporarily degraded state disk array control unit 212 that data has been written when there is a disk device in the temporary degenerate operation, and performs data write processing. The positions (block addresses) are sequentially stored (step S1 in FIG. 6).
On the other hand, the disk array controller 21
When an error occurs in the read operation of the data management area (step S14 in FIG. 6), the disk device in which the error occurred is temporarily removed from the processing, and the occurrence of the error at the time of writing is notified to the temporarily degraded state disk array control unit 212. (Step S16 in FIG. 6). For example, the disk device 41-
1, when an error occurs, the disk array control unit 21
Cannot write data (1), (4), (7),..., And (x) to the disk device 41-1.
Therefore, the disk array control unit 21 stores the data (2), (5), (8),
, And (y), and data (3), (6), (9), ..., and (z) in the disk device 41-3.
Data (P1-3), which is the parity of the disk devices 41-1 to 41-3, is added to the disk device 41-4.
(P4-6), (P7-9), ..., and (Px-
z) is written (step S17 in FIG. 6).
When the occurrence of a writing error is notified from the disk array control unit 21 (step S21 in FIG. 8), the writing operation is executed again in parallel with the processing operation of the disk array control unit 21 (step S24 in FIG. 8). If not completed normally, a spare area (not shown) provided in the normal disk device for the disk device 41-1 in which the error has occurred.
Then, the subsequent use of the error occurrence location is prohibited to prevent the error recurrence at the same location (step S28 in FIG. 8).
When this process is completed normally (step S29 in FIG. 8), the temporarily degraded disk array controller 212
Is the remaining disk unit 4 in the place where the replacement was performed.
Data restored from the data 1-2 to 41-4 is written (step S30 in FIG. 8). The above-described processing by the temporarily degraded state disk array control unit 212 is a processing that requires time. Therefore, if the processing is not completed even when the next host computer instruction is given, the next disk array control unit 21 sends the next processing from the host computer 10. It is performed in parallel with the instruction processing.
Next, if the disk array control unit 21 notifies that the data has been written during the replacement assignment processing (step S32 in FIG. 8), the data of the stored write processing position (block address) is stored. Is restored by reading the data of the remaining disk devices, and sequentially written to the disk devices in the temporary degeneration operation (FIG. 8, step S3).
When all of the above-mentioned writing processes are completed, the disk array control unit 21 releases the temporary degenerate operation and returns from the temporary degenerate operation state to the normal operation state (step S in FIG. 8).
34), end all operations.
Here, the temporarily degraded disk device controller 2
Reference numeral 12 denotes a case where internal processing such as replacement allocation processing of the disk device in the temporary degenerate operation is not completed normally (step S2 in FIG. 8).
In 9), the disk device is degraded (mainly degraded), and maintenance and replacement of the disk device are urged. (Step S3 in FIG. 8)
If the command newly received from the host computer 10 is neither a read command nor a data write command, a process corresponding to the command is performed (step S11 in FIG. 5), and the command operation is completed.
As described above, when an error occurs, the normal disconnection state (temporary degenerate operation) is continued externally while the normal operation is continued, while the internal replacement processing is executed internally as the degenerate operation, and then automatically executed. By restoring the data to the normal operation state automatically, the time required for recent disk units to fully execute the retry is ensured and stable operation is realized. Can keep short response time.
Second Embodiment Referring to FIG. 9, a disk array device according to a second embodiment of the present invention includes a disk array control unit 2 having a temporarily degraded disk array control unit 222.
2, disk control units 32-1 and 32-2, and disk devices 42-1 and 42-2. This device is of the RAID-1 type and has two disk devices 42.
The same data is written in -1 and 42-2, and both disk devices cooperate to have redundancy. Disk device 42-
Assuming that one of 1 and 42-2 is for data and the other is for parity, the present embodiment is the simplest configuration example in which parity is provided for a plurality of disk devices as in the disk array device according to the first embodiment. Can be considered.
The error control method according to the present embodiment is performed in the same manner as in the first embodiment, and a description thereof will not be repeated.
[Embodiment 3] FIG. 10 is a diagram for explaining a state of data generation at the time of writing in a disk array device according to a third embodiment of the present invention, and FIG. 11 is a diagram for explaining a state of data restoration at the time of reading. FIG.
The disk array device according to the third embodiment of the present invention is of the RAID-5 type and has four disk devices 4
3-1 to 43-4 have redundancy in cooperation. In this embodiment, the disk device to which the parity data is written is not fixed, and the disk devices 43-1 to 43-4 are not fixed.
Are sequentially assigned parity data. Since the error control method according to the present embodiment is performed in the same manner as in the first embodiment, the description is omitted.
In each of the above embodiments, RAID-3, RA
Although the disk array devices of the ID-1 and RAID-5 schemes have been described, the present invention can be applied to any disk array device having a plurality of disk devices with redundancy, such as RAID-2 or RAID-5. -4 type disk array device may be used.
According to the present invention, an abnormality in either the data write operation or the data read operation is detected, and which disk device has an abnormality is recorded. The disk array device is managed as a degraded operation (referred to as a temporary degraded operation) as a disk array device, and when a data write command or a data read command is received from the host computer during the temporary degraded operation, the disk in which an error has occurred using redundancy is used. To cause a disk device other than the device to perform a data write operation or a data read operation with the host computer, and to retry the disk device in which an error has occurred in parallel with the data write operation or the data read operation with the host computer , Writing / writing of the disk device without interrupting the original operation In addition to being able to deal with errors out, without undue degenerate operation that would be allowed to degenerate the original normal disk apparatus, it is possible to continue stable operation.
FIG. 1 is a block diagram illustrating a configuration of a disk array device according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing in detail a disk array control unit of the disk array device according to the first embodiment of the present invention.
FIG. 3 is a diagram for explaining data generation at the time of writing in the disk array device according to the first embodiment of the present invention.
FIG. 4 is a diagram for explaining data restoration at the time of reading in the disk array device according to the first embodiment of the present invention.
FIG. 5 is a flowchart showing a processing operation of a disk array control unit in FIG. 1;
FIG. 6 is a flowchart showing a processing operation of a disk array control unit in FIG. 1;
FIG. 7 is a flowchart showing a processing operation of a disk array control unit in FIG. 1;
FIG. 8 is a flowchart showing a processing operation of a temporarily degraded state disk array control unit in FIG. 1;
FIG. 9 is a block diagram illustrating a configuration of a disk array device according to a second embodiment of the present invention.
FIG. 10 is a diagram for explaining data generation at the time of writing in a disk array device according to a third embodiment of the present invention.
FIG. 11 is a diagram for explaining data restoration at the time of reading in the disk array device according to the third embodiment of the present invention.
DESCRIPTION OF SYMBOLS 10 Host computer 21, 22 Disk array control part 211 Abnormality detection / abnormal apparatus specific information storage part 212, 222 Temporarily degraded state disk array control part 212a Detachment state management part 212b Retry part 212c Reinstallation part 31-1 to 31-31 4 Disk control unit 32-1 and 32-2 Disk control unit 41-1 to 41-4 Disk device 42-1 and 42-2 Disk device 43-1 to 43-4 Disk device
Continuation of the front page (72) Inventor Fumio Ichikawa 3-18-21 Shibaura, Minato-ku, Tokyo Nippon Electric Engineering Co., Ltd. (56) References JP-A-6-35625 (JP, A) JP-A-9- 167427 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/06
A disk array having a plurality of disk devices so as to have redundancy and performing a data write operation or a data read operation with a host computer in response to a data write command or a data read command from a host computer. An abnormality detection / abnormality device specifying information storage means for detecting an abnormality in one of a data write operation and a data read operation and recording which disk device has an abnormality; The device is temporarily disconnected and treated as degraded operation as a disk array device (referred to as temporary degraded operation)
A disconnection state management means that manages the data as a data write command or a data read command from the host computer during the temporary degeneracy operation, and uses the redundancy to transfer data between the host computer and a disk device other than the disk device in which an error has occurred. an instruction execution unit to perform the write operation or a data read operation, the retry means for performing a data write operation or a data read operation in parallel with retry the abnormal disk drive with the host computer, by the retry means An error occurred as a result of the retry.
If the disk device is normal,
Release the temporary disconnection state and remove the disk array device.
Possess a reintegration means for returning to normal operation from the temporary degeneration operation as the abnormality detection / abnormality device specifying information storage unit, disc
When an error report such as a read error occurs from the
In addition, a data write instruction from the host computer
Or a response to the data read command within a predetermined time
This includes the case where a timeout event that does not return is detected.
A disk array device characterized in that the disk array is determined to be abnormal .
A plurality of disk devices having redundancy.
Data write command from the host computer.
Or with the host computer in response to a data read command.
A data write operation or a data read operation between
In the disk array device, either the data write operation or the data read operation
Abnormalities in the disk drive
Error detection / error equipment to record whether there was an error in
The storage device and the disk device in which the error occurred are temporarily disconnected from the
Treated as degenerate operation as the array device (referred to as temporary degenerate operation)
A separated state management means for managing a data write life from the host computer during temporary degraded operation
Command or data read command, use redundancy
Host to a disk unit other than the disk unit where the error occurred.
Write data or read data to / from the computer
Data write operation or data between the instruction execution means for performing the read operation and the host computer.
Retry the disk unit where the error occurred in parallel with the data read operation.
A retry unit for performing a row, and when the abnormal disk device is normal as a result of the retry by the retry unit, release the temporarily disconnected state of the abnormal disk device and temporarily degenerate as a disk array device possess a reintegration means for returning to normal operation from the operation, the retry means, abnormal content is due to physical defects of the medium
In the case of a read error, use of the missing position is prohibited.
And also performs reassignment processing to assign alternative positions.
A disk array device.
3. A plurality of disk devices having redundancy.
Retry means for performing a row, and an abnormal occurrence directory as a result of the retry by the retry means.
Re-integration means for returning from temporary degenerate operation to normal operation as
A, the instruction execution unit, the host computer during temporary degraded operation
When a data write command is received from the
Write data to disk units other than the disk unit where the error occurred.
Write operation and respond to the written data.
Enter the block address indicating the location of the disk unit where the error occurred.
Stored sequentially, and the temporary disconnection status of the disk unit where the error occurred
Block address and memory address stored before canceling
Is the error occurrence data corresponding to the position indicated by the block address.
Based on data written to a disk unit other than the disk unit.
To restore the data of the disk unit where the error occurred to the latest state.
A disk array device characterized by causing the disk array device to operate .
4. An abnormality detection / abnormal device specific information storage.
The means is used to send an error report such as a read error
Notification from the host computer.
Data write command or data read command at specified time
A timeout event that does not return a response within
4. The disk array device according to claim 3 , wherein the disk array device is determined to be abnormal even in a case where the error occurs .
5. The retry means according to claim 1, wherein the content of the abnormality is a medium.
If the read error is due to a physical defect,
Rear support that prohibits the use of
5. The disk array device according to claim 3 , wherein the disk array device also performs an in-process .
6. The retry means according to claim 1, wherein said retry means is provided when an abnormality occurs.
Execute the operation again and check whether the same error occurs again.
If the error does not reoccur, the
The disk array device according to any one of claims 1 to 5, wherein only the processing is left and other processing is not performed .
7. The retry means according to claim 1, wherein said retry means comprises :
Can be read normally by rewriting the data of
7. The disk array device according to claim 1, wherein the disk array device is restored to a state .
8. The apparatus according to claim 1, wherein said disconnection state management means sets a part including at least a data recording position (block address) of the abnormal disk device in which an abnormality has occurred as a temporary disconnection unit. The disk array device according to any one of the above.
9. The disk array device according to claim 1, wherein the disk array device is one of RAID-1 to RAID-5.
10. A disk array having a plurality of disk devices with redundancy and performing a data write operation or a data read operation with a host computer in response to a data write command or a data read command from a host computer. A device error control method for detecting an abnormality in one of a data write operation and a data read operation and recording which disk device has an abnormality in the device; The disk device in which the error occurred is temporarily disconnected and treated as a degraded operation as a disk array device (referred to as temporary degraded operation)
A disconnection state management process that manages the data as a data write command or a data read command from the host computer during the temporary degeneration operation, and uses the redundancy to transfer data between the host computer and a disk device other than the disk device where the error occurred. an instruction execution step of causing the write operation or a data read operation, the retry step for retrying data write operation or a data read operation and in parallel with abnormal disk drive with the host computer, in the retry process Error data as a result of retry
Release the temporary disconnection state of the
Possess the reintegration process of returning to normal operation from the temporary degeneration operation as location, in the abnormality detecting / abnormality device specifying information storage step, di
When a disk device reports an error such as a read error
Command or data read command within specified time
May not be returned when a timeout event is detected.
Error control method for a disk array device, wherein the determining as abnormal, including.
11. A plurality of disk units having redundancy.
Data write command from the host computer
Or with the host computer in response to a data read command
Data write or data read operation between
In the error control method of the disk array device, the data write operation or the data read operation
A location specifying information storing step, temporarily disconnect the abnormal disk drive, disk
A separated state management process for managing a data write life from the host computer during temporary degraded operation
An instruction execution step for performing a write operation and a data write operation or data between the host computer.
A retry step of performing a row, and when the disk device in which the error occurred is normal as a result of the retry in the retry step, the temporarily disconnected state of the disk device in which the error occurred is released, and the disk array device is temporarily degraded. possess the reintegration process of returning to normal operation from the operation, in the retry process, abnormal content is attributable to physical defects of the medium
Use of the defective position is prohibited when the read error is
Stop and assign a replacement position.
An error control method for a disk array device, the method being performed.
12. A plurality of disk units having redundancy.
Regression operation treated as Kuarei apparatus (called a temporary degeneration operation)
A retry step of performing a row and an error occurrence data as a result of the retry in the retry step.
Re-integration process to return from temporary degeneration operation to normal operation
The instruction execution step includes the step of:
Uses redundancy when data write command is received from data
Data to disk units other than the disk unit where the error occurred.
Write operation is performed, and the
Address indicating the location of the failed disk device
Is stored sequentially, and the abnormally disconnected disk unit is temporarily disconnected.
An error control method for a disk array device, comprising:
13. The information for specifying the abnormality detection / abnormal device.
In the storage process, an error such as a read error
In addition to regular reports, the host computer
Data write command or data read command.
A timeout event that does not return a response within the
13. The error control method for a disk array device according to claim 12, wherein it is determined that there is an abnormality even when the error is issued .
14. In the retry step, the content of the abnormality is
If the read error is due to a physical defect in
A resource that prohibits the use of lost positions and assigns alternative positions
14. The error control method for a disk array device according to claim 12, wherein an assignment process is also performed .
15. An abnormality has occurred in the retry step.
The same operation again to see if the same error occurs again
And if the error does not recur,
Claim 1 wherein only the history is left and no other processing is performed.
15. The error control method for a disk array device according to any one of 0 to 14.
16. An abnormality has occurred in the retry step.
Normal reading by rewriting the data at the position
16. The error control method for a disk array device according to claim 10, wherein the error is restored to a state in which the error is caused to occur .
17. The method according to claim 10, wherein, in the disconnection state management step, a part including at least a data recording position (block address) of the abnormal disk device in which the abnormality has occurred is used as a temporary disconnection unit. An error control method for the disk array device according to any one of the above.
18. The system according to claim 18, wherein said disk array device is a RAID.
11. A system according to any one of -1 to RAID-5.
18. The error control method for a disk array device according to any one of claims 17 to 17 .
19. The method according to claim 10, wherein :
For performing an error control method for a disk array device
A recording medium on which a control program is recorded.
JP01432599A 1998-02-26 1999-01-22 Disk array device, error control method thereof, and recording medium recording the control program Expired - Fee Related JP3184171B2 (en)
JP10-44844 1998-02-26
JP4484498 1998-02-26
JP01432599A JP3184171B2 (en) 1998-02-26 1999-01-22 Disk array device, error control method thereof, and recording medium recording the control program
US09/258,126 US6397347B1 (en) 1998-02-26 1999-02-26 Disk array apparatus capable of dealing with an abnormality occurring in one of disk units without delaying operation of the apparatus
JPH11338648A JPH11338648A (en) 1999-12-10
JP3184171B2 true JP3184171B2 (en) 2001-07-09
ID=26350253
JP01432599A Expired - Fee Related JP3184171B2 (en) 1998-02-26 1999-01-22 Disk array device, error control method thereof, and recording medium recording the control program
US (1) US6397347B1 (en)
JP (1) JP3184171B2 (en)
JP3811127B2 (en) * 2003-01-30 2006-08-16 株式会社東芝 Information recording apparatus and information recording method
JP5768587B2 (en) * 2011-08-17 2015-08-26 富士通株式会社 Storage system, storage control device, and storage control method
JP2015222454A (en) * 2012-09-18 2015-12-10 三菱電機株式会社 Raid failure self-repairing device
CN107589911A (en) * 2017-09-05 2018-01-16 郑州云海信息技术有限公司 A kind of I O process method and device of SSD cachings
JP2743606B2 (en) * 1991-04-11 1998-04-22 三菱電機株式会社 Array type recording device
JP2548480B2 (en) * 1992-02-10 1996-10-30 富士通株式会社 Disk device diagnostic method for array disk device
JPH0635625A (en) 1992-07-15 1994-02-10 Nec Corp Disk array controller
1999-01-22 JP JP01432599A patent/JP3184171B2/en not_active Expired - Fee Related
1999-02-26 US US09/258,126 patent/US6397347B1/en not_active Expired - Fee Related
JPH11338648A (en) 1999-12-10
US6397347B1 (en) 2002-05-28
JP5285610B2 (en) 2013-09-11 Optimized method to restore and copy back a failed drive when a global hot spare disk is present
JP2769443B2 (en) 1998-06-25 Storage subsystem and related apparatus / method
2001-04-05 A01 Written decision to grant a patent or to grant a registration (utility model)