JP2005250551A - Disk array apparatus and transfer data control method - Google Patents

Disk array apparatus and transfer data control method Download PDF

Info

Publication number
JP2005250551A
JP2005250551A JP2004056104A JP2004056104A JP2005250551A JP 2005250551 A JP2005250551 A JP 2005250551A JP 2004056104 A JP2004056104 A JP 2004056104A JP 2004056104 A JP2004056104 A JP 2004056104A JP 2005250551 A JP2005250551 A JP 2005250551A
Authority
JP
Japan
Prior art keywords
data
disk
disk array
control unit
guarantee code
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.)
Pending
Application number
JP2004056104A
Other languages
Japanese (ja)
Inventor
Yukio Abe
幸男 阿部
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2004056104A priority Critical patent/JP2005250551A/en
Publication of JP2005250551A publication Critical patent/JP2005250551A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the data breakdown of a disk by error-detecting the write transfer of correct data to any erroneous disk device caused by the failure of a bus or the internal failure of a disk array control part. <P>SOLUTION: This disk device 20 which has received transfer data from a disk array control part 10 performs the calculation of a data assurance code by including not only the transfer data but also its own unique ID 25. When data transfer to a correct disk device 20 is executed, ID used for generating the data assurance code by the disk array control part 10 is matched with the unique ID 25 of the disk device 20 which executes the check of the data assurance code, and write data are written to the disk. When the transfer to the erroneous disk device 20 is executed, and the check error of the data assurance code is detected, the write data are not written to the disk but discarded so that the data writing to the erroneous disk device can be prevented. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明はディスクアレイ装置、転送データ制御方法に関し、特に各々のディスク装置が固有の認識番号を持ち、且つ各々のディスク装置がデータ保証チェック機能を有するディスクアレイ装置、転送データ制御方法に関する。   The present invention relates to a disk array device and a transfer data control method, and more particularly to a disk array device and a transfer data control method in which each disk device has a unique identification number and each disk device has a data guarantee check function.

一般にディスクアレイ装置は複数のディスク装置とこれら複数のディスク装置を制御するディスクアレイ制御部から構成され、ディスク装置はデータを格納するディスク部とディスク部へのデータ格納とデータ読み出しを制御するディスク制御部から構成され、転送データはディスクアレイ制御部でディスク部の物理セクタ単位に分割され、物理セクタ単位に分割された転送データは複数のディスク装置に転送されディスク部に格納されることでRAID等の構成を行う。   In general, a disk array device is composed of a plurality of disk devices and a disk array control unit for controlling the plurality of disk devices, and the disk device is a disk unit for storing data and a disk control for controlling data storage to and reading from the disk unit. The transfer data is divided into physical sector units of the disk unit by the disk array control unit, and the transfer data divided into physical sector units is transferred to a plurality of disk devices and stored in the disk unit, RAID etc. Perform the configuration.

また、個々のディスク装置の物理セクタにはデータとデータ保証コードが格納され、通常、データ保証コードとしてはCRC(Cyclic Redundancy Check)コードが使用される。   Further, data and a data guarantee code are stored in the physical sector of each disk device, and a CRC (Cyclic Redundancy Check) code is usually used as the data guarantee code.

データ保証コードチェックをディスク部からの読み出し時にのみ行っているディスクアレイ装置では、データ書き込み時にバス故障などでデータが破壊された場合、破壊された不正データをディスク部に書き込んでしまい、一度に多量のデータ書き込みが発生するとRAIDを用いてもデータ復旧不可能となってしまう問題があった。   In a disk array device that performs a data guarantee code check only when reading data from the disk unit, if the data is destroyed due to a bus failure or the like when writing data, the corrupted illegal data is written to the disk unit, causing a large amount at once. When data writing occurs, there is a problem that data recovery is impossible even if RAID is used.

また、特許文献1に記載された技術では、各々のディスク制御部にデータ保証コードチェック機能(例:CRCチェック機能)を持たせることで、データをディスク部に書き込む前にデータ保証コードチェックを行い、データ保証コードチェックエラーが発生した場合は書き込みを行わないことで不正データの書き込みによるデータ復旧不可能が発生する課題を解消している。   In the technique described in Patent Document 1, each disk control unit is provided with a data guarantee code check function (eg, CRC check function), so that data guarantee code check is performed before writing data to the disk part. When the data guarantee code check error occurs, the problem that the data cannot be recovered by writing illegal data is solved by not performing the writing.

しかし、一般にデータ保証コードは付随する転送データの内容のみを保証するものであり、バス故障やディスクアレイ制御部内部の故障によって正しいデータが誤った転送先に転送されてしまった場合、特許文献1に記載された技術ではデータ保証コードチェック機能でのエラー検出が不可能であり、前述の課題を解消出来ない。
特開2000−105675号公報
However, in general, the data guarantee code guarantees only the contents of the associated transfer data. If correct data is transferred to the wrong transfer destination due to a bus failure or a failure in the disk array control unit, Patent Document 1 In the technology described in the above, it is impossible to detect an error with the data guarantee code check function, and the above-mentioned problem cannot be solved.
JP 2000-105675 A

