Array disk apparatus

Abstract: An array disk apparatus capable of identifying locations where data reconstruction has failed. The apparatus comprises a disk controller (3) containing a data reconstructing unit (4), a "reconstruction unsuccessful" information generating unit (5) and a "reconstruction unsuccessful" information storing unit (6). The data reconstructing unit (4) reconstructs lost data based on the data from the magnetic disk units (1-1,...1-n, 2) other than the failed and repaired unit and on parity data associated with the data. The "reconstruction unsuccessful" information generating unit (5) generates "reconstruction unsuccessful" information if another magnetic disk unit develops a read error during a data reconstruction process. The "reconstruction unsuccessful" data storing unit (6) stores the "reconstruction unsuccessful" information to the failed magnetic disk unit after the repair thereof.

Description: The present invention relates to an array disk apparatus wherein serial data is dividedly stored into a plurality of disk units from which the divided data is read and composed into the original serial data. Recent developments in computer technology are phenomenal. Particularly impressive is the enhanced speed of processing by the CPU (central processing unit). The information processed by computer is generally stored in external storage devices. As information is processed by computer at speeds higher than ever before, there is a growing need for magnetic disk units that function as external storage devices to and from which information is stored and retrieved at correspondingly higher speeds. Although magnetic disk units working as external storage devices have relatively short access times, they are incapable of fully addressing the accelerated rates at which CPUs process their data. It is to fill the speed discrepancy between storage and processing that what is known as the array magnetic disk apparatus has been developed. A typical conventional magnetic disk apparatus uses a plurality of magnetic disk units (e.g., 8 units) to which data is dividedly stored. For data retrieval, the divided data is read from the multiple magnetic disk units and composed into the original data. A conventional array disk apparatus comprises a plurality of magnetic disk units to which data is dividedly stored, a parity data magnetic disk unit to which the parity data associated with the dividedly stored data is stored, and a disk controller. The disk controller contains a data reconstructing unit that reconstructs data in a magnetic disk unit to and from which data cannot be written or read for some error, the reconstruction being carried out after repair of the error based on the data from the other magnetic disk units and from the parity data magnetic disk unit. The array magnetic disk apparatus of the above construction divides data (e.g., 0, 1, 2, 3, ..., N, 2N, ...) into "n" (e.g., 8) pieces for storage into "n" magnetic disk units. The disk controller of the apparatus has its parity data generating unit which generates parity data "P1, P2 ..., Pn ..." for the divided data and places the parity data into the parity data magnetic disk unit. For data retrieval, the divided data is read simultaneously from the magnetic disk units and the associated parity data is read from the parity data magnetic disk unit. The retrieved data is reconstructed by the data reconstructing unit for output as serial data. If one magnetic disk unit develops an error and part or all of the data stored therein cannot be read therefrom, the data from the remaining magnetic disk units and the parity data from the parity data magnetic disk unit are used to reconstruct the affected data to be stored in the failed magnetic disk unit after the repair thereof. European Patent Applications EP-A-0 294 287 and EP-A-0 156 724 disclose such conventional array disk apparatus. One disadvantage of the above conventional array disk apparatus is that if another magnetic disk unit develops a read error while the repaired unit has its data being reconstructed, it is impossible to reconstruct data to be stored in the failed and repaired unit. In that case, the conventional array disk apparatus must be stopped halfway in its data reconstruction process and some appropriate action must be taken. SUMMARY OF THE INVENTION: It is therefore an object of the present invention to provide an array disk apparatus whereby, if another magnetic disk unit develops a read error while the unit that recently failed and is now repaired has its data being reconstructed, the data reconstruction process is allowed to continue after a temporary process stoppage. In accordance with an aspect of the present invention, there is provided an array disk apparatus for dividing serial data and storing the divided data into a plurality of disk units from which the divided data is read and composed into the original serial data, the apparatus comprising: means for dividing serial data into a plurality of divided data; a plurality of data disk units for storing the plurality of divided data, each unit accommodating one divided data item; means for generating parity data associated with the plurality of divided data; a parity data disk unit for storing the parity data; means for composing the plurality of divided data into the serial data; means which, if one of the plurality of data disk units develops an error and becomes incapable of storing data or of allowing part or all of the data stored therein to be read therefrom, reconstructs the affected data for storage into the failed data disk unit after the repair thereof; means which, if another data disk unit develops a read error during a data reconstruction process, generates "reconstruction unsuccessful" information indicating that the reconstruction of the affected data is unsuccessful; and means for writing the "reconstruction unsuccessful" information to the data disk unit whose data is to be reconstructed. Preferably, the data disk units are magnetic disk units and the "reconstruction unsuccessful" information is a flag illustratively written to an ID part of the failed magnetic disk unit. The above and other objects, features and advantages of the present invention and the manner of realizing them will become more apparent, and the invention itself will best be understood from a study of the following description and appended claims with reference to the attached drawings showing some preferred embodiments of the invention. BRIEF DESCRIPTION OF THE DRAWINGS: Fig. 1 is a block diagram of the construction of an array disk apparatus embodying the present invention; Fig. 2 is a flowchart showing how the embodiment works; Fig. 3 (A) is a view depicting the state in which data is normally reconstructed with the embodiment; Fig. 3 (B) is a view illustrating the state of data recording in which data has failed to be reconstructed with the embodiment; Fig. 4 is a schematic diagram showing how data is reconstructed by the embodiment; Fig. 5 is a schematic diagram indicating how the embodiment writes "reconstruction unsuccessful" information; Fig. 6 (A) is a view indicating the state in which data is normally reconstructed; and Fig. 6 (B) is a view illustrating another example of data recording when data reconstruction has failed. DESCRIPTION OF THE PREFERRED EMBODIMENTS: Referring to Fig. 1, the array disk apparatus embodying the present invention comprises a plurality of magnetic disk units 1-1 through 1-n to which data is dividedly stored, a parity data magnetic disk unit 2 to which to store the parity data associated with the dividedly stored data, and a disk controller 3 for controlling the magnetic disk units 1-1 through 1-n and the parity data magnetic disk unit 2. The disk controller 3 includes a data dividing unit and a data composing unit, both not shown, the data dividing unit evenly dividing the serial data from a host computer for transfer to and storage in each magnetic disk unit, the data composing unit composing the data from each magnetic disk unit into the original serial data. The disk controller 3 further includes a data reconstructing unit 4, a "reconstruction unsuccessful" information generating unit 5 and a "reconstruction unsuccessful" information storing unit 6. Where data cannot be read from one magnetic disk unit for some error, the data reconstructing unit 4 reconstructs the data to be stored in the failed unit based on the data from the other magnetic disk units and on the parity data from the parity data magnetic disk unit. If another magnetic disk unit develops a read error while the repaired erroneous magnetic disk unit has its data being reconstructed, the "reconstruction unsuccessful" information generating unit 5 generates information saying that data reconstruction is unsuccessful. The "reconstruction unsuccessful" information storing unit 6 stores the "reconstruction unsuccessful" information to the magnetic disk unit whose data is to be reconstructed. How the embodiment of the above construction works will now be described with reference to Fig. 2. In step 101, in order to reconstruct the data to be stored in a failed magnetic disk unit, the data stored in the other magnetic disk units is read therefrom and the associated parity data is read from the parity data magnetic disk unit after the failed magnetic disk unit is repaired. In step 102, a check is made to see if a read error exists in any magnetic disk unit. With no read error detected, step 103 is reached in which the appropriate data is reconstructed in the repaired magnetic disk unit. If a read error is detected in step 102 in a magnetic disk unit other than the unit whose data is to be reconstructed, data reconstruction becomes unavailable. In that case, the "reconstruction unsuccessful" information generating unit 5 in the disk controller 3 generates "reconstruction unsuccessful" information. In step 104, the "reconstruction unsuccessful" information storing unit 6 writes the "reconstruction unsuccessful" information to the magnetic disk unit whose data is to be reconstructed. As shown in Fig. 3 (B), the embodiment has an indicator 10 provided in a count part (ID part) of each record block. If data reconstruction becomes unsuccessful, a flag "1" is set in the indicator 10, thus identifying the location where the data cannot be reconstructed. Fig. 3 (A) shows the state in which data is normally recorded. In this state, a "0" is written to the indicator 10. After the "reconstruction unsuccessful" information is written to the magnetic disk unit whose data is to be reconstructed, the interrupted data reconstruction process may be resumed. Under the above control scheme, access to the count part upon data retrieval indicates that the portion where the flag "1" is set has unsuccessful data reconstruction. In this manner, it is possible to identify any location where data is not normally recorded. Fig. 4 schematically illustrates how data is reconstructed. Fig. 5 provides a schematic view of "reconstruction unsuccessful" information being written to a repaired magnetic disk unit. In the above-described embodiment, the use of "reconstruction unsuccessful" information involves providing the indicator 10 in the count part for identification purposes. Alternatively, a special pattern containing an error check code (ECC) may be written to the data part for identification, as depicted in Fig. 6 (B). Fig. 6 (A) shows the state in which data is normally recorded. The location to which to write the "reconstruction unsuccessful" information is not limited to the count part or data part; the information may be written to any other appropriate location. Furthermore, the disks on which to store data are not limited to magnetic disks; these disks may be optical disks or any other suitable external storage means. As described and according to the invention, if another magnetic disk unit develops a read error while the failed magnetic disk unit has its data being reconstructed, "reconstruction unsuccessful" information is generated and written to the magnetic disk unit under data reconstruction. This makes it possible to resume the data reconstruction process that was interrupted after the reconstruction unsuccessful" information was recorded. Upon data retrieval with this embodiment, reading the "reconstruction unsuccessful" information allows the location where data is not normally recorded to be precisely identified. It is to be understood that while the invention has been described in conjunction with specific embodiments, it is evident that many alternatives, modifications and variations will become apparent to those skilled in the art in light of the foregoing description.

