JPH04321123A - Disk array controller - Google Patents

Disk array controller

Info

Publication number
JPH04321123A
JPH04321123A JP3090874A JP9087491A JPH04321123A JP H04321123 A JPH04321123 A JP H04321123A JP 3090874 A JP3090874 A JP 3090874A JP 9087491 A JP9087491 A JP 9087491A JP H04321123 A JPH04321123 A JP H04321123A
Authority
JP
Japan
Prior art keywords
data
disk
vertical
parity
horizontal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP3090874A
Other languages
Japanese (ja)
Inventor
Kiyoshi Segawa
清 瀬川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Sord Computer Corp
Original Assignee
Toshiba Corp
Sord Computer Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Sord Computer Corp filed Critical Toshiba Corp
Priority to JP3090874A priority Critical patent/JPH04321123A/en
Publication of JPH04321123A publication Critical patent/JPH04321123A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of a compact computer system using plural disk array devices by attaining a 2-dimensional parity check system including the horizontal and vertical series. CONSTITUTION:If one of disk DD0-DD5 of a horizontal series is faulty and the reproduction of data is impossible, the data recovery processing is carried out based on the horizontal parity data to which the faulty disk drive belongs. Meanwhile the data recovery processing is carried out with use of the vertical parity data stored in the disk drives P0-P5 exclusive for the parity data if one of disk drives of a vertical series has a fault and the reproduction of data is impossible.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、複数のディスクドライ
ブを制御し、データエラー発生に対するデータ修復機能
を有するディスクアレイ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk array control device that controls a plurality of disk drives and has a data recovery function in the event of a data error.

【0002】0002

【従来の技術】従来、ディスクアレイ装置は、複数のデ
ィスクドライブ(DD)を有し、各ディスクドライブは
共通のコントローラ(DAC)により制御されるように
構成されている。コントローラは、ホストバスを通じて
ホストコンピュータに接続されており、ホストコンピュ
ータからの命令に応じて各ディスクドライブをアクセス
する。
2. Description of the Related Art Conventionally, a disk array device has a plurality of disk drives (DD), and each disk drive is configured to be controlled by a common controller (DAC). The controller is connected to a host computer via a host bus, and accesses each disk drive in response to instructions from the host computer.

【0003】ディスクアレイ装置では、装置の信頼性を
高めるために、パリティチェック方式が採用されている
。具体的には、各ディスクドライブの同一物理セクタに
書込まれた同一バイトの各ライトデータを排他的論理和
演算処理し、この演算結果に基づいてパリティデータを
生成して保存する方式が行われている。
[0003] In disk array devices, a parity check method is adopted in order to improve the reliability of the device. Specifically, a method is used in which each write data of the same byte written to the same physical sector of each disk drive is subjected to an exclusive OR operation, and parity data is generated and stored based on the result of this operation. ing.

【0004】コントローラは、ディスクドライブの中で
故障が発生した場合に、保存しているパリティデータに
より故障で再生できないデータの修復処理を行なう。パ
リティデータは、パリティ専用のディスクドライブに保
存されるか又は各ディスクドライブに分散して保存され
る。通常では、パリティ専用のディスクドライブに保存
する方式はアクセス速度の低下を招くため、分散して保
存する方式が採用されている。
[0004] When a failure occurs in a disk drive, the controller uses stored parity data to restore data that cannot be reproduced due to the failure. Parity data is stored in a disk drive dedicated to parity, or distributed and stored in each disk drive. Normally, a method of storing parity on a dedicated disk drive results in a decrease in access speed, so a method of storing data in a distributed manner is adopted.

【0005】ところで、複数のディスクアレイ装置を使
用したコンピュータシステムの構成が考えられる。この
ようなシステムでは、各ディスクアレイ装置に属する横
方向(水平方向)系列のディスクドライブ群と各ディス
クアレイ装置を越えて縦方向(垂直方向)系列のディス
クドライブ群とからなる配列が構成される。
By the way, a computer system configuration using a plurality of disk array devices is conceivable. In such a system, an array is constructed consisting of a horizontal (horizontal) array of disk drives belonging to each disk array device and a vertical (vertical) array of disk drives that extends beyond each disk array device. .

【0006】このようなシステムでは、ディスクドライ
ブ数が多数となるため、同時に複数のドライブの故障発
生率が高くなるが、前記のような横方向系列のパリティ
データのみの1次元のパリティチェック方式では、デー
タ修復処理は不可能である。
[0006] In such a system, the number of disk drives is large, so the failure rate of multiple drives at the same time is high, but the one-dimensional parity check method using only horizontal series parity data as described above , data recovery processing is impossible.

【0007】[0007]

【発明が解決しようとする課題】複数のディスクアレイ
装置を使用したシステムでは、各ディスクアレイ装置毎
の横方向系列のパリティデータのみを利用する1次元パ
リティチェック方式では、高い信頼性を保持することは
不可能である。このため、2次元のパリティチェック方
式の採用が考えられる。しかしながら、2次元のパリテ
ィチェック方式は、大規模なシステムにおいては実現さ
れているが、小型のコンピュータシステムでは実現され
ていない。
[Problem to be Solved by the Invention] In a system using a plurality of disk array devices, it is difficult to maintain high reliability with a one-dimensional parity check method that uses only horizontal series parity data for each disk array device. is not possible. For this reason, it is conceivable to adopt a two-dimensional parity check method. However, although the two-dimensional parity check method has been implemented in large-scale systems, it has not been implemented in small-sized computer systems.