ディスク部へのデータ書き込み時にデータ保証コードチェックを行わないディスクアレイ装置では、ディスク部への書き込み事に不正データの検出が不可能である為、不正データの書き込みを回避できない。   In a disk array device that does not perform a data guarantee code check when writing data to the disk unit, it is impossible to detect illegal data when writing to the disk unit, and thus writing illegal data cannot be avoided.

また、特許文献1に記載された技術では、データ保証コードの保証範囲であるデータの故障はエラー検出可能であるが、バス故障またはディスクアレイ制御部内部での故障によって発生する正しいデータの誤ったディスク装置に対するデータ書き込みはエラー検出不可能である。   In addition, in the technique described in Patent Document 1, it is possible to detect an error in the data that is the guaranteed range of the data guarantee code, but the correct data generated due to a bus failure or a failure in the disk array control unit is incorrect. Data writing to the disk device cannot detect errors.

本発明の目的は、バス故障またはディスクアレイ制御部内部の故障により、正しい書き込みデータが誤ったディスク装置に対して転送されてしまった場合にも不正データであると検出可能にすることで、ディスク部のデータ破壊を回避することである。   An object of the present invention is to enable detection of incorrect data even when correct write data is transferred to an incorrect disk device due to a bus failure or an internal failure of the disk array control unit. To avoid data corruption.

本発明のディスクアレイ装置は、ディスクアレイ制御部(図1の10)と複数のディスク装置(図1の20、30、40、50)で構成され、各々のディスク装置が固有のID(図1の25、35、45、55)を持ち、ディスクアレイ制御部(図1の10)にてデータ保証コードを計算する場合、物理セクタ単位の転送データにデータ転送先ディスク装置の固有ID(図1の25、35、45、55)を付加してデータ保証コードを計算するデータ保証コード生成部(図1の12)を備え、各々のディスク制御部(図1の21、31、41、51)にてデータ保証コードチェックを行う場合には、転送データと自固有ID(図1の25、35、45、55)からデータ保証コードを計算生成し、ディスクアレイ制御部(図1の10)から転送されてきたデータ保証コードと前記生成したデータ保証コードを比較チェックするデータ保証コードチェック部(図1の22、32、42、52)を備え、前記データ保証コード比較チェックの結果が不一致であった場合には、転送データをディスク部(図1の24、34、44、54)に書き込まず、破棄するディスクアクセス制御部(図1の23、33、43、53)を備える。   The disk array device of the present invention is composed of a disk array controller (10 in FIG. 1) and a plurality of disk devices (20, 30, 40, 50 in FIG. 1), and each disk device has a unique ID (FIG. 1). 25, 35, 45, 55), and when the disk array control unit (10 in FIG. 1) calculates the data guarantee code, the unique ID of the data transfer destination disk device (see FIG. 1) 25, 35, 45, and 55), and a data guarantee code generator (12 in FIG. 1) for calculating the data guarantee code, and each disk controller (21, 31, 41, 51 in FIG. 1). When the data guarantee code check is performed, the data guarantee code is calculated and generated from the transfer data and the own unique ID (25, 35, 45, 55 in FIG. 1), and from the disk array control unit (10 in FIG. 1). Transferred A data guarantee code check unit (22, 32, 42, 52 in FIG. 1) for comparing and checking the generated data guarantee code and the data guarantee code comparison check result is inconsistent. Includes a disk access control unit (23, 33, 43, and 53 in FIG. 1) that discards transfer data without writing it to the disk unit (24, 34, 44, and 54 in FIG. 1).

<作用>
ディスクアレイ制御部(図1の10)からディスク装置(図1の20、30、40、50)へのデータ書き込み転送を行う場合、データはディスク部(図1の24、34、44、54)の物理セクタ単位に分割され、転送データにはデータ保証コードが付随される。
<Action>
When performing data write transfer from the disk array control unit (10 in FIG. 1) to the disk device (20, 30, 40, 50 in FIG. 1), the data is the disk unit (24, 34, 44, 54 in FIG. 1). The transfer data is accompanied by a data guarantee code.

ディスクアレイ制御部(図1の10)で転送データに付随するデータ保証コードの生成計算を行う場合、転送データに転送先ディスク装置固有ID(図1の25、35、45、55)を付加して計算を行い、データ保証コードの保証範囲に転送データのみでなく転送先ディスク装置固有IDも含ませる。   When the disk array controller (10 in FIG. 1) generates and calculates a data guarantee code associated with the transfer data, a transfer destination disk device unique ID (25, 35, 45, 55 in FIG. 1) is added to the transfer data. Thus, not only the transfer data but also the transfer destination disk device unique ID is included in the guarantee range of the data guarantee code.

なお、ディスクアレイ制御部(図1の10)から転送先ディスク装置(図1の20、30、40、50)へ転送する転送データは書き込みデータとデータ保証コードのみであり、転送先ディスク装置(図1の20、30、40、50)のIDは転送しない。   The transfer data transferred from the disk array control unit (10 in FIG. 1) to the transfer destination disk device (20, 30, 40, 50 in FIG. 1) is only the write data and the data guarantee code, and the transfer destination disk device ( IDs 20, 30, 40, and 50) in FIG. 1 are not transferred.

