JP3453376B2 - Mediation method, mediation device - Google Patents
Mediation method, mediation deviceInfo
- Publication number
- JP3453376B2 JP3453376B2 JP2001335466A JP2001335466A JP3453376B2 JP 3453376 B2 JP3453376 B2 JP 3453376B2 JP 2001335466 A JP2001335466 A JP 2001335466A JP 2001335466 A JP2001335466 A JP 2001335466A JP 3453376 B2 JP3453376 B2 JP 3453376B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- reconfiguration
- access
- data storage
- cluster
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
- G06F11/1092—Rebuilding, e.g. when physically replacing a failing disk
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、映像情報等の連続
メディアデータを格納する冗長構成型のデータアレイ記
憶装置における調停方法または調停装置等に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a redundant configuration type data array storage for storing continuous media data such as video information.
The present invention relates to an arbitration method or an arbitration device in a storage device .
【0002】[0002]
【従来の技術】近年のマルチメディア技術の発達にとも
ない、デジタル化された動画・音声データ等の連続メデ
ィアデータを、ハードディスクドライブ等といった、ラ
ンダムアクセスが可能なデータ記憶装置に記録する機会
が多くなりつつある。また、連続メディアデータはデー
タサイズが大きいことから、データ記憶装置を複数個用
いてアレイ化したサーバシステムを構築し、このサーバ
システムを仮想的に1台の大容量デバイスであると外部
に認識させて用いることが一般化しつつある。2. Description of the Related Art With the development of multimedia technology in recent years, continuous media data such as digitized video / audio data is often recorded in a randomly accessible data storage device such as a hard disk drive. It's starting. Further, since the continuous media data has a large data size, an array server system is constructed by using a plurality of data storage devices, and the server system is virtually recognized as one large-capacity device to the outside. It is becoming common to use
【0003】このようなサーバシステムに対しては、通
常は、まとまった大きさのデータブロックを連続的アク
セスして、高いデータ転送レートで転送する。記録され
るデータが映像データの場合、例えばMPEG規格のも
のであれば、1.5Mbpsから30Mbps程度の転
送レートである。For such a server system, normally, a block of data having a large size is continuously accessed and transferred at a high data transfer rate. When the data to be recorded is video data, for example, if it is of the MPEG standard, the transfer rate is about 1.5 Mbps to 30 Mbps.
【0004】また、連続メディアデータのアクセスにお
いては、高いデータ転送レートだけでなく、動画・音声
などの再生において途切れることがないように一定の応
答性能が要求される。さらに、データ記憶装置の一部が
故障しても、データ記憶アレイ装置としては停止するこ
とのない信頼性が求められる。このとき、RAID(R
edandant Array of Inexpens
ive Disks)技術を用いて複数のデータ記憶装
置を冗長アレイ構成にすれば、データ記憶装置の一部が
故障しても冗長データによって正しいデータを復元する
ことが可能である。Further, in accessing continuous media data, not only a high data transfer rate, but also a certain response performance is required so as not to be interrupted in the reproduction of a moving image / voice. Furthermore, even if a part of the data storage device fails, the data storage array device is required to have reliability that does not stop. At this time, RAID (R
edandant Array of Inexpens
If a plurality of data storage devices are configured in a redundant array using the IVE Disks technology, even if a part of the data storage device fails, the correct data can be restored by the redundant data.
【0005】RAID3方式のデータ記憶アレイ装置か
ら構成されるサーバシステムの構成を図1に示す。デー
タ記憶アレイ装置において、データ記憶装置4a〜4d
は、データを記録するデータ記憶装置である。データ記
憶装置4eは、冗長データを記録するデータ記憶装置で
ある。外部ホスト装置1は、データアクセス要求をデー
タ記憶アレイ装置に対して発行する手段である。外部ホ
スト装置1とデータ記憶アレイ装置との間は、例えば、
FastWideSCSI規格のインターフェースやF
ibreChannel規格のインターフェースなどで
接続される。コントローラ3は外部ホスト装置1より発
行されたデータアクセス要求を受付け、データ記憶装置
4a〜4eにデータアクセス要求を分割して発行し、デ
ータ記憶装置4a〜4eへのデータアクセスを行う手段
である。例えば読み出し(Read)要求であれば、デ
ータ記憶装置4a〜4eのデータが読み出されてホスト
装置1に転送される。データ記憶装置4a〜4eへのア
クセス要求が完了した時点で、外部ホスト装置1に転送
完了通知を行う。FIG. 1 shows the configuration of a server system composed of a RAID 3 type data storage array device. In the data storage array device, the data storage devices 4a to 4d
Is a data storage device for recording data. The data storage device 4e is a data storage device that records redundant data. The external host device 1 is means for issuing a data access request to the data storage array device. Between the external host device 1 and the data storage array device, for example,
FastWide SCSI standard interface and F
It is connected by an interface of the ibreChannel standard. The controller 3 is means for receiving a data access request issued from the external host device 1, dividing the data access request to the data storage devices 4a to 4e and issuing the data access request, and performing data access to the data storage devices 4a to 4e. For example, in the case of a read request, the data in the data storage devices 4a to 4e is read and transferred to the host device 1. When the access request to the data storage devices 4a to 4e is completed, the transfer completion notification is sent to the external host device 1.
【0006】次にRAID3方式のデータ記憶アレイ装
置におけるデータの書き込みと読み出し方法について、
図2を参照して説明する。コントローラ3は、外部ホス
ト装置1からのデータアクセス要求に従って、データお
よび冗長データを一まとまりにしてクラスタとして管理
する。図2に示すように、5台のデータ記憶装置4a〜
4eの場合、一まとまりのクラスタデータは5台のDi
skに分割して格納される。このクラスタデータは、4
台のデータ記憶装置4a〜4dにデータそのものが分割
されて格納され、データ記憶装置4eには冗長データが
格納される。冗長データの生成方法にはパリティ方式を
採用するが一般的である。データ記憶装置4eはパリテ
ィ用のデータ記憶装置であり、4台のデータ記憶装置4
a〜4dに格納するデータから計算されたパリティが格
納される。Next, regarding the method of writing and reading data in the RAID 3 type data storage array device,
This will be described with reference to FIG. According to the data access request from the external host device 1, the controller 3 manages the data and the redundant data as a cluster as a cluster. As shown in FIG. 2, five data storage devices 4a-
In the case of 4e, a cluster of cluster data is 5 Di
It is divided into sk and stored. This cluster data is 4
Data itself is divided and stored in each of the data storage devices 4a to 4d, and redundant data is stored in the data storage device 4e. A parity method is generally used as a method of generating redundant data. The data storage device 4e is a data storage device for parity, and includes four data storage devices 4e.
Parities calculated from the data stored in a to 4d are stored.
【0007】外部ホスト装置1からのデータ書き込み時
には、コントローラ3においてホストから送られてきた
データに対してパリティ値を計算してから5台のデータ
記憶装置4a〜4eに格納する。外部ホスト装置からの
データ読み出し要求が来た場合、通常は正常な4台のデ
ータ用のデータ記憶装置4a〜4dからのデータをまと
めて外部ホスト装置に転送する。データ記憶装置4a〜
4dの一部に障害が発生した場合、データ用記憶装置4
a〜4dのうちの正常な3台とパリティ用のデータ記憶
装置4eから読み出したデータからパリティ計算を行う
ことにより、データを復元することができ、復元したデ
ータをホスト装置1に転送する。When writing data from the external host device 1, the controller 3 calculates a parity value for the data sent from the host and then stores the parity value in the five data storage devices 4a to 4e. When a data read request is received from the external host device, normally, data from four normal data storage devices 4a to 4d are collectively transferred to the external host device. Data storage device 4a-
When a part of 4d fails, the data storage device 4
The data can be restored by performing the parity calculation from the normal three of a to 4d and the data read from the parity data storage device 4e, and the restored data is transferred to the host device 1.
【0008】次に、データ記憶装置に障害が発生した場
合のデータ記憶装置の交換後の動作について説明する。
RAID技術を用いたデータ記憶アレイ装置では、前に
示した読み出し動作からもわかるように、データ記憶装
置の一部に障害が発生しても、システムが停止すること
なくデータを復元することが可能である。データ記憶装
置の一部の障害時に、故障したデータ記憶装置を使用せ
ずに、冗長度のない状態でアクセスを続けている状態
を、縮退動作と呼ぶ。Next, the operation of the data storage device after replacement will be described when a failure occurs in the data storage device.
In the data storage array device using the RAID technology, as can be seen from the read operation described above, even if a part of the data storage device fails, the data can be restored without stopping the system. Is. When a part of the data storage device fails, a state where the failed data storage device is not used and access is continued without redundancy is called a degenerate operation.
【0009】しかし、この縮退動作の間は冗長性が無い
状態であるので、障害を発生したデータ記憶装置を交換
して正常状態に復帰する必要がある。障害が発生したデ
ータ記憶装置を交換した時は、残りの正常なデータ記憶
装置からデータを再構成して交換後のデータ記憶装置に
データを復元させる必要がある。この動作を、一般的に
再構成動作と呼ぶ。However, since there is no redundancy during this degeneracy operation, it is necessary to replace the faulty data storage device and restore the normal state. When the failed data storage device is replaced, it is necessary to reconstruct the data from the remaining normal data storage device and restore the data to the replaced data storage device. This operation is generally called a reconstruction operation.
【0010】再構成動作は、データ記憶装置からのデー
タの読み出しとパリティ演算、および再生成したデータ
の書込みのステップで実行される。例えばデータ記憶装
置4aを交換したときの再構成動作は、再構成の必要な
全てのクラスタの各々について、データ記憶装置4b〜
4eを読み出してパリティ演算を行い、データ記憶装置
4aのデータを生成してデータ記憶装置4aへ格納す
る。これら一連の再構成動作は、冗長度ないクラスタが
なくなるまで繰り返される。また、この再構成処理は、
外部ホスト装置1との外部アクセス動作と並行して実行
され、システムが停止することなく運用することができ
る。このようにして、信頼性の高い記憶装置が実現でき
る。The reconstruction operation is executed in the steps of reading data from the data storage device, performing a parity operation, and writing the regenerated data. For example, when the data storage device 4a is replaced, the reconfiguration operation is performed for each of all the clusters that need to be reconfigured.
4e is read and a parity operation is performed to generate data in the data storage device 4a and store it in the data storage device 4a. The series of reconfiguration operations are repeated until there are no redundant clusters. Also, this reconstruction process
It is executed in parallel with the external access operation with the external host device 1, and the system can be operated without stopping. In this way, a highly reliable storage device can be realized.
【0011】[0011]
【発明が解決しようとする課題】しかしながら、従来の
データ記憶アレイ装置では、以下の問題点があった。従
来の技術で示したように、再構成状態におけるデータ記
憶アレイ装置では、外部アクセス要求動作が、再構成動
作中にもやってくるが、この場合、再構成動作が終了し
た後、要求に応じて外部アクセス動作を行うようにして
いたため、外部アクセス性能が低下することになる。こ
のような問題点を解決する技術として、例えば特開平5
−127839号公報には、外部アクセス要求の頻度に
応じて再構成動作の動作頻度を制御することにより、再
構成動作の回数を減らし、その間に外部アクセスを行わ
せる技術が開示されている。However, the conventional data storage array device has the following problems. As shown in the related art, in the data storage array device in the reconfigured state, the external access request operation comes during the reconfiguring operation. In this case, the external access request operation is performed after the reconfiguration operation is completed. Since the access operation is performed, the external access performance is deteriorated. As a technique for solving such a problem, for example, Japanese Patent Laid-Open No.
JP-A-127839 discloses a technique in which the number of reconfiguration operations is reduced by controlling the operation frequency of the reconfiguration operations in accordance with the frequency of external access requests, and external access is performed during that period.
【0012】また、特開平10−161817号広報に
は、外部アクセス要求動作を再構成動作より高い優先度
で動作させる技術が開示されている。例えば、再構成動
作中に外部からのデータ書き込み要求があり、その書き
込みの対象となるデータ記憶装置が現在再構成動作の対
象となっているデータ記憶装置と同一である場合は、外
部からのデータ書き込み要求を優先して行わせ、再構成
動作を中断する。データ書き込みが終了した後は、再構
成動作は実行されないと、発明者は推定する。Further, Japanese Patent Laid-Open No. 10-161817 discloses a technique for operating the external access request operation with a higher priority than the reconfiguration operation. For example, if there is a data write request from the outside during the reconfiguration operation and the data storage device to be written is the same as the data storage device currently the reconfiguration operation target, The write request is given priority and the reconfiguration operation is suspended. The inventor estimates that the reconstruction operation is not executed after the data writing is completed.
【0013】しかしながら、前にも述べたように動画・
音声などの連続メディアデータを扱うデータ記憶アレイ
装置に対しては、単に平均的なアクセス性能だけでな
く、外部アクセスへの高速な応答性能が要求される。上
述した2つの開示例では、平均的な外部アクセス性能帯
域の向上には寄与するが、データ記憶装置の外部アクセ
ス応答性能の向上をさせることはできない。However, as described above,
For a data storage array device that handles continuous media data such as voice, not only average access performance but also high-speed response performance to external access is required. The above-described two disclosed examples contribute to the improvement of the average external access performance band, but cannot improve the external access response performance of the data storage device.
【0014】なぜならば、この2つの開示例を含む従来
の再構成処理では、少なくともデータ記憶装置へのリー
ドの動作、データ復元の動作、データ記憶装置へのライ
トの動作で構成される一連の三動作は不可分な(分離で
きない)動作であるため、データ記憶アレイ装置が再構
成処理中である場合にホスト装置からの外部アクセスが
発生すると、再構成動作が終了するまで外部アクセスを
後回しにすることを避けることはできないことにあり、
外部アクセス要求に対するアクセス応答性能を向上させ
ることができなかった。This is because in the conventional reconstruction processing including these two disclosed examples, a series of three operations including at least a read operation to the data storage device, a data restoration operation, and a write operation to the data storage device are performed. Since the operations are inseparable (cannot be separated), if an external access from the host device occurs while the data storage array device is in the process of being reconfigured, defer the external access until the reconfiguration operation ends. Is inevitable,
The access response performance to the external access request could not be improved.
【0015】本発明は上記問題点を解決するためになさ
れたものであり、連続メディアデータの外部からのデー
タアクセス性能を保証しながら、冗長構成時の再構成処
理が可能となる調停方法および調停装置等を提供するこ
とを目的とする。[0015] The present invention has been made to solve the above problems, while ensuring data access performance from the outside of the continuous media data, the arbitration method and arbitration reconstruction process when redundancy is enabled The purpose is to provide a device and the like.
【0016】[0016]
【課題を解決するための手段】上記の目的を達成するた
めに、第1の本発明(請求項1に対応)は、複数のデー
タ記憶装置の有する記録領域を分割してなる複数のセグ
メントと、前記複数のデータ記憶装置のそれぞれが有す
る前記セグメントを所定のアルゴリズムを用いてグルー
プ化した複数のパリティグループとを有し、前記複数の
パリティグループ内の少なくとも1つの前記セグメント
に冗長データを格納するデータ記憶アレイ装置におい
て、再構成処理中に外部ホスト装置からのアクセスが生
じた際に、再構成処理に必要なアクセスとの調停を行う
調停方法であって、前記再構成処理中に外部ホスト装置
からのリードアクセス要求、若しくは再構成処理中のパ
リティグループとは異なるパリティグループヘのライト
アクセス要求があったとき、前記再構成処理が進行中の
工程を判定する工程判定ステップと、前記工程判定ステ
ップにおいて、前記再構成処理が読み出し工程、若しく
は再構成工程にあると判定されたときは、前記外部ホス
ト装置からのリードアクセス若しくはライトアクセス
を、前記再構成処理における書き込み工程よりも前に割
り込ませ、前記調停ステップにより、前記再構成処理に
おける再構成工程と同時並行に前記外部ホスト装置から
のアクセスを可能とすることを特徴とする調停方法であ
る。In order to achieve the above object, the first invention (corresponding to claim 1) includes a plurality of segments obtained by dividing a recording area of a plurality of data storage devices. , A plurality of parity groups in which the segments of each of the plurality of data storage devices are grouped using a predetermined algorithm, and redundant data is stored in at least one of the segments in the plurality of parity groups. In a data storage array device, when an access from an external host device occurs during the reconfiguration process, an arbitration method for arbitrating with an access required for the reconfiguration process, the external host device being provided during the reconfiguration process. there is a write access request different parity group f is a read access request, or parity group during the reconstruction process from When the reconfiguration processing is in the reading step or the reconfiguration step in the step determination step for determining the step in which the reconfiguration processing is in progress, and the external host device Read access or write access from the device before the writing step in the reconfiguration processing, and the reconfiguration processing is performed by the arbitration step.
From the external host device at the same time as the reconstruction process in
It is an arbitration method characterized by enabling the access of .
【0017】[0017]
【0018】また、第2の本発明(請求項2に対応)
は、複数のデータ記憶装置の有する記録領域を分割して
なる複数のセグメントと、前記複数のデータ記憶装置の
それぞれが有する前記セグメントを所定のアルゴリズム
を用いてグループ化した複数のパリティグループとを有
し、前記複数のパリティグループ内の少なくとも1つの
前記セグメントに冗長データを格納するデータ記憶アレ
イ装置の再構成処理中に外部ホスト装置からのアクセス
が生じた際に、再構成処理に必要なアクセスとの調停を
行う調停装置であって、前記再構成処理中に外部ホスト
装置からのリードアクセス要求、若しくは再構成処理中
のパリティグループとは異なるパリティグループヘのラ
イトアクセス要求があったとき、前記再構成処理が進行
中の工程を判定する工程判定手段と、前記工程判定手段
により、前記再構成処理が読み出し工程、若しくは再構
成工程にあると判定されたときは、前記外部ホスト装置
からのリードアクセス若しくはライトアクセスを、前記
再構成処理における書き込み工程よりも前に割り込ませ
調停手段とを備え、前記調停手段により、前記再構成処
理における再構成工程と同時並行に前記外部ホスト装置
からのアクセスを可能とする調停装置である。The second invention (corresponding to claim 2 )
Has a plurality of segments formed by dividing a recording area of a plurality of data storage devices, and a plurality of parity groups obtained by grouping the segments of each of the plurality of data storage devices using a predetermined algorithm. However, when an access from an external host device occurs during the reconfiguration process of the data storage array device that stores redundant data in at least one of the segments in the plurality of parity groups, the access necessary for the reconfiguration process is performed. An arbitration device that performs arbitration of the reconfiguration process when a read access request from an external host device during the reconfiguration process or a write access request to a parity group different from the parity group under the reconfiguration process is issued. The process determination means for determining the process in which the configuration process is in progress, and the reconfiguration by the process determination means. Processing the read process, or when it is determined that the reconfiguration process, a read access or a write access from the external host device, said by interrupting before the writing process in reconstruction processing and a mediation unit, The reconstruction processing is performed by the arbitration means.
In parallel with the reconfiguration process in
It is an arbitration device that can be accessed from .
【0019】[0019]
【0020】また、第3の本発明(請求項3に対応)
は、第1の本発明の調停方法の、前記再構成処理中に外
部ホスト装置からのリードアクセス要求、若しくは再構
成処理中のパリティグループとは異なるパリティグルー
プヘのライトアクセス要求があったとき、前記再構成処
理が進行中の工程を判定する工程判定ステップと、前記
工程判定ステップにおいて、前記再構成処理が読み出し
工程、若しくは再構成工程にあると判定されたときは、
前記外部ホスト装置からのリードアクセス若しくはライ
トアクセスを、前記再構成処理における書き込み工程よ
りも前に割り込ませる調停ステップとをコンピュータに
実行させるためのプログラムである。The third invention (corresponding to claim 3 )
In the arbitration method of the first aspect of the present invention, when there is a read access request from the external host device during the reconfiguration processing or a write access request to a parity group different from the parity group under the reconfiguration processing, In the step determination step for determining the step in which the reconfiguration processing is in progress, and in the step determination step, when it is determined that the reconfiguration processing is in the reading step or the reconfiguration step,
A program for causing a computer to execute an arbitration step of interrupting a read access or a write access from the external host device before a writing step in the reconfiguration processing.
【0021】また、第4の本発明(請求項4に対応)
は、第3の本発明のプログラムを担持した記録媒体であ
って、コンピュータにより処理可能な記録媒体である。A fourth invention (corresponding to claim 4 )
Is a recording medium that carries the program of the third aspect of the present invention and is a recording medium that can be processed by a computer.
【0022】[0022]
【0023】[0023]
【0024】[0024]
【0025】[0025]
【0026】[0026]
【0027】[0027]
【0028】[0028]
【0029】[0029]
【0030】[0030]
【0031】[0031]
【0032】[0032]
【0033】[0033]
【0034】[0034]
【0035】[0035]
【0036】[0036]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を用いて詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.
【0037】(実施の形態1)本発明の実施の形態1に
よるオンライン再構成処理装置が用いられるデータ記憶
アレイ装置の構成は、基本的に従来例と同様なので、説
明には図1,図2を参照し、従来例との共通点は、その
説明を省略する。(Embodiment 1) The configuration of a data storage array device in which the online reconfiguration processing device according to the first embodiment of the present invention is used is basically the same as that of the conventional example. The description of common points with the conventional example will be omitted.
【0038】データ記憶アレイ装置におけるコントロー
ラ3の構成例を、図3と図4を参照して説明する。ホス
ト実行部31は、外部ホスト装置1にからのデータアク
セス要求の解析・完了通知およびアクセスデータ転送を
制御する手段である。アレイ制御部33は、データアク
セス要求からクラスタアクセス要求への変換を行う手段
である。冗長計算部34は、クラスタデータにおける冗
長データの生成およびデータ記憶装置の障害により発生
したクラスタデータの復元をおこなう手段である。デー
タ記憶装置制御部35は、アレイ制御部33から発行さ
れたクラスタアクセス要求に基づいてデータ記憶装置4
a〜4eを制御する手段である。クラスタ制御部32
は、クラスタ管理テーブル36を参照して冗長度の失わ
れた(データ記憶装置の障害あるいは交換によりクラス
タデータの一部が欠落した状態の)クラスタデータを再
度冗長度のある状態に復元させる手段である。クラスタ
管理テーブル36は、クラスタ制御部32内に保持され
ている、クラスタデータの冗長状態を管理するためのテ
ーブルである。An example of the configuration of the controller 3 in the data storage array device will be described with reference to FIGS. 3 and 4. The host execution unit 31 is means for controlling analysis / completion notification of a data access request from the external host device 1 and access data transfer. The array control unit 33 is means for converting a data access request into a cluster access request. The redundancy calculator 34 is means for generating redundant data in the cluster data and restoring the cluster data generated due to a failure of the data storage device. The data storage device controller 35 uses the data storage device 4 based on the cluster access request issued from the array controller 33.
It is a means for controlling a to 4e. Cluster control unit 32
Refers to the cluster management table 36 and restores the cluster data whose redundancy is lost (a part of the cluster data is lost due to the failure or replacement of the data storage device) to the redundancy state again. is there. The cluster management table 36 is a table held in the cluster control unit 32 for managing the redundant state of cluster data.
【0039】以上のような構成を有する本実施の形態に
よるオンライン再構成処理装置について、データ管理方
法と冗長データの作成・復元およびデータの書込み・読
み出しと再構成についての基本的な動作を説明するとと
もに、本発明の調停方法の一実施の形態について説明を
行う。With respect to the online reconfiguration processing apparatus according to the present embodiment having the above-mentioned configuration, a data management method and basic operations for creating / restoring redundant data, writing / reading data and reconfiguration will be described. At the same time, an embodiment of the arbitration method of the present invention will be described.
【0040】まず、データ記憶アレイ装置2におけるデ
ータ管理方法および冗長データの作成とデータ復元処理
について図2を用いて説明する。コントローラ3は、外
部ホスト装置1からのデータアクセス要求に伴うデータ
群とこのデータ群を用いて計算された冗長データを一ま
とまり(対応づけるよう)にしてクラスタデータとして
管理する。このクラスタデータは、5台のデータ記憶装
置4a〜4eの場合、4台のデータ記憶装置4a〜4d
にデータそのものが分割されて格納され、残りの1台で
あるデータ記憶装置4eには、冗長データが格納され
る。冗長データの生成方法にはパリティ方式を採用する
のが一般的である。例えば、外部ホスト装置1からのデ
ータ書き込み時には、パリティ値を計算してから5台の
データ記憶装置4a〜4eに格納する。冗長データであ
るパリティは、4台のデータ記憶装置4a〜4dのデー
タ値の1の個数の合計が、パリティビットを含めて偶数
になるように設定される。データ値が0、1、0、0の
場合、パリティ値は1となり、この値がパリティ用デー
タ記憶装置4eに格納される。外部ホスト装置1からの
データ読み出し要求が来た場合、5台のデータ記憶装置
4a〜4eからクラスタデータを読み出す。このとき、
データ記憶装置4a〜4dのうちの1台に障害が発生し
た場合、残りの4台のデータ記憶装置からクラスタデー
タの一部を読み出せば、パリティ計算を行うことによ
り、障害によって失われたクラスタデータの一部を復元
することができる。例えば前述の場合、データ記憶装置
4a〜4dの値0、1、0とデータ記憶装置4eのパリ
ティ値1から残りの1台のデータ記憶装置4eのデータ
は0であることがわかる。なお、ここでは偶数パリティ
としたが、奇数パリティを使用しても同様に構成するこ
とが可能である。First, the data management method in the data storage array apparatus 2 and the redundant data creation and data restoration processing will be described with reference to FIG. The controller 3 collects a data group associated with a data access request from the external host device 1 and redundant data calculated using this data group as one group (corresponding to each other) and manages them as cluster data. In the case of five data storage devices 4a-4e, this cluster data is four data storage devices 4a-4d.
The data itself is divided and stored in, and the redundant data is stored in the remaining one data storage device 4e. A parity method is generally adopted as a method of generating redundant data. For example, when writing data from the external host device 1, the parity value is calculated and then stored in the five data storage devices 4a to 4e. The parity that is redundant data is set such that the total number of 1s of the data values of the four data storage devices 4a to 4d is an even number including the parity bit. When the data value is 0, 1, 0, 0, the parity value is 1, and this value is stored in the parity data storage device 4e. When a data read request is received from the external host device 1, cluster data is read from the five data storage devices 4a to 4e. At this time,
When a failure occurs in one of the data storage devices 4a to 4d, if a part of the cluster data is read from the remaining four data storage devices, parity calculation is performed, and the cluster lost due to the failure is read. You can restore some of the data. For example, in the above case, it can be understood from the values 0, 1, 0 of the data storage devices 4a to 4d and the parity value 1 of the data storage device 4e that the data of the remaining one data storage device 4e is 0. Although the even parity is used here, the same configuration can be made by using the odd parity.
【0041】次に、データ記憶アレイ装置におけるデー
タの書き込み動作について説明する。ホスト実行部31
が外部ホスト装置1よりデータ書き込み要求を受け付け
ると、このデータ書き込み要求をアレイ制御部33に通
知する。アレイ制御部33は、データ書き込み要求をク
ラスタアクセス要求に変換して、冗長計算部34を用い
て書き込みデータに対応する冗長データ(パリティデー
タ)を計算してクラスタデータを作成する。そしてデー
タ記憶装置制御部35を介してデータ記憶装置4a〜4
eにクラスタデータを書き込む。クラスタデータの書き
込みが終了すると、ホスト実行部31は、データ書き込
み要求が完了したことを外部ホスト装置1に通知する。Next, the data write operation in the data storage array device will be described. Host execution unit 31
When the data write request is received from the external host device 1, the data write request is notified to the array controller 33. The array control unit 33 converts the data write request into a cluster access request, uses the redundancy calculation unit 34 to calculate redundant data (parity data) corresponding to the write data, and creates cluster data. Then, via the data storage device control unit 35, the data storage devices 4a-4
Write cluster data to e. When the writing of the cluster data is completed, the host execution unit 31 notifies the external host device 1 that the data writing request has been completed.
【0042】次に、データ記憶アレイ装置2におけるデ
ータの読み出し動作について説明する。ホスト実行部3
1が外部ホスト装置1よりデータ読み出し要求を受け付
けると、このデータ読み出し要求をアレイ制御部33に
通知する。アレイ制御部33は、データ読み出し要求を
クラスタアクセス要求に変換して、データ記憶装置制御
部35を介してデータ記憶装置4a〜4eからクラスタ
データを読み出す。アレイ制御部33は、クラスタデー
タの読み出しが終了すると、クラスタデータの一部がデ
ータ記憶装置の障害あるいは交換により欠落していない
がどうか調べる。Next, a data read operation in the data storage array device 2 will be described. Host execution unit 3
When 1 receives a data read request from the external host device 1, it notifies the array control unit 33 of this data read request. The array control unit 33 converts the data read request into a cluster access request, and reads the cluster data from the data storage devices 4a to 4e via the data storage device control unit 35. When the reading of the cluster data is completed, the array control unit 33 checks whether or not a part of the cluster data is missing due to a failure or replacement of the data storage device.
【0043】このとき、クラスタデータの一部がデータ
記憶装置の障害あるいは交換により欠落していた場合
は、冗長計算部34を用いて残りのクラスタデータから
欠落しているクラスタデータの一部を復元する。ホスト
実行部31は、読み出しデータの転送およびデータ読み
出し要求が完了したことを外部ホスト装置1に通知す
る。At this time, if a part of the cluster data is missing due to a failure or replacement of the data storage device, a part of the missing cluster data is restored from the remaining cluster data by using the redundancy calculator 34. To do. The host execution unit 31 notifies the external host device 1 that the transfer of read data and the data read request have been completed.
【0044】次に、図5を用いてデータ記憶アレイ装置
2における再構成の状態遷移について説明する。前述の
読み出し動作からもわかるように、データ記憶装置の一
部に障害が発生しても、システムが停止することなくデ
ータを復元することが可能である。このようにデータ記
憶装置の障害時に、故障したデータ記憶装置を使用せず
に、冗長度のない状態でアクセスを続けている状態を、
縮退動作と呼ぶ。この縮退動作の間は冗長性が無い状態
であるので、障害を発生したデータ記憶装置を交換して
正常状態に復帰する必要がある。障害が発生したデータ
記憶装置を交換した時は、残りの正常なデータ記憶装置
からデータを再構成して交換後のデータ記憶装置にデー
タを復元させる必要がある。この動作を再構成動作と呼
ぶ。図5に示すように「ノーマルアクセス」で示す正常
な状態から、故障時には「縮退」状態になり、故障した
データ記憶装置の交換後は「再構成」状態である。Next, the state transition of reconfiguration in the data storage array device 2 will be described with reference to FIG. As can be seen from the above read operation, even if a part of the data storage device fails, the data can be restored without stopping the system. In this way, in the event of a data storage device failure, the state in which access is continued without redundancy without using the failed data storage device,
This is called a degenerate operation. Since there is no redundancy during this degeneration operation, it is necessary to replace the failed data storage device and restore the normal state. When the failed data storage device is replaced, it is necessary to reconstruct the data from the remaining normal data storage device and restore the data to the replaced data storage device. This operation is called reconfiguration operation. As shown in FIG. 5, the normal state indicated by "normal access" changes to the "degenerate" state when a failure occurs, and the "reconfiguration" state after replacement of the failed data storage device.
【0045】ここで、データ記憶アレイ装置2における
再構成動作について説明する。クラスタ制御部32は、
クラスタ管理テーブル36を参照して冗長度のないクラ
スタを検索する。クラスタ制御部32は、冗長度のない
クラスタを検出すると、そのクラスタの読み出し要求を
アレイ制御部33に通知する。アレイ制御部33は、外
部データ読み出し動作と同様にクラスタデータをデータ
記憶装置制御部35を介してデータ記憶装置4a〜4e
にクラスタデータを読み出す。アレイ制御部33は、ク
ラスタデータの読み出しが終了すると、交換したデータ
記憶装置に対応するクラスタデータを冗長計算部34を
用いて残りのクラスタデータから復元する。クラスタデ
ータの復元を完了したアレイ制御部33は、クラスタ制
御部32にクラスタの読み出し要求が完了したことを通
知する。Here, the reconfiguration operation in the data storage array device 2 will be described. The cluster control unit 32
The cluster management table 36 is referred to search for a cluster without redundancy. When the cluster control unit 32 detects a cluster having no redundancy, the cluster control unit 32 notifies the array control unit 33 of a read request for the cluster. The array control unit 33 transmits the cluster data to the data storage devices 4a to 4e via the data storage device control unit 35 as in the external data read operation.
To read the cluster data. When the reading of the cluster data is completed, the array control unit 33 restores the cluster data corresponding to the exchanged data storage device from the remaining cluster data using the redundancy calculation unit 34. The array control unit 33 that has completed the restoration of the cluster data notifies the cluster control unit 32 that the cluster read request has been completed.
【0046】つぎに、クラスタ制御部32は、さきほど
読み出したクラスタデータの書き込み要求をアレイ制御
部33に通知する。アレイ制御部33は、外部データ書
き込み動作と同様にクラスタデータをデータ記憶装置制
御部35を介してデータ記憶装置4a〜4eにクラスタ
データを書き込む。アレイ制御部33は、クラスタデー
タの書き込みが終了すると、データ書き込み要求が完了
したことをクラスタ制御部32に通知する。クラスタ制
御部32は、クラスタ管理テーブル36に再構成処理の
完了したクラスタの冗長度が戻ったことを記録する。Next, the cluster control unit 32 notifies the array control unit 33 of a write request for the cluster data read out earlier. The array control unit 33 writes the cluster data to the data storage devices 4a to 4e via the data storage device control unit 35 as in the external data writing operation. When the writing of the cluster data is completed, the array control unit 33 notifies the cluster control unit 32 that the data write request is completed. The cluster control unit 32 records in the cluster management table 36 that the redundancy of the cluster for which the reconfiguration processing has been completed has returned.
【0047】これら一連の再構成動作は、クラスタ管理
テーブル36に基づいて冗長度のないクラスタがなくな
るまで繰り返される。また、この再構成動作は、外部ホ
スト装置1との外部アクセス動作と並行して実行され、
システムが停止することなく運用することができる。The series of reconfiguration operations are repeated until there are no clusters without redundancy based on the cluster management table 36. Further, this reconfiguration operation is executed in parallel with the external access operation with the external host device 1,
The system can be operated without stopping.
【0048】次に、図6、図12〜16を参照して、本
実施の形態の動作を詳細に説明する。図15と図16
は、クラスタ制御部32がクラスタに対するアクセスに
対してクラスタアクセス権を管理するためのフローチャ
ートである。図12と図13は、ホスト装置1からのア
クセスに対するデータ記憶アレイ装置2の読み出し(外
部Read)と書込み(外部Write)の動作を表
す。図14はクラスタ制御部32における再構成動作の
フローチャートである。外部Readと外部Write
および再構成動作でクラスタがアクセスされる時に、各
クラスタに対してアクセス権のチェックが行われた上で
実際のアクセスが実行される。Next, the operation of this embodiment will be described in detail with reference to FIGS. 6 and 12 to 16. 15 and 16
6 is a flowchart for the cluster control unit 32 to manage the cluster access right for access to the cluster. 12 and 13 show read (external Read) and write (external Write) operations of the data storage array apparatus 2 in response to an access from the host apparatus 1. FIG. 14 is a flowchart of the reconfiguration operation in the cluster control unit 32. External Read and External Write
When the cluster is accessed in the reconfiguration operation, the access right is checked for each cluster and the actual access is executed.
【0049】また、図6に示すクラスタ管理テーブル3
6の各クラスタ毎のアクセス状態の制御状態において、
再構成read52、データ再構成55、再構成wri
te53の動作の間に外部からアクセスがあったとき
は、アクセス状態54へ移行して、このアクセス状態5
4は、write動作が終了するまで継続されるが、ホ
スト実行部31からの該クラスタへのアクセスの回数
は、クラスタ管理テーブル36において「write
count」として管理されており、アクセス状態54
において、所定の「write count」が行われ
たときに、該クラスタのアクセス状態は待機状態51に
復帰する。このクラスタ毎のアクセス状態は、コントロ
ーラ内のアクセス権の取得ルーチンおよびアクセス権の
解放ルーチンによって実行されて管理される。なお、本
実施例においては、このアクセス権の取得および解放は
アレイ制御部33の機能の一部として実装することもで
きるが、アレイ制御部33とは独立に構成してもよい。Further, the cluster management table 3 shown in FIG.
In the control state of the access state for each cluster of 6,
Reconstruction read 52, data reconstruction 55, reconstruction wri
When an external access is made during the operation of te53, the state is shifted to the access state 54 and the access state 5
4 is continued until the write operation is completed. The number of times the host execution unit 31 has accessed the cluster is “write” in the cluster management table 36.
"count", and the access status 54
At, when a predetermined “write count” is performed, the access state of the cluster returns to the standby state 51. The access state for each cluster is executed and managed by an access right acquisition routine and an access right release routine in the controller. In this embodiment, the acquisition and release of the access right can be implemented as a part of the function of the array control unit 33, but may be configured independently of the array control unit 33.
【0050】次に、図12を参照して、外部からデータ
の読み出しの要請が行われた場合の動作を説明する。ホ
スト実行部31は、外部からデータ読み出しの要請を受
けると、クラスタアクセス権を取得する(S901)。
これにより、ホスト実行部31は、アレイ制御部33に
アクセスして、データ記憶装置4a〜4eのデータを読
み出す(S902)。データ記憶装置4a〜4eのデー
タが読み出されると、ホスト実行部31は、クラスタア
クセス権を開放する(S903)。次にホスト実行部3
1は、読み出されたデータにデータエラーがあるかどう
かを判断し(S904)、データエラーがあれば冗長計
算部34を用いて読み出したデータの復元を行い(S9
05)、なければそのまま外部へデータを送出し、読み
出し動作を終了する。Next, with reference to FIG. 12, the operation when a data read request is made from the outside will be described. Upon receiving a data read request from the outside, the host execution unit 31 acquires a cluster access right (S901).
As a result, the host execution unit 31 accesses the array control unit 33 to read the data in the data storage devices 4a to 4e (S902). When the data in the data storage devices 4a to 4e is read, the host execution unit 31 releases the cluster access right (S903). Next, the host execution unit 3
1 determines whether or not there is a data error in the read data (S904), and if there is a data error, restores the read data using the redundancy calculation unit 34 (S9).
05), if not present, the data is sent to the outside as it is, and the read operation is completed.
【0051】次に、図13を参照して、外部からデータ
の書き込みの要請が行われた場合の動作を説明する。ホ
スト実行部31は、外部からデータ書き込みの要請を受
けると、クラスタアクセス権を取得する(S100
1)。この後、冗長計算部34は、書き込みを行うデー
タから、データ記憶装置4eに記憶されるパリティデー
タを生成する(S1002)。この後、アレイ制御部3
3は、データ記憶装置4a〜4dに対し実データを、デ
ータ記憶装置4eに対しパリティデータの書き込みを行
う(S1003)。書き込みが終了すると、ホスト実行
部31は、クラスアクセス権を開放し(S1004)、
書き込み動作を終了する。Next, with reference to FIG. 13, an operation when a data write request is made from the outside will be described. Upon receiving a data write request from the outside, the host execution unit 31 acquires a cluster access right (S100).
1). After that, the redundancy calculation unit 34 generates the parity data stored in the data storage device 4e from the data to be written (S1002). After this, the array controller 3
3 writes the actual data to the data storage devices 4a to 4d and the parity data to the data storage device 4e (S1003). When the writing is completed, the host execution unit 31 releases the class access right (S1004),
The write operation ends.
【0052】次に、図14を参照して、本実施の形態に
よるオンライン再構成処理装置の再構成動作を説明す
る。はじめに、クラスタ制御部32は、再構成を必要と
するクラスタがデータ記憶装置4a〜4eに存在するか
どうかクラスタ管理テーブル36に従って判定を行い
(S1101)、再構成を必要とするクラスタが存在す
る場合は、そのクラスタが属するパリティグループの決
定を行う(S1102)。再構成が必要なクラスタとし
ては、データ記憶装置の交換後でまだ再構成されていな
いクラスタか、または、一時的な故障によってデータが
不完全なクラスタがある。Next, the reconfiguration operation of the online reconfiguration processing apparatus according to this embodiment will be described with reference to FIG. First, the cluster control unit 32 determines whether or not a cluster requiring reconfiguration exists in the data storage devices 4a to 4e according to the cluster management table 36 (S1101), and when there is a cluster requiring reconfiguration. Determines the parity group to which the cluster belongs (S1102). Clusters that need to be reconfigured include those that have not been reconfigured after the replacement of the data storage device, or those that have incomplete data due to a temporary failure.
【0053】次いで、決定したパリティグループに対す
るクラスタアクセス権を取得し(S1103)、アレイ
制御部33がデータ記憶装置4a〜4eからデータの読
み出し(Read)を行う(S1104)。次に、冗長
計算部34が、読み出したデータおよび冗長データか
ら、データの再構成を行う(S1105)。次に、クラ
スタアクセス権をチェックして(S1106)、クラス
タへのWriteが必要であると判断されたときには、
再構成されたデータを書き込み(write)、再構成
されたデータの書き込みが完了すると、再構成したクラ
スタのアクセス権を開放する(S1108)。ここで上
記ステップS1101〜S1108の任意の場所に、外
部からのデータアクセスを受け付けることができる。Next, the cluster access right for the determined parity group is acquired (S1103), and the array control unit 33 reads data from the data storage devices 4a-4e (Read) (S1104). Next, the redundancy calculation unit 34 reconstructs the data from the read data and the redundant data (S1105). Next, the cluster access right is checked (S1106), and when it is determined that Write to the cluster is necessary,
The reconfigured data is written, and when the reconfigured data is completely written, the access right of the reconfigured cluster is released (S1108). Here, data access from the outside can be received at any place in steps S1101 to S1108.
【0054】ここで、S1104〜S1108の間に外
部からのデータアクセスがあった場合の動作を、図17
を参照して説明する。Here, the operation when there is a data access from the outside during S1104 to S1108 will be described with reference to FIG.
Will be described with reference to.
【0055】図17(a)(b)(c)は、外部アクセ
ス要求として、データの読み出し要求があった場合の再
構成動作を説明するためのタイミングチャートである。FIGS. 17A, 17B and 17C are timing charts for explaining the reconfiguration operation when there is a data read request as an external access request.
【0056】はじめに、クラスタ管理テーブル36の各
クラスタ毎のアクセス状態の制御状態を図6を用いて説
明する。図において、待機状態51はクラスタに対する
アクセスが無い状態であり、クラスタの再構成を行う場
合は再構成read状態52へ移行し、再構成されたデ
ータをディスク装置に書き込む場合は再構成write
状態53へ移行する。このとき、再構成read52ま
たは再構成write53の動作の間に外部からアクセ
スがあったときは、アクセス状態54へ移行して、この
アクセス状態54は、write動作が終了するまで継
続される。First, the control state of the access state of each cluster in the cluster management table 36 will be described with reference to FIG. In the figure, the standby state 51 is a state in which there is no access to the cluster. When the cluster is reconfigured, the state shifts to the reconfiguration read state 52, and when the reconfigured data is written to the disk device, the reconfiguration write is performed.
Transition to state 53. At this time, when an external access is made during the operation of the reconfigured read 52 or the reconfigured write 53, the access state 54 is entered, and the access state 54 is continued until the write operation is completed.
【0057】次に、図17(a)(b)(c)を参照し
て、再構成処理中に外部からデータの読み出しの要求が
行われた場合の動作を説明する。図17(a)は、再構
成read状態52の実行中に読み出し要求があった場
合、図17(b)は、データ再構成状態55の実行中に
読み出し要求があった場合、図17(c)は、再構成w
rite状態53の実行中に読み出し要求があった場合
をそれぞれ示す。Next, with reference to FIGS. 17A, 17B and 17C, the operation when a data read request is made from the outside during the reconstruction process will be described. 17A shows a case where a read request is issued during execution of the reconstructed read state 52, and FIG. 17B shows a case where a read request is issued during execution of the data reconstructed state 55. ) Is the reconstructed w
The case where a read request is issued during execution of the write state 53 is shown.
【0058】なお、以下の動作において、外部から読み
出しの要求の対象となるデータが、再構成の対象となっ
ているクラスタと同一である場合または同一でない場合
のいずれにおいても共通である。In the following operation, it is common whether the data to be externally requested to be read is the same as or not the same as the cluster to be reconstructed.
【0059】はじめに、図17(a)を参照して、再構
成read状態52の実行中に読み出し要求があった場
合の動作を説明する。First, with reference to FIG. 17A, the operation when a read request is issued during execution of the reconfigured read state 52 will be described.
【0060】動作がスタートすると(図中「star
t」)、コントローラ3は、データ記憶装置4a〜4e
に対し、読み出し命令を出力する。読み出し命令がデー
タ記憶装置4a〜4eにて受理されると、データ記憶装
置4a〜4eはコントローラ3に対してクラスタデータ
を読み出し、出力を行う。ここで期間1701は、読み
出し命令が出力されデータ記憶装置4a〜4eにて受理
されるまでの時間であり、期間1704は、データ記憶
装置4a〜4eがコントローラ3に対しクラスタデータ
の読み出しを開始してから終了するまでの時間である。When the operation starts (in the figure, "star
t ”), the controller 3 controls the data storage devices 4a-4e.
In response, a read command is output. When the read command is accepted by the data storage devices 4a to 4e, the data storage devices 4a to 4e read the cluster data to the controller 3 and output the cluster data. Here, a period 1701 is a time until a read command is output and is accepted by the data storage devices 4a to 4e, and in a period 1704, the data storage devices 4a to 4e start reading cluster data from the controller 3. It is the time from the end to the end.
【0061】次に、コントローラ3は、データ記憶装置
4a〜4eからのクラスタデータの入力を完了すると、
クラスタデータおよびパリティを用いて再構成動作を行
う。ここで期間1702は、再構成動作の開始から終了
までの時間である。Next, when the controller 3 completes the input of the cluster data from the data storage devices 4a to 4e,
Reconstruction operation is performed using cluster data and parity. Here, the period 1702 is the time from the start to the end of the reconstruction operation.
【0062】次いでコントローラ3は、データ記憶装置
4a〜4eに対し、再構成されたデータの書き込み命令
を出力する。書き込み命令がデータ記憶装置4a〜4e
にて受理されると、データ記憶装置4a〜4eはコント
ローラ3から再構成されたデータの入力をうけ、書き込
みを行う。ここで期間1703は、書き込み命令が出力
され、データ記憶装置4a〜4eにて受理されるまでの
時間である。Next, the controller 3 outputs a reconstructed data write command to the data storage devices 4a to 4e. The write command is the data storage device 4a to 4e.
When received, the data storage devices 4a to 4e receive the reconstructed data from the controller 3 and perform writing. Here, the period 1703 is the time until the write command is output and is accepted by the data storage devices 4a to 4e.
【0063】以上の動作において、期間1704の間
に、ホスト装置1より、データ記憶アレイ装置2に対し
てデータの読み出し要求1710が発信され、コントロ
ーラ3にて受理されると、データ記憶装置4a〜4eは
期間1704の間読み出し動作を実行するが、期間17
04が終了すると、コントローラ3は読み出し要求17
10に応じて、データ記憶装置4a〜4eから、対応す
るデータを読み出させる。ここで期間1706は、デー
タ記憶装置4a〜4eがホスト装置1に対してデータの
出力を開始してから終了するまでの時間である。In the above operation, during the period 1704, when the host device 1 issues a data read request 1710 to the data storage array device 2 and the controller 3 accepts it, the data storage devices 4a ... 4e performs the read operation during the period 1704, but the period 17
When 04 ends, the controller 3 requests the read request 17
According to 10, the corresponding data is read from the data storage devices 4a to 4e. Here, the period 1706 is the time from when the data storage devices 4a to 4e start outputting data to the host device 1 to when it ends.
【0064】このとき、再構成の動作はコントローラ3
内の冗長計算部34で行われ、データの読み出しの動作
はデータ記憶装置4a〜4e、データ記憶装置管理部3
5,アレイ制御部33、ホスト実行部31で行われてお
り、これら2つの動作は同時並行にて行われることにな
る。At this time, the reconstruction operation is performed by the controller 3
The data read operation is performed by the redundancy calculation unit 34 in the data storage devices 4a to 4e and the data storage device management unit 3.
5. The array control unit 33 and the host execution unit 31 perform these two operations simultaneously.
【0065】さらに、冗長計算部34によるクラスタデ
ータの再構成が終了した後も、ホスト装置1へのデータ
読み出しが継続している場合は、再構成の動作が終了し
ても、ホスト装置1へのデータ読み出しが終了するま
で、データ記憶装置4a〜4eに対する書き込み命令の
出力は行われない。図17(a)では、期間1706
は、期間1702、期間1703に加えて余剰時間t1
だけの長さを持っている。Further, if the data reading to the host device 1 is continued even after the reconfiguration of the cluster data by the redundancy calculation unit 34 is finished, the data is read to the host device 1 even if the reconfiguration operation is finished. The write command is not output to the data storage devices 4a to 4e until the data reading is completed. In FIG. 17A, the period 1706
Is the surplus time t1 in addition to the periods 1702 and 1703.
Just have a length.
【0066】次に、期間1706が終了すると、コント
ローラ3は、データ記録装置4a〜4eに対して、再構
成されたデータの出力を行い、このデータを書き込ませ
る。ここで期間1703′は、書き込み命令が出力さ
れ、データ記憶装置4a〜4eにて受理されるまでの時
間であり、その大きさは期間1703と等しい。Next, when the period 1706 ends, the controller 3 outputs the reconstructed data to the data recording devices 4a to 4e, and writes this data. Here, the period 1703 ′ is the time until the write command is output and is accepted by the data storage devices 4 a to 4 e, and its size is equal to the period 1703.
【0067】最後に、書き込み命令が受理されると、デ
ータ記憶装置4a〜4eはコントローラ3から出力され
た、再構成されたデータをそれぞれ書き込み、処理を終
了する。ここで期間1705′は、データ記憶装置4a
〜4eがコントローラ3から出力されるデータの書き込
みを開始してから終了するまでの時間である。Finally, when the write command is accepted, the data storage devices 4a to 4e respectively write the reconstructed data output from the controller 3, and the process is completed. Here, the period 1705 'is the data storage device 4a.
4e is the time from the start to the end of writing the data output from the controller 3.
【0068】外部からの読み出し要求がない場合は、期
間1702の終了後、すぐにコントローラ3からの書き
込み命令が受理され、データ記憶装置4a〜4eがコン
トローラ3から出力されるデータの書き込みを行う。こ
こで期間1705は、データ記憶装置4a〜4eがコン
トローラ3から出力されるデータの書き込みを開始して
から終了するまでの時間であり、その大きさは期間17
05′に等しい。When there is no read request from the outside, the write command from the controller 3 is accepted immediately after the end of the period 1702, and the data storage devices 4a to 4e write the data output from the controller 3. Here, the period 1705 is the time from when the data storage devices 4 a to 4 e start writing the data output from the controller 3 to when the data storage devices 4 a to 4 e finish writing, and the magnitude thereof is the period 17
Equal to 05 '.
【0069】外部からの読み出し要求がない場合と、あ
る場合とを比較すると、再構成動作の終了は、外部から
の読み出し要求がある場合の方が、ない場合よりも、期
間170′(期間1703)+余剰時間t1だけ長くな
っている。Comparing the case where there is no read request from the outside with the case where there is a read request from the outside, the reconfiguration operation ends in the period 170 ′ (period 1703) when the read request is received from the outside as compared to when there is no read request. ) + Excessive time t1.
【0070】しかしながら、再構成動作の期間1706
と、外部からのデータ読み出し1703とを平行に行わ
せるようにしているため、全体として、外部からのデー
タ読み出しがある場合の再構成動作の時間は、大幅に短
縮されている。However, the period 1706 of the reconstruction operation
Since the data reading 1703 from the outside and the data reading 1703 from the outside are performed in parallel, the time for the reconfiguration operation when there is data reading from the outside is significantly shortened as a whole.
【0071】次に、図17(b)を参照して、データ再
構成状態55の実行中に読み出し要求があった場合の動
作を説明する。Next, with reference to FIG. 17B, the operation when a read request is issued during execution of the data reconstruction state 55 will be described.
【0072】動作スタート時から、データ記憶装置4a
〜4eから読み出されたクラスタデータの再構成動作ま
では、図17(a)と同様である。ここで期間1702
は、再構成動作の開始から終了までの時間である。From the start of the operation, the data storage device 4a
Up to the reconstruction operation of the cluster data read from 4e to 4e is the same as that in FIG. Here 1702
Is the time from the start to the end of the reconstruction operation.
【0073】ここで、期間1702の間に、ホスト装置
1より、データ記憶アレイ装置2に対してデータの読み
出し要求1710が発信され、コントローラ3にて受理
されると、コントローラ3は読み出し要求1710に応
じて、データ記憶装置4a〜4eから、対応するデータ
を読み出させる。このとき、再構成の動作はコントロー
ラ3内の冗長計算部34で行われ、データの読み出しの
動作はデータ記憶装置4a〜4e、データ記憶装置管理
部35,アレイ制御部33、ホスト実行部31で行われ
ており、これら2つの動作は同時並行にて行われること
になる。Here, during the period 1702, when the host device 1 issues a data read request 1710 to the data storage array device 2 and the data is accepted by the controller 3, the controller 3 sends a read request 1710. In response, the corresponding data is read from the data storage devices 4a to 4e. At this time, the reconfiguration operation is performed by the redundancy calculation unit 34 in the controller 3, and the data read operation is performed by the data storage devices 4a to 4e, the data storage device management unit 35, the array control unit 33, and the host execution unit 31. These two operations are performed in parallel at the same time.
【0074】図17(a)の場合と同様、冗長計算部3
4によるクラスタデータの再構成が終了した後も、ホス
ト装置1へのデータ読み出しが継続している場合は、再
構成の動作が終了しても、ホスト装置1へのデータ読み
出しが終了するまで、データ記憶装置4a〜4eに対す
る書き込み命令の出力は行われない。図17(b)で
は、期間1706は、期間1702、期間1703に加
えて余剰時間t2だけの長さを持っている。As in the case of FIG. 17A, the redundancy calculator 3
If the data reading to the host device 1 is continued even after the reconfiguration of the cluster data by 4 is completed, even if the reconfiguration operation is finished, the data reading to the host device 1 is finished. No write command is output to the data storage devices 4a to 4e. In FIG. 17B, the period 1706 has a length of the surplus time t2 in addition to the periods 1702 and 1703.
【0075】次に、期間1706が終了すると、コント
ローラ3は、データ記録装置4a〜4eに対して、再構
成されたデータの出力を行い、このデータを書き込ませ
る。ここで期間1703′は、書き込み命令が出力さ
れ、データ記憶装置4a〜4eにて受理されるまでの時
間であり、その大きさは期間1703と等しい。Next, when the period 1706 ends, the controller 3 outputs the reconstructed data to the data recording devices 4a to 4e, and causes this data to be written. Here, the period 1703 ′ is the time until the write command is output and is accepted by the data storage devices 4 a to 4 e, and its size is equal to the period 1703.
【0076】最後に、書き込み命令が受理されると、デ
ータ記憶装置4a〜4eはコントローラ3から出力され
た、再構成されたデータをそれぞれ書き込み、処理を終
了する。ここで期間1705′は、データ記憶装置4a
〜4eがコントローラ3から出力されるデータの書き込
みを開始してから終了するまでの時間である。Finally, when the write command is accepted, the data storage devices 4a to 4e respectively write the reconstructed data output from the controller 3, and the process is completed. Here, the period 1705 'is the data storage device 4a.
4e is the time from the start to the end of writing the data output from the controller 3.
【0077】外部からの読み出し要求がない場合は、期
間1702の終了後、すぐにコントローラ3からの書き
込み命令が受理され、データ記憶装置4a〜4eがコン
トローラ3から出力されるデータの書き込みを行う。こ
こで期間1705は、データ記憶装置4a〜4eがコン
トローラ3から出力されるデータの書き込みを開始して
から終了するまでの時間であり、その大きさは期間17
05′に等しい。When there is no read request from the outside, the write command from the controller 3 is accepted immediately after the end of the period 1702, and the data storage devices 4a to 4e write the data output from the controller 3. Here, the period 1705 is the time from when the data storage devices 4 a to 4 e start writing the data output from the controller 3 to when the data storage devices 4 a to 4 e finish writing, and the magnitude thereof is the period 17
Equal to 05 '.
【0078】外部からの読み出し要求がない場合と、あ
る場合とを比較すると、再構成動作の終了は、外部から
の読み出し要求がある場合の方が、ない場合よりも、期
間170′(期間1703)+余剰時間t2だけ長くな
っている。Comparing the case where there is no read request from the outside with the case where there is a read request from the outside, the reconfiguration operation is completed in the period 170 '(the period 1703) when the read request is received from the outside. ) + Excessive time t2.
【0079】しかしながら、再構成動作の期間1706
と、外部からのデータ読み出し1703とを平行に行わ
せるようにしているため、全体として、外部からのデー
タ読み出しがある場合の再構成動作の時間は、大幅に短
縮されている。However, the reconstruction operation period 1706
Since the data reading 1703 from the outside and the data reading 1703 from the outside are performed in parallel, the time for the reconfiguration operation when there is data reading from the outside is significantly shortened as a whole.
【0080】次に図17(c)を参照して、再構成wr
ite状態53の実行中に読み出し要求があった場合の
動作を説明する。Next, referring to FIG. 17C, the reconstruction wr
The operation when a read request is issued during execution of the ite state 53 will be described.
【0081】動作スタート時から、データ記憶装置4a
〜4eから読み出されたクラスタデータの再構成動作ま
では、図17(b)に示す場合と同様であり、さらに今
回の場合は、再構成動作が完了し、コントローラ3は、
データ記憶装置4a〜4eに対し、書き込み命令を出力
する。ここで期間1702は、再構成動作の開始から終
了までの時間であり、期間1703は、書き込み命令が
出力され、データ記憶装置4a〜4eにて受理されるま
での時間である。From the start of the operation, the data storage device 4a
Up to the reconstruction operation of the cluster data read from 4e to 4e is the same as the case shown in FIG. 17B, and in this case, the reconstruction operation is completed, and the controller 3
A write command is output to the data storage devices 4a to 4e. Here, the period 1702 is the time from the start to the end of the reconfiguration operation, and the period 1703 is the time until the write command is output and accepted by the data storage devices 4a to 4e.
【0082】コントローラ3からの書き込み命令が受理
されると、データ記憶装置4a〜4eはコントローラ3
から出力された、再構成されたデータをそれぞれ書き込
む。ここで期間1705は、データ記憶装置4a〜4e
がコントローラ3から出力されるデータの書き込みを開
始してから終了するまでの時間である。When the write command from the controller 3 is accepted, the data storage devices 4a to 4e cause the controller 3 to operate.
Write the reconstructed data output from each. Here, in the period 1705, the data storage devices 4a to 4e.
Is the time from the start of writing the data output from the controller 3 to the end thereof.
【0083】ここで、期間1705の間に、ホスト装置
1より、データ記憶アレイ装置2に対してデータの読み
出し要求1710が発信されると、コントローラ3はこ
の読み出し要求1710の受理を待機して、現在実行中
の、コントローラ3から出力される、再構成されたデー
タの書き込みを継続する。Here, when a data read request 1710 is transmitted from the host device 1 to the data storage array device 2 during the period 1705, the controller 3 waits for the read request 1710 to be accepted, The reconstructed data output from the controller 3, which is currently being executed, is continuously written.
【0084】再構成されたデータの書き込みが完了し、
期間1705が終了すると、コントローラ3はデータの
読み出し要求1710を受理し、データ記憶装置4a〜
4eに対し、ホスト装置1へのデータ読み出しを開始さ
せる。Writing of the reconstructed data is completed,
When the period 1705 ends, the controller 3 accepts the data read request 1710, and the data storage devices 4a to 4a.
4e is started to read data from the host device 1.
【0085】データ記憶装置4a〜4eは、ホスト装置
1へのデータ読み出しを実行させる。The data storage devices 4a to 4e cause the host device 1 to read data.
【0086】図17(c)の場合、外部からの読み出し
要求がない場合と、ある場合とを比較すると、再構成動
作の終了は、外部からの読み出し要求がある場合の方
が、ない場合よりも、外部からのデータ読み出しの期間
1706だけ長くなっている。In the case of FIG. 17C, comparing the case where there is no read request from the outside with the case where there is a read request from the outside, the reconfiguration operation ends when the read request from the outside ends more than when it does not. Also, the period 1706 for reading data from the outside is longer.
【0087】以上、図17(a)(b)(c)に示す3
通りに分けて説明を行ったように、外部からのデータ読
み出しの要求があった場合は、(1)データ記憶装置4
a〜4eから、コントローラ3へ再構成処理のためのク
ラスタデータ読み出しが行われている最中は、そのクラ
スタデータ読み出しが終了してから、クラスタデータの
再構成と平行して外部へデータ読み出しを行わせ、
(2)コントローラ3においてデータ記憶装置4a〜4
eから読み出されたクラスタデータの再構成が行われて
いる最中は、クラスタデータの再構成と平行して外部へ
データ読み出しを行わせ、(3)データ記憶装置4a〜
4eが、コントローラ3から再構成されたデータの書き
込みを行っている最中は、その再構成されたデータの書
き込みが終了してから、外部へデータ読み出しを行わせ
る、の3通りの対応をするようにしている。As described above, 3 shown in FIGS. 17 (a) (b) (c)
As described above separately, when there is a data read request from the outside, (1) the data storage device 4
While the cluster data is being read from a to 4e to the controller 3 for the reconstruction process, the cluster data is read out and then the data is read to the outside in parallel with the reconstruction of the cluster data. Let me do it
(2) Data storage devices 4a to 4 in the controller 3
While the cluster data read from e is being reconstructed, the data is read out in parallel with the reconstructing of the cluster data, and (3) the data storage devices 4a to
While 4e is writing the reconstructed data from the controller 3, the rewriting of the reconstructed data is completed, and then the data is read out to the outside. I am trying.
【0088】これら(1)(2)(3)の各動作におい
て、外部へのデータ読み出しは再構成read52、デ
ータ再構成55、再構成write53の各遷移内に行
われている。これによって、少なくとも、(1)(2)
の動作において、外部アクセス要求に対するアクセス応
答性能を向上させているため、全体の外部アクセス応答
性能を向上させることを可能としている。In each of these operations (1), (2), and (3), the data read to the outside is performed within each transition of the reconfiguration read 52, the data reconfiguration 55, and the reconfiguration write 53. As a result, at least (1) (2)
In this operation, since the access response performance to the external access request is improved, it is possible to improve the overall external access response performance.
【0089】次に、再構成処理中に外部からデータの書
き込みの要求が行われた場合の動作を説明する。Next, the operation when a data write request is issued from the outside during the reconstruction process will be described.
【0090】第1に、外部からの書き込みの要求の対象
となるデータが、再構成の対象となっているクラスタと
同一でない場合は、上述した読み出しの要求の場合と同
一の動作が行われる。すなわち、図17(a)の、再構
成read状態52の実行中の「読み出し要求」を「書
き込み要求」に、また、図17(b)の、データ再構成
状態55の実行中の「読み出し要求」を「書き込み要
求」に、図17(c)の、再構成write状態53の
実行中の「読み出し要求」を「書き込み要求」に、それ
ぞれ置き換えればよい。First, if the data to be externally requested for writing is not the same as the cluster to be reconstructed, the same operation as the above-mentioned read request is performed. That is, the “read request” during execution of the reconfiguration read state 52 of FIG. 17A is changed to the “write request”, and the “read request” during execution of the data reconfiguration state 55 of FIG. 17B is executed. 17 "is replaced with" write request ", and the" read request "during execution of the reconfiguration write state 53 in FIG. 17C is replaced with" write request ".
【0091】第2に、外部からの書き込みの要求の対象
となるデータが、再構成の対象となっているクラスタと
同一である場合は、次のようになる。Secondly, when the data which is the object of the write request from the outside is the same as the cluster which is the object of the reconstruction, the following is done.
【0092】(a)再構成read状態52の実行中
に、ホスト装置1から書き込み要求があった場合は、コ
ントローラ3は、データ記憶装置4a〜4eからのクラ
スタデータの読み出しを中止して、ホスト装置1からの
書き込み要求に応じて、データ記憶装置4a〜4eのク
ラスタデータが記録されている部分に、外部からのデー
タを上書き記録する。このとき、コントローラ3は、デ
ータ記憶装置4a〜4eからのクラスタデータの読み出
しを完了してから、データ記憶装置4a〜4eのクラス
タデータが記録されている部分に、外部からのデータを
上書き記録してもよい。このとき冗長計算部34は、読
み出されたクラスタデータを破棄する。(A) When a write request is issued from the host device 1 during execution of the reconfigured read state 52, the controller 3 stops reading cluster data from the data storage devices 4a to 4e, and In response to a write request from the device 1, the data from the outside is overwritten and recorded in the portion of the data storage devices 4a to 4e where the cluster data is recorded. At this time, the controller 3 completes the reading of the cluster data from the data storage devices 4a to 4e, and then overwrites and records the external data on the portion of the data storage devices 4a to 4e where the cluster data is recorded. May be. At this time, the redundancy calculation unit 34 discards the read cluster data.
【0093】(b)データ再構成状態55の実行中に、
ホスト装置1から書き込み要求があった場合は、コント
ローラ3は、データ再構成を直ちに中止して、ホスト装
置1からの書き込み要求に応じて、データ記憶装置4a
〜4eのクラスタデータが記録されている部分に、外部
からのデータを上書き記録する。(B) During execution of the data reconstruction state 55,
When there is a write request from the host device 1, the controller 3 immediately cancels the data reconstruction, and according to the write request from the host device 1, the data storage device 4a.
Data from the outside is overwritten and recorded in the portion where the cluster data of 4e is recorded.
【0094】(c)再構成write状態53の実行中
に、ホスト装置1から書き込み要求があった場合は、コ
ントローラ3は、データ記憶装置4a〜4eへの再構成
されたデータの書き込みを中止して、ホスト装置1から
の書き込み要求に応じて、データ記憶装置4a〜4eの
クラスタデータが記録されている部分に、外部からのデ
ータを上書き記録する。このとき冗長計算部34は、書
き込まれている途中のクラスタデータを破棄する。な
お、再構成write状態53の後に、ホスト装置1か
らのデータを上書きしてもよい。(C) If a write request is issued from the host device 1 during execution of the reconfigure write state 53, the controller 3 stops writing the reconfigured data to the data storage devices 4a-4e. Then, in response to a write request from the host device 1, external data is overwritten and recorded in the portion of the data storage devices 4a to 4e where the cluster data is recorded. At this time, the redundancy calculation unit 34 discards the cluster data being written. The data from the host device 1 may be overwritten after the reconfigure write state 53.
【0095】なお、上記の説明において、図17(a)
に示す動作は、ホスト機器1からの読み出し要求または
書き込み要求1710が、データ記憶装置4a〜4eが
コントローラ3へクラスタデータの読み出しを行ってい
る期間1704内に行われるものとして説明を行った
が、コントローラ3が読み出し命令を出力してからデー
タ記憶装置4a〜4eがそれを受理するまでの期間17
01の間に行われるものであってもよい。In the above description, FIG. 17 (a)
The operation shown in (1) has been described as being performed within the period 1704 during which the read request or the write request 1710 from the host device 1 is reading the cluster data from the data storage devices 4 a to 4 e to the controller 3. Period 17 from when the controller 3 outputs the read command to when the data storage devices 4a to 4e accept it.
It may be performed during 01.
【0096】次に、以上の動作におけるクラスタアクセ
ス権の取得と解放の処理を図15および図16を参照し
て説明する。Next, the process of acquiring and releasing the cluster access right in the above operation will be described with reference to FIGS. 15 and 16.
【0097】図15は、クラスタアクセス権を取得する
場合の動作のフローチャートである。FIG. 15 is a flowchart of the operation when acquiring the cluster access right.
【0098】はじめに、クラスタ制御部32は、クラス
タアクセス権の取得ルーチンにおいて、クラスアクセス
権の取得の申し込みをうけ、これがホスト実行部31か
らのものであるか、クラスタ制御部32からのものであ
るかどうか判断する(S1201)。ホスト実行部31
からのものである場合は、アクセスするクラスタが「再
構成write」、つまり再構成処理のWrite中で
あるかどうかを判断する(S1202)。該クラスタが
再構成処理のWrite中であれば、クラスタ管理テー
ブル36の該クラスタのwrite countを1加
算して(S1203)、該クラスタのアクセス状態を
「アクセス」にして(S1204)、ホスト実行部31
にアクセス許可を発行する。一方、S1202におい
て、アクセスするクラスタのアクセス状態が「再構成w
rite」で無い場合は、すぐにS1205にてアクセ
ス許可を発行する。First, the cluster control unit 32 receives an application for the acquisition of the class access right in the cluster access right acquisition routine, and this is from the host execution unit 31 or the cluster control unit 32. It is determined whether or not (S1201). Host execution unit 31
If the cluster is to be accessed, it is determined whether or not the cluster to be accessed is a “reconfiguration write”, that is, a reconfiguration processing Write is in progress (S1202). If the cluster is in the process of being reconfigured, the write count of the cluster in the cluster management table 36 is incremented by 1 (S1203), and the access state of the cluster is set to "access" (S1204). 31
Issue permissions to. On the other hand, in S1202, the access state of the cluster to be accessed is "reconfiguration w
If it is not “Write”, the access permission is issued immediately in S1205.
【0099】一方、S1201において、クラスアクセ
ス権の取得の申し込みが、クラスタ制御部32からのも
のである場合は、アクセスする「待機」状態かどうかを
判断する(S1206)。「待機」である場合は、クラ
スタ制御部32からのアクセスが、再構成処理の読み込
み(read)であるかどうかを判断する(S120
7)。再構成のreadである場合は、当該クラスタの
アクセス状態を「再構成read」として(S120
8)、クラスタ制御部32に対してアクセス許可を発行
する(S1209)。On the other hand, in S1201, if the application for acquiring the class access right is from the cluster control unit 32, it is determined whether or not it is in the "standby" state for access (S1206). In the case of “standby”, it is determined whether the access from the cluster control unit 32 is a read of the reconfiguration processing (S120).
7). If it is a reconfiguration read, the access state of the cluster is set to “reconfiguration read” (S120
8), issue access permission to the cluster control unit 32 (S1209).
【0100】一方、S1206において、当該クラスタ
のアクセス状態が「待機」でない場合は、当該クラスタ
は既に再構成のアクセス状態になっていると判断される
ので、アクセス許可は発行されない。また、S1207
において、クラスタ制御部32からのアクセスが、再構
成処理の読み込み(read)でない場合は、再構成処
理の書き込み(write)であるかどうかを判断する
(S1210)。再構成のwriteである場合は、当
該クラスタのアクセス状態を「再構成write」とし
て(S1211)、クラスタ制御部32に対してアクセ
ス許可を発行する(S1212)。このとき、S121
0において、再構成Writeでなければアクセスが必
要ではないので、アクセス許可は発行されない。On the other hand, in S1206, when the access state of the cluster is not "standby", it is determined that the cluster is already in the reconfiguration access state, and therefore no access permission is issued. Also, S1207
In the case where the access from the cluster control unit 32 is not the read (read) of the reconfiguration process, it is determined whether the access is the write (write) of the reconfiguration process (S1210). If it is a reconfiguration write, the access state of the cluster is set to "reconfiguration write" (S1211), and access permission is issued to the cluster control unit 32 (S1212). At this time, S121
At 0, access permission is not issued because access is not required unless it is reconfiguration Write.
【0101】次に、図16のフローチャートを参照し
て、クラスタアクセス権を解放する場合の動作を説明す
る。Next, the operation for releasing the cluster access right will be described with reference to the flowchart in FIG.
【0102】はじめに、クラスタアクセス権の解放ルー
チンにおいて、クラスタ制御部32は、クラスタアクセ
ス権の解放の申し込みをうけ、これがホスト実行部31
からのものであるか、クラスタ制御部32からのもので
あるかどうか判断する(S1301)。ホスト実行部3
1からのものである場合は、そのアクセスが「writ
e」、つまり外部write処理を終了するためのもの
であるかどうか判断する(S1302)。外部writ
e処理を終了するためのものである場合は、クラスタ管
理テーブル36の当該クラスタのwrite coun
tを1減算して(S1303)、次にwrite co
untの残量が0であるかどうか判断する(S130
4)。write countの残量が0である場合
は、アクセス状態を「待機」として(S1305)、処
理を終了する。このとき、S1302において、アクセ
スが「write」でない場合、またはS1304にお
いてwrite countの値が0でない場合は、処
理を終了する。First, in the cluster access right release routine, the cluster control unit 32 receives an application for release of the cluster access right, which is the host execution unit 31.
It is determined whether or not it is from the cluster control unit 32 (S1301). Host execution unit 3
If it is from 1, the access is "write
e ”, that is, whether it is for ending the external write processing (S1302). External writ
If it is to end the e process, the write count of the cluster in the cluster management table 36
Subtract 1 from t (S1303), and then write co
It is determined whether the remaining amount of unt is 0 (S130).
4). If the remaining write count is 0, the access state is set to "standby" (S1305), and the process ends. At this time, if the access is not "write" in S1302 or the value of write count is not 0 in S1304, the process ends.
【0103】また、S1301の動作において、クラス
タアクセス権の解放の申し込みが、クラスタ制御部32
からのものである場合は、そのアクセスが「writ
e」、つまり再構成write処理を終了するためのも
のであるかどうか判断する(S1306)。再構成wr
ite処理を終了するためのものである場合は、当該ク
ラスタのアクセス状態を「待機」にして(S130
7)、処理を終了する。再構成write処理を終了す
るためのものでない場合は、直接処理を終了する。In addition, in the operation of S1301, the application for releasing the cluster access right is issued by the cluster control unit 32.
If the access is from
e ”, that is, whether it is for ending the reconstruction write processing (S1306). Reconstruction wr
If it is for ending the item processing, the access state of the cluster is set to "standby" (S130).
7), the process ends. If it is not for ending the reconstruction write processing, the processing directly ends.
【0104】以上の動作において、再構成すべきデータ
のReadのステップと、データの再構成のステップ
と、再構成されたデータのWriteのステップとは、
それぞれクラスタアクセス権の確認のステップを間に挟
むことにより分離され、時間的に分離して処理されるこ
とになる。この再構成処理は、再構成が必要なクラスタ
がなくなるまでくりかえし実行され、再構成が必要なク
ラスタがなくなれば「ノーマルアクセス」状態に遷移す
る。この再構成処理は、外部からのデータ記憶装置への
アクセスである外部Readおよび外部Writeと並
行して実行される。In the above operation, the steps of reading the data to be reconstructed, reconstructing the data, and writing the reconstructed data are as follows:
They are separated by interposing the steps of confirming the cluster access right, and they are processed separately in terms of time. This reconfiguration process is repeatedly executed until there are no clusters that need reconfiguration, and if there are no clusters that need reconfiguration, the state transitions to the "normal access" state. This reconfiguration processing is executed in parallel with external Read and external Write, which are external accesses to the data storage device.
【0105】以上に説明した外部Read・外部Wri
teおよび再構成処理について、従来の再構成処理の動
作タイミングと本実施の形態における再構成処理の動作
タイミングについて説明する。External Read / External Wri described above
Regarding te and reconfiguration processing, the operation timing of the conventional reconfiguration processing and the operation timing of the reconfiguration processing in the present embodiment will be described.
【0106】図7に従来の再構成処理と、ホスト装置か
らのデータアクセス要求処理の関係を示す。従来の再構
成処理の読み込み(read)動作と書き込み(wri
te)動作は、連続して実行され、その間にホスト装置
からのアクセス要求が入った場合は、該read動作と
write動作が終了するまで待ち状態になり、再構成
処理が終った後に実行される。FIG. 7 shows the relationship between the conventional reconfiguration processing and the data access request processing from the host device. A read operation and a write operation (wri) of the conventional reconstruction process
te) operation is continuously executed, and when an access request is input from the host device during that time, the operation is put in a wait state until the read operation and the write operation are completed, and executed after the reconfiguration processing is completed. .
【0107】これに対し、本実施の形態のタイミング
は、図8に示すように、クラスタ再構成のためのrea
d動作とwrite動作とが分割して処理されることに
より、この間にホスト装置からのアクセス要求を実行す
ることができ、遅延が減少している。これによって、外
部のホスト装置からのアクセス要求に対して高速に応答
することが可能である。なお、この図ではアクセスする
データサイズと時間は明記していないが、例えば1MB
(メガバイト)のサイズでクラスタを管理している場合
であれば、再構成のためのReadとWriteを合わ
せると数十ms以上の時間が必要となる。このような場
合でも、クラスタ再構成のためのread動作とwri
te動作を分割することによって遅延を半分にすること
ができる。On the other hand, the timing of this embodiment is rea for cluster reconstruction as shown in FIG.
By dividing and processing the d operation and the write operation, the access request from the host device can be executed during this period, and the delay is reduced. This makes it possible to respond at high speed to an access request from an external host device. Although the data size and time to access are not specified in this figure, for example, 1MB
If the cluster is managed with a size of (megabyte), it takes several tens of ms or more if Read and Write for reconstruction are combined. Even in such a case, read operation and wri for cluster reconfiguration
The delay can be halved by splitting the te operation.
【0108】次に書き込みデータの正当性保証の動作タ
イミングについて、図8,9を参照して説明する。Next, the operation timing for guaranteeing the correctness of the write data will be described with reference to FIGS.
【0109】図8では、再構成の外部からのWrite
動作が実行されるようすを表しているが、ホスト装置1
からのWrite要求されたクラスタと、データ記憶ア
レイ装置2内にて再構成されたクラスタが一致する場
合、ホスト装置1からのアクセス要求によりデータ記憶
装置に書き込まれるクラスタが、最後に残るべき正当な
データである。ところが、図8に示す動作例の場合、分
割された再構成処理のWrite動作が後になっている
ため、再構成処理により得られたデータが、ホスト装置
1から書き込まれたデータを上書きすることとなってし
まい、この正当性が保証されない。In FIG. 8, Write from the outside of reconstruction is performed.
Although the operation is executed, the host device 1
If the write-requested cluster from the data storage array device 2 and the cluster reconstructed in the data storage array device 2 match, the cluster written to the data storage device by the access request from the host device 1 is the last valid one. The data. However, in the case of the operation example shown in FIG. 8, since the write operation of the divided reconfiguration processing is performed later, the data obtained by the reconfiguration processing overwrites the data written from the host device 1. And the legitimacy is not guaranteed.
【0110】本実施の形態は、上記のような事態が生ず
るのを回避するためのもので、図15および図16で示
したクラスタアクセス権の取得・解放と図6に示したク
ラスタ毎のアクセス状態の管理によって、同一クラスタ
への書き込み(Write)を検査し、同一クラスタで
あった場合に、再構成の書き込み(Write)をキャ
ンセルする。The present embodiment is for avoiding such a situation as described above. The acquisition / release of the cluster access right shown in FIGS. 15 and 16 and the access for each cluster shown in FIG. 6 are carried out. By managing the state, writing (Write) to the same cluster is inspected, and when it is the same cluster, writing (Write) of reconfiguration is canceled.
【0111】この動作タイミングを図9に示す。再構成
のReadの次にアクセス権検査が実行され、同一クラ
スタへの書き込み(Write)であると判断されたと
きは、再構成の書き込みが取り消される(Write
Cancel)。これによりデータの正当性が保証され
る。The operation timing is shown in FIG. The access right check is executed next to the read of the reconfiguration, and when it is determined that the write is the write to the same cluster, the write of the reconfiguration is canceled (Write).
Cancel). This ensures the validity of the data.
【0112】以上説明したように、本実施の形態に係る
データ記憶アレイ装置におけるオンライン再構成処理装
置およびオンライン再構成処理方法は、冗長構成によっ
て故障時にも正常データを保証することが可能で、故障
したデータ記憶装置を交換した後の再構成処理中も、ホ
スト装置への応答時間を高速にすることが可能である。
このとき、再構成処理のデータ書き込みのキャンセルに
よりホスト装置からのデータ書き込みの正当性を常に保
証することができる。As described above, the online reconfiguration processing apparatus and the online reconfiguration processing method in the data storage array apparatus according to this embodiment can guarantee normal data even in the event of a failure due to the redundant configuration. It is possible to speed up the response time to the host device even during the reconfiguration process after replacing the data storage device.
At this time, the correctness of the data writing from the host device can always be guaranteed by canceling the data writing in the reconstruction process.
【0113】すなわち、本実施の形態においては、クラ
スタ管理テーブル36によって、各クラスタの状態を管
理しているので、外部アクセスおよび再構成アクセスに
応じた状態を取ることができるので、再構成アクセス中
に外部アクセスの要求があった場合に、再構成のための
データ読み出し、データの再構成および再構成したデー
タの書き込みの動作に対して、外部アクセスを割り込ま
せることができる。That is, in the present embodiment, since the state of each cluster is managed by the cluster management table 36, it is possible to take the state according to the external access and the reconfiguration access. When there is a request for external access to the external access, the external access can be interrupted for the operations of reading data for reconfiguration, reconfiguring data and writing reconfigured data.
【0114】なお、クラスタのアクセス権の管理によっ
て、データの一貫性は保証されるので、外部アクセスと
再構成のためのアクセスとは、通常のマルチタスク処理
によって多重分割してもよい。実際には、マルチタスク
OSによって、外部アクセスと、再構成アクセスは、時
分割で処理が行われる。Since the consistency of data is assured by the management of the access right of the cluster, the external access and the access for reconstruction may be multi-divided by the normal multi-task processing. In practice, the multitasking OS processes the external access and the reconfigured access in a time-sharing manner.
【0115】なお、上記の説明において、クラスタ管理
テーブル36は、クラスタ制御部32内に保持されてい
るものとして説明を行ったが、アレイ制御部33が保持
するようにしてもよい。また、図15および16に示す
クラスタアクセス権の管理は、クラスタ制御部32によ
り行われるものとして説明を行ったが、アレイ制御部3
3が管理するようにしてもよい。In the above description, the cluster management table 36 is described as being held in the cluster controller 32, but it may be held by the array controller 33. Further, although the cluster access right management illustrated in FIGS. 15 and 16 is described as being performed by the cluster control unit 32, the array control unit 3 is described.
3 may manage it.
【0116】(実施の形態2)次に図10と図11を参
照して、本発明の実施の形態2によるオンライン再構成
処理方法およびオンライン再構成処理装置として、再構
成ステップの分割における遅延処理について説明する。
本実施の形態によるオンライン再構成処理装置の構成は
実施の形態1と同様なので、説明には図3他を用い、重
複する部分は省略する。また、図10に再構成ステップ
の遅延処理をしない場合のタイミング図を示す。Ste
p1は再構成Read、Step2はデータ再構成処
理、Step3は再構成Writeである。ホスト装置
1からデータ記憶アレイ装置2へのアクセスの平均帯域
を大きくするには、再構成の帯域を制限する必要があ
る。図11に示すようにStep1とStep2、St
ep2とStep3の間にそれぞれT1、T2の移行時
間を設定することによって再構成の帯域を制限する。ク
ラスタ制御部32においてアクセスの要求をアレイ制御
部33に発行するタイミングをT1、T2によって調整
する。(Second Embodiment) Next, referring to FIGS. 10 and 11, as an online reconfiguration processing method and an online reconfiguration processing apparatus according to a second embodiment of the present invention, delay processing in division of reconfiguration steps is performed. Will be described.
Since the configuration of the online reconfiguration processing apparatus according to this embodiment is the same as that of the first embodiment, the description of FIG. Further, FIG. 10 shows a timing chart when the delay process of the reconstruction step is not performed. Ste
p1 is a reconstruction read, Step2 is a data reconstruction process, and Step3 is a reconstruction Write. In order to increase the average bandwidth of access from the host device 1 to the data storage array device 2, it is necessary to limit the bandwidth of reconstruction. As shown in FIG. 11, Step 1, Step 2, and St
The bandwidth for reconstruction is limited by setting transition times of T1 and T2 between ep2 and Step3, respectively. The timing at which the cluster controller 32 issues an access request to the array controller 33 is adjusted by T1 and T2.
【0117】移行時間T1、T2は、外部ホスト装置1
のデータアクセスの発生頻度に応じて変化させる。例え
ば、データアクセス頻度が高い場合、外部のホスト装置
1の必要とする帯域が大きいと判断し、T1およびT2
の時間を長くする。また、データアクセスの発生頻度に
代えて、外部ホスト装置1からのデータアクセスの平均
帯域を使用して、平均帯域が大きい場合にT1およびT
2を長くする。外部ホスト機器1からのデータアクセス
が無い状態が続く場合、T1およびT2は小さくする。
このときT1、T2の値は0にしてもよい。これによっ
て、外部アクセスに対して帯域を保証するとともに、外
部アクセスが無いときには再構成処理の各Step間の
遅延をなくすことによって効率よく再構成を行うことが
できる。なお、T1およびT2としてStep1〜3の
間の時間としたが、再構成するクラスタを特定した後か
らStep1の処理開始までの時間をT0とし、このT
0についても同様に外部アクセスの帯域に応じて移行時
間を設定し、再構成の帯域を制御することができる。ま
た、移行時間の調製は、全ての工程の間で同じ長さで行
ってもよいし、個々の工程間毎に独立して調製してもよ
い。また、あるステップの実行時にデータアクセスがあ
ったとき、移行時間は、そのステップと次のステップと
の間に設定してもよいし、そのステップの次のステップ
と、さらにその次のステップとの間に設定してもよい。The transition times T1 and T2 are determined by the external host device 1
It changes according to the frequency of data access. For example, when the data access frequency is high, it is determined that the bandwidth required by the external host device 1 is large, and T1 and T2
Lengthen the time. Further, instead of the frequency of occurrence of data access, the average bandwidth of data access from the external host device 1 is used, and when the average bandwidth is large, T1 and T
Make 2 longer. If no data access from the external host device 1 continues, T1 and T2 are reduced.
At this time, the values of T1 and T2 may be zero. As a result, the bandwidth can be guaranteed for external access, and when there is no external access, efficient reconstruction can be performed by eliminating the delay between each step of the reconstruction processing. Although the time between Steps 1 to 3 is set as T1 and T2, the time from the identification of the cluster to be reconfigured to the start of the processing of Step 1 is T0.
Similarly, for 0, the transition time can be set according to the external access band to control the reconfiguration band. The transition time may be adjusted to the same length during all the steps, or may be adjusted independently for each step. Also, when there is a data access during the execution of a certain step, the transition time may be set between that step and the next step, or the transition time between that step and the next step. You may set in between.
【0118】以上説明したように、本実施の形態によれ
ば、再構成のアクセスの帯域を外部からのアクセスの帯
域に応じて制限することが可能で、外部からのアクセス
の帯域を保証することが可能であるとともに、外部から
のアクセスが少ない間に効率よく再構成を実行すること
が可能である。As described above, according to the present embodiment, it is possible to limit the bandwidth of reconfiguration access according to the bandwidth of access from the outside, and guarantee the bandwidth of the access from the outside. In addition, it is possible to efficiently perform reconfiguration while there is little external access.
【0119】なお、データ記憶装置へのアクセス権チェ
ックにおいて、ホスト装置1からのアクセス要求とクラ
スタ制御部32からの再構成のアクセス要求が同時にあ
る場合に、常にホスト装置1からのアクセス要求を優先
することにより、ホスト装置1への応答性を保証するこ
とも可能である。In the access right check to the data storage device, if there is an access request from the host device 1 and a reconfiguration access request from the cluster controller 32 at the same time, the access request from the host device 1 is always prioritized. By doing so, it is possible to guarantee the responsiveness to the host device 1.
【0120】また、上記の各実施の形態において、デー
タアレイ記憶装置2の有するコントローラ3は、本発明
の調停装置に対応する。また、ホスト部31,アレイ制
御部33およびデータ記憶装置管理部35は、本発明の
工程判定手段および調停手段に対応する。In each of the above embodiments, the controller 3 of the data array storage device 2 corresponds to the arbitration device of the present invention. Further, the host unit 31, the array control unit 33, and the data storage device management unit 35 are the components of the present invention.
It corresponds to the process determination means and the arbitration means .
【0121】また、本発明は、上述した本発明のオンラ
イン再構成処理方法の全部または一部のステップ(また
は、工程、動作、作用等)の動作をコンピュータにより
実行させるためのプログラムであって、コンピュータと
協働して動作するプログラムである。Further, the present invention is a program for causing a computer to execute all or some of the steps (or steps, operations, actions, etc.) of the above-described online reconstruction processing method of the present invention, It is a program that operates in cooperation with a computer.
【0122】本発明は、上述した本発明のオンライン再
構成処理方法の全部または一部のステップの全部または
一部の動作をコンピュータにより実行させるためのプロ
グラムを担持した媒体であり、コンピュータにより読み
取り可能且つ、読み取られた前記プログラムが前記コン
ピュータと協動して前記動作を実行する媒体である。The present invention is a medium carrying a program for causing a computer to execute all or some of the operations of all or some of the steps of the above-described online reconstruction processing method of the present invention, which is readable by the computer. The read program is a medium that executes the operation in cooperation with the computer.
【0123】なお、本発明の一部のステップ(または、
工程、動作、作用等)とは、それらの複数のステップの
内の、幾つかのステップを意味し、あるいは、一つのス
テップの内の、一部の動作を意味するものである。Note that some of the steps of the present invention (or
(Process, action, action, etc.) means some of the plurality of steps, or means a part of the action of one step.
【0124】また、本発明の一部の装置(または、素
子、回路、部等)とは、それらの複数の装置の内の、幾
つかの装置を意味し、あるいは、一つの装置の内の、一
部の手段(または、素子、回路、部等)を意味し、ある
いは、一つの手段の内の、一部の機能を意味するもので
ある。[0124] Further, some devices (or elements, circuits, parts, etc.) of the present invention mean some of those devices, or one device. , Means a part of means (or an element, a circuit, a part, etc.) or means a part of the function of one means.
【0125】また、本発明のプログラムを記録した、コ
ンピュータに読みとり可能な記録媒体も本発明に含まれ
る。Further, a computer-readable recording medium in which the program of the present invention is recorded is also included in the present invention.
【0126】また、本発明のプログラムの一利用形態
は、コンピュータにより読み取り可能な記録媒体に記録
され、コンピュータと協働して動作する態様であっても
良い。Further, one usage form of the program of the present invention may be a mode in which the program is recorded in a computer-readable recording medium and operates in cooperation with the computer.
【0127】また、本発明のプログラムの一利用形態
は、伝送媒体中を伝送し、コンピュータにより読みとら
れ、コンピュータと協働して動作する態様であっても良
い。Further, one usage form of the program of the present invention may be a mode in which it is transmitted through a transmission medium, read by a computer, and operates in cooperation with the computer.
【0128】また、記録媒体としては、ROM等が含ま
れ、伝送媒体としては、インターネット等の伝送媒体、
光・電波・音波等が含まれる。Further, the recording medium includes a ROM and the like, and the transmission medium includes a transmission medium such as the Internet,
Light, radio waves, sound waves, etc. are included.
【0129】また、上述した本発明のコンピュータは、
CPU等の純然たるハードウェアに限らず、ファームウ
ェアや、OS、更に周辺機器を含むものであっても良
い。The computer of the present invention described above is
The hardware is not limited to pure hardware such as a CPU, and may include firmware, an OS, and peripheral devices.
【0130】なお、以上説明した様に、本発明の構成
は、ソフトウェア的に実現しても良いし、ハードウェア
的に実現しても良い。As described above, the configuration of the present invention may be realized by software or hardware.
【0131】[0131]
【発明の効果】以上の説明から明らかなように、本発明
に係るデータ記憶アレイ装置によれば、再構成処理を分
割してその間に外部のホスト装置からのアクセスが入る
ことを認めることにより、高速な応答が可能である。ま
た、実際に再構成処理のRead/Writeの間に外
部アクセス処理(Write)が発生した場合、かつ、
同一クラスタへのアクセスの場合は、再構成処理のWr
iteをキャンセルすることでデータの順序性を保証す
ることが可能である。また、再構成処理のReadおよ
び復元およびWriteの処理の間に遅延を設けること
によって再構成の帯域を制御し、外部のホスト装置から
のアクセスの帯域を保証することが可能である。As is apparent from the above description, according to the data storage array device of the present invention, the reconstruction process is divided and the access from the external host device is accepted during the division process. High-speed response is possible. When an external access process (Write) actually occurs during Read / Write of the reconfiguration process, and
In case of access to the same cluster, Wr of reconfiguration processing
It is possible to guarantee the order of data by canceling ite. Further, it is possible to control the bandwidth of the reconfiguration by providing a delay between the read of the reconfiguration processing, the restoration and the processing of the write, and to guarantee the bandwidth of the access from the external host device.
【図1】本発明の実施の形態1に係るデータ記憶アレイ
装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a data storage array device according to a first embodiment of the present invention.
【図2】本発明の実施の形態1に係るデータ記憶アレイ
装置の管理領域を示すブロック図である。FIG. 2 is a block diagram showing a management area of the data storage array device according to the first embodiment of the present invention.
【図3】コントローラ3の処理内容を説明するための図
である。FIG. 3 is a diagram for explaining processing contents of a controller 3.
【図4】クラスタ管理テーブル36の構成の一例を示す
図である。FIG. 4 is a diagram showing an example of a configuration of a cluster management table 36.
【図5】各クラスタの状態遷移図である。FIG. 5 is a state transition diagram of each cluster.
【図6】各クラスタのアクセス状態の状態遷移図であ
る。FIG. 6 is a state transition diagram of access states of each cluster.
【図7】従来の再構成アクセスタイミング図である。FIG. 7 is a conventional reconfiguration access timing chart.
【図8】本発明の実施の形態2における再構成アクセス
タイミング図である。FIG. 8 is a reconfigurable access timing chart according to the second embodiment of the present invention.
【図9】本発明の実施の形態2における同一クラスタア
クセスの場合の再構成アクセスタイミング図である。FIG. 9 is a reconfiguring access timing chart in the case of the same cluster access according to the second embodiment of the present invention.
【図10】再構成処理ステップのタイミング図である。FIG. 10 is a timing diagram of the reconstruction processing steps.
【図11】遅延を入れた再構成処理ステップのタイミン
グ図である。FIG. 11 is a timing diagram of a reconstruction process step with delay.
【図12】データ記憶装置4への読み出し(Read)
アクセスフローチャートを示す図である。FIG. 12: Reading to the data storage device 4 (Read)
It is a figure which shows an access flowchart.
【図13】データ記憶装置4への書き込み(Writ
e)アクセスフローチャートを示す図である。FIG. 13 is a diagram illustrating writing to the data storage device 4 (Writ
e) It is a figure which shows an access flowchart.
【図14】クラスタ制御部32の再構成アクセスフロー
チャートを示す図である。FIG. 14 is a diagram showing a reconfiguration access flowchart of the cluster control unit 32.
【図15】クラスアクセス権の取得動作を示すフローチ
ャートを示す図である。FIG. 15 is a diagram showing a flowchart showing an operation of acquiring a class access right.
【図16】クラスアクセス権の解放動作を示すフローチ
ャートを示す図である。FIG. 16 is a diagram showing a flowchart showing an operation of releasing a class access right.
【図17】(a)本発明の実施の形態1の動作を説明す
るためのタイミングチャートを示す図である。(b)本
発明の実施の形態1の動作を説明するためのタイミング
チャートを示す図である。(c)本発明の実施の形態1
の動作を説明するためのタイミングチャートを示す図で
ある。FIG. 17 (a) is a diagram showing a timing chart for explaining the operation of the first embodiment of the present invention. FIG. 6B is a diagram showing a timing chart for explaining the operation of the first embodiment of the present invention. (C) Embodiment 1 of the present invention
5 is a diagram showing a timing chart for explaining the operation of FIG.
1 ホスト装置 2 データ記憶アレイ装置 3 コントローラ 4 データ記憶装置 31 ホスト実行部 32 クラスタ制御部 33 アレイ制御部 34 冗長計算部 35 データ記憶装置管理部 1 Host device 2 Data storage array device 3 controller 4 Data storage device 31 Host Execution Unit 32 cluster controller 33 Array controller 34 Redundancy calculator 35 Data Storage Device Management Unit
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−221217(JP,A) 特開 平11−85576(JP,A) 特開 平11−119921(JP,A) 特開 平11−265308(JP,A) 特開2000−56935(JP,A) 特開2000−276305(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 - 3/08 G06F 12/16 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-8-221217 (JP, A) JP-A-11-85576 (JP, A) JP-A-11-119921 (JP, A) JP-A-11- 265308 (JP, A) JP 2000-56935 (JP, A) JP 2000-276305 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 3/06-3/08 G06F 12/16
Claims (4)
を分割してなる複数のセグメントと、前記複数のデータ
記憶装置のそれぞれが有する前記セグメントを所定のア
ルゴリズムを用いてグループ化した複数のパリティグル
ープとを有し、前記複数のパリティグループ内の少なく
とも1つの前記セグメントに冗長データを格納するデー
タ記憶アレイ装置において、再構成処理中に外部ホスト
装置からのアクセスが生じた際に、再構成処理に必要な
アクセスとの調停を行う調停方法であって、 前記再構成処理中に外部ホスト装置からのリードアクセ
ス要求、若しくは再構成処理中のパリティグループとは
異なるパリティグループヘのライトアクセス要求があっ
たとき、前記再構成処理が進行中の工程を判定する工程
判定ステップと、 前記工程判定ステップにおいて、前記再構成処理が読み
出し工程、若しくは再構成工程にあると判定されたとき
は、前記外部ホスト装置からのリードアクセス若しくは
ライトアクセスを、前記再構成処理における書き込み工
程よりも前に割り込ませ、前記調停ステップにより、前
記再構成処理における再構成工程と同時並行に前記外部
ホスト装置からのアクセスを可能とすることを特徴とす
る調停方法。1. A plurality of segments formed by dividing a recording area of a plurality of data storage devices, and a plurality of parity groups obtained by grouping the segments of each of the plurality of data storage devices using a predetermined algorithm. In the data storage array device storing redundant data in at least one of the segments in the plurality of parity groups, the reconfiguration process is performed when an access from an external host device occurs during the reconfiguration process. An arbitration method for performing arbitration with a necessary access, wherein a read access request from an external host device during the reconfiguration processing or a write access request to a parity group different from the parity group under the reconfiguration processing is made. And a process determination step for determining a process in which the reconstruction process is in progress; In step, the reconstruction process is read process, or when it is determined that the reconfiguration process, a read access or a write access from the external host device, by interrupting before the writing process in the reconstruction process , By the arbitration step,
In parallel with the reconstruction process in the reconstruction process, the external
Characterized by enabling access from the host device
Arbitration how.
を分割してなる複数のセグメントと、前記複数のデータ
記憶装置のそれぞれが有する前記セグメントを所定のア
ルゴリズムを用いてグループ化した複数のパリティグル
ープとを有し、前記複数のパリティグループ内の少なく
とも1つの前記セグメントに冗長データを格納するデー
タ記憶アレイ装置の再構成処理中に外部ホスト装置から
のアクセスが生じた際に、再構成処理に必要なアクセス
との調停を行う調停装置であって、 前記再構成処理中に外部ホスト装置からのリードアクセ
ス要求、若しくは再構成処理中のパリティグループとは
異なるパリティグループヘのライトアクセス要求があっ
たとき、前記再構成処理が進行中の工程を判定する工程
判定手段と、 前記工程判定手段により、前記再構成処理が読み出し工
程、若しくは再構成工程にあると判定されたときは、前
記外部ホスト装置からのリードアクセス若しくはライト
アクセスを、前記再構成処理における書き込み工程より
も前に割り込ませ調停手段とを備え、前記調停手段により、前記再構成処理における再構成工
程と同時並行に前記外部ホスト装置からのアクセスを可
能とする 調停装置。2. A plurality of segments formed by dividing a recording area of a plurality of data storage devices, and a plurality of parity groups obtained by grouping the segments of each of the plurality of data storage devices using a predetermined algorithm. And is required for the reconfiguration process when an access from an external host device occurs during the reconfiguration process of the data storage array device that stores redundant data in at least one of the segments in the plurality of parity groups. An arbitration device that performs arbitration with different access, when a read access request from the external host device during the reconfiguration processing or a write access request to a parity group different from the parity group being reconfigured A process determining means for determining a process in which the reconstruction process is in progress, and the process determining means. When it is determined that the reconfiguration process is in the reading process or the reconfiguration process, the arbitration unit interrupts the read access or the write access from the external host device before the writing process in the reconfiguration process. And a reconstructing process in the reconstructing process by the arbitration means.
Access from the external host device at the same time
An arbitration device.
成処理中に外部ホスト装置からのリードアクセス要求、
若しくは再構成処理中のパリティグループとは異なるパ
リティグループヘのライトアクセス要求があったとき、
前記再構成処理が進行中の工程を判定する工程判定ステ
ップと、 前記工程判定ステップにおいて、前記再構成処理が読み
出し工程、若しくは再構成工程にあると判定されたとき
は、前記外部ホスト装置からのリードアクセス若しくは
ライトアクセスを、前記再構成処理における書き込み工
程よりも前に割り込ませる調停ステップとをコンピュー
タに実行させるためのプログラム。3. A read access request from an external host device during the reconfiguration process of the arbitration method according to claim 1.
Or when there is a write access request to a parity group different from the parity group being reconfigured,
From the external host device, when the reconfiguration process is in the reading process or the reconfiguration process in the process determination step of determining the process in which the reconfiguration process is in progress, and the process determination step. A program for causing a computer to execute an arbitration step of interrupting read access or write access before the writing step in the reconfiguration processing.
記録媒体であって、コンピュータにより処理可能な記録
媒体。4. A recording medium carrying the program according to claim 3 , which can be processed by a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001335466A JP3453376B2 (en) | 2000-11-02 | 2001-10-31 | Mediation method, mediation device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000-336646 | 2000-11-02 | ||
| JP2000336646 | 2000-11-02 | ||
| JP2001335466A JP3453376B2 (en) | 2000-11-02 | 2001-10-31 | Mediation method, mediation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002202857A JP2002202857A (en) | 2002-07-19 |
| JP3453376B2 true JP3453376B2 (en) | 2003-10-06 |
Family
ID=26603387
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001335466A Expired - Lifetime JP3453376B2 (en) | 2000-11-02 | 2001-10-31 | Mediation method, mediation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3453376B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4817783B2 (en) * | 2005-09-30 | 2011-11-16 | 富士通株式会社 | RAID system and rebuild / copyback processing method thereof |
| JP2008217624A (en) * | 2007-03-07 | 2008-09-18 | Nec Corp | Disk array device and control method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000276305A (en) | 1999-03-23 | 2000-10-06 | Nec Corp | Disk array device |
-
2001
- 2001-10-31 JP JP2001335466A patent/JP3453376B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000276305A (en) | 1999-03-23 | 2000-10-06 | Nec Corp | Disk array device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002202857A (en) | 2002-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4472617B2 (en) | RAID system, RAID controller and rebuild / copy back processing method thereof | |
| US6883112B2 (en) | Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices | |
| JP5954081B2 (en) | Storage control device, storage control method, and storage control program | |
| EP1204027A2 (en) | On-line reconstruction processing method and on-line reconstruction processing apparatus | |
| JP4800031B2 (en) | Storage system and snapshot management method | |
| JP3742494B2 (en) | Mass storage device | |
| US8266475B2 (en) | Storage management device, storage management method, and storage system | |
| JP2004213064A (en) | RAID apparatus and logical device expansion method thereof | |
| JP2005301497A (en) | Storage management device, restore method and program thereof | |
| TW200530812A (en) | Method, system, and program for managing data organization | |
| JPH07239799A (en) | Method for provision of remote data shadowing and remote data duplex system | |
| CN115167782A (en) | Temporary storage copy management method, system, device and storage medium | |
| US5860003A (en) | I/O controller software with each I/O command having a plurality of nets, each with a group of threads | |
| JP2008186142A (en) | Remote backup method and storage system | |
| JP3736134B2 (en) | Distributed storage method, distributed storage system, and recording medium recording distributed storage program | |
| JP3453376B2 (en) | Mediation method, mediation device | |
| US20090063770A1 (en) | Storage control apparatus, storage control program, and storage control method | |
| JP6838299B2 (en) | Storage device, storage control device, and storage control program | |
| JP2025086267A (en) | Storage device and transfer verification method | |
| JP2000172570A5 (en) | Information recording device and data input / output method and reconstruction method in this device | |
| JP4984677B2 (en) | Information processing device | |
| JP6802304B2 (en) | Storage control device, storage control system, storage control method, and storage control program | |
| JPH09265435A (en) | Storage system | |
| US20070260816A1 (en) | RAID management apparatus, RAID management method, and computer product | |
| CN118885132A (en) | A data processing method, device, equipment, medium, product and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070718 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080718 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090718 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090718 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100718 Year of fee payment: 7 |