【0008】本発明の目的は、複数のディスクアレイ装
置を使用した小型のコンピュータシステムにおいて、横
方向系列および縦方向系列の各パリティデータを利用す
る2次元のパリティチェック方式を実現して、信頼性の
高いシステムを実現することができるディスクアレイ制
御装置を提供することにある。
An object of the present invention is to realize a two-dimensional parity check method that utilizes parity data in horizontal and vertical sequences in a small computer system using a plurality of disk array devices, thereby improving reliability. An object of the present invention is to provide a disk array control device that can realize a system with high performance.

【0009】[0009]

【課題を解決するための手段】本発明は、横方向系列の
複数のディスクドライブを1ユニットとして、各ユニッ
ト毎に設けられるメイン・ディスクアレイ制御手段、サ
ブ・ディスクアレイ制御手段およびパリティ・ディスク
アレイ制御手段とからなるディスクアレイ制御装置であ
る。メイン・ディスクアレイ制御手段およびサブ・ディ
スクアレイ制御手段は相互に連絡し、それぞれ横方向系
列の各ディスクドライブの所定の同一記憶位置に記録さ
れる各書込みデータに基づいて生成した横方向パリティ
データによりデータ修復処理を実行する。
[Means for Solving the Problems] The present invention regards a plurality of disk drives in a horizontal series as one unit, and provides a main disk array control means, a sub-disk array control means, and a parity disk array provided for each unit. This is a disk array control device consisting of a control means. The main disk array control means and the sub-disk array control means communicate with each other, and each uses horizontal parity data generated based on each write data recorded in the same predetermined storage location of each disk drive in the horizontal series. Perform data recovery processing.

【0010】パリティ・ディスクアレイ制御手段は、メ
インおよびサブの各ディスクアレイ制御手段は相互に連
絡し、各ディスクアレイ制御手段を越えた縦方向系列の
各ディスクドライブの所定の同一記憶位置に記録される
各書込みデータに基づいて生成した縦方向パリティデー
タを記憶するパリティデータ専用ディスクドライブを制
御する。
In the parity disk array control means, the main and sub disk array control means communicate with each other, and data is recorded at the same predetermined storage location of each disk drive in a longitudinal series beyond each disk array control means. A parity data dedicated disk drive that stores vertical parity data generated based on each write data is controlled.

【0011】[0011]

【作用】本発明では、横方向系列の各ディスクドライブ
の中で、1台のディスクドライブが故障してデータの再
生ができない場合には、その故障したディスクドライブ
が属する横方向パリティデータに基づいて、データ修復
処理が実行される。一方、縦方向系列の各ディスクドラ
イブの中で、1台のディスクドライブが故障してデータ
の再生ができない場合には、パリティデータ専用ディス
クドライブに保存された縦方向パリティデータを利用し
て、データ修復処理が実行される。これにより、同時に
複数台のディスクドライブが故障した場合でも、横方向
パリティデータおよび縦方向パリティデータに基づいて
、データ修復処理が可能となる。
[Operation] According to the present invention, when one disk drive among the disk drives in the horizontal series has a failure and data cannot be reproduced, data is not reproduced based on the horizontal parity data to which the failed disk drive belongs. , data repair processing is performed. On the other hand, if one of the disk drives in the vertical series fails and data cannot be played back, the vertical parity data stored in the parity data-dedicated disk drive is used to A repair process is performed. As a result, even if multiple disk drives fail at the same time, data recovery processing can be performed based on the horizontal parity data and the vertical parity data.

【0012】0012

【実施例】以下図面を参照して本発明の実施例を説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the drawings.

【0013】図1は同実施例に係わるディスクアレイ・
システムの要部を示すブロック図である。本システムは
、ホストコンピュータ1、メイン・ディスクアレイ装置
、複数のサブ・ディスクアレイ装置およびパリティデー
タ専用ディスクアレイ装置からなる。ホストコンピュー
タ1は、ホストバス1aを通じて、各ディスクアレイ装
置に対してコマンドの送信およびデータの送受信を行な
う。
FIG. 1 shows a disk array according to the same embodiment.
FIG. 2 is a block diagram showing main parts of the system. This system consists of a host computer 1, a main disk array device, a plurality of sub-disk array devices, and a disk array device exclusively for parity data. The host computer 1 sends commands and sends/receives data to each disk array device via the host bus 1a.

【0014】メイン・ディスクアレイ装置は、メイン・
コントローラ(メインDAC)2およびメイン・ディス
クドライブ群6からなる。メイン・ディスクドライブ群
6は、例えば6台のディスクドライブDD0〜DD5か
らなる。コントローラ2は、ローカルバス2aを通じて
、横方向系列の各ディスクドライブDD0〜DD5をそ
れぞれ制御する。
[0014] The main disk array device is
It consists of a controller (main DAC) 2 and a main disk drive group 6. The main disk drive group 6 includes, for example, six disk drives DD0 to DD5. The controller 2 controls each of the horizontal series of disk drives DD0 to DD5 through the local bus 2a.