Claims: An array disk apparatus for dividing serial data and storing the divided data into a plurality of disk units (1-1, 1-2,...1-n, 2) from which said divided data is read and composed into the original serial data, said apparatus comprising: means (3) for dividing serial data into a plurality of divided data; a plurality of data disk units (1-1, 1-2...1-n) for storing said plurality of divided data, each unit accommodating one divided data item; means (3) for generating parity data associated with said plurality of divided data; a parity data disk unit (2) for storing said parity data; means (3) for composing said plurality of divided data into said serial data; means (4) which, if one of said plurality of data disk units develops an error and becomes incapable of storing data or of allowing part or all of the data stored therein to be read therefrom, reconstructs the affected data for storage into said erroneous data disk unit after the repair thereof; said apparatus being characterized by comprising: means (5) which, if another data disk unit develops a read error during a data reconstruction process, generates "reconstruction unsuccessful" information indicating that the reconstruction of the affected data is unsuccessful; and means (6) for writing said "reconstruction unsuccessful" information to said erroneous data disk unit whose data is to be reconstructed. An array disk apparatus according to claim 1, wherein said data disk units (1-1,...1-n) are magnetic disk units and wherein said "reconstruction unsuccessful" information is a flag written to a count (ID) part in an erroneous magnetic disk unit. An array disk apparatus according to claim 1, wherein said data disk units (1-1,...1-n) are magnetic disk units and wherein said "reconstruction unsuccessful" information is a special pattern written to a data part containing an ECC (error check code) in an erroneous magnetic disk unit.

Inventors: OHIZUMI YUMIKO, OYAMA TOMOHISA, OHIZUMI, YUMIKO, OYAMA, TOMOHISA
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1991
Main classification: G06F3
IPC codes: G06F11, G11C29, G06F3