ディスクアレイ制御部(図1の10)からの転送データを受け取ったディスク制御部(図1の21、31、41、51)は転送データに自固有ID(図1の25、35、45、55)を付加してデータ保証コードの計算を行い、ディスクアレイ制御部から転送されたデータ保証コードとの比較を行う。   The disk control unit (21, 31, 41, 51 in FIG. 1) that has received the transfer data from the disk array control unit (10 in FIG. 1) assigns its own unique ID (25, 35, 45, 55 in FIG. 1) to the transfer data. ) Is added to calculate the data guarantee code, and is compared with the data guarantee code transferred from the disk array control unit.

バス故障またはディスクアレイ制御部内部故障により誤ったディスク装置に転送が行われた場合、ディスクアレイ制御部(図1の10)でデータ保証コード生成に使用したIDとディスク制御部(図1の21、31、41、51)で使用したID(図1の25、35、45、55)が一致しないめ、データ保証コード不一致エラーが検出され、データ保証コード不一致エラーが検出された場合、ディスクアクセス制御部(図1の21、31、41、51)で転送データを破棄することで、誤ったディスク装置への不正データ書き込みが回避可能となる。   When data is transferred to the wrong disk device due to a bus failure or an internal failure of the disk array control unit, the ID used for data guarantee code generation by the disk array control unit (10 in FIG. 1) and the disk control unit (21 in FIG. 1) , 31, 41, 51), the IDs (25, 35, 45, 55 in FIG. 1) do not match, a data guarantee code mismatch error is detected, and if a data guarantee code mismatch error is detected, disk access By discarding the transfer data by the control unit (21, 31, 41, 51 in FIG. 1), it becomes possible to avoid illegal data writing to the disk device.

本発明によれば、ディスクアレイ制御部からディスク装置への書き込み転送において、データ保証コードの保証範囲に転送先であるディスク装置を示すIDをも含めることで、バス故障またはディスクアレイ制御部内部での故障により正しいデータが、誤ったディスク装置へ転送された場合にデータ保証コード不一致エラーとして検出することが可能となり、不正なデータがディスク装置に書き込まれてしまう問題を未然に防ぐことが可能となる。   According to the present invention, in the write transfer from the disk array controller to the disk device, the ID indicating the disk device that is the transfer destination is also included in the guaranteed range of the data guarantee code, so that the bus failure or the disk array controller can If the correct data is transferred to the wrong disk device due to the failure of the data, it can be detected as a data guarantee code mismatch error, and it is possible to prevent the problem that illegal data is written to the disk device. Become.

次に、本発明の実施の形態について図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

<構成の説明>
図1は本発明のディスクアレイ装置の一実施例であり、本実施例のディスクアレイ装置は上位ホスト00と接続され、上位ホスト00からの命令によりディスクアレイ装置の制御およびデータ転送制御を行うディスクアレイ制御部10と、ディスクアレイ制御部10と接続され、ディスクアレイ制御部10とのデータ転送を行うディスク装置20、30、40、50から構成され、ディスクアレイ制御部10と各ディスク装置20、30、40、50はバス26、36、46、56によって接続される。
<Description of configuration>
FIG. 1 shows an embodiment of a disk array apparatus according to the present invention. The disk array apparatus of this embodiment is connected to an upper host 00 and performs disk array control and data transfer control in accordance with commands from the upper host 00. The disk array controller 10 and the disk array controller 10 are connected to the disk array controller 10 to transfer data to and from the disk array controller 10. The disk array controller 10 and each disk device 20, 30, 40 and 50 are connected by buses 26, 36, 46 and 56.

ディスクアレイ制御部10では、データ書き込み転送を行う場合、データをディスク部24、34、44、54の物理セクタ単位に分割し、転送先ディスク装置固有ID選択部11で選択されたIDを分割されたデータに付加し、前記IDを付加したデータを用いてデータ保証コード生成部12でデータ保証コードを計算生成し、データ転送部13にて転送先ディスク装置に対してデータとデータ保証コードを転送する。   The disk array control unit 10 divides data into physical sector units of the disk units 24, 34, 44, and 54 and divides the ID selected by the transfer destination disk device unique ID selection unit 11 when performing data write / transfer. The data guarantee code generation unit 12 calculates and generates a data guarantee code using the data with the ID added, and the data transfer unit 13 transfers the data and the data guarantee code to the destination disk device. To do.

尚、ディスクアレイ制御部10からディスク装置20、30、40、50へ転送するデータは書き込みデータとデータ保証コードのみであり、データ保証コード計算生成に使用したIDは転送しない。   The data transferred from the disk array control unit 10 to the disk devices 20, 30, 40, 50 is only the write data and the data guarantee code, and the ID used for the data guarantee code calculation generation is not transferred.

ディスク装置20、30、40、50では、ディスクアレイ制御部10から転送されてきたデータに自固有ID25、35、45、55を付加してデータ保証コードを計算生成し、生成したデータ保証コードをディスクアレイ制御部10から転送されてきたデータ保証コードとデータ保証コードチェック部22、32、42、52にて比較チェックし、ディスクアクセス制御部23、33、43、53ではデータ保証コードの比較チェックの結果、不一致エラーが発生していればディスクアレイ制御部10から転送されてきた書き込みデータを破棄し、エラーが発生していなければディスク部24、34、44、54への書き込みを行う。   In the disk devices 20, 30, 40, 50, the data guarantee code is calculated and generated by adding the unique IDs 25, 35, 45, 55 to the data transferred from the disk array controller 10, and the generated data guarantee code is The data guarantee code transferred from the disk array control unit 10 is compared with the data guarantee code check units 22, 32, 42, 52, and the disk access control units 23, 33, 43, 53 check the comparison of the data guarantee code. As a result, if a mismatch error has occurred, the write data transferred from the disk array control unit 10 is discarded, and if no error has occurred, writing to the disk units 24, 34, 44, 54 is performed.