【0015】各サブ・ディスクアレイ装置は、サブ・コ
ントローラ(DAC)3およびサブ・ディスクドライブ
群7からなる。サブ・ディスクドライブ群7は、メイン
と同様の構成であり、6台のディスクドライブDD0〜
DD5からなる。コントローラ3は、ローカルバス3a
を通じて、横方向系列の各ディスクドライブDD0〜D
D5をそれぞれ制御する。
Each sub-disk array device consists of a sub-controller (DAC) 3 and a sub-disk drive group 7. The sub-disk drive group 7 has the same configuration as the main, and includes six disk drives DD0 to
Consists of DD5. The controller 3 is connected to the local bus 3a
Through each disk drive DD0~D in the horizontal series
D5 respectively.

【0016】パリティデータ専用ディスクアレイ装置は
、パリティ・コントローラ(PDC)4およびパリティ
・ディスクドライブ群8からなる。パリティ・ディスク
ドライブ群8は、メインおよびサブの各ディスクドライ
ブ群と同様の構成であり、6台のディスクドライブP0
〜P5からなる。コントローラ4は、ローカルバス4a
を通じて、横方向系列の各ディスクドライブP0〜P5
をそれぞれ制御する。
The parity data-dedicated disk array device consists of a parity controller (PDC) 4 and a parity disk drive group 8. The parity disk drive group 8 has the same configuration as the main and sub disk drive groups, and has six disk drives P0.
~ Consists of P5. The controller 4 has a local bus 4a.
Through each disk drive P0 to P5 in the horizontal series
control each.

【0017】各コントローラ2〜4は、ホストバス1a
に接続されており、かつパリティバス5を通じて相互に
連絡している。各コントローラ2〜4は、図2に示すよ
うに、CPU10、メモリ(ROM)11、バッファメ
モリ12およびパリティ生成回路13を備えている。C
PU10は、制御動作を実行するコントローラ本体であ
る。メモリ11は、CPU10のプログラム及び各種制
御データを格納しているリードオンリメモリである。バ
ッファメモリ12は、ホストコンピュータ1との間で転
送するデータを一時的に格納するメモリである。パリテ
ィ生成回路13は、各ディスクドライブの書込みデータ
に基づいて、パリティデータを生成するための回路であ
る。
Each of the controllers 2 to 4 has a host bus 1a.
and communicate with each other via a parity bus 5. Each of the controllers 2 to 4 includes a CPU 10, a memory (ROM) 11, a buffer memory 12, and a parity generation circuit 13, as shown in FIG. C
PU10 is a controller main body that executes control operations. The memory 11 is a read-only memory that stores programs for the CPU 10 and various control data. The buffer memory 12 is a memory that temporarily stores data to be transferred to and from the host computer 1. The parity generation circuit 13 is a circuit for generating parity data based on write data of each disk drive.

【0018】さらに、各コントローラ2〜4は、ローカ
ルバスに接続されたローカルバスインターフェース(I
/F)14、ホストバス1aに接続されたホストバスI
/F15およびパリティバス5に接続されたパリティバ
スI/F16を有する。次に、同実施例の動作を説明す
る。
Furthermore, each controller 2 to 4 has a local bus interface (I) connected to the local bus.
/F) 14, host bus I connected to host bus 1a
/F15 and a parity bus I/F16 connected to the parity bus 5. Next, the operation of this embodiment will be explained.

【0019】まず、メインDAC2および各サブDAC
3は、横方向系列の各ディスクドライブDD0〜DD5
を、図3(B)に示すように、各ディスクドライブの物
理セクタ(0〜3…)毎に論理セクタ(0〜19…)を
順に割り当て、各物理セクタ毎にパリティデータPh用
のパリティセクタを設ける。
First, the main DAC 2 and each sub DAC
3 is each disk drive DD0 to DD5 in the horizontal direction.
As shown in FIG. 3(B), logical sectors (0 to 19...) are sequentially allocated to each physical sector (0 to 3...) of each disk drive, and a parity sector for parity data Ph is assigned to each physical sector. will be established.

【0020】メインDAC2のパリティ生成回路13は
、横方向系列のディスクドライブ群6において、同一物
理セクタに属する各論理セクタに書込まれたバイト単位
のライトデータを排他的論理和演算処理し、この演算結
果に基づいてパリティデータPhを生成する。メインD
AC2のCPU10は、生成したパリティデータPhを
同一物理セクタのパリティセクタに保存する。即ち、横
方向系列の各ディスクドライブDD0〜DD5に対応す
る横方向パリティデータPhは、各ディスクドライブD
D0〜DD5に分散して保存されている。
The parity generation circuit 13 of the main DAC 2 performs an exclusive OR operation on the write data in bytes written to each logical sector belonging to the same physical sector in the horizontally arranged disk drive group 6, and Parity data Ph is generated based on the calculation result. Main D
The CPU 10 of the AC2 stores the generated parity data Ph in the parity sector of the same physical sector. That is, the horizontal parity data Ph corresponding to each disk drive DD0 to DD5 in the horizontal series is
It is distributed and stored in D0 to DD5.

【0021】各サブDAC3に属する横方向系列の各デ
ィスクドライブDD0〜DD5においても同様に、横方
向パリティデータPhがパリティ生成回路13により生
成されて、各ディスクドライブDD0〜DD5に分散し
て保存される。
Similarly, in each of the disk drives DD0 to DD5 in the horizontal series belonging to each sub DAC 3, horizontal parity data Ph is generated by the parity generation circuit 13 and stored in a distributed manner in each of the disk drives DD0 to DD5. Ru.