<動作の説明>
次に図1の動作について説明する。
<Description of operation>
Next, the operation of FIG. 1 will be described.

ディスクアレイ制御部10からディスク装置20に対して転送するはずの1物理セクタ単位長のデータが誤ってディスク装置30に転送され、ディスク装置30にてデータ保証コードの不一致エラーが発生する動作を説明する。   An operation in which data of one physical sector unit length that should be transferred from the disk array control unit 10 to the disk device 20 is erroneously transferred to the disk device 30 and a data guarantee code mismatch error occurs in the disk device 30 will be described. To do.

また、図1の動作を説明するにあたり次のような設定を仮定する。   Further, in describing the operation of FIG. 1, the following settings are assumed.

1物理セクタ単位長を520バイトとし、512バイトのデータと8バイトのCRCコードを含み、つまりデータ保証コードとしては8バイトのCRCコードを使用すると仮定し、また、CRCコードとしては同じデータから計算生成したCRC同士を同じCRC生成アルゴリズムを使用して計算すると値が0になる事を期待可能なCRCコードを使用すると仮定し、さらに各ディスク装置固有ID25、35、45、55は8バイトの値であると仮定する。   It is assumed that one physical sector unit length is 520 bytes, 512 bytes of data and 8 bytes of CRC code are included, that is, an 8-byte CRC code is used as the data guarantee code, and the CRC code is calculated from the same data. Assuming that CRC codes that can be expected to be 0 when the generated CRCs are calculated using the same CRC generation algorithm are used, each disk device unique ID 25, 35, 45, 55 is an 8-byte value. Assume that

まずディスクアレイ制御部10のID選択部11にて書き込みデータの転送先ディスク装置20の固有ID(16進数で8バイト幅の全て値Aの値)が選択される。   First, the ID selection unit 11 of the disk array control unit 10 selects the unique ID of the write data transfer destination disk device 20 (all values A in hexadecimal and 8 bytes wide).

次に選択されたID(16進数で8バイト幅の全て値Aの値)は転送データ512バイトの後ろに付加され、合計520バイトのデータ長となり(図2のA0)、ID(16進数で8バイト幅の全て値Aの値)の付加された520バイトのデータに対してCRC計算を行い、データ保証コード生成部12にてCRCが生成される。   Next, the selected ID (all values A of 8 byte width in hexadecimal) is added after the 512 bytes of transfer data, resulting in a total data length of 520 bytes (A0 in FIG. 2), and ID (in hexadecimal) CRC calculation is performed on the 520-byte data to which all values A having an 8-byte width are added, and the data guarantee code generation unit 12 generates a CRC.

データ転送部13にて512バイトデータの後ろに生成したCRCを付加して転送データ(図2のB0)を生成し、転送先ディスク装置20への転送を行う。   The data transfer unit 13 adds the CRC generated after the 512-byte data to generate transfer data (B0 in FIG. 2), and transfers the data to the transfer destination disk device 20.

ここで正常に動作していればディスク装置20に対してデータ転送が行われるが、本説明ではデータ転送部13の故障によりディスク装置30に対してデータ転送が行われたと仮定する。   Here, if it is operating normally, data transfer is performed to the disk device 20, but in this description, it is assumed that data transfer is performed to the disk device 30 due to a failure of the data transfer unit 13.

ディスクアレイ制御部10からの転送データを受け取ったディスク装置30は、ディスクアレイ制御部10からの転送データ内のデータ部512バイトの後ろに自固有ID35(16進数で8バイト幅の全て値Bの値)を付加し、さらにその後ろにディスクアレイ制御部10から転送されてきたCRCコードを付加して合計528バイトのデータ(図2のC0)を生成し、生成した528バイトのデータに対してデータ保証コードチェック部32にてCRC計算を行う。   The disk device 30 that has received the transfer data from the disk array control unit 10 has its own unique ID 35 (all values B of 8 bytes in hexadecimal notation) after the 512 bytes of the data part in the transfer data from the disk array control unit 10. Value) is added, and a CRC code transferred from the disk array control unit 10 is added after that to generate a total of 528 bytes of data (C0 in FIG. 2), and for the generated 528 bytes of data The data guarantee code check unit 32 performs CRC calculation.

ここで、ディスクアレイ制御部10にてCRC生成を行ったデータとID部分の値が異なるため、データ保証コードチェック部32での計算結果は値0にならず、CRCエラーを検出し、データ保証コードチェック部32にて検出したCRCエラーはディスクアクセス制御部33に通知され、ディスクアクセス制御部33はディスクアレイ制御部10からの転送データをディスク部34に書き込まず破棄する。   Here, since the value of the ID part is different from the data generated by the disk array control unit 10, the calculation result in the data guarantee code check unit 32 is not 0, but a CRC error is detected and the data guarantee is performed. The CRC error detected by the code check unit 32 is notified to the disk access control unit 33, and the disk access control unit 33 discards the transfer data from the disk array control unit 10 without writing it to the disk unit 34.

以上の動作により、誤ったディスク装置に転送された書き込みデータがディスク部に書き込まれる問題を解消出来る。   With the above operation, the problem that the write data transferred to the wrong disk device is written to the disk unit can be solved.

<発明の他の実施の形態>
次に、本発明の他の実施の形態について図面を参照して詳細に説明する。
<Other embodiments of the invention>
Next, another embodiment of the present invention will be described in detail with reference to the drawings.

図3を参照すると、ディスクアレイ制御部10とディスク装置20、30、40、50の間にXBAR60、70、80、90が接続されていて、ディスクアレイ制御部10とXBAR60、70、80、90はデータバス61、71、81、91及びアドレスバス62、72、82、92で接続されている。   Referring to FIG. 3, XBARs 60, 70, 80, 90 are connected between the disk array controller 10 and the disk devices 20, 30, 40, 50, and the disk array controller 10 and XBARs 60, 70, 80, 90 are connected. Are connected by data buses 61, 71, 81, 91 and address buses 62, 72, 82, 92.

XBAR60、70、80、90はディスクアレイ制御部10とディスク装置20、30、40、50の間のデータ伝送ルートを決定するスイッチの機能を持ち、各々のXBAR60、70、80、90はすべてのディスク装置と接続されていて、ディスクアレイ制御部10から特定のディスク装置20、30、40、50をアドレスバス62、72、82、92で指定してXBAR60、70、80、90にデータを送ると、XBAR60、70、80、90はアドレスバス62、72、82、92で指定されたディスク装置20、30、40、50へデータを転送する。   The XBARs 60, 70, 80, 90 have a switch function for determining a data transmission route between the disk array control unit 10 and the disk devices 20, 30, 40, 50, and each XBAR 60, 70, 80, 90 It is connected to the disk device, and the specific disk device 20, 30, 40, 50 is designated by the address bus 62, 72, 82, 92 from the disk array control unit 10 and data is sent to the XBAR 60, 70, 80, 90 The XBARs 60, 70, 80, 90 transfer data to the disk devices 20, 30, 40, 50 designated by the address buses 62, 72, 82, 92.

またXBAR60、70、80、90とディスク装置20、30、40、50は各々ユニークな固有IDを保持し、ディスクアレイ制御部10はすべてのXBAR60、70、80、90とディスク装置20、30、40、50の固有ID情報を保持している。   The XBARs 60, 70, 80, 90 and the disk devices 20, 30, 40, 50 each have a unique unique ID, and the disk array control unit 10 includes all the XBARs 60, 70, 80, 90 and the disk devices 20, 30, 40 and 50 unique ID information is held.

つまり、ディスクアレイ制御部10から特定のディスク装置20、30、40、50に対して書き込みデータを転送する場合、データ転送ルートとして使用するXBAR60、70、80、90のID情報と最終転送先であるディスク装置20、30、40、50のIDをデータに付加して、IDを付加したデータを用いてデータ保証コードの計算を行うことが可能であり、データ保証コードの補償範囲にデータのみでなくXBAR60、70、80、90の固有IDとディスク装置20、30、40、50の固有IDを含めることが可能である。   That is, when transferring write data from the disk array controller 10 to a specific disk device 20, 30, 40, 50, the ID information of the XBARs 60, 70, 80, 90 used as the data transfer route and the final transfer destination It is possible to add the ID of a certain disk device 20, 30, 40, 50 to the data and calculate the data guarantee code using the data with the added ID, and only the data is within the compensation range of the data guarantee code. The unique IDs of the XBARs 60, 70, 80, and 90 and the unique IDs of the disk devices 20, 30, 40, and 50 can be included.

さらに、各々のディスク装置20、30、40、50がディスクアレイ制御部10からの書き込みデータ転送ルートとして使用されるべきXBAR60、70、80、90の固有IDをあらかじめ設定等により知っていれば、データ保証コードチェックの対象データとして自固有IDとルートとして使用されたXBAR60、70、80、90の固有IDを転送データ内のデータ部の後ろに付加してデータ保証コードチェックに使用可能である。この場合、スイッチのルートも含めたチェックが可能となり、さらにデータ保証能力が向上する。   Furthermore, if each disk device 20, 30, 40, 50 knows the unique ID of XBAR 60, 70, 80, 90 to be used as a write data transfer route from the disk array controller 10 by setting or the like in advance, It is possible to use the data guarantee code check by adding the own unique ID as the target data of the data guarantee code check and the unique ID of the XBAR 60, 70, 80, 90 used as the route after the data part in the transfer data. In this case, the check including the switch route can be performed, and the data guarantee capability is further improved.