【0022】具体的には、例えば図3の(A)に示すよ
うに、各ディスクドライブDD0〜DD5において、同
一物理セクタの8ビットのライトデータD0〜D5を排
他的論理和演算処理し、この演算結果に基づいて8ビッ
トの横方向パリティデータPhを生成する。
Specifically, as shown in FIG. 3A, for example, in each disk drive DD0 to DD5, 8-bit write data D0 to D5 of the same physical sector are subjected to an exclusive OR operation, and this 8-bit horizontal parity data Ph is generated based on the calculation result.

【0023】一方、PDC4は、パリティバス5を通じ
て、メインDAC2およびサブDAC3から転送される
ライトデータに基づいて、縦方向系列の各ディスクドラ
イブに対応する縦方向パリティデータPvを生成して、
ディスクドライブP0〜P5に保存する。即ち、PDC
4のパリティ生成回路13は、メインDAC2および各
サブDAC3に属する同一縦方向のディスクドライブ(
例えばDD0)の同一物理セクタに属する各ライトデー
タを排他的論理和演算処理し、この演算結果に基づいて
パリティデータPvを生成し、同一縦方向の方向のディ
スクドライブ(P0)に保存する。各ライトデータは、
例えばディスクドライブDD0の同一物理セクタに属す
る各論理セクタに書込まれたバイト単位の書込みデータ
である。
On the other hand, the PDC 4 generates vertical parity data Pv corresponding to each disk drive in the vertical series based on the write data transferred from the main DAC 2 and sub DAC 3 via the parity bus 5.
Save to disk drives P0 to P5. That is, P.D.C.
The parity generation circuit 13 of No. 4 has the same vertical disk drive (
For example, each write data belonging to the same physical sector of DD0) is subjected to an exclusive OR operation, and based on the result of this operation, parity data Pv is generated and stored in a disk drive (P0) in the same vertical direction. Each light data is
For example, it is write data in bytes written to each logical sector belonging to the same physical sector of the disk drive DD0.

【0024】具体的には、図4に示すように、同一縦方
向のn台のディスクドライブ(DD0)の同一論理セク
タの8ビットのデータ(D0−1〜D0−n)を排他的
論理和演算処理し、この演算結果に基づいて縦方向のパ
リティデータPvを生成する。この生成した縦方向のパ
リティデータPvを、同一縦方向のディスクドライブ(
P0)に保存する。
Specifically, as shown in FIG. 4, 8-bit data (D0-1 to D0-n) of the same logical sector of n disk drives (DD0) in the same vertical direction are subjected to exclusive OR. Arithmetic processing is performed, and vertical parity data Pv is generated based on the result of the calculation. This generated vertical parity data Pv is transferred to the same vertical disk drive (
P0).

【0025】このような基本的動作において、同実施例
に係わる横方向パリティデータPh、縦方向パリティデ
ータPvの更新処理およびデータ修復処理について説明
する。
In such basic operations, the updating process and data restoration process of horizontal parity data Ph and vertical parity data Pv according to the same embodiment will be explained.

【0026】図5に示すように、ホストコンピュータ1
からリード命令が出力されると(ステップS1のNO)
、メインDAC2はホストバス1aを通じてリード命令
を受信する。メインDAC2は受信したリード命令を、
パリティバス5を通じてローカルリード命令として各サ
ブDAC3に転送する(ステップS6)。メインDAC
2は、受信したリード命令によりアクセス対象の目的論
理セクタのアドレスを算出し、そのアドレスを含むロー
カルリード命令を出力する。
As shown in FIG. 5, the host computer 1
When a read command is output from (NO in step S1)
, the main DAC 2 receives the read command via the host bus 1a. The main DAC2 receives the read command,
It is transferred to each sub DAC 3 as a local read command via the parity bus 5 (step S6). Main DAC
2 calculates the address of the target logical sector to be accessed based on the received read command, and outputs a local read command including the address.

【0027】メインDAC2および各サブDAC3は、
それぞれローカルバス2a,3aを通じて、横方向系列
の各ディスクドライブDD0〜DD5をアクセスし、ア
クセス対象のデータをリードする(ステップS7)。メ
インDAC2および各サブDAC3は、リードしたデー
タを各バッファメモリ12に格納する(ステップS9)
。メインDAC2は、ホストコンピュータ1に対して転
送するべきデータの順番に、各サブDAC3に対してパ
リティバス5を通じて指令を出力する。これにより、各
サブDAC3およびメインDAC2は、ホストバス1a
を通じて、各バッファメモリ12に格納されたリードデ
ータを所定の順に転送する(ステップS10)。
[0027] The main DAC 2 and each sub DAC 3 are
Each of the disk drives DD0 to DD5 in the horizontal series is accessed through the local buses 2a and 3a, respectively, and the data to be accessed is read (step S7). The main DAC 2 and each sub DAC 3 store the read data in each buffer memory 12 (step S9).
. The main DAC 2 outputs commands to each sub-DAC 3 via the parity bus 5 in the order of data to be transferred to the host computer 1. As a result, each sub DAC 3 and main DAC 2 connect to the host bus 1a.
The read data stored in each buffer memory 12 is transferred in a predetermined order (step S10).