また、XBAR60、70、80、90が転送先であるディスク20、30、40、50の固有IDを設定等により知っていれば、XBAR60、70、80、90にてディスクアレイ制御部10からの転送データに対してデータ保証コードチェックを実施することも可能であり、前記データ保証コードチェックの結果がデータ保証コード不一致エラーであった場合、転送データをディスク装置20、30、40、50に転送しないで破棄することも可能である。   If the XBAR 60, 70, 80, 90 knows the unique ID of the transfer destination disk 20, 30, 40, 50 by setting or the like, the XBAR 60, 70, 80, 90 sends the data from the disk array control unit 10. It is also possible to perform a data guarantee code check on the transfer data. If the result of the data guarantee code check is a data guarantee code mismatch error, the transfer data is transferred to the disk devices 20, 30, 40, 50. It is also possible to discard without.

さらに、図3と同様な構成のディスクアレイ装置においてXBAR60、70、80、90で転送データのデータ保証コードを乗せ換える事も可能である。   Further, in the disk array apparatus having the same configuration as that shown in FIG. 3, it is possible to change the data guarantee code of the transfer data by using the XBARs 60, 70, 80, 90.

この場合、ディスクアレイ制御部10はすべてのXBAR60、70、80、90の固有ID情報を持っていて、ディスクアレイ制御部10ではデータ保証コードの計算を行うときデータの後ろにXBAR60、70、80、90の固有IDから転送ルートによってIDを選択し、選択したIDをデータに付加してデータ保証コードの生成を行い、転送データとして書き込みデータとXBAR60、70、80、90の固有IDを保証範囲に含めたデータ保証コードを転送先であるXBAR60、70、80、90に転送する。   In this case, the disk array control unit 10 has unique ID information of all the XBARs 60, 70, 80, 90, and when the disk array control unit 10 calculates the data guarantee code, the XBARs 60, 70, 80 follow the data. The ID is selected from the 90 unique IDs by the transfer route, the selected ID is added to the data to generate the data guarantee code, and the write data and the unique IDs of the XBARs 60, 70, 80, 90 are guaranteed as the transfer data. The data guarantee code included in is transferred to the XBARs 60, 70, 80, 90 as the transfer destinations.

XBAR60、70、80、90ではディスクアレイ制御部10からの転送データのデータ保証コードチェックを行う時に、データ保証コードの計算対象として転送データの後ろに自固有IDを付加して計算を行うことで、ディスクアレイ制御部10からXBAR60、70、80、90までのデータ伝達ルートが正しいことが検証可能であり、データ保証コードチェックの結果が不一致エラーであった場合、ディスクアレイ制御部10からの転送データをディスク部20、30、40、50に転送しないで破棄することも可能である。   In XBAR 60, 70, 80, 90, when checking the data guarantee code of the transfer data from the disk array controller 10, the calculation is performed by adding its own unique ID to the end of the transfer data as the calculation target of the data guarantee code. When the data transmission route from the disk array control unit 10 to the XBARs 60, 70, 80, 90 can be verified and the result of the data guarantee code check is a mismatch error, the transfer from the disk array control unit 10 It is also possible to discard the data without transferring it to the disk units 20, 30, 40, 50.

また、すべてのXBAR60、70、80、90は接続されているすべてのディスク装置20、30、40、50の固有ID情報を持っていて、ディスクアレイ制御部10からの書き込みデータがデータ保証コードチェックで正しかった場合(もしくはデータ保証コードチェックの結果がエラーであっても転送データを破棄しなかった場合)、アドレスバス62、72、82、92の指示によって複数のディスク装置20、30、40、50からデータ転送先を選択してデータを転送するが、この時XBAR60、70、80、90でデータ保証コードを生成し、生成したデータ保証コードをデータに付随してディスク装置20、30、40、50に転送する。   Also, all XBARs 60, 70, 80, 90 have unique ID information of all connected disk devices 20, 30, 40, 50, and the write data from the disk array control unit 10 is a data guarantee code check. If the result is correct (or if the transfer data is not discarded even if the result of the data guarantee code check is an error), a plurality of disk devices 20, 30, 40, 50, the data transfer destination is selected and data is transferred. At this time, the data guarantee code is generated by the XBARs 60, 70, 80, 90, and the generated data guarantee code is attached to the data to the disk devices 20, 30, 40. , 50.

具体的にはディスクアレイ制御部10から転送されてきたデータ保証コードはXBAR60、70、80、90でのデータ保証コードチェックが終了した時点で破棄し、新たにXBAR60、70、80、90で生成したデータ保証コードを転送データに付随して転送する。このときXBAR60、70、80、90で生成したデータ保証コードは最終転送先であるディスク装置20、30、40、50の固有IDを保証する。   Specifically, the data guarantee code transferred from the disk array control unit 10 is discarded when the data guarantee code check in the XBAR 60, 70, 80, 90 is completed, and newly generated by the XBAR 60, 70, 80, 90. The data guarantee code is transferred along with the transfer data. At this time, the data guarantee code generated by the XBARs 60, 70, 80, 90 guarantees the unique ID of the disk device 20, 30, 40, 50 which is the final transfer destination.

この場合、データ伝達ルートの故障がディスクアレイ制御部10とXBAR60、70、80、90の間で発生したのか、XBAR60、70、80、90とディスク装置20、30、40、50の間で発生したのかのエラー分解能力を向上することが可能である。   In this case, the failure of the data transmission route has occurred between the disk array controller 10 and the XBARs 60, 70, 80, 90, or has occurred between the XBARs 60, 70, 80, 90 and the disk devices 20, 30, 40, 50. It is possible to improve the error resolution ability.

なお、上記形態は本発明を実施するための一例であってこれに限定するものではない。従って、本発明の要旨を変更しない範囲において種々変形することが可能である。   In addition, the said form is an example for implementing this invention, and is not limited to this. Therefore, various modifications can be made without departing from the scope of the present invention.

本発明の最良の形態の実施例のブロック図である。It is a block diagram of the Example of the best form of this invention. 本発明の最良の形態の実施例で示されるディスクアレイ装置の各部で使用されるデータ形式である。It is a data format used in each part of the disk array device shown in the embodiment of the best mode of the present invention. 本発明の他の形態の実施例のブロック図である。It is a block diagram of the Example of the other form of this invention.

符号の説明Explanation of symbols

00 上位ホスト
10 ディスクアレイ制御部
11 転送先IDセレクタ
12 データ保証コード生成部
13 データ転送部
20、30、40、50 ディスク装置
21、31、41、51 ディスク制御部
22、32、42、52 データ保証コードチェック部
23、33、43、53 ディスクアクセス制御部
24、34、44、54 ディスク部
25、35、45、55 ディスク装置固有ID
26、36、46、56 データバス
60、70、80、90 XBAR(スイッチ部)
61、71、81、91 データバス
62、72、82、92 アドレスバス
A0 CRC生成計算対象データ形式
B0 転送データ形式
C0 CRCチェック対象データ形式
00 Host host 10 Disk array control unit 11 Transfer destination ID selector 12 Data guarantee code generation unit 13 Data transfer unit 20, 30, 40, 50 Disk device 21, 31, 41, 51 Disk control unit 22, 32, 42, 52 Data Warranty code check unit 23, 33, 43, 53 Disk access control unit 24, 34, 44, 54 Disk unit 25, 35, 45, 55 Disk device unique ID
26, 36, 46, 56 Data bus 60, 70, 80, 90 XBAR (switch part)
61, 71, 81, 91 Data bus 62, 72, 82, 92 Address bus A0 CRC generation calculation target data format B0 Transfer data format C0 CRC check target data format

Claims (7)

複数のディスク装置とこれら複数のディスク装置を制御するディスクアレイ制御部とから構成されるディスクアレイ装置において、各々のディスク装置が固有IDを備え、また各々のディスク装置はディスク制御部とディスク部から構成され、
各々のディスク装置のディスク制御部はディスクアレイ制御部から転送されてきたデータをディスク部に書き込む前にデータの正当性をチェックするデータチェック手段を備え、
前記ディスクアレイ制御部はデータ転送対象となるすべてのディスク装置の固有IDを保持し、前記ディスクアレイ制御部にて転送データに付随するデータ保証コードを生成する場合には転送対象となるディスク装置の固有IDを選択する手段と、前記選択した固有IDと転送データからデータ保証コードを生成する手段を備える事を特徴とし、
前記ディスク装置のディスク制御部が備えるデータチェック手段は、ディスクアレイ制御部から転送されてきたディスク部へ書き込むデータと自分の固有IDからデータ保証コードを生成する手段を備える事を特徴とし、
また前記ディスク装置のディスク制御部が備えるデータチェック手段は、前記ディスク制御部にて生成したデータ保証コードとディスクアレイ制御部から前記ディスク装置に転送されてきたデータ保証コードとを比較する手段を備える事を特徴とするディスクアレイ装置。
In a disk array device composed of a plurality of disk devices and a disk array control unit that controls the plurality of disk devices, each disk device has a unique ID, and each disk device includes a disk control unit and a disk unit. Configured,
The disk control unit of each disk device includes data check means for checking the validity of the data before writing the data transferred from the disk array control unit to the disk unit,
The disk array control unit holds unique IDs of all the disk devices to be transferred. When the disk array control unit generates a data guarantee code associated with transfer data, the disk array control unit Characterized by comprising means for selecting a unique ID and means for generating a data guarantee code from the selected unique ID and transfer data,
The data check means included in the disk controller of the disk device is characterized by comprising means for generating a data guarantee code from the data written to the disk unit transferred from the disk array controller and its own unique ID,
The data check means included in the disk controller of the disk device includes means for comparing the data guarantee code generated by the disk controller with the data guarantee code transferred from the disk array controller to the disk device. A disk array device characterized by this.
前記ディスク装置に設けられ、前記データチェック手段にてデータ保証コードの比較結果が不一致であったとき、エラー発生を通知する手段を備え、また前記エラー通知発生時にはディスク部への書き込みデータをディスク部へ書き込まず破棄する手段を持つ事を特徴とする請求項1記載のディスクアレイ装置。   Provided in the disk device, and having means for notifying the occurrence of an error when the comparison result of the data guarantee code is inconsistent in the data checking means, and writing data to the disk unit when the error notification occurs 2. The disk array device according to claim 1, further comprising means for discarding without writing to the disk array device. 前記ディスクアレイ制御部と、前記ディスク装置の間で転送されるデータの伝送ルートを決定する複数の伝送ルート決定装置を備え、
前記伝送ルート決定装置は、自分の固有IDを備えていることを特徴とする請求項1又は2に記載のディスクアレイ装置。
A plurality of transmission route determination devices for determining a transmission route of data transferred between the disk array control unit and the disk device;
3. The disk array device according to claim 1, wherein the transmission route determination device has its own unique ID.
前記データ保証コードとしてCRCを使用する事を特徴とする請求項1から3の何れかに記載のディスクアレイ装置。   4. The disk array device according to claim 1, wherein a CRC is used as the data guarantee code. 複数のディスク装置とこれら複数のディスク装置を制御するディスクアレイ制御部とから構成されるディスクアレイ装置において、前記ディスクアレイ制御部より前記ディスク装置へデータを転送する際の転送データ制御方法であって、
前記ディスクアレイ制御部にて、データの転送対象となるディスク装置の固有IDを選択する工程と、前記選択した固有IDと転送データからデータ保証コードを生成する工程を備え、
前記ディスク装置にて、前記ディスクアレイ制御部から転送されてきたデータと自分の固有IDからデータ保証コードを生成する工程と、前記ディスク装置にて生成したデータ保証コードとディスクアレイ制御部から前記ディスク装置に転送されてきたデータ保証コードとを比較する工程を備えることを特徴とする転送データ制御方法。
A transfer data control method for transferring data from the disk array control unit to the disk device in a disk array device comprising a plurality of disk devices and a disk array control unit for controlling the plurality of disk devices. ,
In the disk array control unit, comprising a step of selecting a unique ID of a disk device to which data is to be transferred, and a step of generating a data guarantee code from the selected unique ID and transfer data,
The disk device generates a data guarantee code from the data transferred from the disk array controller and its own unique ID, and the data guarantee code generated from the disk device and the disk array controller to the disk. A transfer data control method comprising a step of comparing a data guarantee code transferred to a device.
前記比較する工程にて、データ保証コードの比較結果が不一致であったとき、エラー発生を通知する工程と、エラー通知発生時には転送データを破棄する工程を備えることを特徴とする請求項5に記載の転送データ制御方法。   6. The method according to claim 5, further comprising a step of notifying that an error has occurred when the comparison result of the data guarantee code does not match in the step of comparing, and a step of discarding transfer data when the error notification occurs. Transfer data control method. 前記ディスクアレイ制御部より前記ディスク装置へデータを転送するための伝送ルートを決定するルート決定工程を備えたことを特徴とする請求項5又は6に記載の転送データ制御方法。   7. The transfer data control method according to claim 5, further comprising a route determination step for determining a transmission route for transferring data from the disk array control unit to the disk device.
JP2004056104A 2004-03-01 2004-03-01 Disk array apparatus and transfer data control method Pending JP2005250551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004056104A JP2005250551A (en) 2004-03-01 2004-03-01 Disk array apparatus and transfer data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004056104A JP2005250551A (en) 2004-03-01 2004-03-01 Disk array apparatus and transfer data control method