【0028】一方、ホストコンピュータ1からライト命
令が出力されると(ステップS1のYES)、メインD
AC2はホストバス1aを通じてライト命令を受信する
。メインDAC2は受信したライト命令を、パリティバ
ス5を通じてローカルライト命令として各サブDAC3
およびPDC4に転送する(ステップS2)。メインD
AC2および各サブDAC3は、ホストバス1aを通じ
てホストコンピュータ1から転送されるライトデータ(
新データ)の中で必要なデータのみを受信する(ステッ
プS3)。
On the other hand, when a write command is output from the host computer 1 (YES in step S1), the main D
AC2 receives a write command via host bus 1a. The main DAC 2 sends the received write command to each sub DAC 3 as a local write command via the parity bus 5.
and transfer it to the PDC 4 (step S2). Main D
The AC 2 and each sub DAC 3 receive write data (
Only necessary data is received among the new data (step S3).

【0029】メインDAC2および各サブDAC3は、
パリティバス5を通じて、受信した新データと更新すべ
き旧データとをPDC4に転送する(ステップS4)。 旧データは、横方向系列の各ディスクドライブDD0〜
DD5において、新データを書込むアドレスに記録され
ていたデータである。
The main DAC 2 and each sub DAC 3 are
The received new data and old data to be updated are transferred to the PDC 4 via the parity bus 5 (step S4). The old data is stored in each disk drive DD0 in the horizontal direction.
This is data that was recorded at the address where new data is to be written in the DD5.

【0030】PDC4は、更新すべき旧データに対応す
る縦方向パリティデータPvをディスクドライブP0〜
P5から読出す。PDC4は、メインDAC2および各
サブDAC3から転送された新旧データと読出した旧パ
リティデータPvに基づいて、新しい縦方向パリティデ
ータPvを生成し、ディスクドライブP0〜P5に保存
する(ステップS5)。これにより、横方向系列の各デ
ィスクドライブDD0〜DD5に対するデータ更新に応
じて、縦方向パリティデータPvも更新されることにな
る。
The PDC 4 stores the vertical parity data Pv corresponding to the old data to be updated in the disk drives P0 to
Read from P5. The PDC 4 generates new vertical parity data Pv based on the old and new data transferred from the main DAC 2 and each sub-DAC 3 and the read old parity data Pv, and stores it in the disk drives P0 to P5 (step S5). As a result, the vertical parity data Pv is also updated in accordance with the data update for each disk drive DD0 to DD5 in the horizontal series.

【0031】ここで、横方向系列の各ディスクドライブ
DD0〜DD5に対するデータ更新に応じて、各横方向
パリティデータPhの更新も実行される。この場合、メ
インDAC2および各サブDAC3は、新旧データと旧
パリティデータPhに基づいて、新しい横方向パリティ
データPhを生成し、各ディスクドライブDD0〜DD
5のパリティセクタに保存する。
[0031] Here, in accordance with the data update for each disk drive DD0 to DD5 in the horizontal series, each horizontal parity data Ph is also updated. In this case, the main DAC 2 and each sub DAC 3 generate new horizontal parity data Ph based on the old and new data and the old parity data Ph, and
5 parity sector.

【0032】次に、前記ステップS7の処理において、
データをリードする場合に、ディスクドライブの故障に
よりエラーが発生すると(ステップS8のYES)、図
6に示すように、メインDAC2および各サブDAC3
はデータ修復処理を実行する。
Next, in the process of step S7,
When reading data, if an error occurs due to a disk drive failure (YES in step S8), the main DAC 2 and each sub DAC 3
performs data recovery processing.

【0033】即ち、横方向系列の各ディスクドライブD
D0〜DD5の中で、故障ディスクドライブが1台であ
れば(ステップS11のYES)、該当するメインDA
C2又はサブDAC3は、正常なディスクドライブのラ
イトデータと横方向パリティデータPhに基づいて、故
障ディスクドライブのデータ修復処理を実行する(ステ
ップS12)。具体的には、例えばディスクドライブD
D3が故障した場合に、図3の(A)に示すように、同
一物理セクタの正常な各ライトデータD0〜D2および
D4,D5および横方向パリティデータPhに基づいて
、エラーデータD3を修復する。各ライトデータD0〜
D2およびD4,D5は、それぞれ各ディスクドライブ
DD0〜DD2およびDD4,DD5の同一物理セクタ
に書込まれたデータである。
That is, each disk drive D in the horizontal series
If there is one failed disk drive among D0 to DD5 (YES in step S11), the corresponding main DA
The C2 or sub DAC 3 executes data recovery processing for the failed disk drive based on the write data of the normal disk drive and the horizontal parity data Ph (step S12). Specifically, for example, disk drive D
When D3 fails, as shown in FIG. 3A, the error data D3 is repaired based on the normal write data D0 to D2, D4, and D5 of the same physical sector and the horizontal parity data Ph. . Each write data D0~
D2, D4, and D5 are data written to the same physical sector of each disk drive DD0 to DD2 and DD4, DD5, respectively.

【0034】メインDAC2又はサブDAC3は、修復
したライトデータをバッファメモリ12に格納し、これ
を正常なリードデータとしてホストバス1aを通じてホ
ストコンピュータ1に転送する(ステップS14)。
The main DAC 2 or sub DAC 3 stores the repaired write data in the buffer memory 12 and transfers it as normal read data to the host computer 1 via the host bus 1a (step S14).

【0035】故障ディスクドライブが複数台であれば(
ステップS11のNO)、該当するメインDAC2又は
サブDAC3は、パリティバス5を通じてローカルリー
ド命令を他のDACおよびPDC4に転送する(ステッ
プS15)。即ち、横方向系列の各ディスクドライブD
D0〜DD5の中で、故障ディスクドライブの同一縦方
向の各ディスクドライブから、正常な各ライトデータお
よび縦方向パリティデータPvを読出す。該当するメイ
ンDAC2又はサブDAC3は、同一縦方向の各ライト
データおよび縦方向パリティデータPvに基づいて、故
障ディスクドライブのデータ修復処理を実行する(ステ
ップS16)。
If there are multiple failed disk drives (
(NO in step S11), the corresponding main DAC 2 or sub DAC 3 transfers the local read command to the other DAC and PDC 4 via the parity bus 5 (step S15). That is, each disk drive D in the horizontal series
Among D0 to DD5, normal write data and vertical parity data Pv are read from each disk drive in the same vertical direction as the failed disk drive. The corresponding main DAC 2 or sub DAC 3 executes data recovery processing for the failed disk drive based on each write data in the same vertical direction and the vertical parity data Pv (step S16).

【0036】具体的には、例えばDAC−1(メインD
AC2又はサブDAC3)に属するディスクドライブD
D3が故障した場合に、図4に示すように、同一縦方向
の各ディスクドライブDD3の同一物理セクタの正常な
各ライトデータD3−2〜D3−nおよび縦方向パリテ
ィデータPv−3に基づいて、エラーデータD3−1を
修復する。縦方向パリティデータPv−3は、同一縦方
向のディスクドライブP3に保存されている縦方向パリ
ティデータPvである。
Specifically, for example, DAC-1 (main D
Disk drive D belonging to AC2 or sub DAC3)
When D3 fails, as shown in FIG. 4, based on normal write data D3-2 to D3-n and vertical parity data Pv-3 of the same physical sector of each disk drive DD3 in the same vertical direction, , repair the error data D3-1. The vertical parity data Pv-3 is vertical parity data Pv stored in the same vertical disk drive P3.

【0037】ここで、故障ディスクドライブが2台の場
合には、同一縦方向のライトデータと縦方向パリティデ
ータPvにより修復したデータを使用し、横方向系列の
正常な各ライトデータと横方向パリティデータPhによ
り、もう1台のデータを修復する(ステップS12〜S
14)。
Here, if there are two failed disk drives, the data repaired using the same vertical write data and vertical parity data Pv is used, and each normal write data in the horizontal series and the horizontal parity The data of the other device is restored using the data Ph (steps S12 to S
14).

【0038】また、故障ディスクドライブが3台以上の
場合には、前記のように各同一縦方向系列のディスクド
ライブDD0〜DD5の各ライトデータとディスクドラ
イブP0〜P5に保存された各縦方向パリティデータP
vにより、故障ディスクドライブの各データを修復する
In addition, if there are three or more failed disk drives, each write data of each of the disk drives DD0 to DD5 in the same longitudinal series and each longitudinal parity stored in each of the disk drives P0 to P5 are stored as described above. Data P
v, each data on the failed disk drive is repaired.

【0039】このようにして、メインDAC2および各
サブDAC3のそれぞれにより制御される横方向系列の
各ディスクドライブDD0〜DD5に分散された横方向
パリティデータPhを利用して、横方向系列に属する故
障ディスクドライブのデータ修復処理を行なうことがで
きる。さらに、メインDAC2および各サブDAC3を
越える縦方向系列の各ディスクドライブに対応する縦方
向パリティデータPvを利用して、縦方向系列に属する
故障ディスクドライブのデータ修復処理を行なうことが
できる。したがって、横方向および縦方向の2次元パリ
ティデータを利用して、同時に複数の故障ディスクドラ
イブが発生した場合でも、データ修復処理を可能とする
ことができる。
In this way, by using the horizontal parity data Ph distributed to each of the disk drives DD0 to DD5 in the horizontal series controlled by the main DAC 2 and each sub-DAC 3, a failure belonging to the horizontal series is detected. You can perform data recovery processing on disk drives. Further, by using the vertical parity data Pv corresponding to each disk drive in the vertical series beyond the main DAC 2 and each sub-DAC 3, it is possible to perform data recovery processing for a failed disk drive belonging to the vertical series. Therefore, by using two-dimensional parity data in the horizontal and vertical directions, it is possible to perform data recovery processing even when a plurality of failed disk drives occur at the same time.

【0040】[0040]

【発明の効果】以上詳述したように本発明によれば、複
数のディスクアレイ装置を使用した小型のコンピュータ
システムにおいて、各ディスクアレイ装置毎の横方向系
列のパリティデータと各装置を越えた縦方向系列のパリ
ティデータを利用した2次元のパリティチェック方式を
実現することができる。したがって、同時に複数の故障
装置が発生する場合でも、確実にデータ修復処理を実現
することができるため、結果的に信頼性の高いシステム
の構築を図ることができる。
As described in detail above, according to the present invention, in a small computer system using a plurality of disk array devices, parity data in the horizontal series for each disk array device and vertical series across each disk array device can be A two-dimensional parity check method using direction series parity data can be realized. Therefore, even if a plurality of failed devices occur at the same time, data recovery processing can be reliably realized, and as a result, a highly reliable system can be constructed.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の実施例に係わるディスクアレイ・シス
テムのの要部を示すブロック図。
FIG. 1 is a block diagram showing the main parts of a disk array system according to an embodiment of the present invention.

【図2】同実施例に係わるディスクアレイ制御装置の要
部を示すブロック図。
FIG. 2 is a block diagram showing main parts of a disk array control device according to the same embodiment.

【図3】同実施例の動作を説明するための概念図。FIG. 3 is a conceptual diagram for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するための概念図。FIG. 4 is a conceptual diagram for explaining the operation of the embodiment.

【図5】同実施例の動作を説明するためのフローチャー
ト。
FIG. 5 is a flowchart for explaining the operation of the embodiment.

【図6】同実施例の動作を説明するためのフローチャー
ト。
FIG. 6 is a flowchart for explaining the operation of the embodiment.

【符号の説明】[Explanation of symbols]

1…ホストコンピュータ、2…メイン・コントローラ、
3…サブ・コントローラ、4…パリティ・コントローラ
、6,7…ディスクドライブ群、8…パリティ・ディス
クドライブ群。
1...Host computer, 2...Main controller,
3...Sub controller, 4...Parity controller, 6, 7...Disk drive group, 8...Parity disk drive group.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  複数のディスクドライブを制御し、こ
の各ディスクドライブの所定の同一記憶位置に記録され
る各書込みデータに基づいて横方向パリティデータを生
成して前記各ディスクドライブに記録し、前記横方向パ
リティデータに基づいて前記ディスクドライブのデータ
エラー発生に対するデータ修復機能を有するメイン・デ
ィスクアレイ制御手段と、このメイン・ディスクアレイ
制御手段と連絡し、複数のディスクドライブを制御し、
この各ディスクドライブの所定の記憶位置に記録される
各書込みデータに基づいて横方向パリティデータを生成
して前記各ディスクドライブに記録し、前記横方向パリ
ティデータに基づいて前記ディスクドライブのデータエ
ラー発生に対するデータ修復機能を有するサブ・ディス
クアレイ制御手段と、前記メイン・ディスクアレイ制御
手段および前記サブ・ディスクアレイ制御手段の両者に
連絡し、前記各ディスクアレイ制御手段毎に制御される
前記各ディスクドライブを横方向系列とした場合に、前
記各ディスクアレイ制御手段に対応する1台毎のディス
クドライブから構成される縦方向系列の各ディスクドラ
イブの所定の同一記憶位置に記録される各書込みデータ
に基づいて縦方向パリティデータを生成し、この縦方向
パリティデータを記憶するパリティデータ専用ディスク
ドライブを制御するパリティ・ディスクアレイ制御手段
とを具備したことを特徴とするディスクアレイ制御装置
1. Controlling a plurality of disk drives, generating horizontal parity data based on each write data recorded in the same predetermined storage location of each of the disk drives, and recording the horizontal parity data in each of the disk drives; main disk array control means having a data recovery function in response to occurrence of a data error in the disk drive based on horizontal parity data; communicating with the main disk array control means to control a plurality of disk drives;
Horizontal parity data is generated based on each write data recorded in a predetermined storage location of each disk drive and recorded in each of the disk drives, and a data error occurs in the disk drive based on the horizontal parity data. a sub-disk array control means having a data recovery function for data recovery, and each of the disk drives connected to both the main disk array control means and the sub-disk array control means and controlled by each of the disk array control means. is a horizontal series, based on each write data recorded in the same predetermined storage location of each disk drive in a vertical series consisting of one disk drive corresponding to each disk array control means. 1. A disk array control device comprising: a parity disk array control means for generating vertical parity data using a plurality of keys, and controlling a parity data-dedicated disk drive for storing the vertical parity data.
【請求項2】  複数のディスクドライブを制御し、こ
の各ディスクドライブの所定の同一記憶位置に記録され
る各書込みデータに基づいて横方向パリティデータを生
成して前記各ディスクドライブに記録し、前記横方向パ
リティデータに基づいて前記ディスクドライブのデータ
エラー発生に対するデータ修復機能を有するメイン・デ
ィスクアレイ制御手段と、このメイン・ディスクアレイ
制御手段と連絡し、複数のディスクドライブを制御し、
この各ディスクドライブの所定の記憶位置に記録される
各書込みデータに基づいて横方向パリティデータを生成
して前記各ディスクドライブに記録し、前記横方向パリ
ティデータに基づいて前記ディスクドライブのデータエ
ラー発生に対するデータ修復機能を有するサブ・ディス
クアレイ制御手段と、前記メイン・ディスクアレイ制御
手段および前記サブ・ディスクアレイ制御手段の両者に
連絡し、前記各ディスクアレイ制御手段毎に制御される
前記各ディスクドライブを横方向系列とした場合に、前
記各ディスクアレイ制御手段に対応する1台毎のディス
クドライブから構成される縦方向系列の各ディスクドラ
イブの所定の同一記憶位置に記録される各書込みデータ
に基づいて縦方向パリティデータを生成し、この縦方向
パリティデータを記憶するパリティデータ専用ディスク
ドライブを制御するパリティ・ディスクアレイ制御手段
と、前記縦方向系列の各ディスクドライブの中でデータ
エラーが発生した場合に、前記縦方向系列に対応する前
記縦方向パリティデータに基づいてデータ修復処理を実
行する縦方向データ修復手段とを具備したことを特徴と
するディスクアレイ制御装置。
2. Controlling a plurality of disk drives, generating horizontal parity data based on each write data recorded in the same predetermined storage location of each of the disk drives, and recording the horizontal parity data in each of the disk drives; main disk array control means having a data recovery function in response to occurrence of a data error in the disk drive based on horizontal parity data; communicating with the main disk array control means to control a plurality of disk drives;
Horizontal parity data is generated based on each write data recorded in a predetermined storage location of each disk drive and recorded in each of the disk drives, and a data error occurs in the disk drive based on the horizontal parity data. a sub-disk array control means having a data recovery function for data recovery, and each of the disk drives connected to both the main disk array control means and the sub-disk array control means and controlled by each of the disk array control means. is a horizontal series, based on each write data recorded in the same predetermined storage location of each disk drive in a vertical series consisting of one disk drive corresponding to each disk array control means. a parity disk array control means for generating vertical parity data in the vertical series and controlling a parity data-dedicated disk drive for storing the vertical parity data; and in the case where a data error occurs in each disk drive in the vertical series 2. A disk array control device comprising: vertical data restoration means for performing data restoration processing based on the vertical parity data corresponding to the vertical series.
【請求項3】  横方向系列の複数のディスクドライブ
及び縦方向系列の複数のディスクドライブとから構成さ
れるディスクアレイ装置と、前記横方向系列の各ディス
クドライブの所定の同一記憶位置に記録される各書込み
データに基づいて横方向パリティデータを生成して前記
各ディスクドライブに記録する横方向パリティデータ生
成手段と、この横方向パリティデータ生成手段により生
成された前記横方向パリティデータに基づいて前記横方
向系列のディスクドライブのデータエラー発生に対する
データ修復処理を実行する横方向データ修復手段と、前
記縦方向系列の各ディスクドライブの所定の同一記憶位
置に記録される各書込みデータに基づいて縦方向パリテ
ィデータを生成して、パリティデータ専用ディスクドラ
イブに記録する縦方向パリティデータ生成手段と、この
縦方向パリティデータ生成手段により生成された前記縦
方向パリティデータに基づいて前記縦方向系列のディス
クドライブのデータエラー発生に対するデータ修復処理
を実行する縦方向データ修復手段とを具備したことを特
徴とするディスクアレイ制御装置。
3. A disk array device comprising a plurality of disk drives arranged in a horizontal direction and a plurality of disk drives arranged in a vertical direction, wherein the information is recorded at the same predetermined storage location of each disk drive in the horizontal direction. horizontal parity data generating means for generating horizontal parity data based on each write data and recording it in each of the disk drives; horizontal data restoration means for performing data restoration processing in response to data errors occurring in disk drives in the directional series; and vertical parity based on each write data recorded in the same predetermined storage location of each disk drive in the vertical series. vertical parity data generation means for generating data and recording it on a disk drive dedicated to parity data; and data of the vertical series disk drives based on the vertical parity data generated by the vertical parity data generation means. What is claimed is: 1. A disk array control device comprising: vertical data restoration means for performing data restoration processing in response to occurrence of an error.
JP3090874A 1991-04-22 1991-04-22 Disk array controller Withdrawn JPH04321123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3090874A JPH04321123A (en) 1991-04-22 1991-04-22 Disk array controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3090874A JPH04321123A (en) 1991-04-22 1991-04-22 Disk array controller

Publications (1)

Publication Number Publication Date
JPH04321123A true JPH04321123A (en) 1992-11-11

Family

ID=14010645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3090874A Withdrawn JPH04321123A (en) 1991-04-22 1991-04-22 Disk array controller

Country Status (1)

Country Link
JP (1) JPH04321123A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240453A (en) * 1997-02-28 1998-09-11 Nec Corp Disk array device
JP2010020648A (en) * 2008-07-12 2010-01-28 Hitachi Ulsi Systems Co Ltd Storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240453A (en) * 1997-02-28 1998-09-11 Nec Corp Disk array device
JP2010020648A (en) * 2008-07-12 2010-01-28 Hitachi Ulsi Systems Co Ltd Storage device

Similar Documents

Publication Publication Date Title
JP3304115B2 (en) Configurable redundant array storage
JP3595099B2 (en) Device array system
US5613088A (en) Raid system including first and second read/write heads for each disk drive
US5720027A (en) Redundant disc computer having targeted data broadcast
US4092732A (en) System for recovering data stored in failed memory unit
US5077736A (en) Disk drive memory
US5488701A (en) In log sparing for log structured arrays
US6907504B2 (en) Method and system for upgrading drive firmware in a non-disruptive manner
JP3742494B2 (en) Mass storage device
JP3181398B2 (en) Array type recording device
JPH10149262A (en) Disk array device and controlling method therefor
JPH04205519A (en) Writing method of data under restoration
EP0701208B1 (en) Disk array subsystem and data generation method therefor
JPH05324579A (en) Distributed file system and storage device
EP0832456A1 (en) Disk array system including a dual-ported staging memory and concurrent redundancy calculation capability
JPH07261946A (en) Array type storage device
JPH06230903A (en) Fault recovery method for disk array device and disk array device
JPH04321123A (en) Disk array controller
JPH06119126A (en) Disk array device
JPH09218754A (en) Data storage system
JPH08171463A (en) Data read method in disk array device, and disk array device
JP2857289B2 (en) Disk array device
JP2778268B2 (en) Recording medium control device
JPH0744331A (en) Disk array device and its control method
JPH04264910A (en) Data updating method for computer external storage device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980711