Publications (1)

Publication Number Publication Date
JP2005250551A true JP2005250551A (en) 2005-09-15

Family

ID=35031007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004056104A Pending JP2005250551A (en) 2004-03-01 2004-03-01 Disk array apparatus and transfer data control method

Country Status (1)

Country Link
JP (1) JP2005250551A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640365B2 (en) 2006-09-26 2009-12-29 Hitachi, Ltd. Highly reliable disk controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640365B2 (en) 2006-09-26 2009-12-29 Hitachi, Ltd. Highly reliable disk controller
US8069272B2 (en) 2006-09-26 2011-11-29 Hitachi, Ltd. Highly reliable disk controller

Similar Documents

Publication Publication Date Title
US8407478B2 (en) Control message signature for device control
KR100645058B1 (en) Memory managing technique capable of improving data reliability
JP3839215B2 (en) Error detection / correction method, main storage controller for computer system, and computer system
US8281218B1 (en) Data manipulation engine
KR102143353B1 (en) An apparatus and method for correcting errors in data accessed from a memory device
JP4852315B2 (en) Data reliability improvement method and information processing apparatus using the method
US20060120166A1 (en) Data processing apparatus and method for flash memory
JP2007300619A (en) Method, apparatus, and program for maintaining integrity of data in case of switching between different data protection method
US9191030B2 (en) Memory controller, data storage device, and memory controlling method
JP2008523503A (en) System and method for improved error detection in memory peripherals
KR20170135691A (en) An apparatus and method for generating an error code for a block comprising a plurality of data bits and a plurality of address bits
JP2002007225A (en) Address parity error processing method, information processor, and storage device
US20100293418A1 (en) Memory device, data transfer control device, data transfer method, and computer program product
US10514980B2 (en) Encoding method and memory storage apparatus using the same
JP5269932B2 (en) Controller, data storage device and program
JP2009295252A (en) Semiconductor memory device and its error correction method
JP5910356B2 (en) Electronic device, electronic device control method, and electronic device control program
JP2005250551A (en) Disk array apparatus and transfer data control method
JP2006323434A (en) Data processor and memory correction method therefor
JP2001290710A (en) Device for detecting data error
JP2008158724A (en) Staging method for disk array device
JPH02146200A (en) Eeprom device
JP2005011386A (en) Error correction apparatus
JP3913221B2 (en) Information processing device
KR20190062908A (en) Error Correction Method and Chip Kill Detection Method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090512