[go: up one dir, main page]

JP2000172570A - Data input / output method and reconstruction method in information recording device - Google Patents

Data input / output method and reconstruction method in information recording device

Info

Publication number
JP2000172570A
JP2000172570A JP10345294A JP34529498A JP2000172570A JP 2000172570 A JP2000172570 A JP 2000172570A JP 10345294 A JP10345294 A JP 10345294A JP 34529498 A JP34529498 A JP 34529498A JP 2000172570 A JP2000172570 A JP 2000172570A
Authority
JP
Japan
Prior art keywords
request
data
priority
array
recording medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP10345294A
Other languages
Japanese (ja)
Other versions
JP2000172570A5 (en
Inventor
Takeshi Kokado
健 古門
Masaro Tamai
昌朗 玉井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10345294A priority Critical patent/JP2000172570A/en
Priority to US09/453,216 priority patent/US6799283B1/en
Publication of JP2000172570A publication Critical patent/JP2000172570A/en
Priority to US10/824,405 priority patent/US20040190183A1/en
Publication of JP2000172570A5 publication Critical patent/JP2000172570A5/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】 【課題】 リアルタイムデータのリアルタイム性を保証
でき、又は、そのリアルタイム性を保証しつつ、データ
の再構築処理を実行できる情報記録装置を情報記録装置
を提供することである。 【解決手段】 制御部33は、入力されたアクセス要求
を、所定の優先度を有するディスクアレイ2に対する読
出し要求又は書込み要求に変換して作成して、作成され
た読出し要求又は書込み要求を、要求キュー36に、所
定の優先度に従ってキューイングする。要求選定部37
は、所定の優先度に従って、要求キュー36にキューイ
ングされている読出し要求又は書込み要求の中から、デ
ィスクアレイ2が処理すべきものを選定する。ディスク
アレイ2は、要求選定部37によって選定された読出し
要求又は書込み要求を処理する。
(57) [Problem] To provide an information recording device capable of guaranteeing the real-time property of real-time data, or executing the data reconstruction process while guaranteeing the real-time property. A control unit (33) converts an input access request into a read request or a write request for a disk array (2) having a predetermined priority, and creates the read request or write request. It is queued in the queue 36 according to a predetermined priority. Request selection unit 37
Selects a request to be processed by the disk array 2 from read requests or write requests queued in the request queue 36 according to a predetermined priority. The disk array 2 processes the read request or the write request selected by the request selection unit 37.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報記録装置に関
し、より特定的には、冗長化されたデータを記録する記
録媒体からなる冗長アレイと、ホスト装置から送信され
てくるアクセス要求に従って当該冗長アレイを制御する
アレイコントローラを含む情報記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording apparatus, and more particularly, to a redundant array composed of a recording medium for recording redundant data and a redundant array according to an access request transmitted from a host device. The present invention relates to an information recording device including an array controller that controls an array.

【0002】[0002]

【従来の技術】近年、動画情報及び/又は音声情報を記
録できる情報記録装置が望まれている。動画情報及び/
又は音声情報は情報記録装置から途切れずに出力される
必要があるため、当該情報記録装置に対するデータの入
出力にはリアルタイム性が要求される。この要求を実現
するために、情報記録装置の入出力インタフェイスとし
て、SCSI(Small Computer System Interface )が用
いられる場合がある。以下、本明細書では、動画情報又
は音声情報のようにリアルタイム性が要求されるデータ
を、”リアルタイムデータ”と称する。また、リアルタ
イム性が要求されないデータを、”非リアルタイムデー
タ”と称する。この非リアルタイムデータには、動画情
報及び/又は音声情報のタイトル情報や総時間情報等が
含まれる。
2. Description of the Related Art In recent years, an information recording apparatus capable of recording moving picture information and / or audio information has been desired. Video information and / or
Alternatively, since the audio information needs to be output without interruption from the information recording device, real-time processing is required for inputting and outputting data to and from the information recording device. In order to fulfill this request, a SCSI (Small Computer System Interface) may be used as an input / output interface of the information recording apparatus. Hereinafter, in this specification, data that requires real-time properties such as moving image information or audio information is referred to as “real-time data”. Data that does not require real-time properties is referred to as “non-real-time data”. The non-real-time data includes title information and total time information of moving image information and / or audio information.

【0003】また、近年、冗長アレイ化された記録媒体
を備える情報記録装置が注目されている。この冗長アレ
イ化された記録媒体は、複数の記録媒体からなることが
多く、冗長化されたデータを分散的に記録する。また、
冗長アレイ化された記録媒体は、少なくとも1つの記録
媒体にエラー検出冗長情報が記録する。より具体的に
は、情報記録装置は、冗長アレイ化された1個以上の記
録媒体と、この冗長アレイに対するデータの入出力を制
御するアレイコントローラとを備える。アレイコントロ
ーラが、この冗長アレイにアクセスして、冗長化された
データを書き込んだり読み出したりすることで、情報記
録装置としての信頼性及びデータ入出力速度の向上が実
現されている。なお、記録媒体をディスクとしたもの
は、ディスクアレイと呼ばれる。ディスクアレイについ
ては、A Case for Redundant Array of Inexpensive Di
sks (RAID) by David A.Patterson, Garth Gibson, and
Randy. Katz University of California Berkeley (De
cember 1987)で述べられている。
[0003] In recent years, an information recording apparatus having a recording medium arranged in a redundant array has attracted attention. The redundant array of recording media often includes a plurality of recording media, and redundantly records the redundant data. Also,
In the recording medium in the redundant array, error detection redundant information is recorded on at least one recording medium. More specifically, the information recording apparatus includes one or more recording media arranged in a redundant array, and an array controller that controls input and output of data to and from the redundant array. The array controller accesses the redundant array to write and read the redundant data, thereby improving the reliability of the information recording device and improving the data input / output speed. Note that a recording medium that is a disk is called a disk array. For disk arrays, see A Case for Redundant Array of Inexpensive Di
sks (RAID) by David A. Patterson, Garth Gibson, and
Randy. Katz University of California Berkeley (De
cember 1987).

【0004】冗長アレイ化された記録媒体ではパリティ
グループが形成される。もし、パリティグループに属す
るいずれかの記録媒体が全体的又は部分的に障害を起こ
したとしても、障害記録媒体のデータは、既知のエラー
訂正技術を用いて、同じパリティグループに属する他の
記録媒体のデータに基づいて再現される(再構築処
理)。しかしながら、この再構築処理は、ある記録媒体
が障害を起こしている時に、同じパリティグループに属
する他の記録媒体が障害を起こすと、実行不可能になる
ため、できるだけ素早く実行する必要がある。
[0004] A parity group is formed on a recording medium in a redundant array. Even if one of the recording media belonging to the parity group fails completely or partially, the data on the failed recording medium is transferred to another recording medium belonging to the same parity group by using a known error correction technique. (Reconstruction processing). However, this rebuilding process cannot be executed if another recording medium belonging to the same parity group fails when a certain recording medium has failed, so it needs to be executed as quickly as possible.

【0005】かかる再構築処理の一例が、「特開平5−
127839号」公報に開示されている。情報記録装置
のディスクコントローラは、ディスクアレイの動作状態
をモニタしており、再構築処理が必要になると、その時
のディスクアレイの動作状態に応じて、可変速度再生、
アイドル時間再生又は日和見的再生という再構築処理の
いずれかを選択して実行する。可変速度再生は、ディス
クアレイのI/O(アクセス)動作とインターリーブさ
れた後に実行される。また、アイドル時間再生は、ディ
スクアレイのアイドル時間を利用して実行される。さら
に、日和見的再生は、アクセス中のトラックでエラーが
検出される度に実行される。
An example of such a reconstruction process is disclosed in Japanese Patent Laid-Open Publication No.
No. 127839 ". The disk controller of the information recording device monitors the operation state of the disk array, and when a rebuilding process is necessary, variable speed playback,
Either idle time reproduction or opportunistic reproduction reconstruction processing is selected and executed. Variable speed playback is performed after interleaving with the I / O (access) operation of the disk array. In addition, the idle time reproduction is executed using the idle time of the disk array. Further, opportunistic reproduction is performed every time an error is detected in the track being accessed.

【0006】[0006]

【発明が解決しようとする課題】情報記録装置の冗長ア
レイには、リアルタイムデータと非リアルタイムデータ
とが一緒に記録される。そのため、情報記録装置には、
リアルタイムデータにアクセスするためのアクセス要求
と、非リアルタイムデータにアクセスするためのアクセ
ス要求とが外部から送信されてくる。
In the redundant array of the information recording device, real-time data and non-real-time data are recorded together. Therefore, the information recording device,
An access request for accessing real-time data and an access request for accessing non-real-time data are transmitted from outside.

【0007】しかしながら、上記公報及び文献に記載さ
れた情報記録装置、及びSCSI等の入出力インタフェ
イスでは、上記二種類のアクセス要求を区別して処理す
ることが考慮されていない。そのため、非リアルタイム
データのアクセス要求により伝送路のトラフィックが増
大すると、リアルタイムデータの入出力に対して悪影響
を及ぼす。つまり、情報記録装置がリアルタイムデータ
のリアルタイム性を保証することができないという問題
点があった。
However, in the information recording apparatus and the input / output interface such as SCSI described in the above-mentioned publications and literatures, it is not considered that the two types of access requests are separately processed. Therefore, when traffic on the transmission path increases due to a non-real-time data access request, the input / output of real-time data is adversely affected. That is, there is a problem that the information recording apparatus cannot guarantee the real-time property of the real-time data.

【0008】また、上記のような冗長アレイを備える情
報記録装置では、アレイコントローラが、ホストから送
信されてくるデータ処理の要求を処理しながら、障害デ
ィスクに対する再構築処理を実行する。このような従来
の再構築処理は、各パリティグループ全体をひとまとま
りとして実行されていた。しかしながら、RAID4又
はRAID5では、各ディスクは独立に動作するため、
あるディスクがアイドル状態であっても、別のディスク
には負荷がかかっていることが起こりうる。そのため、
パリティグループをひとまとまりとして制御する従来の
方法では、データの再構築処理を効率的に実行すること
ができないという問題点があった。
In the information recording apparatus having the above-described redundant array, the array controller executes the rebuilding process for the failed disk while processing the data processing request transmitted from the host. Such a conventional rebuilding process has been executed as a whole for each parity group. However, in RAID4 or RAID5, since each disk operates independently,
Even if one disk is idle, another disk may be under load. for that reason,
The conventional method of controlling the parity groups as a unit has a problem that the data reconstruction process cannot be executed efficiently.

【0009】それ故に、本発明の目的は、リアルタイム
データのリアルタイム性を保証することができる情報記
録装置を提供することである。また、本発明の他の目的
は、リアルタイム性を保証しつつ、データの再構築処理
を実行できる情報記録装置を提供することである。
Therefore, an object of the present invention is to provide an information recording device capable of guaranteeing the real-time property of real-time data. Another object of the present invention is to provide an information recording apparatus capable of executing data reconstruction processing while guaranteeing real-time performance.

【0010】[0010]

【課題を解決するための手段および発明の効果】上記目
的を達成するために、本願発明は、以下の特徴的な構成
を有しており、それによって以下の効果を奏する。第1
の発明は、冗長化されたデータを記録する記録媒体から
なる冗長アレイと、ホスト装置から送信されてくるアク
セス要求に従って当該冗長アレイを制御するアレイコン
トローラを含む情報記録装置に用いられるデータ入出力
方法であって、アレイコントローラが、入力されたアク
セス要求に基づいて、所定の優先度を有する冗長アレイ
に対する読出し要求又は書込み要求を作成し、アレイコ
ントローラが、作成された読出し要求又は書込み要求
を、内部に有するキューに、所定の優先度に従ってキュ
ーイングし、アレイコントローラが、所定の優先度に従
って、キューにキューイングされている読出し要求又は
書込み要求の中から、冗長アレイが処理すべきものを選
定し、冗長アレイが、アレイコントローラによって選定
された読出し要求又は書込み要求を処理する。
Means for Solving the Problems and Effects of the Invention In order to achieve the above-mentioned object, the present invention has the following characteristic structure, and thereby has the following effects. First
The present invention relates to a data input / output method used for an information recording apparatus including a redundant array comprising a recording medium for recording redundant data, and an array controller for controlling the redundant array in accordance with an access request transmitted from a host device. Wherein the array controller creates a read request or a write request for a redundant array having a predetermined priority based on the input access request, and the array controller internally stores the created read request or write request. Queued according to a predetermined priority, and the array controller selects, from the read requests or write requests queued in the queue, the one to be processed by the redundant array according to the predetermined priority, The redundant array is responsible for the read requests or To process the write request.

【0011】上記第1の発明によれば、アレイコントロ
ーラが、入力されたアクセス要求に対して所定の優先度
を有する読出し要求又は書込み要求に変換する。冗長ア
レイでは、アレイコントローラが優先度に従って選定し
た読出し要求又は書込み要求が処理される。そのため、
冗長化されたデータが記録される冗長アレイを含む情報
記録装置は、リアルタイム処理が要求されるアクセス要
求については相対的に高い優先度を有する読出し要求又
は書込み要求を作成し、リアルタイム処理が不要なアク
セス要求については相対的に低い優先度を有するものが
作成することができる。これによって、情報記録装置
は、リアルタイム処理の必要性に応じて、ホスト装置の
アクセス要求を区別することが可能となる。その結果、
リアルタイム処理が要求されるアクセス要求は、リアル
タイム性が不要なアクセス要求により悪影響を受けずに
情報記録装置内で処理される。
According to the first aspect, the array controller converts the input access request into a read request or a write request having a predetermined priority. In the redundant array, a read request or a write request selected by the array controller according to the priority is processed. for that reason,
An information recording device including a redundant array in which redundant data is recorded generates a read request or a write request having a relatively high priority for an access request requiring real-time processing, and does not require real-time processing. An access request having a relatively low priority can be created. Thus, the information recording device can distinguish the access request of the host device according to the necessity of the real-time processing. as a result,
An access request that requires real-time processing is processed in the information recording apparatus without being adversely affected by an access request that does not require real-time processing.

【0012】第2の発明は第1の発明に従属しており、
アレイコントローラが、優先度に対応したキューを内部
に含んでおり、作成された読出し要求又は書込み要求
は、所定の優先度に対応するキューにキューイングされ
ることを特徴とする。
A second invention is dependent on the first invention,
The array controller includes a queue corresponding to a priority therein, and the created read request or write request is queued in a queue corresponding to a predetermined priority.

【0013】上記第2の発明によれば、キューは優先度
に対応して設けられているので、リアルタイム処理の必
要性に応じて、ホスト装置のアクセス要求を区別するこ
とが可能となり、情報記録装置内での各種の処理が効率
的に行われる。
According to the second aspect of the present invention, since the queues are provided in accordance with the priorities, it is possible to distinguish the access request of the host device according to the necessity of the real-time processing, Various processes in the apparatus are performed efficiently.

【0014】第3の発明は第1の発明に従属しており、
アレイコントローラが、記録媒体毎に所定の優先度に対
応するキューを内部に含んでおり、アレイコントローラ
が、入力されたアクセス要求に基づいて、所定の優先度
を有しかつ記録媒体毎の読出し要求又は書込み要求を作
成し、アレイコントローラが、記録媒体毎に作成された
読出し要求又は書込み要求を、所定の優先度に従って、
対応する記録媒体のキューにキューイングすることを特
徴とする。
A third invention is dependent on the first invention,
The array controller internally includes a queue corresponding to a predetermined priority for each recording medium, and the array controller has a predetermined priority based on the input access request and a read request for each recording medium. Or, a write request is created, and the array controller assigns the read request or the write request created for each recording medium according to a predetermined priority.
It is characterized by queuing in a queue of a corresponding recording medium.

【0015】上記第3の発明によれば、キューは、記録
媒体毎にかつ優先度に対応して設けられているので、各
記録媒体毎に、リアルタイム処理の必要性に応じてホス
ト装置のアクセス要求を選択することが可能となり、情
報記録装置内での各種の処理がさらに効率的に行われ
る。
According to the third aspect, the queue is provided for each recording medium and in accordance with the priority, so that the access of the host device is performed for each recording medium according to the necessity of the real-time processing. A request can be selected, and various processes in the information recording device are performed more efficiently.

【0016】第4の発明は第1の発明に従属しており、
所定の優先度が、冗長アレイにおける処理のリアルタイ
ム性に基づいて設定されていることを特徴とする。
A fourth invention is dependent on the first invention,
The predetermined priority is set based on the real-time processing of the processing in the redundant array.

【0017】上記第4の発明によれば、所定の優先度
は、上記リアルタイム性に基づいて設定されるので、リ
アルタイム処理が要求されるアクセス要求は、リアルタ
イム性が不要なアクセス要求により悪影響を受けずに情
報記録装置内で処理される。
According to the fourth aspect, the predetermined priority is set based on the real-time property, so that an access request that requires real-time processing is adversely affected by an access request that does not require the real-time property. Instead, it is processed in the information recording device.

【0018】第5の発明は第1の発明に従属しており、
ホスト装置との間の入出力インタフェイスがSCSIに
準拠している場合において、所定の優先度は、アクセス
要求のLUN又はLBAのフィールドに予め設定されて
いることを特徴とする。
A fifth invention is according to the first invention,
When the input / output interface with the host device conforms to the SCSI, the predetermined priority is set in advance in the LUN or LBA field of the access request.

【0019】上記第5の発明によれば、所定の優先度は
アクセス要求内に予め設定されているので、ホスト装置
は、読出し要求又は書込み要求の優先度を、つまり読出
し要求又は書込み要求がどの程度の優先度を必要とする
のかを、情報記録装置に通知することが可能となる。
According to the fifth aspect, since the predetermined priority is preset in the access request, the host device determines the priority of the read request or the write request, that is, the priority of the read request or the write request. It becomes possible to notify the information recording device whether or not the level of priority is required.

【0020】第6の発明は、冗長化されたデータを記録
する記録媒体からなる冗長アレイを含んでおり、ホスト
装置から送信されてくるアクセス要求に従って当該冗長
アレイを制御するような情報記録装置であって、入力さ
れたアクセス要求に基づいて、所定の優先度を有する冗
長アレイに対する読出し要求又は書込み要求を作成する
制御部と、制御部によって作成された読出し要求又は書
込み要求が、所定の優先度に従って、内部に含むキュー
にキューイングされる要求キューと、所定の優先度に従
って、キューにキューイングされている読出し要求又は
書込み要求の中から、冗長アレイが処理すべきものを選
定する選定部とを備え、冗長アレイは、選定部が選定し
た読出し要求又は書込み要求を処理することを特徴とす
る。
A sixth invention is an information recording apparatus which includes a redundant array comprising a recording medium for recording redundant data and controls the redundant array in accordance with an access request transmitted from a host device. A control unit configured to generate a read request or a write request for a redundant array having a predetermined priority based on the input access request; and a read request or a write request generated by the control unit is configured to have a predetermined priority. A request queue that is queued in a queue included therein, and a selecting unit that selects, from a read request or a write request queued in the queue, one to be processed by the redundant array according to a predetermined priority. The redundant array processes the read request or the write request selected by the selection unit.

【0021】上記第6の発明によれば、入力されたアク
セス要求は、所定の優先度を有する読出し要求又は書込
み要求に変換される。冗長アレイでは、選定部が優先度
に従って選定した読出し要求又は書込み要求が処理され
る。そのため、冗長化されたデータが記録される冗長ア
レイを含む情報記録装置は、リアルタイム処理が要求さ
れるアクセス要求については相対的に高い優先度を有す
る読出し要求又は書込み要求を作成し、リアルタイム処
理が不要なアクセス要求については相対的に低い優先度
を有するものが作成することができる。これによって、
情報記録装置は、リアルタイム処理の必要性に応じて、
ホスト装置のアクセス要求を区別することが可能とな
る。その結果、リアルタイム処理が要求されるアクセス
要求は、リアルタイム性が不要なアクセス要求により悪
影響を受けずに情報記録装置内で処理される。
According to the sixth aspect, the input access request is converted into a read request or a write request having a predetermined priority. In the redundant array, a read request or a write request selected by the selection unit according to the priority is processed. Therefore, an information recording device including a redundant array in which redundant data is recorded creates a read request or a write request having a relatively high priority for an access request requiring real-time processing, and the real-time processing is performed. Unnecessary access requests can be created by those having a relatively low priority. by this,
The information recording device, according to the need for real-time processing,
The access request from the host device can be distinguished. As a result, an access request that requires real-time processing is processed in the information recording device without being adversely affected by an access request that does not require real-time processing.

【0022】第7の発明は第6の発明に従属しており、
要求キューが、優先度に対応したキューを内部に含んで
おり、制御部が作成した読出し要求又は書込み要求は、
所定の優先度に対応するキューにキューイングされるこ
とを特徴とする。
A seventh invention is dependent on the sixth invention,
The request queue includes a queue corresponding to the priority therein, and the read request or the write request created by the control unit includes:
It is characterized by being queued in a queue corresponding to a predetermined priority.

【0023】上記第7の発明によれば、キューは優先度
に対応して設けられているので、リアルタイム処理の必
要性に応じて、ホスト装置のアクセス要求を区別するこ
とが可能となり、情報記録装置内での各種の処理が効率
的に行われる。
According to the seventh aspect, since the queues are provided in correspondence with the priorities, it is possible to distinguish the access request of the host device according to the necessity of the real-time processing, and to record the information. Various processes in the apparatus are performed efficiently.

【0024】第8の発明は第6の発明に従属しており、
要求キューが、記録媒体毎に所定の優先度に対応するキ
ューを内部に含んでおり、制御部は、入力されたアクセ
ス要求に基づいて、所定の優先度を有する、記録媒体毎
に対する読出し要求又は書込み要求を作成し、制御部に
より記録媒体毎に作成された読出し要求又は書込み要求
は、所定の優先度に従って、対応する記録媒体のキュー
にキューイングされることを特徴とする。
An eighth invention is dependent on the sixth invention,
The request queue includes a queue corresponding to a predetermined priority for each recording medium therein, and the control unit has a predetermined priority based on the input access request, the read request for each recording medium or A write request is created, and a read request or a write request created for each recording medium by the control unit is queued in a queue of the corresponding recording medium according to a predetermined priority.

【0025】上記第8の発明によれば、キューは、記録
媒体毎にかつ優先度に対応して設けられているので、各
記録媒体毎に、リアルタイム処理の必要性に応じてホス
ト装置のアクセス要求を選択することが可能となり、情
報記録装置内での各種の処理がさらに効率的に行われ
る。
According to the eighth aspect, the queue is provided for each recording medium and in accordance with the priority, so that the access of the host device is performed for each recording medium according to the necessity of the real-time processing. A request can be selected, and various processes in the information recording device are performed more efficiently.

【0026】第9の発明は、冗長化されたデータを記録
する記録媒体からなる冗長アレイと、ホスト装置から送
信されてくるアクセス要求に従って当該冗長アレイを制
御するアレイコントローラを含む情報記録装置におい
て、当該冗長アレイにおいて故障した記録媒体である故
障記録媒体に記録されたデータを再現して再構築するた
めのデータの再構築方法であって、アレイコントローラ
が、所定の優先度を有する、データの再構築処理に必要
となる冗長アレイに対する読出し要求又は書込み要求を
作成し、アレイコントローラが、作成された読出し要求
又は書込み要求を、内部に有するキューに、所定の優先
度に従ってキューイングし、アレイコントローラが、所
定の優先度に従って、キューにキューイングされている
ものの中から、作成された読出し要求又は書込み要求を
選定し、冗長アレイが、選定された読出し要求又は書込
み要求を処理し、アレイコントローラが、読出し要求又
は書込み要求が冗長アレイによって処理された結果に基
づいてデータの再構築処理を実行する。
According to a ninth invention, an information recording apparatus includes a redundant array comprising a recording medium for recording redundant data and an array controller for controlling the redundant array in accordance with an access request transmitted from a host device. A data reconstruction method for reproducing and reconstructing data recorded on a failed recording medium that is a failed recording medium in the redundant array, wherein the array controller has a predetermined priority. A read request or a write request for the redundant array required for the construction process is created, and the array controller queues the created read request or write request in a queue therein according to a predetermined priority. , Created from those queued in the queue according to the given priority The read or write request selected, the redundant array processes the selected read or write request, and the array controller reassembles the data based on the result of the read or write request being processed by the redundant array. Execute the construction process.

【0027】上記第9の発明によれば、アレイコントロ
ーラが、データの再構築処理に関連する読出し要求又は
書込み要求を作成する。作成された読出し要求及び書込
み要求は所定の優先度を有する。冗長アレイでは、アレ
イコントローラが優先度に従って選定した読出し要求又
は書込み要求が処理される。そのため、データの再構築
処理を実行する情報記録装置が、データの再構築処理に
関わる読出し要求及び書込み要求に相対的に低い優先度
を付せば、これらの要求は、他のリアルタイム処理に悪
影響を与えずに処理されずに処理される。一方、情報記
録装置が、この読出し要求及び書込み要求に相対的に高
い優先度を付せば、これら要求は、優先的に処理される
ため、データの再構築処理の完了時間を保証することが
できる。
According to the ninth aspect, the array controller creates a read request or a write request related to the data rebuilding process. The created read request and write request have a predetermined priority. In the redundant array, a read request or a write request selected by the array controller according to the priority is processed. Therefore, if the information recording device that executes the data restructuring process assigns a relatively low priority to the read request and the write request related to the data restructuring process, these requests adversely affect other real-time processes. It is processed without being given. On the other hand, if the information recording device assigns a relatively high priority to the read request and the write request, these requests are processed with priority, so that it is possible to guarantee the completion time of the data reconstruction process. it can.

【0028】第10の発明は第9の発明に従属してお
り、アレイコントローラが、記録媒体毎に所定の優先度
に対応するキューを内部に含んでおり、アレイコントロ
ーラが、データの再構築処理に必要となりかつ所定の優
先度を有する記録媒体毎に対する読出し要求又は書込み
要求を作成し、アレイコントローラが、記録媒体毎に作
成された読出し要求又は書込み要求を、所定の優先度に
従って、対応する記録媒体のキューにキューイングする
ことを特徴とする。
A tenth invention is according to the ninth invention, wherein the array controller includes therein a queue corresponding to a predetermined priority for each recording medium, and the array controller performs a data reconstruction process. A read request or a write request for each recording medium having a predetermined priority is created, and the array controller generates a read request or a write request for each recording medium according to a predetermined priority. It is characterized by queuing in a medium queue.

【0029】上記第10の発明によれば、キューが記録
媒体毎にかつ優先度に対応して設けられており、さら
に、前記アレイコントローラが所定の優先度を有する記
録媒体毎に対する読出し要求又は書込み要求を作成する
ので、各記録媒体毎に、リアルタイム処理の必要性に応
じてホスト装置のアクセス要求を区別することが可能と
なり、情報記録装置内での各種の処理がさらに効率的に
行われる。
According to the tenth aspect, the queue is provided for each recording medium and in accordance with the priority, and further, the array controller makes a read request or a write for each recording medium having a predetermined priority. Since the request is created, the access request of the host device can be distinguished for each recording medium according to the necessity of the real-time processing, and various processes in the information recording device are performed more efficiently.

【0030】第11の発明は第9の発明に従属してお
り、アレイコントローラにより作成される読出し要求及
び書込み要求には、相対的に低い優先度が付されること
を特徴とする。
An eleventh invention is according to the ninth invention, wherein the read request and the write request created by the array controller are assigned a relatively low priority.

【0031】上記第11の発明によれば、この読出し要
求及び書込み要求は、相対的に低い優先度を有するの
で、他のリアルタイム処理に悪影響を与えずに処理され
ずに処理される。
According to the eleventh aspect, since the read request and the write request have relatively low priorities, they are processed without adversely affecting other real-time processes.

【0032】第12の発明は、第9の発明に従属してお
り、アレイコントローラにより作成された読出し要求及
び書込み要求には、相対的に高い優先度が付されること
を特徴とする。
A twelfth aspect is according to the ninth aspect, wherein a read request and a write request created by the array controller are given a relatively high priority.

【0033】上記第12の発明によれば、この読出し要
求及び書込み要求は、相対的に高い優先度を有するの
で、優先的に処理される。これによって、データの再構
築処理の完了時間は保証される。
According to the twelfth aspect, since the read request and the write request have relatively high priority, they are processed preferentially. This guarantees the completion time of the data reconstruction process.

【0034】第13の発明は、冗長化されたデータを記
録する記録媒体からなる冗長アレイと、ホスト装置から
送信されてくるアクセス要求に従って当該冗長アレイを
制御するアレイコントローラとを含み、さらに当該冗長
アレイにおいて故障した記録媒体である故障記録媒体に
記録されたデータを再現し、スペアの記録媒体に再構築
する情報記録装置において用いられるデータ入出力方法
であって、スペアの記録媒体に再構築されるべきデータ
に対するアクセス要求がホスト装置から情報記録装置に
送信された場合において、アレイコントローラが、故障
記録媒体に記録されていたデータを再現するために必要
となる再現用データを冗長アレイから読み出し、アレイ
コントローラが、冗長アレイから読み出された再現用デ
ータを用いて所定の演算を行って、故障記録媒体に記録
されていたデータを再現し、アレイコントローラが、再
現されたデータをスペアの記録媒体に書き込むために所
定の優先度が付された書込み要求を作成し、アレイコン
トローラが、作成された書込み要求を、内部に有するキ
ューに、所定の優先度に従ってキューイングし、アレイ
コントローラが、所定の優先度に従いつつ、作成された
書込み要求を、冗長アレイが処理すべきものとして、キ
ューから選定し、冗長アレイが、アレイコントローラに
よって選定された書込み要求を処理して、再現されたデ
ータをスペアの記録媒体に書き込み、書込み要求には、
相対的に低い優先度が付されることを特徴とする。
The thirteenth invention includes a redundant array comprising a recording medium for recording redundant data, and an array controller for controlling the redundant array according to an access request transmitted from a host device, and further comprising the redundant array. A data input / output method used in an information recording apparatus that reproduces data recorded on a failed recording medium, which is a failed recording medium in an array, and reconstructs the spare recording medium. When an access request for the data to be transmitted is transmitted from the host device to the information recording device, the array controller reads the reproduction data necessary for reproducing the data recorded on the failure recording medium from the redundant array, The array controller uses the reproduction data read from the redundant array to Performing an operation to reproduce the data recorded on the faulty recording medium, the array controller creates a write request with a predetermined priority to write the reproduced data to a spare recording medium, The controller queues the created write request in a queue internally provided according to a predetermined priority, and the array controller determines that the created write request is to be processed by the redundant array according to the predetermined priority. , Select from the queue, the redundant array processes the write request selected by the array controller and writes the reproduced data to a spare recording medium.
A relatively low priority is assigned.

【0035】第13の発明によれば、アレイコントロー
ラは、スペアの記録媒体に再構築されるべきデータに対
するアクセス要求がホスト装置から送信された時点で、
当該アクセス要求されたデータを再現して、スペアの記
録媒体に書き込む。そのため、その後に、情報記録装置
がデータの再構築処理を実行するとき、アクセス要求さ
れたデータについては再現する必要がなくなる。それに
よって、データの再構築処理に必要な時間が短縮化され
る。
[0035] According to the thirteenth aspect, the array controller, when the access request for the data to be reconstructed on the spare recording medium is transmitted from the host device,
The data requested to be accessed is reproduced and written to a spare recording medium. Therefore, when the information recording apparatus subsequently executes the data reconstruction process, it is not necessary to reproduce the data requested to be accessed. As a result, the time required for the data reconstruction process is reduced.

【0036】[0036]

【発明の実施の形態】本発明の実施形態において、RA
IDとは、Redundant Array of Inexpensive(Independe
nt) Disks の略である。また、SCSIとは、Small Co
mputer System Interface の略である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In an embodiment of the present invention, RA
ID is the Redundant Array of Inexpensive (Independe
nt) Disks. SCSI stands for Small Co.
Abbreviation for mputer System Interface.

【0037】図1は、本発明の一実施形態に係る情報記
録装置1の構成を示すブロック図である。図1におい
て、情報記録装置1は、RAID3及びRAID4のア
ーキテクチャを有し、ディスクアレイ2とアレイコント
ローラ3とを備える。ディスクアレイ2は、第1〜第5
のディスク装置21〜25(図示は、ディスク21及び
25のみ)を含んでおり、各ディスク装置21〜25は
冗長アレイ化される。第1〜第4のディスク装置21〜
24は、冗長化されたリアルタイムデータ及び/又は非
リアルタイムデータを格納する。第5のディスク装置2
5は、パリティつまりエラー検出冗長情報(以下、パリ
ティブロックと称す)を格納する。第1〜第5のディス
ク装置21〜25は、本実施形態では、1つのパリティ
グループ「A」を形成する。
FIG. 1 is a block diagram showing a configuration of an information recording apparatus 1 according to one embodiment of the present invention. In FIG. 1, the information recording apparatus 1 has a RAID3 and RAID4 architecture, and includes a disk array 2 and an array controller 3. The disk array 2 includes first to fifth
Disk devices 21 to 25 (only disks 21 and 25 are shown), and each of the disk devices 21 to 25 is formed into a redundant array. First to fourth disk devices 21 to 21
Reference numeral 24 stores redundant real-time data and / or non-real-time data. Fifth disk device 2
Reference numeral 5 stores parity, that is, error detection redundant information (hereinafter, referred to as a parity block). In the present embodiment, the first to fifth disk devices 21 to 25 form one parity group “A”.

【0038】アレイコントローラ3は、ホストインタフ
ェイス部31と、要求ランク判別部32と、制御部33
と、第1〜第5の非優先キュー341〜345及び第1
〜第5の優先キュー351〜355を有する要求キュー
36と、要求選定部37と、ディスクインタフェイス部
38と、パリティ演算部39と、バッファ管理部310
と、テーブル格納部311とを含む。
The array controller 3 includes a host interface unit 31, a required rank determining unit 32, and a control unit 33.
And the first to fifth non-priority queues 341 to 345 and the first
A request queue 36 having fifth to fifth priority queues 351 to 355, a request selection unit 37, a disk interface unit 38, a parity operation unit 39, and a buffer management unit 310.
And a table storage unit 311.

【0039】ホストインタフェイス部31は、ホスト装
置4との入出力インタフェイスである。本実施形態で
は、入出力インタフェイスはSCSIに準拠する。ここ
で、ホスト装置4について説明する。ホスト装置4は、
情報記録装置1にアクセス要求する。ここで、入出力イ
ンタフェイスがSCSIに準拠する場合、ホスト装置4
は、以下のようにアクセス要求する。まず、ホスト装置
4は、アービトレーションによりSCSIバスの使用権
を獲得し、次に、セレクションによりアクセス要求した
い情報記録装置1を指定する。次に、ホスト装置4は、
SCSIメッセージの一つであるIdentify(図
2(a)参照)を送信して、アクセスしたい情報記録装
置1のLUN(Logical Unit No.;論理ユニット番号)を
指定する。次に、ホスト装置4は、情報記録装置1に複
数のアクセス要求を発行するために、SCSIメッセー
ジの一つであるSimple Queue Tag(図
2(b)参照)を送信する。次に、ホスト装置4は、S
CSIコマンドとしてのRead10(図3(a)参
照)を送信して、情報記録装置1から読み出したいLB
A(Logical Block Address ;論理ブロックアドレス)
とデータ長とを指定したり、Write10(図3
(b)参照)を送信して、情報記録装置1に書き込みた
いLBAとデータ長とを指定したりする。また、ホスト
装置4は、Write10を送信した場合には、情報記
録装置1に書き込みたいデータを送信する。以上のよう
にしてアクセス要求は行われる。
The host interface unit 31 is an input / output interface with the host device 4. In the present embodiment, the input / output interface conforms to SCSI. Here, the host device 4 will be described. The host device 4
An access request is made to the information recording device 1. Here, when the input / output interface conforms to the SCSI, the host device 4
Requests access as follows. First, the host device 4 acquires the right to use the SCSI bus by arbitration, and then specifies the information recording device 1 to which an access request is requested by selection. Next, the host device 4
By transmitting Identify (see FIG. 2A), which is one of the SCSI messages, the LUN (Logical Unit No.) of the information recording apparatus 1 to be accessed is specified. Next, the host device 4 transmits a Simple Queue Tag (see FIG. 2B), which is one of the SCSI messages, to issue a plurality of access requests to the information recording device 1. Next, the host device 4
LB to be transmitted from the information recording device 1 by transmitting Read 10 (see FIG. 3A) as a CSI command
A (Logical Block Address)
And data length, and Write10 (FIG. 3)
(See (b)) to specify the LBA and the data length to be written to the information recording device 1. Further, when the host device 4 has transmitted Write 10, the host device 4 transmits data to be written to the information recording device 1. The access request is made as described above.

【0040】ホストインタフェイス部31には、ホスト
装置4から送信されてくる一連のSCSIメッセージ、
SCSIコマンド及びデータを受信後、これらを一つに
まとめて処理要求として要求ランク判別部32に出力す
る。この処理要求のフォーマットを図4に示す。図4に
おいて、処理要求は、コマンド識別、識別番号、LU
N、制御情報、LBA、データ長及びデータという情報
要素を含んでいる。これらの情報要素は、以下のように
して作られる。
The host interface unit 31 has a series of SCSI messages transmitted from the host device 4,
After receiving the SCSI command and the data, they are combined into one and output to the request rank determining unit 32 as a processing request. FIG. 4 shows the format of this processing request. In FIG. 4, the processing request includes a command identification, an identification number, and an LU.
N, control information, LBA, data length, and data. These information elements are created as follows.

【0041】コマンド種別としては、Read10又は
Write10のオペレーションコードに対応する番号
が設定される。なお、本実施形態では説明の簡素化の観
点から、Read10が送信されてきた場合には、コマ
ンド種別として、アクセス要求が読出し用であること示
す情報(以下、「R」と記す)が設定される。また、W
rite10が送信されてきた場合には、コマンド種別
として、アクセス要求が書込み用であること示す情報
(以下、「W」と記す)が設定される。
As the command type, a number corresponding to the operation code of Read 10 or Write 10 is set. In this embodiment, from the viewpoint of simplification of description, when Read 10 is transmitted, information indicating that the access request is for reading (hereinafter, referred to as “R”) is set as the command type. You. Also, W
When write10 is transmitted, information indicating that the access request is for writing (hereinafter, referred to as “W”) is set as the command type.

【0042】識別番号としては、上記Simple Q
ueue Tagで指定されたキュータグ(図2(b)
参照)に対応する番号が設定される。LUNとしては、
上記Identifyで指定されたLUNに対応する番
号が設定される。この指定されたLUNの番号は、ホス
ト装置4により指定されるアクセス要求の優先度と、そ
のアクセス要求によってアクセスしたいパリティグルー
プを示す情報とを示す。ここで、情報記録装置1には、
パリティグループ毎で互いに異なるようにかつ優先度を
示す情報として、LUNの番号が予め割り当てられてい
る。これによって、ホスト装置4は、優先度(つまり、
どの程度のリアルタイム性を必要とするのか)とアクセ
スしたいパリティグループを情報記録装置1に通知する
ことが可能となる。本実施形態の情報記録装置1では、
優先度として「非優先」と「優先」とが設定され、パリ
ティグループ「A」には、非優先及び優先の情報として
「0」及び「1」が割り当てられるとする。
As the identification number, the above Simple Q
cue tag specified by ueue Tag (Fig. 2 (b)
(See Reference). As a LUN,
A number corresponding to the LUN specified by the Identify is set. The designated LUN number indicates the priority of the access request specified by the host device 4 and information indicating the parity group to be accessed by the access request. Here, the information recording device 1 includes:
LUN numbers are assigned in advance so as to be different from each other for each parity group and as information indicating the priority. As a result, the host device 4 determines the priority (that is,
It is possible to notify the information recording apparatus 1 of how much real-time property is required) and the parity group to be accessed. In the information recording device 1 of the present embodiment,
It is assumed that “non-priority” and “priority” are set as priorities, and “0” and “1” are assigned to the parity group “A” as non-priority and priority information.

【0043】制御情報としては、上記Read10又は
Write10で指定されたDPOやFUA等のキャッ
シュ制御情報が設定される。LBAとしては、Read
10又はWrite10で指定されたLBAに対応する
値が設定される。データ長としては、Read10又は
Write10で指定された転送データ長に対応する値
が設定される。データとしては、ホストインタフェイス
部31がWrite10を受信した場合に、そのWri
te10に関連して送信されてくるデータが設定され
る。なお、このデータとしては、ホストインタフェイス
部31がRead10を受信した場合には設定されな
い。
As the control information, cache control information such as DPO and FUA specified by the above Read 10 or Write 10 is set. Read as LBA
10 or a value corresponding to the LBA specified by Write 10 is set. As the data length, a value corresponding to the transfer data length specified by Read 10 or Write 10 is set. As the data, when the host interface unit 31 receives Write 10, the Write
The data transmitted in connection with te10 is set. This data is not set when the host interface unit 31 receives Read10.

【0044】ホストインタフェイス部31が生成する処
理要求は、上述のコマンド種別及びLUNに基づいて分
類した場合、4種類ある。つまり、まず、「R」と
「0」を含む第1の処理要求は、各ディスク装置21〜
25(パリティグループ「A」)内の非リアルタイムデ
ータの読出しを、ホスト装置4が情報記録装置1に要求
した時に作成される。また、「R」と「1」を含む第2
の処理要求は、パリティグループ「A」内のリアルタイ
ムデータの読出しを、ホスト装置4が情報記録装置1に
要求した時に作成される。また、「W」と「0」を含む
第3のアクセス要求は、パリティグループ「A」に非リ
アルタイムデータの書込みをホスト装置4が情報記録装
置1に要求した時に作成される。さらに、「W」と
「1」を含む第4のアクセス要求は、パリティグループ
「A」にリアルタイムデータの書込みをホスト装置4が
情報記録装置1に要求した時に作成される。
There are four types of processing requests generated by the host interface unit 31 when classified based on the above-described command type and LUN. That is, first, the first processing request including “R” and “0” is transmitted to each of the disk devices 21 to 21.
This is created when the host device 4 requests the information recording device 1 to read non-real-time data in the data group 25 (parity group “A”). In addition, the second including “R” and “1”
Is created when the host device 4 requests the information recording device 1 to read the real-time data in the parity group “A”. A third access request including “W” and “0” is created when the host device 4 requests the information recording device 1 to write non-real-time data to the parity group “A”. Further, a fourth access request including “W” and “1” is created when the host device 4 requests the information recording device 1 to write real-time data to the parity group “A”.

【0045】要求ランク判別部32は、ホストインタフ
ェイス部31から出力された処理要求に含まれるLUN
から、処理要求の優先度とパリティグループとの情報を
抽出し、処理要求の優先度とパリティグループを判別す
る。その後、要求ランク判別部32は、入力されたアク
セス要求と、自身が判別した優先度及びパリティグルー
プの情報を制御部33に出力する。
The request rank discriminating section 32 is configured to execute the LUN included in the processing request output from the host interface section 31.
Then, information on the priority of the processing request and the parity group is extracted, and the priority of the processing request and the parity group are determined. After that, the request rank determination unit 32 outputs the input access request and the information of the priority and the parity group determined by itself to the control unit 33.

【0046】制御部33は、入力された優先度及びパリ
ティグループの情報に従って読出し及び書込みを制御す
る(図5、図7及び図8参照)と共に、必要に応じてデ
ータの再構築処理(図11〜図14参照)を制御する。
要求キュー36には、第1〜第5のディスク装置21〜
25毎に、2個1組のキューが設けられている。より具
体的には、第1の非優先キュー341及び第1の優先キ
ュー351は、第1のディスク21に割り当てられる。
以下、同様にして、第5の非優先キュー345及び第5
の優先キュー355は、第5のディスク25に割り当て
られる。
The control unit 33 controls reading and writing according to the input priority and parity group information (see FIGS. 5, 7 and 8), and reconstructs data as required (FIG. 11). To FIG. 14).
The request queue 36 has first to fifth disk devices 21 to
For each 25, a set of two queues is provided. More specifically, the first non-priority queue 341 and the first priority queue 351 are allocated to the first disk 21.
Hereinafter, similarly, the fifth non-priority queue 345 and the fifth
Is assigned to the fifth disk 25.

【0047】要求選定部37は、ディスクアレイ2が実
行すべき要求を、要求キュー36から選定し取り外して
ディスクインタフェイス部38に出力する。ディスクイ
ンタフェイス部38は、アレイコントローラ3とディス
クアレイ2との入出力インタフェイスである。パリティ
演算部39はパリティ演算を実行する。バッファ管理部
310は、データを一時的に格納するために内部に有す
るバッファメモリを管理する。テーブル格納部311
は、各ディスク装置21〜25のLBAの状態を示すテ
ーブルを格納する。
The request selecting section 37 selects and removes a request to be executed by the disk array 2 from the request queue 36 and outputs the request to the disk interface section 38. The disk interface unit 38 is an input / output interface between the array controller 3 and the disk array 2. The parity calculation unit 39 performs a parity calculation. The buffer management unit 310 manages an internal buffer memory for temporarily storing data. Table storage unit 311
Stores a table indicating the state of the LBA of each of the disk devices 21 to 25.

【0048】以下、以上のような本情報記録装置1につ
いて、まず最初に、図5のフローチャートを参照して、
ホスト装置4がパリティグループ「A」内の非リアルタ
イムデータの読出しを要求した場合の動作を説明する。
The information recording apparatus 1 as described above will be described first with reference to the flowchart of FIG.
The operation when the host device 4 requests reading of non-real-time data in the parity group “A” will be described.

【0049】情報記録装置1のホストインタフェイス部
31は、ホスト装置4が送信したアクセス要求(一連の
SCSIメッセージ及びSCSIコマンド)を受信する
と(ステップS51)、上述の第1の処理要求を作成
し、要求ランク判別部32に出力する。要求ランク判別
部32は、入力された処理要求のLUNに基づいて、そ
の優先度を判別すると共に(ステップS52)、現在ア
クセス要求されているパリティグループを判別する。上
記仮定に従うと、要求ランク判別部32は、そのLUN
の値が「0」であることから、優先度として「非優先」
をパリティグループとして「A」を判別する。この判別
後、要求ランク判別部32は、入力された第1の処理要
求(図4参照)と、判別結果(現時点では、優先度「非
優先」及びパリティグループ「A」という情報)とを制
御部33に出力する。
Upon receiving the access request (a series of SCSI messages and SCSI commands) transmitted by the host device 4 (step S51), the host interface unit 31 of the information recording device 1 creates the above-described first processing request. Is output to the request rank determination unit 32. The request rank determining unit 32 determines the priority based on the LUN of the input processing request (step S52), and determines the parity group for which access is currently requested. According to the above assumption, the request rank determining unit 32 determines that the LUN
Is “0”, the priority is “non-priority”
Is determined as a parity group and “A” is determined. After this determination, the request rank determination unit 32 controls the input first processing request (see FIG. 4) and the determination result (currently, information of priority “non-priority” and parity group “A”). Output to the unit 33.

【0050】制御部33は、入力された判別結果に含ま
れる優先度の情報が「非優先」の場合、ステップS53
を実行する。制御部33は、入力された第1のアクセス
要求内のLUNの情報を、優先度を示す情報とパリティ
グループを示す情報に入れ替えて、当該第1のアクセス
要求を、ディスクアレイ2に対する(より具体的には、
各ディスク装置21〜24に対する)の第1の読出し要
求に変換する。さらに、制御部33は、パリティグルー
プ「A」において、第1のアクセス要求で要求された非
リアルタイムデータを格納するディスク装置の台数分、
第1の読出し要求を作成する。各第1の読出し要求は、
図6に示すフォーマットを有しており、図4の処理要求
と比較すると、LUNの情報が優先度及びパリティグル
ープを示す情報に変わる点で相違する。次に、制御部3
3は、優先度「非優先」及びパリティグループ「A」と
いう情報に従って、第1のディスク装置21〜第4のデ
ィスク装置24に対応する第1の非優先キュー341〜
第4の非優先キュー344に、作成した第1の読出し要
求を1個ずつキューイングする(図3;ステップS5
3)。
If the priority information included in the input discrimination result is "non-priority", the control unit 33 proceeds to step S53.
Execute The control unit 33 replaces the information of the LUN in the input first access request with the information indicating the priority and the information indicating the parity group, and transmits the first access request to the disk array 2 (more specifically, In general,
(For each disk drive 21-24). Further, the control unit 33 controls the parity group “A” by the number of disk devices that store the non-real-time data requested by the first access request.
Create a first read request. Each first read request is:
It has the format shown in FIG. 6, and is different from the processing request of FIG. 4 in that LUN information is changed to information indicating a priority and a parity group. Next, the control unit 3
3 is a first non-priority queue 341 to 341 corresponding to the first to fourth disk units 21 to 24 according to the information of the priority “non-priority” and the parity group “A”.
The created first read requests are queued one by one in the fourth non-priority queue 344 (FIG. 3: step S5).
3).

【0051】要求選定部37は、ディスクアレイ2内の
いずれかのディスク装置が処理(読出し又は書込み)を
終了すると、ステップS54の処理を実行する。具体的
には、要求選定部37は、処理が終了したディスク装置
に対応する優先キューに、制御部33により作成された
要求(後述する第3の読出し要求等)がキューイングさ
れている場合には、この優先キューから要求を外して、
ディスクインタフェイス部38を通じて、このディスク
装置に要求の実行を指示する。今、第1のディスク装置
21の処理が終了したと仮定すると、要求選定部37
は、第1の優先キュー351に要求がキューイングされ
ている場合、その要求を外し、第1のディスク装置21
に対して処理の実行を指示する。
When any one of the disk devices in the disk array 2 completes the process (read or write), the request selection unit 37 executes the process of step S54. Specifically, the request selecting unit 37 determines that the request (third read request described later) created by the control unit 33 is queued in the priority queue corresponding to the disk device for which processing has been completed. Removes the request from this priority queue,
The execution of the request is instructed to this disk device through the disk interface unit 38. Now, assuming that the processing of the first disk device 21 has been completed, the request selection unit 37
When a request is queued in the first priority queue 351, the request is removed and the first disk device 21
To execute the process.

【0052】また、要求選定部37は、優先キューが空
であって、かつ同じ組の非優先キューに要求がキューイ
ングされている場合、その要求を非優先キューから外し
て、上記と同様の指示を行う。今、第1のディスク装置
21の処理が終了したと仮定すると、要求選定部37
は、第1の優先キュー351が空であって、かつ第1の
非優先キュー341に要求がキューイングされている場
合、その要求の実行を指示する。さらに、要求選定部3
7は、優先キュー及び非優先キューの両方が空の場合、
他のディスク装置が処理を終了することを待つ。要求選
定部37は、以上の説明したようなステップS54を実
行する。
When the priority queue is empty and a request is queued in the same set of non-priority queues, the request selection unit 37 removes the request from the non-priority queue and performs the same processing as described above. Make instructions. Now, assuming that the processing of the first disk device 21 has been completed, the request selection unit 37
Indicates that if the first priority queue 351 is empty and a request is queued in the first non-priority queue 341, the request is executed. Further, the request selection unit 3
7 if both the priority queue and the non-priority queue are empty,
Wait for another disk device to complete the process. The request selecting unit 37 executes step S54 as described above.

【0053】各ディスク装置21〜25は、ディスクイ
ンタフェイス部38を通じて、要求が入力すると、その
要求通りの処理を実行する(ステップS55)。したが
って、各非優先キュー341〜344にキューイングさ
れた第1の読出し要求は、このステップS55を実行す
る各ディスク装置21〜24によって、各優先キュー3
51〜355にキューイングされたものと比較して非優
先的に処理される。そのため、各ディスク装置21〜2
4内の非リアルタイムデータは、リアルタイムデータの
処理(読み出し又は書き込み)に悪影響を与えることな
く読み出される。以下、第1の読出し要求に応じた読出
しが終了した場合について説明する。各ディスク装置2
1〜24は、この読出しが正常終了した場合、非リアル
タイムデータ、及びその読出しが正常終了した旨を示す
信号(以下、「読出し完了」と称す)をディスクインタ
フェイス部38に出力する。非リアルタイムデータは、
ディスクインタフェイス部38を通じて、バッファ管理
部310内のバッファ領域に格納される。また、「読出
し完了」は、ディスクインタフェイス部38を通じて、
制御部33に送信される。
When a request is input through the disk interface unit 38, each of the disk devices 21 to 25 executes the processing as requested (step S55). Therefore, the first read request queued in each of the non-priority queues 341 to 344 is sent to each of the priority queues 3 to 24 by the disk devices 21 to 24 executing this step S55.
It is processed in a non-priority manner as compared with those queued in 51-355. Therefore, each of the disk devices 21 to 2
The non-real-time data in 4 is read without adversely affecting the processing (reading or writing) of the real-time data. Hereinafter, a case where the reading according to the first reading request is completed will be described. Each disk device 2
When the reading is completed normally, the non-real-time data and a signal indicating that the reading has been completed normally (hereinafter, referred to as “reading completed”) are output to the disk interface unit 38. Non-real-time data
The data is stored in the buffer area in the buffer management unit 310 through the disk interface unit 38. Also, “read complete” is transmitted through the disk interface unit 38
It is transmitted to the control unit 33.

【0054】一方、各ディスク装置21〜24は、故障
等を理由にこの読出しが正常終了しなかった場合、その
旨を示す信号(以下、「読出し失敗」と称す)を作成す
る。この「読出し失敗」は、ディスクインタフェイス部
38を通じて制御部33に送信される。
On the other hand, each of the disk devices 21 to 24 generates a signal (hereinafter, referred to as “read failure”) indicating that the reading has not been completed normally due to a failure or the like. This “read failure” is transmitted to the control unit 33 through the disk interface unit 38.

【0055】制御部33は、各ディスク装置21〜24
がデータ(現時点では、非リアルタイムデータ)の読出
しを正常終了したか否かを判断する(ステップS5
6)。制御部33は、各ディスク装置21〜25の「読
出し完了」を受信した場合、読み出された非リアルタイ
ムデータが上記バッファ領域内に揃っているか否かを確
認する(ステップS57)。制御部33は、非リアルタ
イムデータが揃っている場合、バッファ管理部310に
指示して、上記バッファ領域内の非リアルタイムデータ
を、ホストインタフェイス部31を通じてホスト装置4
に送信させる(ステップS8)。なお、この送信後、
非リアルタイムデータが格納されていたバッファ領域は
解放される。
The controller 33 controls each of the disk devices 21 to 24
Determines whether the reading of data (currently, non-real-time data) has been completed normally (step S5).
6). When the controller 33 receives the "read completed" of each of the disk devices 21 to 25, it checks whether or not the read non-real-time data is arranged in the buffer area (step S57). When the non-real-time data is available, the control unit 33 instructs the buffer management unit 310 to transfer the non-real-time data in the buffer area to the host device 4 through the host interface unit 31.
It is sent to (Step S 5 8). After this transmission,
The buffer area storing the non-real-time data is released.

【0056】一方、制御部33は、ステップS56にお
いて、パリティグループ「A」の少なくとも1つのディ
スク装置から「読出し失敗」を受信した場合、すべての
ディスク21〜25における読出しが正常終了しなかっ
たと判断して、ステップS59に進み、読み出し異常時
を処理を実行する。以下、このステップS59を詳細な
処理手順を示すフローチャートである図7を参照する。
On the other hand, when the control unit 33 receives “read failure” from at least one disk device of the parity group “A” in step S56, the control unit 33 determines that reading from all the disks 21 to 25 has not been completed normally. Then, the process proceeds to step S59 to execute a process at the time of abnormal reading. Hereinafter, step S59 will be described with reference to FIG. 7 which is a flowchart showing a detailed processing procedure.

【0057】制御部33は、読み出されなかった非リア
ルタイムデータを再現するために必要なデータ(以下、
再現用データと称す)を読み出すための第2の読出し要
求を新たに作成する(ステップS71)。制御部33
は、ステップS53で入力された優先度の情報(現時点
では「非優先」)を再確認する(ステップS72)。制
御部33は、この優先度が「非優先」の場合、パリティ
グループ「A」の各ディスク21〜25に対応する非優
先キュー341〜345に、作成した第2の読み出し要
求をキューイングする(ステップS73)。
The control unit 33 provides data necessary for reproducing the non-real-time data that has not been read (hereinafter, referred to as data).
A second read request for reading (referred to as reproduction data) is newly created (step S71). Control unit 33
Reconfirms the priority information (currently “non-priority”) input in step S53 (step S72). When the priority is “non-priority”, the control unit 33 queues the created second read request in the non-priority queues 341 to 345 corresponding to the disks 21 to 25 of the parity group “A” ( Step S73).

【0058】この後、情報記録装置1内では、図5のス
テップS54、S55及びS57と同様の動作が実行さ
れる(ステップS74、S75及びS76)。制御部3
3は、ステップS76において、上述の再現用データが
上記バッファ領域内に揃っていると判断した場合、パリ
ティ演算の実行をパリティ演算部39に指示する。読み
出されなかった非リアルタイムデータは、このパリティ
演算によって再現された後、バッファ管理部310のバ
ッファ領域に格納される(ステップS77)。これによ
って、ステップS59の処理は終了し、その後、情報記
録装置1内では、上述した図5のステップS57及びS
58が実行される。
Thereafter, in the information recording device 1, the same operations as those in steps S54, S55 and S57 of FIG. 5 are executed (steps S74, S75 and S76). Control unit 3
In step S76, when it is determined in step S76 that the above-described reproduction data is present in the buffer area, the instruction to the parity operation unit 39 is performed. The non-real-time data that has not been read is reproduced by this parity operation, and then stored in the buffer area of the buffer management unit 310 (step S77). As a result, the process of step S59 ends, and thereafter, in the information recording device 1, the above-described steps S57 and S57 of FIG.
58 is executed.

【0059】次に、図5のフローチャートを参照して、
ホスト装置4がパリティグループ「A」内のリアルタイ
ムデータの読出しを要求した場合の動作について説明す
る。
Next, referring to the flowchart of FIG.
An operation when the host device 4 requests reading of real-time data in the parity group “A” will be described.

【0060】ホストインタフェイス部31は、ステップ
S51の処理を実行して、受信したSCSIメッセージ
及びSCSIコマンドに基づいて、上述の第2のアクセ
ス要求を作成し、要求ランク判別部32に出力する。要
求ランク判別部32は、ステップS52の処理を実行し
て、今回入力される第2のアクセス要求のLUNの情報
が「1」であることから、優先度「優先」及びパリティ
グループ「A」を判別する。この後、要求ランク判別部
32は、入力された第2のアクセス要求(図4参照)
と、判別結果(現時点では、優先度「非優先」及びパリ
ティグループ「A」という情報)とを制御部33に出力
する。
The host interface unit 31 executes the process of step S 51, creates the above-described second access request based on the received SCSI message and SCSI command, and outputs it to the request rank determining unit 32. The request rank determination unit 32 executes the process of step S52 to determine the priority “priority” and the parity group “A” because the LUN information of the second access request input this time is “1”. Determine. Thereafter, the request rank determining unit 32 determines whether or not the second access request has been input (see FIG. 4).
And the determination result (currently, information of priority “non-priority” and parity group “A”) is output to the control unit 33.

【0061】制御部33は、入力された優先度の情報が
「優先」の場合、ステップS510を実行する。制御部
33は、入力された第2のアクセス要求内のLUNの情
報を、入力された優先度を示す情報とパリティグループ
を示す情報に入れ替えて、当該第2のアクセス要求を、
ディスクアレイ2に対する(より具体的には、各ディス
ク装置21〜24に対する)の第3の読出し要求に変換
する。さらに、制御部33は、パリティグループ「A」
において、第2のアクセス要求により要求されるリアル
タイムデータを格納するディスク装置の台数分、この第
3の読出し要求を作成する。各第3の読出し要求は、第
1の読出し要求と同様のフォーマットを有する(図6参
照)。次に、制御部33は、優先度「優先」及びパリテ
ィグループ「A」という情報に従って、第1のディスク
装置21〜第4のディスク装置24に対応する第1の優
先キュー351〜第4の優先キュー354に、作成した
第1の読出し要求を1個ずつキューイングする(図3;
ステップS510)。
If the input priority information is "priority", control unit 33 executes step S510. The control unit 33 replaces the LUN information in the input second access request with the information indicating the input priority and the information indicating the parity group, and converts the second access request into
This is converted into a third read request for the disk array 2 (more specifically, for each of the disk devices 21 to 24). Further, the control unit 33 controls the parity group “A”
, The third read requests are created for the number of disk devices that store the real-time data requested by the second access request. Each third read request has the same format as the first read request (see FIG. 6). Next, the control unit 33 determines the first priority queue 351 to the fourth priority queue corresponding to the first to fourth disk devices 21 to 24 according to the information of the priority “priority” and the parity group “A”. The created first read requests are queued one by one in the queue 354 (FIG. 3;
Step S510).

【0062】要求選定部37は、前述したステップS5
4の処理を実行する。これによって、各優先キュー35
1〜354内の第3の読出し要求は、前述からも明らか
なように、前述したステップS55を実行する各ディス
ク装置21〜24によって優先的に処理される。その結
果、各ディスク装置21〜24内のリアルタイムデータ
は、リアルタイム性を損なうことなく読み出される。以
降、ステップS56〜S59の処理は、上述した通りで
あるので、それらの説明を省略するが、情報記録装置1
内において非リアルタイムデータではなくリアルタイム
データについて実行される点で相違する。
The request selecting section 37 determines whether the above-mentioned step S5 has been performed.
4 is executed. Thereby, each priority queue 35
As is clear from the above, the third read requests in 1 to 354 are preferentially processed by the respective disk devices 21 to 24 executing the above-described step S55. As a result, the real-time data in each of the disk devices 21 to 24 is read without impairing the real-time property. Hereinafter, since the processing of steps S56 to S59 is as described above, the description thereof is omitted, but the information recording apparatus 1
Is performed on real-time data instead of non-real-time data.

【0063】次に、図8のフローチャートを参照して、
ホスト装置4がパリティグループ「A」内の非リアルタ
イムデータの書込みを要求した場合の動作について説明
する。この場合、ホスト装置4は、ディスクアレイ2内
に書き込むべき非リアルタイムデータも併せて送信す
る。
Next, referring to the flowchart of FIG.
An operation when the host device 4 requests writing of non-real-time data in the parity group “A” will be described. In this case, the host device 4 also transmits non-real-time data to be written in the disk array 2.

【0064】ホストインタフェイス部31は、ホスト装
置4からのアクセス要求(一連のSCSIメッセージ、
SCSIコマンド及び非リアルタイムデータ)を受信す
ると(ステップS81)、上述の第3の処理要求を作成
して要求ランク判別部32に出力すると共に、受信した
非リアルタイムデータをバッファ管理部310のバッフ
ァ領域に格納する。要求ランク判別部32は、入力され
たアクセス要求の優先度を判別すると共に(ステップS
82)、現在アクセス要求されているパリティグループ
を判別する。上記仮定に従うと、要求ランク判別部32
は、そのLUNの値が「0」であることから、優先度と
して「非優先」をパリティグループとして「A」を判別
する。この判別後、要求ランク判別部32は、入力され
たアクセス要求(図4参照)と、判別結果(現時点で
は、優先度「非優先」及びパリティグループ「A」とい
う情報)とを制御部33に出力する。
The host interface unit 31 provides an access request (a series of SCSI messages,
When the SCSI command and the non-real-time data are received (step S81), the above-described third processing request is created and output to the request rank determination unit 32, and the received non-real-time data is stored in the buffer area of the buffer management unit 310. Store. The request rank determination unit 32 determines the priority of the input access request (Step S
82), the parity group for which access is currently requested is determined. According to the above assumption, the required rank determining unit 32
Since the value of the LUN is “0”, “A” is determined as the priority with “non-priority” as the parity group. After this determination, the request rank determination unit 32 sends the input access request (see FIG. 4) and the determination result (currently, information of priority “non-priority” and parity group “A”) to the control unit 33. Output.

【0065】制御部33は、入力された優先度の情報が
「非優先」の場合、まず、第5のディスク装置25のパ
リティブロックを更新するために必要なデータ(以下、
更新用データと称す)を読み出すか否かを判断する(ス
テップS83)。制御部33は、更新用データを読み出
さないと判断した場合には後述するステップS87に直
接進む。一方、制御部33は、更新用データを読み出す
と判断した場合には、このデータを読み出すための第4
の読出し要求(図4参照)を作成する。次に、制御部3
3は、第3の処理要求の優先度が「非優先」であること
から、第1のディスク装置21〜第4のディスク装置2
4に対応する第1の非優先キュー341〜第4の非優先
キュー345に、作成した第4の読み出し要求をキュー
イングする(図8;ステップS84)。
When the input priority information is “non-priority”, the control unit 33 first sets data (hereinafter, referred to as “data”) necessary for updating the parity block of the fifth disk device 25.
It is determined whether or not to read update data) (step S83). When the control unit 33 determines that the update data is not read, the process directly proceeds to step S87 described below. On the other hand, if the control unit 33 determines to read the update data,
(See FIG. 4). Next, the control unit 3
No. 3 indicates that the priority of the third processing request is “non-priority”, so the first disk device 21 to the fourth disk device 2
The created fourth read request is queued in the first non-priority queue 341 to the fourth non-priority queue 345 corresponding to No. 4 (FIG. 8; step S84).

【0066】要求選定部37及び各ディスク装置21〜
24は、図5のステップS54及びS55で説明した通
りの処理を実行する。その結果、各非優先キュー341
〜344内の第4の読出し要求は、非優先的ではあるが
各ディスク装置21〜24により処理され、これによっ
て更新用データが読み出される。
The request selecting section 37 and each of the disk devices 21 to 21
24 executes the processing as described in steps S54 and S55 of FIG. As a result, each non-priority queue 341
344 are processed by the respective disk devices 21 to 24, although not prioritized, whereby the update data is read.

【0067】各ディスク装置21〜24は、この読出し
処理が正常終了した場合、読み出した更新用データ、及
びこの読出しが終了した旨を示す信号である「読出し完
了」を出力する。更新用データは、ディスクインタフェ
イス部38を通じて、バッファ管理部310のバッファ
領域に格納される。また、「読出し完了」は、制御部3
3に送信される。
When the reading process is normally completed, each of the disk devices 21 to 24 outputs the read update data and "read completed" which is a signal indicating that the reading is completed. The update data is stored in the buffer area of the buffer management unit 310 via the disk interface unit 38. In addition, “read complete” indicates that the control unit 3
3 is sent.

【0068】制御部33は、「読出し完了」に基づい
て、各ディスク21〜25がデータ(現時点では、更新
用データ)の読出し処理を終了したか否かを判断し、更
新用データが上記バッファ領域内に揃っている場合には
(ステップS85)、パリティ演算の実行をパリティ演
算部39に指示する。パリティ演算部39は、この指示
に応答してパリティ演算を実行し、今回の非リアルタイ
ムデータの書込み処理に対応した新たなパリティブロッ
クの情報を得る。制御部33は、パリティ演算部39か
ら得られる新たなパリティブロックの情報に基づいて新
たなパリティブロックを生成する。ただし、制御部33
は、ステップS84及びS85を実行しなかった場合に
は、送信されてきた非リアルタイムデータに基づいて新
たなパリティブロックを生成する。
The control unit 33 determines whether or not each of the disks 21 to 25 has completed the data (currently update data) read processing based on the “read completed”. If they are aligned within the area (step S85), the parity calculation unit 39 is instructed to execute the parity calculation. The parity calculation unit 39 executes a parity calculation in response to the instruction, and obtains information of a new parity block corresponding to the current non-real-time data write processing. The control unit 33 generates a new parity block based on the information of the new parity block obtained from the parity operation unit 39. However, the control unit 33
Generates a new parity block based on the transmitted non-real-time data when steps S84 and S85 are not executed.

【0069】次に、制御部33は、新たなパリティブロ
ックを第5のディスク装置25に書き込むための第1の
書き込み要求を、当該新たなパリティブロックの情報を
参照して作成する。制御部33は、次に、ホスト装置4
から出力された第3の処理要求の優先度を再確認する。
制御部33は、この優先度が「非優先」の場合には、パ
リティグループ「A」においてパリティブロックが格納
されているディスク装置25に対応する第5の非優先キ
ュー345に、作成した第1の書き込み要求をキューイ
ングする(ステップS86)。
Next, the control unit 33 creates a first write request for writing a new parity block to the fifth disk device 25 with reference to the information of the new parity block. The control unit 33 then sends the host device 4
Reconfirm the priority of the third processing request output from.
When the priority is “non-priority”, the control unit 33 creates the first non-priority queue in the fifth non-priority queue 345 corresponding to the disk device 25 storing the parity block in the parity group “A”. Is queued (step S86).

【0070】制御部33は、入力された第3の処理要求
内のLUNの情報を、入力された優先度及びパリティグ
ループを示す情報に入れ替えて、当該第3の処理要求
を、ディスクアレイ2に対する(より具体的には、各デ
ィスク装置21〜24に対する)の第2の書込み要求に
変換する。さらに、制御部33は、第2の書込み要求
を、パリティグループ「A」において、要求された非リ
アルタイムデータを記録可能なディスク装置の台数分作
成する。なお、各第2の書込み要求は、第1の読出し要
求と同様のフォーマットを有する(図6参照)。次に、
制御部33は、優先度「優先」及びパリティグループ
「A」という情報に従って、第1のディスク装置21〜
第4のディスク装置24に対応する第1の非優先キュー
341〜第4の非優先キュー344に、作成した第2の
書込み要求をキューイングする(図8;ステップS8
7)。
The control unit 33 replaces the LUN information in the input third processing request with the input information indicating the priority and the parity group, and transmits the third processing request to the disk array 2. (More specifically, to the second write request of each of the disk devices 21 to 24). Further, the control unit 33 creates second write requests for the number of disk devices capable of recording the requested non-real-time data in the parity group “A”. Note that each second write request has the same format as the first read request (see FIG. 6). next,
The control unit 33 controls the first disk devices 21 to 21 according to the information of the priority “priority” and the parity group “A”.
The created second write request is queued in the first non-priority queue 341 to the fourth non-priority queue 344 corresponding to the fourth disk device 24 (FIG. 8; step S8).
7).

【0071】要求選定部37は、図5のステップS54
で説明した通りの処理を実行する。これによって、第5
の非優先キュー345にキューイングされた第1の書込
み要求は、非優先的にではあるが、第5のディスク装置
25によって処理される。その結果、第5のディスク装
置25には新しいパリティブロックが書き込まれる。ま
た、第1の非優先キュー341〜第4の非優先キュー3
44内の各第2の書込み要求もまた、非優先的ではある
が、第1のディスク装置21〜第4のディスク装置24
によって処理される。その結果、バッファ管理部310
のバッファ領域内の非リアルタイムデータが、制御部3
3により冗長化された上で、第1のディスク装置21〜
第4のディスク装置24に書き込まれる。
The request selecting section 37 performs the processing in step S54 of FIG.
The processing as described in is executed. As a result, the fifth
The first write request queued in the non-priority queue 345 is processed by the fifth disk device 25, though not in priority. As a result, a new parity block is written to the fifth disk device 25. Further, the first non-priority queue 341 to the fourth non-priority queue 3
Each second write request in 44 is also a non-priority, but the first disk device 21 to the fourth disk device 24
Processed by As a result, the buffer management unit 310
The non-real-time data in the buffer area of
3 and the first disk devices 21 to 21
The data is written to the fourth disk device 24.

【0072】各ディスク装置21〜25は、以上のよう
な書き込みが終了すると、書き込みが終了した旨を示す
信号(以下、「書込完了」と称す)をディスクインタフ
ェイス部38に出力する。「書込完了」は、ディスクイ
ンタフェイス部38を通じて、制御部33に送信され
る。
When the above-described writing is completed, each of the disk devices 21 to 25 outputs a signal indicating that the writing is completed (hereinafter, referred to as “writing completed”) to the disk interface unit 38. “Writing completed” is transmitted to the control unit 33 through the disk interface unit 38.

【0073】制御部33は、各ディスク装置21〜25
の「書込完了」を受信すると(ステップS88)、非リ
アルタイムデータの書き込みが完了したと判断する。さ
らに、制御部33は、ホストインタフェイス部31を通
じて、ホスト装置4に非リアルタイムデータの書き込み
が終了した旨を通知する(ステップS89)。
The control unit 33 controls each of the disk devices 21 to 25
Is received (step S88), it is determined that the writing of the non-real-time data is completed. Further, the control unit 33 notifies the host device 4 via the host interface unit 31 that the writing of the non-real-time data has been completed (step S89).

【0074】次に、図8のフローチャートを参照して、
ホスト装置4がパリティグループ「A」内のリアルタイ
ムデータの書込みを要求した場合の動作について説明す
る。この場合、ホスト装置4は、ディスクアレイ2内に
書き込むべきリアルタイムデータも併せて送信する。
Next, referring to the flowchart of FIG.
The operation when the host device 4 requests writing of real-time data in the parity group “A” will be described. In this case, the host device 4 also transmits real-time data to be written in the disk array 2 together.

【0075】ホストインタフェイス部31は、アクセス
要求(一連のSCSIメッセージ、SCSIコマンド及
びリアルタイムデータ)を受信すると(ステップS8
1)、上述の第4の処理要求(図4参照)を作成して要
求ランク判別部32に出力すると共に、受信したリアル
タイムデータをバッファ管理部310のバッファ領域に
格納する。要求ランク判別部32は、第4の処理要求の
LUNの値が「1」であることから、優先度「優先」及
びパリティグループ「A」を判別した後、当該第4の処
理要求と、優先度「優先」及びパリティグループ「A」
という判別結果とを制御部33に出力する。
Upon receiving the access request (a series of SCSI messages, SCSI commands, and real-time data), the host interface unit 31 (step S8)
1) The above-described fourth processing request (see FIG. 4) is created and output to the request rank determination unit 32, and the received real-time data is stored in the buffer area of the buffer management unit 310. Since the LUN value of the fourth processing request is “1”, the request rank determining unit 32 determines the priority “priority” and the parity group “A”, and then determines the fourth processing request and the priority Degree "priority" and parity group "A"
Is output to the control unit 33.

【0076】制御部33は、入力された優先度の情報が
「優先」の場合、上述したステップS83〜S87と同
様のステップS810〜S814を実行するので、以下
には、相違点を中心に説明する。
When the input priority information is "priority", the control unit 33 executes steps S810 to S814 similar to steps S83 to S87 described above. Therefore, the following description will focus on the differences. I do.

【0077】制御部33は、優先度の情報「優先」及び
パリティグループの情報「A」が入力すると、上述の更
新用データを読み出さないと判断した場合には後述する
ステップS813に直接進むが、更新用データを読み出
すと判断した場合には、これを読み出すための第5の読
出し要求(図6参照)を作成する。第5の読出し要求
は、優先度の情報が「優先」であることから、パリティ
グループ「A」において更新用データが記録されている
ディスク装置21〜24に対応する第1の優先キュー3
51〜第4の優先キュー354にキューイングされる
(図8;ステップS811)。
When the control unit 33 receives the priority information “priority” and the parity group information “A”, and determines that the update data is not to be read, the control unit 33 proceeds directly to step S813 to be described later. If it is determined that the update data is to be read, a fifth read request (see FIG. 6) for reading the update data is created. Since the fifth read request has the priority information of “priority”, the first priority queue 3 corresponding to the disk devices 21 to 24 on which the update data is recorded in the parity group “A” is sent.
It is queued in the 51st to fourth priority queues 354 (FIG. 8; step S811).

【0078】要求選定部37及び各ディスク装置21〜
24は、図5のステップS54及びS55で説明した通
りの処理を実行する。その結果、各優先キュー351〜
354内の第5の読出し要求は、各ディスク装置21〜
24により、優先的に処理される。各ディスク装置21
〜24は、この読出し処理が正常終了した場合、読み出
した更新用データ及び上述の「読出し完了」を、ディス
クインタフェイス部38を通じてバッファ管理部310
及び制御部33に出力する。
The request selection unit 37 and each of the disk devices 21 to 21
24 executes the processing as described in steps S54 and S55 of FIG. As a result, each priority queue 351-
The fifth read request in 354 corresponds to each of the disk devices 21 to
24, the processing is preferentially performed. Each disk device 21
When the read process is completed normally, the read update data and the above-mentioned “read completed” are transmitted to the buffer management unit 310 through the disk interface unit 38.
And outputs it to the control unit 33.

【0079】制御部33は、入力された「読出し完了」
に基づいて、上記各読出し処理が正常終了したか否かを
判断する。この判断の結果、更新用データがバッファ管
理部310に揃っている場合には(ステップS81
2)、上述したように、パリティ演算部39がパリティ
演算を実行し、制御部33が新たなパリティブロックを
生成する。ただし、制御部33は、ステップS811及
びS812が実行しない場合には、リアルタイムデータ
に基づいて新たなパリティブロックを生成する。
The control unit 33 receives the input “read complete”
It is determined whether or not each of the reading processes has been completed normally on the basis of. If the result of this determination is that update data is available in the buffer management unit 310 (step S81
2) As described above, the parity calculation unit 39 performs the parity calculation, and the control unit 33 generates a new parity block. However, when Steps S811 and S812 are not performed, the control unit 33 generates a new parity block based on real-time data.

【0080】次に、制御部33は、新たなパリティブロ
ックをディスク装置25に書き込むための第3の書き込
み要求を作成した後、優先度の再確認を行う。制御部3
3は、再確認の結果、優先度が「優先」の場合、第3の
書込み要求を第5の優先キュー355にキューイングす
る(ステップS813)。
Next, after creating a third write request for writing a new parity block to the disk device 25, the control unit 33 reconfirms the priority. Control unit 3
If the priority is “priority” as a result of the reconfirmation, the third write request is queued in the fifth priority queue 355 (step S813).

【0081】次に、制御部33は、第3の処理要求の場
合と同様にして、入力された第4の処理要求を、ディス
クアレイ2に対する(より具体的には、各ディスク装置
21〜24に対する)の第4の書込み要求(図6参照)
に変換する。この第4の書込み要求もまた、第1のディ
スク装置21〜第4のディスク装置24に対応する第1
の優先キュー351〜第4の優先キュー354にキュー
イングされる(図8;ステップS814)。
Next, the control unit 33 transmits the input fourth processing request to the disk array 2 (more specifically, the disk devices 21 to 24) in the same manner as in the case of the third processing request. 4th write request (for FIG. 6)
Convert to The fourth write request is also sent to the first disk device 21 to the fourth disk device 24 corresponding to the first disk device 21.
Are queued in the first to fourth priority queues 351 to 354 (FIG. 8; step S814).

【0082】要求選定部37は、図5のステップS54
で説明した通りの処理を実行する。これによって、第5
の優先キュー355内の第1の書込み要求は、第5のデ
ィスク装置25により優先的に処理され、これによって
新しいパリティブロックが第5のディスク装置25に書
き込まれる。また、第1の優先キュー351〜第4の優
先キュー354内の第2の書込み要求もまた、第1のデ
ィスク装置21〜第4のディスク装置24により優先的
に処理され、これによって、リアルタイムデータが、制
御部33により冗長化された上で、第1のディスク装置
21〜第4のディスク装置24に書き込まれる。
The request selecting section 37 performs the processing in step S54 of FIG.
The processing as described in is executed. As a result, the fifth
The first write request in the priority queue 355 is preferentially processed by the fifth disk device 25, whereby a new parity block is written to the fifth disk device 25. Also, the second write requests in the first priority queue 351 to the fourth priority queue 354 are also preferentially processed by the first disk device 21 to the fourth disk device 24, thereby real-time data Is written to the first disk device 21 to the fourth disk device 24 after being made redundant by the control unit 33.

【0083】各ディスク装置21〜25は、自身の書込
み処理完了後、「書込完了」を出力する。出力された各
「書込み完了」は、ディスクインタフェイス部38を通
じて、制御部33に送信される。制御部33は、各ディ
スク装置21〜25の「書込完了」を受信すると(ステ
ップS88)、ホスト装置4により要求されたリアルタ
イムデータの書き込みが完了したと判断して、ホストイ
ンタフェイス部31を通じて、当該書込みが完了した旨
を当該ホスト装置4に通知する(ステップS89)。
Each of the disk devices 21 to 25 outputs "writing completed" after completing its own writing process. Each output “writing completion” is transmitted to the control unit 33 through the disk interface unit 38. When the control unit 33 receives the “write completed” of each of the disk devices 21 to 25 (step S88), it determines that the writing of the real-time data requested by the host device 4 has been completed, and through the host interface unit 31. Then, the host device 4 is notified that the writing is completed (step S89).

【0084】以上説明したように、ホスト装置4は、優
先度等を示す情報を含むアクセス要求を情報記録装置1
に送信する。アレイコントローラ3は、入力されたアク
セス要求に基づいて、各ディスク装置毎の要求(読出し
要求又は書込み要求;図6参照)を作成して、判別され
た優先度に従って所定のキューに、作成された要求をキ
ューイングする。そのため、ディスクアレイ2内では、
優先度の高い要求が優先的に処理される。これによっ
て、動画情報及び/又は音声情報のようなリアルタイム
性が要求される優先度の高いアクセス要求と、動画情報
のタイトル情報等のようなリアルタイム性が要求されな
い優先度の低いアクセス要求とがホスト装置4から情報
記録装置1に送信されてくる場合であっても、優先度の
高いアクセス要求に関連する処理が、優先度の低いアク
セス要求のそれによって影響を受けることがなく、しか
も優先度の低い処理も効率よく処理することが可能とな
る。
As described above, the host device 4 sends an access request including information indicating priority and the like to the information recording device 1.
Send to The array controller 3 creates a request (read request or write request; see FIG. 6) for each disk device based on the input access request, and creates a request in a predetermined queue according to the determined priority. Queue the request. Therefore, in the disk array 2,
Requests with high priority are processed preferentially. As a result, a high-priority access request such as moving image information and / or audio information that requires real-time properties and a low-priority access request that does not require real-time properties such as title information of moving image information are hosted. Even when the information is transmitted from the device 4 to the information recording device 1, the processing related to the high-priority access request is not affected by that of the low-priority access request. Even low processing can be processed efficiently.

【0085】次に、情報記録装置1のデータの再構築処
理について説明する。なお、以下の説明において、障害
ディスクとは、記録されているデータに障害が起こった
ディスクを意味する。また、データの再構築処理とは、
ディスクアレイ2内に障害ディスクが発生した時に、同
じパリティグループに属する他のディスクのデータを用
いてパリティ演算を行って、障害ディスクのデータを再
現し、再現されたデータを他のディスクに記録しなおす
ことである。また、本実施形態に係る情報記録装置1
は、2種類のデータの再構築処理を実行する。一方は、
情報記録装置1が実行するリアルタイム処理に影響を与
えないような第1のデータの再構築処理であり、他方
は、データの再構築処理が完了する時間を保証するため
に、予め設定されたディスクの帯域の一部を優先的に用
いるような第2のデータの再構築処理である。
Next, the data reconstructing process of the information recording apparatus 1 will be described. In the following description, a failed disk means a disk in which recorded data has failed. Also, the data reconstruction process
When a failed disk occurs in the disk array 2, a parity operation is performed using data of another disk belonging to the same parity group to reproduce data of the failed disk, and the reproduced data is recorded on another disk. It is to fix it. In addition, the information recording device 1 according to the present embodiment
Executes the reconstruction processing of two types of data. One is
This is a first data reconstructing process that does not affect the real-time process performed by the information recording device 1, and the other is a preset disk in order to guarantee a time when the data reconstructing process is completed. Is a second data restructuring process that preferentially uses a part of the band.

【0086】また、上記データの再構築処理では、図1
に示すテーブル格納部311が用いられる。このテーブ
ル格納部311は、図9に示すように、第1〜第5のデ
ィスク装置21〜25毎の第1〜第5のディスク管理テ
ーブル3111〜3115を格納している。第1〜第5
のディスク管理テーブル3111〜3115には、第1
〜第5のディスク装置21〜25内の全LBAのステー
タスが設定されている。このステータスは、データブロ
ック又はパリティブロックのサイズを単位として管理さ
れる。例えば、第1のディスク管理テーブル3111の
各欄(斜線部分が一つを欄を示す)には、対応するLB
Aのステータスが書き込まれる。
Also, in the data restructuring process, FIG.
The table storage unit 311 shown in FIG. As shown in FIG. 9, the table storage unit 311 stores first to fifth disk management tables 3111 to 3115 for each of the first to fifth disk devices 21 to 25. First to fifth
The disk management tables 3111 to 3115 of the
To the statuses of all LBAs in the fifth to fifth disk devices 21 to 25 are set. This status is managed using the size of the data block or parity block as a unit. For example, each column of the first disk management table 3111 (one hatched portion indicates one column) has a corresponding LB
The status of A is written.

【0087】このステータスの種類としては、図10に
示すように、対応するLBAが故障していないことを示
す「通常状態」と、対応するLBAが故障していること
を示す「故障」(図10には示さず)と、対応するLB
Aがデータの再構築処理を受けることが必要であること
を示す「再構築必要状態」と、対応するLBAがデータ
の再構築処理を受けている最中であることを示す「再構
築中」とがある。
As shown in FIG. 10, the status types include a "normal state" indicating that the corresponding LBA has not failed, and a "failure" indicating that the corresponding LBA has failed (see FIG. 10). 10, not shown) and the corresponding LB
“Rebuilding required state” indicating that A needs to undergo data restructuring processing, and “Rebuilding” indicating that the corresponding LBA is undergoing data restructuring processing. There is.

【0088】まず、ディスクインタフェイス部38は、
ディスク装置21〜25のいずれかが障害ディスク装置
になったことを検出すると、その旨を制御部33に通知
する。ここで、かかる障害ディスク装置の検出は、各デ
ィスク装置21〜25からの障害の通知や、各ディスク
装置21〜25からの応答のタイムアウトによって行わ
れる。
First, the disk interface unit 38
When detecting that any one of the disk devices 21 to 25 has become a failed disk device, the controller 33 is notified to that effect. Here, the detection of the failed disk device is performed by a failure notification from each of the disk devices 21 to 25 and a timeout of a response from each of the disk devices 21 to 25.

【0089】制御部33は、障害ディスク装置が検出さ
れた旨の上記通知を受けると、テーブル格納部311内
の、障害ディスク装置用のディスク管理テーブルにアク
セスする。次に、制御部33は、アクセス中のディスク
管理テーブルを更新して、現在故障しているLBAのス
テータスを「故障」に設定する。例えば、障害ディスク
装置の全LBAが故障した場合には、対応するディスク
管理テーブルにおいては、全LBAのステータスが「故
障」に設定される。
Upon receiving the notification that the failed disk device has been detected, the control unit 33 accesses the disk management table for the failed disk device in the table storage unit 311. Next, the control unit 33 updates the disk management table being accessed, and sets the status of the currently failed LBA to “failed”. For example, when all the LBAs of the failed disk device have failed, the statuses of all the LBAs are set to “failed” in the corresponding disk management table.

【0090】以下、第1のディスク装置21が故障ディ
スク21になった場合であって、内部の全LBAが故障
した場合の、第1のデータ再構築処理について、図11
及び図12のフローチャートを参照して説明する。図1
1は、第1のデータの再構築処理の全体的な処理手順を
示すフローチャートである。
The first data rebuilding process in the case where the first disk device 21 has become the failed disk 21 and all the internal LBAs have failed will be described with reference to FIG.
And a flowchart of FIG. FIG.
FIG. 1 is a flowchart showing the overall processing procedure of the first data restructuring process.

【0091】制御部33は、故障ディスク装置21をパ
リティグループ「A」から切り離し、スペアのディスク
装置(図1には示さず)を同グループに組み入れ、さら
に当該スペアのディスク装置用のディスク管理テーブル
(図9には示さず)をテーブル格納部311内に作成す
る。作成された新しいディスク管理テーブル(以下、新
ディスク管理テーブルと称す)においては、全LBA用
のステータスが「再構築必要」に設定される。また、制
御部33は、切り離された故障ディスク21に割り当て
られていた2個1組のキューを、スペアのディスク装置
に割り当てる。
The control unit 33 separates the failed disk device 21 from the parity group "A", incorporates a spare disk device (not shown in FIG. 1) into the same group, and furthermore, a disk management table for the spare disk device. (Not shown in FIG. 9) is created in the table storage unit 311. In the created new disk management table (hereinafter, referred to as a new disk management table), the status for all LBAs is set to “rebuild required”. Further, the control unit 33 allocates a pair of queues assigned to the separated failed disk 21 to a spare disk device.

【0092】次に、制御部33は、新ディスク管理テー
ブルの最初のLBAをチェックして(図11;ステップ
S111)、そのLBAのステータスが「再構築必要」
である場合には(ステップS112)、そのLBAを処
理対象とする。次に、制御部33は、バッファ管理部3
10内のバッファ領域の使用量が所定数「M」以下であ
り、かつ各非優先キュー341〜345にキューイング
されている再構築に関連する要求(後述)が所定数
「N」以下であるという条件を満足するか否かを判断す
る(ステップS113)。
Next, the control unit 33 checks the first LBA in the new disk management table (FIG. 11; step S111), and the status of the LBA is "rebuild required".
Is satisfied (step S112), the LBA is processed. Next, the control unit 33 controls the buffer management unit 3
The used amount of the buffer area in 10 is equal to or less than a predetermined number “M”, and the number of requests (described later) related to reconstruction queued in each of the non-priority queues 341 to 345 is equal to or less than a predetermined number “N”. It is determined whether or not the condition is satisfied (step S113).

【0093】このステップS113は、再構築に関連す
る要求が一度にたくさん発生することを抑えるために必
要である。かかる要求発生数を抑えるのは、次の2つの
理由による。第1に、この要求発生数が多いと、再構築
に関連する要求と同じ優先度を持つホスト装置4からの
アクセス要求が、いつまでも処理されなくなる可能性が
でてくる。例えば、現在発生している再構築に関連する
要求数を常にN個未満にしておけば、ホスト装置4から
のアクセス要求は遅くともN番目には処理されることが
保証される。この所定数「N」は、再構築処理時に、再
構築に関連する要求と同じ優先度を持つホスト装置4か
らのアクセス要求をどの程度処理させる必要があるかに
基づいて決定される。
This step S113 is necessary in order to suppress a large number of requests related to rebuilding from occurring at once. The number of requests generated is suppressed for the following two reasons. First, if the number of requests generated is large, there is a possibility that an access request from the host device 4 having the same priority as a request related to reconstruction is not processed forever. For example, if the number of requests related to the currently occurring reconstruction is always less than N, it is guaranteed that the access request from the host device 4 will be processed at the Nth at the latest. The predetermined number “N” is determined based on how much an access request from the host device 4 having the same priority as the request related to the rebuilding needs to be processed during the rebuilding process.

【0094】また、第2に、上記要求発生数が多いと、
アレイコントローラ3が有するメモリ(図示せず)が足
りなくなる場合が発生する。より具体的には、再構築に
関連する要求が発生すると、当該要求の情報を格納する
ためのメモリや、書込み処理を伴う場合にはデータを格
納するためのメモリが必要となる。そのため、アレイコ
ントローラ3が再構築に関連する要求を一度に発生する
と、内部のメモリが足りなくなる可能性が生じる。さら
に、内部メモリが足りなくなると、情報記録装置1はホ
スト装置4からの要求を受け付けることもできなくな
る。例えば、アレイコントローラ2は、ホスト装置4か
らのアクセス要求を最大限受け付けた時に最大Mのバッ
ファ領域を使用する場合、再構築に関連する要求の生成
を、バッファ領域の残りが「M」になった時に止めるよ
うにしなければならない。この所定数「M」は、ホスト
装置4から最大要求数を受け付けた時に使用する最大バ
ッファ領域数に基づいて決定される。
Second, if the number of requests generated is large,
In some cases, a memory (not shown) of the array controller 3 runs short. More specifically, when a request related to reconstruction occurs, a memory for storing information of the request and a memory for storing data when a write process is involved are required. Therefore, if the array controller 3 generates a request related to the reconstruction at once, there is a possibility that the internal memory becomes insufficient. Further, when the internal memory is insufficient, the information recording device 1 cannot receive a request from the host device 4. For example, when the array controller 2 uses a maximum of M buffer areas when the access request from the host device 4 is received at the maximum, the array controller 2 generates a request related to rebuilding, and the remaining buffer area becomes “M”. You have to stop when This predetermined number “M” is determined based on the maximum buffer area number used when the maximum request number is received from the host device 4.

【0095】制御部33は、ステップS113の条件が
満たされるまで待った上で、処理対象のLBAに関する
再構築処理を実行する(ステップS114)。ここで、
新たな再構築処理起動後も、ステップS113の条件が
満たされている場合、第2のLBAに関する再構築処理
を起動する。同様にして、ステップS113の条件が満
たされなくなるまで、再構築処理を起動し続ける。以
下、このステップS114を詳細に示すフローチャート
である図12を参照する。
The control unit 33 waits until the condition of step S113 is satisfied, and then executes a rebuilding process for the LBA to be processed (step S114). here,
If the condition of step S113 is satisfied even after the start of the new rebuilding process, the rebuilding process for the second LBA is started. Similarly, the rebuilding process continues to be activated until the condition of step S113 is not satisfied. Hereinafter, reference will be made to FIG. 12 which is a flowchart showing the details of step S114.

【0096】制御部33は、まず、新ディスク管理テー
ブルにおいて、処理対象のLBAのステータスを「再構
築必要」から「再構築中」へと更新し(ステップS12
1)、処理対象のLBAに記録すべきデータ(現時点で
は、障害ディスク装置21に記録されたデータ)をパリ
ティ演算により再現させるために必要となるデータ(以
下、再現用データと称す)を読み出すための第6の読出
し要求(図6参照)を作成する。次に、制御部33は、
作成した第6の読み出し要求を、要求キュー36におい
て対応する非優先キューにキューイングする(ステップ
S122)。ここで、現時点では、障害ディスク装置2
1は、第1のディスク装置21であるから、第6の読み
出し要求は第1の非優先キュー341にキューイングさ
れず、第2〜第5の非優先キュー342〜345にキュ
ーイングされる。
First, the control unit 33 updates the status of the processing target LBA from “rebuild required” to “rebuilding” in the new disk management table (step S12).
1) To read data (hereinafter, referred to as reproduction data) necessary to reproduce data to be recorded in the LBA to be processed (currently, data recorded in the failed disk device 21) by parity calculation. A sixth read request (see FIG. 6) is created. Next, the control unit 33
The created sixth read request is queued in the corresponding non-priority queue in the request queue 36 (step S122). Here, at this time, the failed disk device 2
Since 1 is the first disk device 21, the sixth read request is not queued in the first non-priority queue 341, but is queued in the second to fifth non-priority queues 342 to 345.

【0097】要求選定部37は、上述したステップS3
4と同様の処理を行い(ステップS123)、各ディス
ク装置(現時点では、第2のディスク装置22〜第5の
ディスク装置25)では、図5のステップS55と同様
に、その要求通りの処理が実行される(ステップS12
4)。その結果、第2〜第5の非優先キュー342〜3
45内の第6の読出し要求は、非優先的ではあるが、第
2〜第5のディスク装置22〜25によって処理され
る。この読出し処理が各ディスク装置22〜25で終了
した場合、ディスクアレイ2は、再現用データ、及びこ
の読出しが終了した旨を示す信号(以下、「読出し完
了」と称す)をディスクインタフェイス部38に出力す
る。再現用データは、非リアルタイムデータ等と同様に
バッファ管理部310内のバッファ領域に格納される。
また、「読出し完了」は制御部33に送信される。
The request selection section 37 determines whether the above-described step S3
4 (step S123), and the respective disk devices (currently, the second disk device 22 to the fifth disk device 25) perform the requested processing as in step S55 of FIG. Is executed (Step S12)
4). As a result, the second to fifth non-priority queues 342 to 3
The sixth read request in 45 is processed by the second to fifth disk devices 22 to 25, though it is not prioritized. When the reading process is completed in each of the disk devices 22 to 25, the disk array 2 sends the reproduction data and a signal indicating that the reading is completed (hereinafter, referred to as "reading completed") to the disk interface unit 38. Output to The reproduction data is stored in the buffer area in the buffer management unit 310, like the non-real-time data.
Also, “read complete” is transmitted to the control unit 33.

【0098】制御部33は、各ディスク装置22〜25
からの再現用データが上記バッファ領域内に揃っている
か否かを確認する(ステップS125)。制御部33
は、再現用データが揃っている場合、パリティ演算の実
行をパリティ演算部39に指示する。これによって、処
理対象のLBAに記録すべきデータ(障害ディスク装置
に記録されていたデータ)は再現された後、バッファ管
理部310のバッファ領域に格納される(ステップS1
26)。
The control unit 33 controls each of the disk devices 22 to 25
It is checked whether or not the reproduction data from is stored in the buffer area (step S125). Control unit 33
Instructs the parity operation unit 39 to execute the parity operation when the reproduction data is available. As a result, the data to be recorded in the LBA to be processed (the data recorded in the failed disk device) is reproduced and then stored in the buffer area of the buffer management unit 310 (step S1).
26).

【0099】制御部33は、次に、現在バッファ領域に
格納されているデータをスペアのディスク装置において
対応するLBAに書き込むための第5の書き込み要求を
作成し、スペアのディスク装置に割り当てられた非優先
キュー351に、作成した第5の書き込み要求をキュー
イングする(ステップS127)。
Next, the control unit 33 creates a fifth write request for writing the data currently stored in the buffer area to the corresponding LBA in the spare disk device, and allocates the fifth write request to the spare disk device. The created fifth write request is queued in the non-priority queue 351 (step S127).

【0100】要求選定部37は、図5のステップS54
と同様の処理を実行する(ステップS128)。これに
よって、非優先キュー351内の第5の書き込み要求
は、非優先的ではあるがスペアのディスク装置21によ
って処理される(ステップS129)。その結果、この
ディスク装置21には、バッファ領域内のデータが書き
込まれる。このスペアのディスク装置は、書き込みが完
了すると、その旨を示す「書込み完了」を作成する。
「書込み完了」は、ディスクインタフェイス部38を通
じて制御部33に送信される。
The request selecting section 37 performs the processing in step S54 of FIG.
(Step S128). As a result, the fifth write request in the non-priority queue 351 is processed by the non-priority but spare disk device 21 (step S129). As a result, data in the buffer area is written to the disk device 21. When the writing is completed, the spare disk device creates a "writing completed" indicating that.
“Write completed” is transmitted to the control unit 33 through the disk interface unit 38.

【0101】制御部33は、スペアのディスク装置から
の「書込完了」を受信すると(ステップS1210)、
テーブル管理部311において、現在「再構築中」に設
定されている処理対象のLBAのステータスを「通常状
態」に更新する(ステップS1211)。これによっ
て、ステップS114の処理は終了し、その後、制御部
33は、スペアのディスク装置内の全LBAについてス
テップS114を実行したか否かを、新ディスク管理テ
ーブル内に「再構築必要」というステータスが設定され
ているか否かをチェックすることによって判断する(ス
テップS115)。制御部33は、全LBAについてス
テップS114を実行していない場合、次のLBAのス
テータスをチェックして(ステップS116)、全LB
AについてステップS114を実行するまで、以上のよ
うなステップS112〜S116を実行する。
When the control unit 33 receives the "write completed" from the spare disk device (step S1210),
The table management unit 311 updates the status of the processing target LBA currently set to “rebuilding” to “normal state” (step S1211). As a result, the process of step S114 ends, and thereafter, the control unit 33 determines whether or not step S114 has been executed for all the LBAs in the spare disk device in the new disk management table with the status "rebuild required". Is determined by checking whether or not is set (step S115). If step S114 has not been executed for all LBAs, the control unit 33 checks the status of the next LBA (step S116), and
Steps S112 to S116 as described above are executed until step S114 is executed for A.

【0102】以上の第1のデータの再構築処理によれ
ば、データの再構築のための要求(第6の読出し要求及
び第5の書込み要求)が非優先キューにキューイングさ
れるため、情報記録装置は、優先度の高い第2及び第4
の処理要求の処理に悪影響を与えることなく、データの
再構築処理を実行することができる。さらに、第1のデ
ータの再構築処理は、各要求のキューイング及び、実行
制御がディスク装置毎に行われるため効率のよく実行さ
れることとなる。
According to the above-described first data reconstructing process, the requests for reconstructing the data (the sixth read request and the fifth write request) are queued in the non-priority queue. The recording device is a second and fourth high priority
The data reconstruction process can be executed without adversely affecting the processing of the processing request. Further, the first data restructuring process is executed efficiently because the queuing of each request and the execution control are performed for each disk device.

【0103】以下、第1のディスク装置21が故障ディ
スク21になった場合であって、内部の全LBAが故障
した場合の、第2のデータ再構築処理について、図13
及び図14のフローチャートを参照して説明する。図1
3は、第2のデータの再構築処理の全体的な処理手順を
示すフローチャートである。なお、図13は、図11と
比較すると、ステップS113がステップS131に変
わる点のみが異なる。そのため、図13において、図1
1のステップに相当するものには同一のステップ番号を
付し、それらの説明を簡素化する。
The second data reconstruction process in the case where the first disk device 21 has become the failed disk 21 and all the internal LBAs have failed will be described with reference to FIG.
And a flowchart of FIG. FIG.
FIG. 3 is a flowchart illustrating an overall processing procedure of the second data restructuring processing. 13 is different from FIG. 11 only in that step S113 is changed to step S131. Therefore, in FIG.
Steps corresponding to one step are given the same step numbers, and their descriptions are simplified.

【0104】まず、第1のデータの再構築処理の場合と
同様に、故障ディスク装置21は、スペアのディスク装
置(図1には示さず)と交換され、さらに当該スペアの
ディスク装置用の新ディスク管理テーブル(図9には示
さず)が作成される。
First, as in the case of the first data rebuilding process, the failed disk unit 21 is replaced with a spare disk unit (not shown in FIG. 1), and a new disk unit for the spare disk unit is replaced. A disk management table (not shown in FIG. 9) is created.

【0105】次に、制御部33は、ステップS111及
びS112を実行して処理対象となるLBAを探す。次
に、制御部33は、前回のステップS114の実行から
予め定められた一定時間「T」が経過したか否かを判断
する(ステップS131)。
Next, the controller 33 executes steps S111 and S112 to search for an LBA to be processed. Next, the control unit 33 determines whether or not a predetermined time “T” has elapsed since the previous execution of Step S114 (Step S131).

【0106】ところで、各ディスク装置21〜25は、
その帯域が有限であるため、再構築に関連する要求を短
時間にたくさん処理しようとすると、ホスト装置4から
のアクセス要求を一切処理できなくなる。このステップ
S131は、再構築に関連する要求がアクセス要求の処
理に与える悪影響を制御するために、再構築処理の速度
が予め設定される。アレイコントローラ3は、設定され
た速度通りに再構築処理が実行されるように制御する。
例えば、再構築を必要とするLBAの数がXで、上記再
構築処理の速度がY分間でZ個のLBAの再構築を実行
する速度である場合、X/(Z/Y)分で再構築処理が
終了する。また、制御部33としては、再構築に関連す
る要求を、Y/Z分毎に1個発生させればよいこととな
る。つまり、この例では、Tは、再構築に関連する要求
がY分当たりにZ個生成されるように選ばれる。以上の
ように、Tは、設定された再構築処理の速度に基づいて
決定される。
By the way, each of the disk devices 21 to 25
Since the bandwidth is finite, if many requests related to reconstruction are processed in a short time, access requests from the host device 4 cannot be processed at all. In this step S131, the speed of the reconstruction process is set in advance in order to control the adverse effect of the request related to the reconstruction on the processing of the access request. The array controller 3 controls the rebuilding process to be executed at the set speed.
For example, if the number of LBAs requiring rebuilding is X, and the speed of the above-described rebuilding process is a speed at which rebuilding of Z LBAs is performed in Y minutes, the number of rebuilds in X / (Z / Y) minutes The construction process ends. Further, the control unit 33 only needs to generate one request related to the reconstruction every Y / Z. That is, in this example, T is chosen such that Z requests per rebuild are generated per Y minutes. As described above, T is determined based on the set speed of the reconstruction process.

【0107】制御部33は、この一定時間「T」が経過
していると、処理対象のLBAに関する再構築処理を実
行する(ステップS114)。以下、このステップS1
14を詳細に示すフローチャートである図14を参照す
る。なお、図14は、図12と比較すると、ステップS
122及びS127がステップS141及びS142に
変わる点のみで異なる。そのため、図14において、図
12のステップに相当するものについては同一のステッ
プ番号を付し、それら説明を簡素化する。
When the predetermined time “T” has elapsed, the control unit 33 executes a rebuilding process for the LBA to be processed (step S114). Hereinafter, this step S1
Reference is made to FIG. FIG. 14 is different from FIG.
The only difference is that steps 122 and S127 are replaced with steps S141 and S142. Therefore, in FIG. 14, steps corresponding to those in FIG. 12 are denoted by the same step numbers, and description thereof will be simplified.

【0108】制御部33は、まず、ステップS121を
実行して、処理対象のLBAのステータスを「再構築
中」に更新し、第1のデータの再構築処理の場合と同様
に、再現用データを読み出すための第7の読出し要求
(図6参照)を作成する。次に、制御部33は、作成し
た第7の読み出し要求を、要求キュー36において対応
する優先キューにキューイングする(ステップS14
1)。ここで、現時点では、障害ディスク装置21は、
第1のディスク装置21であるから、第7の読出し要求
は第1の優先キュー351にキューイングされず、第2
〜第5の優先キュー342〜345にキューイングされ
る。
The control unit 33 first executes step S121 to update the status of the LBA to be processed to "rebuilding", and, as in the case of the first data rebuilding process, reproduces the data for reproduction. A seventh read request (see FIG. 6) for reading the data is created. Next, the control unit 33 queues the created seventh read request in the corresponding priority queue in the request queue 36 (Step S14).
1). Here, at the present time, the failed disk device 21
Since it is the first disk device 21, the seventh read request is not queued in the first priority queue 351 and the second read request is
To the fifth priority queues 342 to 345.

【0109】要求選定部37がステップS123を実行
することにより、各ディスク装置(現時点では、第2の
ディスク装置22〜第5のディスク装置25)では、ス
テップS124が実行される。したがって、第2のデー
タの再構築処理において、第7の読出し要求は、要求選
定部37及び各ディスク装置によって優先的に処理され
る。かかる読出しが各ディスク装置22〜25で終了し
た場合、ディスクアレイ2は、読み出した再現用デー
タ、及び「読出し完了」をディスクインタフェイス部3
8に出力する。上記出力された再現用データは、リアル
タイムデータ等と同様にバッファ管理部310のバッフ
ァ領域に格納される。また、「読出し完了」は制御部3
3に送信される。
When the request selecting section 37 executes step S123, step S124 is executed in each disk device (currently, the second disk device 22 to the fifth disk device 25). Therefore, in the reconstructing process of the second data, the seventh read request is preferentially processed by the request selecting unit 37 and each disk device. When the reading is completed in each of the disk devices 22 to 25, the disk array 2 sends the read reproduction data and “read completed” to the disk interface unit 3.
8 is output. The output reproduction data is stored in the buffer area of the buffer management unit 310 like the real-time data and the like. The “reading completion” indicates that the control unit 3
3 is sent.

【0110】制御部33は、ステップS105及びS1
06を実行して、処理対象のLBAに記録すべきデータ
(障害ディスク装置に記録されていたデータ)を再現
し、バッファ管理部310のバッファ領域に当該再現し
たデータを格納する。制御部33は、次に、第1のデー
タの構築処理の場合と同様に、第6の書き込み要求を作
成し、スペアのディスク装置に割り当てられた優先キュ
ー351に、作成した第6の書き込み要求をキューイン
グする(ステップS122)。
The control unit 33 determines in steps S105 and S1
Step 06 is executed to reproduce data to be recorded in the LBA to be processed (data recorded in the failed disk device), and store the reproduced data in the buffer area of the buffer management unit 310. Next, the control unit 33 creates a sixth write request and places the created sixth write request in the priority queue 351 assigned to the spare disk device, as in the case of the first data construction process. Is queued (step S122).

【0111】要求選定部37がステップS128を実行
することにより、優先キュー351内の第6の書き込み
要求は、優先的にスペアのディスク装置21によって処
理される(ステップS129)。その結果、このディス
ク装置21には、バッファ領域内のデータが記録された
後、第1のデータの再構築処理の場合と同様の「書込完
了」が、ディスクインタフェイス部38を通じて、制御
部33に送信される。
The sixth write request in the priority queue 351 is preferentially processed by the spare disk device 21 by the request selecting unit 37 executing step S128 (step S129). As a result, after the data in the buffer area is recorded in the disk device 21, “writing completion” similar to the case of the first data reconstructing process is performed via the disk interface unit 38 by the control unit. 33.

【0112】制御部33は、ステップS1210及びS
1211を実行し、これによって、ステップS114の
処理は終了する。そして、制御部33は、第1のデータ
の再構築処理と同様に、全LBAについてステップS1
14を実行するまでステップS112〜S116を実行
する。
The control unit 33 determines in steps S1210 and S1210.
Step 1211 is performed, and the process in step S114 ends. Then, as in the first data rebuilding process, the control unit 33 performs step S1 for all LBAs.
Steps S112 to S116 are executed until step S14 is executed.

【0113】以上の第2のデータの再構築処理によれ
ば、データの再構築のための要求(第7の読み出し要求
及び第6の書き込み要求)が優先キューにキューイング
されるため、これらの要求が要求キュー36内で滞るこ
となくなり、これによって、データの再構築処理の完了
時間を保証することができる。さらに、第2のデータの
再構築処理は、各要求のキューイング及び、実行制御が
ディスク装置毎に行われるため効率のよく実行されるこ
ととなる。
According to the above-described second data restructuring process, the requests for data restructuring (the seventh read request and the sixth write request) are queued in the priority queue. Requests are not stuck in the request queue 36, thereby guaranteeing the completion time of the data reconstruction process. Furthermore, the second data rebuilding process is performed efficiently because the queuing and execution control of each request is performed for each disk device.

【0114】次に、新ディスク管理テーブルで「再構築
必要」と設定されたLBAに対し、ホスト装置4がアク
セス要求した場合であって、情報記録装置1が読み出し
を実行しなければならない場合の動作について説明す
る。このような場合は、上記「再構築必要」というステ
ータスが設定されたLBAに記録されたデータの読み出
しがホスト装置4によって要求された場合と、図8を参
照して説明した更新用データを読み出す場合とに発生す
る。
Next, the case where the host device 4 requests access to the LBA set as "rebuild required" in the new disk management table and the information recording device 1 has to execute reading. The operation will be described. In such a case, the host device 4 requests the reading of the data recorded in the LBA in which the status “rebuilding is required” is set, and the update data described with reference to FIG. 8 is read. Occurs when and.

【0115】制御部33は、読み出し処理時に、テーブ
ル格納部311を参照すれば、対象となるLBAがデー
タの再構築処理を受けることが必要であることを確認で
き、それによって、当該LBAに記録されたデータを読
み出せないことを認識する。制御部33は、テーブル格
納部311にアクセスして、対象となるLBAのステー
タスを「再構築中」に更新する。そして、制御部33
は、対象となるLBAのデータを再現するために必要な
再現用データを読み出すための読出し要求を作成し、当
該LBAを有するディスク装置に割り当てられた非優先
キュー又は優先キューにキューイングする。このとき、
制御部33は、第1のアクセス要求に関連した読み出し
を実行中であれば非優先キューにキューイングし、第2
のアクセス要求に関連した読み出しを実行中であれば優
先キューにキューイングする。
The control unit 33 can confirm that the target LBA needs to undergo the data reconstructing process by referring to the table storage unit 311 at the time of the reading process. Recognize that the read data cannot be read. The control unit 33 accesses the table storage unit 311 and updates the status of the target LBA to “rebuilding”. And the control unit 33
Creates a read request for reading reproduction data necessary to reproduce the data of the target LBA, and queues it in a non-priority queue or a priority queue assigned to the disk device having the LBA. At this time,
If the control unit 33 is executing the read related to the first access request, the control unit 33 queues the read in the non-priority queue,
If the read related to the access request is being executed, it is queued in the priority queue.

【0116】その後、再現用データは読み出され、バッ
ファ管理部310内のバッファ領域に格納される。制御
部33は、全ての再現用データがバッファ領域に揃った
時点で、パリティ演算部39にパリティ演算を実行さ
せ、対象となるLBAのデータを再現する。制御部33
は、再現されたデータを用いてホスト装置4からの読み
出し要求に関連する処理を続行すると共に、再現された
データを、対象となるLBAに書き込むための第7の書
込み要求を作成し、当該LBAを有するディスク装置用
の非優先キューにキューイングする。また、制御部33
は、再現されたデータが書き込まれた時点で、テーブル
格納部311にアクセスして、対象となるLBAのステ
ータスを「通常状態」に更新する。
Thereafter, the reproduction data is read out and stored in the buffer area in the buffer management section 310. The control unit 33 causes the parity calculation unit 39 to execute the parity calculation when all the data for reproduction are arranged in the buffer area, and reproduces the data of the target LBA. Control unit 33
Generates a seventh write request for writing the reproduced data to the target LBA while continuing the processing related to the read request from the host device 4 using the reproduced data, and In the non-priority queue for the disk device having The control unit 33
Accesses the table storage unit 311 at the time when the reproduced data is written, and updates the status of the target LBA to “normal state”.

【0117】次に、新ディスク管理テーブルで「再構築
必要」と設定されたLBAに対して、情報記録装置1が
書き込みを実行しなければならない場合の動作について
説明する。この動作については、図8で説明した動作と
同様であるが、制御部33が、各ディスク装置に対する
書き込み要求を作成した時点で、テーブル格納部311
にアクセスし、対象となるLBAのステータスが「再構
築必要」であることを確認した後に、このステータスを
「再構築中」に更新する点と、制御部33が、対象とな
るLBAへの書き込みが完了した時点で、対象となるL
BAのステータスを「通常状態」に更新する点とで異な
る。
Next, an operation in a case where the information recording apparatus 1 must execute writing to an LBA set as “rebuild required” in the new disk management table will be described. This operation is the same as the operation described with reference to FIG. 8, but when the control unit 33 creates a write request for each disk device, the table storage unit 311
And confirms that the status of the target LBA is “rebuilding required”, and then updates this status to “rebuilding”. Is completed, the target L
The difference is that the status of the BA is updated to the “normal state”.

【0118】以上のように、新ディスク管理テーブルで
「再構築必要」と設定されたLBAに対し、ホスト装置
4が読出しを要求した場合に、情報記録装置1は、パリ
ティ演算により再現したデータを、このLBAに書き込
むための処理を実行する。そのために用いられる第4の
書込み要求は、非優先キューにキューイングされる。そ
のため、再現されたデータは、非優先的にではあるが、
ホスト装置4のアクセス要求に応じた処理と並行してデ
ィスクアレイ2に書き込まれる。前述したように、「再
構築必要」と設定されているLBAは、第1又は第2の
データの再構築処理が実行される。しかしながら、上述
のような並行的な書き込みによって、各再構築処理の実
行時に、「再構築必要」と設定されたLBAの個数が少
なくなっているので、各再構築処理に必要な時間は短縮
される。また、第7の書込み要求は非優先キューにキュ
ーイングされるので、かかる書き込みは、情報記録装置
1で実行されるべきリアルタイム処理に悪影響を与える
こともない。
As described above, when the host device 4 requests a read from the LBA set as “rebuild required” in the new disk management table, the information recording device 1 reads the data reproduced by the parity operation. , A process for writing to this LBA is executed. The fourth write request used for that is queued in the non-priority queue. Therefore, the reconstructed data, although non-prioritized,
The data is written to the disk array 2 in parallel with the processing according to the access request from the host device 4. As described above, the LBA set as “rebuild required” is subjected to the first or second data rebuild processing. However, since the number of LBAs set as “rebuild required” at the time of execution of each rebuild process is reduced by the parallel writing as described above, the time required for each rebuild process is reduced. You. Further, since the seventh write request is queued in the non-priority queue, such writing does not adversely affect the real-time processing to be executed in the information recording device 1.

【0119】なお、新ディスク管理テーブルで「再構築
必要」と設定されたLBAに対し、ホスト装置4が書込
みを要求した場合、かかる書き込み終了と同時に、ステ
ータスを「通常状態」に更新することで、情報記録装置
1は、不必要な再構築処理を実行する必要がなくなり、
その処理時間を短縮することができる。
When the host device 4 requests writing to an LBA set as “rebuild required” in the new disk management table, the status is updated to “normal state” at the same time as the completion of the writing. In addition, the information recording device 1 does not need to execute unnecessary reconstruction processing,
The processing time can be reduced.

【0120】なお、以上の実施形態では、情報記録装置
1はRAID3及びRAID4のアーキテクチャを有し
ていたが、RAID5のアーキテクチャを有していても
よい。さらに、パリティブロックを記録するディスク装
置と、データブロックを記録するディスク装置との個数
との比が1:1とされ、双方のディスクに同じブロック
を記録するRAID1のアーキテクチャを有していて
も、本実施形態を適用することができる。
Although the information recording apparatus 1 has the RAID3 and RAID4 architecture in the above embodiment, it may have the RAID5 architecture. Furthermore, the ratio of the number of disk devices that record parity blocks to the number of disk devices that record data blocks is 1: 1 and even if the disk has a RAID1 architecture that records the same block on both disks, This embodiment can be applied.

【0121】また、パリティグループが1つである場合
を説明したが、複数のパリティグループをもつディスク
アレイ2であっても同様に適用することができる。ま
た、ホスト装置4はLUNを利用して優先度を指定して
いたが、例えば、LBAの先頭1ビットが1であれば優
先度を高くするというように、LBAの一部に優先度を
示す情報を付加してもよい。
Although the case where there is one parity group has been described, the present invention can be similarly applied to a disk array 2 having a plurality of parity groups. In addition, the host device 4 uses the LUN to specify the priority. For example, when the first bit of the LBA is 1, the priority is indicated to a part of the LBA, such as setting the priority higher. Information may be added.

【0122】また、情報記録装置1内では、2種類の優
先度が設定されていたが、3種類以上の優先度を設定
し、かつその優先度に応じたキューを3種類以上設けて
もよい。この場合であって、しかも第1のデータの再構
築処理が実行される場合に、制御部33が作成する当該
再構築処理に関連する要求が、非リアルタイム処理に関
連する要求の優先度よりも低い優先度であるとしてキュ
ーイングされることにより、当該非リアルタイム処理に
影響を与えることなく当該再構築処理を行うことができ
るようになる。また、第2のデータの再構築処理が実行
される場合に、制御部33が作成する当該再構築処理に
関連する要求が、リアルタイム処理に関連して作成され
る要求の優先度よりも高い優先度であるとしてキューイ
ングされることにより、当該再構築処理がリアルタイム
処理に全く影響を受けなくなり、当該再構築処理の完了
時間をより厳密に保証することができるようになる。
In the information recording apparatus 1, two types of priorities are set. However, three or more types of priorities may be set, and three or more types of queues corresponding to the priorities may be provided. . In this case, when the reconstructing process of the first data is performed, the request related to the reconstructing process created by the control unit 33 has a higher priority than the request related to the non-real-time process. By being queued as having a low priority, the reconstruction process can be performed without affecting the non-real-time process. Further, when the rebuilding process of the second data is performed, a request related to the rebuilding process created by the control unit 33 has a higher priority than a request created in connection with the real-time process. By being queued as a degree, the reconstruction process is not affected by the real-time process at all, and the completion time of the reconstruction process can be more strictly guaranteed.

【0123】ホスト装置4は、常にリアルタイム処理を
要求するか、常に非リアルタイム処理を要求する場合に
は、アクセス要求内に優先度を示す情報を含ませる必要
はないので、要求ランク判別部32も必要なくなる。ま
た、第1の再構築処理と第2の再構築処理とは独立する
2つの処理のように述べたが、2つの処理は同時に実行
されることにより、再構築処理の完了時間を保証しつ
つ、より効率的に再構築処理が実行されるようになる。
When always requesting real-time processing or always requesting non-real-time processing, the host device 4 does not need to include information indicating the priority in the access request. No longer needed. In addition, the first and second reconstruction processes are described as two independent processes. However, the two processes are executed at the same time to guarantee the completion time of the reconstruction process. Thus, the reconstruction process is executed more efficiently.

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

【図1】本発明の一実施形態に係る情報記録装置1の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an information recording device 1 according to an embodiment of the present invention.

【図2】図1に示すホスト装置4が送信するSCSIメ
ッセージであるIdentify及びSimple Q
ueue Tagのフォーマットを示す図である。
2 is a diagram showing a SCSI message transmitted by the host device 4 shown in FIG. 1 as Identify and Simple Q
It is a figure showing the format of ueue Tag.

【図3】図1に示すホスト装置4が送信するSCSIコ
マンドであるRead10及びWrite10のフォー
マットを示す図である。
FIG. 3 is a diagram showing a format of a Read 10 and a Write 10 which are SCSI commands transmitted by the host device 4 shown in FIG.

【図4】図1に示すホストインタフェイス部31が生成
する処理要求をフォーマットを示す図である。
FIG. 4 is a view showing a format of a processing request generated by a host interface unit 31 shown in FIG. 1;

【図5】ホスト装置4がパリティグループ「A」内の非
リアルタイムデータ又はリアルタイムデータの読出しを
要求した場合の、情報記録装置1におけるの処理の手順
を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure in the information recording device 1 when the host device 4 requests reading of non-real-time data or real-time data in the parity group “A”.

【図6】図1に示す制御部33が作成する読出し要求又
は書込み要求のフォーマットを示す図である。
FIG. 6 is a diagram showing a format of a read request or a write request created by a control unit 33 shown in FIG.

【図7】図5に示すステップS59を詳細な処理手順を
示すフローチャートである。
FIG. 7 is a flowchart showing a detailed processing procedure of step S59 shown in FIG. 5;

【図8】ホスト装置4がパリティグループ「A」内の非
リアルタイムデータ又はリアルタイムデータの書込みを
要求した場合の、情報記録装置1における処理の手順を
示すフローチャートである。
FIG. 8 is a flowchart showing a processing procedure in the information recording device 1 when the host device 4 requests writing of non-real-time data or real-time data in the parity group “A”.

【図9】図1に示すテーブル格納部311に格納されて
いる第1〜第5のディスク管理テーブル3111〜31
15を示す図である。
FIG. 9 shows first to fifth disk management tables 3111 to 31 stored in the table storage unit 311 shown in FIG.
FIG.

【図10】図9に示す各ディスク管理テーブル3111
〜3115に設定されるステータスを示す図である。
FIG. 10 shows each disk management table 3111 shown in FIG. 9;
It is a figure which shows the status set to ~ 3115.

【図11】情報記録装置1が実行する第1のデータの再
構築処理の全体的な手順を示すフローチャートである。
FIG. 11 is a flowchart showing an overall procedure of a first data rebuilding process executed by the information recording apparatus 1;

【図12】図11に示すステップS114の詳細な処理
手順を示すフローチャートである。
FIG. 12 is a flowchart showing a detailed processing procedure of step S114 shown in FIG. 11;

【図13】情報記録装置1が実行する第2のデータの再
構築処理の全体的な手順を示すフローチャートである。
FIG. 13 is a flowchart showing an overall procedure of a second data restructuring process executed by the information recording apparatus 1.

【図14】図13に示すステップS114を詳細な処理
手順を示すフローチャートである。
FIG. 14 is a flowchart showing a detailed processing procedure of step S114 shown in FIG.

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

1…情報記録装置 2…ディスクアレイ 3…アレイコントローラ 33…制御部 341〜345…第1〜第5の非優先キュー 351〜355…第1〜第5の優先キュー 36…要求キュー 37…要求選定部 39…パリティ演算部 4…ホスト装置 DESCRIPTION OF SYMBOLS 1 ... Information recording device 2 ... Disk array 3 ... Array controller 33 ... Control part 341-345 ... 1st-5th non-priority queue 351-355 ... 1st-5th priority queue 36 ... Request queue 37 ... Request selection Unit 39: parity operation unit 4: host device

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 冗長化されたデータを記録する記録媒体
からなる冗長アレイと、ホスト装置から送信されてくる
アクセス要求に従って当該冗長アレイを制御するアレイ
コントローラを含む情報記録装置に用いられるデータ入
出力方法であって、 前記アレイコントローラが、入力されたアクセス要求に
基づいて、所定の優先度を有する前記冗長アレイに対す
る読出し要求又は書込み要求を作成し、 前記アレイコントローラが、作成された読出し要求又は
書込み要求を、内部に有するキューに、前記所定の優先
度に従ってキューイングし、 前記アレイコントローラが、前記所定の優先度に従っ
て、前記キューにキューイングされている読出し要求又
は書込み要求の中から、前記冗長アレイが処理すべきも
のを選定し、 前記冗長アレイが、前記アレイコントローラによって選
定された読出し要求又は書込み要求を処理する、データ
入出力方法。
1. A data input / output device for use in an information recording device including a redundant array comprising a recording medium for recording redundant data and an array controller for controlling the redundant array in accordance with an access request transmitted from a host device. The method, wherein the array controller creates a read request or a write request for the redundant array having a predetermined priority based on the input access request, wherein the array controller creates the created read request or write. Queuing a request in a queue therein, according to the predetermined priority, and the array controller selects, from the read request or the write request queued in the queue according to the predetermined priority, the redundant request. The array selects what to process, and the redundant array Processing the read request or write request that is selected by Lee controller, the data input-output method.
【請求項2】 前記アレイコントローラが、前記優先度
に対応したキューを内部に含んでおり、 前記作成された読出し要求又は書込み要求は、前記所定
の優先度に対応するキューにキューイングされることを
特徴とする、請求項1に記載のデータ入出力方法。
2. The array controller includes therein a queue corresponding to the priority, and the created read request or write request is queued in a queue corresponding to the predetermined priority. The data input / output method according to claim 1, wherein:
【請求項3】 前記アレイコントローラが、前記記録媒
体毎に前記所定の優先度に対応するキューを内部に含ん
でおり、 前記アレイコントローラが、入力されたアクセス要求に
基づいて、所定の優先度を有する、記録媒体毎に対する
読出し要求又は書込み要求を作成し、 前記アレイコントローラが、前記記録媒体毎に作成され
た読出し要求又は書込み要求を、前記所定の優先度に従
って、対応する記録媒体のキューにキューイングするこ
とを特徴とする、請求項1に記載のデータ入出力方法。
3. The array controller includes therein a queue corresponding to the predetermined priority for each recording medium, and the array controller determines a predetermined priority based on an input access request. Creating a read request or a write request for each recording medium, wherein the array controller queues the read request or the write request created for each recording medium in a queue of the corresponding recording medium in accordance with the predetermined priority. 2. The data input / output method according to claim 1, wherein the data input / output is performed.
【請求項4】 前記所定の優先度が、前記冗長アレイに
おける処理のリアルタイム性に基づいて設定されている
ことを特徴とする、請求項1に記載のデータ入出力方
法。
4. The data input / output method according to claim 1, wherein said predetermined priority is set based on real-time processing of processing in said redundant array.
【請求項5】 前記ホスト装置との間の入出力インタフ
ェイスがSCSIに準拠している場合において、 前記所定の優先度は、前記アクセス要求のLUN又はL
BAのフィールドに予め設定されていることを特徴とす
る、請求項1に記載のデータ入出力方法。
5. When the input / output interface with the host device conforms to SCSI, the predetermined priority is set to LUN or L of the access request.
2. The data input / output method according to claim 1, wherein the data is set in advance in a BA field.
【請求項6】 冗長化されたデータを記録する記録媒体
からなる冗長アレイを含んでおり、ホスト装置から送信
されてくるアクセス要求に従って当該冗長アレイを制御
するような情報記録装置であって、 前記所定の優先度に従って、前記キューにキューイング
されている読出し要求又は書込み要求の中から、前記冗
長アレイが処理すべきものを選定する選定部とを備え、 前記冗長アレイは、前記選定部が選定した読出し要求又
は書込み要求を処理することを特徴とする、情報記録装
置。
6. An information recording apparatus which includes a redundant array formed of a recording medium for recording redundant data, and controls the redundant array in accordance with an access request transmitted from a host device. A selecting unit for selecting, from a read request or a write request queued in the queue, to be processed by the redundant array according to a predetermined priority, wherein the redundant array is selected by the selecting unit. An information recording device for processing a read request or a write request.
【請求項7】 前記要求キューが、前記優先度に対応し
たキューを内部に含んでおり、 前記制御部が作成した読出し要求又は書込み要求は、前
記所定の優先度に対応するキューにキューイングされる
ことを特徴とする、請求項に記載のデータ入出力方
法。
7. The request queue includes therein a queue corresponding to the priority, and a read request or a write request created by the control unit is queued in a queue corresponding to the predetermined priority. 7. The data input / output method according to claim 6 , wherein:
【請求項8】 前記要求キューが、前記記録媒体毎に前
記所定の優先度に対応するキューを内部に含んでおり、 前記制御部は、入力されたアクセス要求に基づいて、所
定の優先度を有する、記録媒体毎に対する読出し要求又
は書込み要求を作成し、 前記制御部により前記記録媒体毎に作成された読出し要
求又は書込み要求は、前記所定の優先度に従って、対応
する記録媒体のキューにキューイングされることを特徴
とする、請求項6に記載のデータ入出力方法。
8. The request queue includes a queue corresponding to the predetermined priority for each of the recording media, and the control unit determines a predetermined priority based on an input access request. Creating a read request or a write request for each recording medium, wherein the read request or the write request created for each recording medium by the control unit is queued in a queue of the corresponding recording medium according to the predetermined priority. 7. The data input / output method according to claim 6, wherein the data input / output is performed.
【請求項9】 冗長化されたデータを記録する記録媒体
からなる冗長アレイと、ホスト装置から送信されてくる
アクセス要求に従って当該冗長アレイを制御するアレイ
コントローラを含む情報記録装置において、当該冗長ア
レイにおいて故障した記録媒体である故障記録媒体に記
録されたデータを再現して再構築するためのデータの再
構築方法であって、 前記アレイコントローラが、所定の優先度を有する、デ
ータの再構築処理に必要となる冗長アレイに対する読出
し要求又は書込み要求を作成し、 前記アレイコントローラが、前記作成された読出し要求
又は書込み要求を、内部に有するキューに、所定の優先
度に従ってキューイングし、 前記アレイコントローラが、前記所定の優先度に従っ
て、キューにキューイングされているものの中から、前
記作成された読出し要求又は書込み要求を選定し、 前記冗長アレイが、前記選定された読出し要求又は書込
み要求を処理し、 前記アレイコントローラが、前記読出し要求又は書込み
要求が冗長アレイによって処理された結果に基づいてデ
ータの再構築処理を実行する、データの再構築方法。
9. An information recording apparatus comprising: a redundant array comprising a recording medium for recording redundant data; and an array controller for controlling the redundant array in accordance with an access request transmitted from a host device. A data reconstruction method for reproducing and reconstructing data recorded on a failed recording medium that is a failed recording medium, wherein the array controller has a predetermined priority. A read request or a write request for a necessary redundant array is created, and the array controller queues the created read request or write request in a queue therein, according to a predetermined priority. Among the queued queues according to the predetermined priority Selecting the created read request or write request, the redundant array processes the selected read request or write request, and the array controller causes the read request or write request to be processed by the redundant array. A data restructuring method for executing a data restructuring process based on the result obtained.
【請求項10】 前記アレイコントローラが、前記記録
媒体毎に前記所定の優先度に対応するキューを内部に含
んでおり、 前記アレイコントローラが、データの再構築処理に必要
となりかつ所定の優先度を有する記録媒体毎に対する読
出し要求又は書込み要求を作成し、 前記アレイコントローラが、前記記録媒体毎に作成され
た読出し要求又は書込み要求を、前記所定の優先度に従
って、対応する記録媒体のキューにキューイングするこ
とを特徴とする、請求項9に記載のデータ入出力方法。
10. The array controller includes therein a queue corresponding to the predetermined priority for each of the recording media, and the array controller is required for data reconstructing processing and determines a predetermined priority. Creating a read request or a write request for each of the recording media, and queuing the read request or the write request created for each of the recording media in a queue of a corresponding recording medium according to the predetermined priority. 10. The data input / output method according to claim 9, wherein
【請求項11】 前記アレイコントローラにより作成さ
れた読出し要求及び書込み要求には、前記冗長アレイに
おいて非優先的に処理されるような優先度が付されるこ
とを特徴とする、請求項に記載のデータの再構築方
法。
The 11. read and write requests created by the array controller, wherein the non-preferential processing priority as in the redundant array is subjected, according to claim 9 How to rebuild data.
【請求項12】 前記アレイコントローラにより作成さ
れた読出し要求及び書込み要求には、前記冗長アレイに
おいて優先的に処理されるような優先度が付されること
を特徴とする、請求項に記載のデータの再構築方法。
The 12. read and write requests created by the array controller, wherein the priority, as preferential treatment in the redundant array is subjected, according to claim 9 How to reconstruct the data.
【請求項13】 冗長化されたデータを記録する記録媒
体からなる冗長アレイと、ホスト装置から送信されてく
るアクセス要求に従って当該冗長アレイを制御するアレ
イコントローラとを含み、さらに当該冗長アレイにおい
て故障した記録媒体である故障記録媒体に記録されたデ
ータを再現し、スペアの記録媒体に再構築する情報記録
装置において用いられるデータ入出力方法であって、 前記スペアの記録媒体に再構築されるべきデータに対す
るアクセス要求が前記ホスト装置から前記情報記録装置
に送信された場合において、 前記アレイコントローラが、前記故障記録媒体に記録さ
れていたデータを再現するために必要となる再現用デー
タを前記冗長アレイから読み出し、 前記アレイコントローラが、前記冗長アレイから読み出
された再現用データを用いて所定の演算を行って、前記
故障記録媒体に記録されていたデータを再現し、 前記アレイコントローラが、前記再現されたデータを前
記スペアの記録媒体に書き込むために所定の優先度が付
された書込み要求を作成し、 前記アレイコントローラが、前記作成された書込み要求
を、内部に有するキューに、前記所定の優先度に従って
キューイングし、 前記アレイコントローラが、前記所定の優先度に従いつ
つ、前記作成された書込み要求を、前記冗長アレイが処
理すべきものとして、前記キューから選定し、 前記冗長アレイが、前記アレイコントローラによって選
定された書込み要求を処理して、前記再現されたデータ
を前記スペアの記録媒体に書き込み、 前記書込み要求には、相対的に低い優先度が付されるこ
とを特徴とする、データ入出力方法。
13. A redundant array comprising a recording medium for recording redundant data, and an array controller for controlling the redundant array in accordance with an access request transmitted from a host device, and further comprising a failure in the redundant array. A data input / output method used in an information recording apparatus that reproduces data recorded on a failure recording medium that is a recording medium and reconstructs the spare recording medium, wherein the data to be reconstructed on the spare recording medium is provided. When an access request to the information recording device is transmitted from the host device to the information recording device, the array controller transmits, from the redundant array, reproduction data necessary for reproducing data recorded on the failure recording medium. Reading the array controller to reproduce the read from the redundant array A predetermined operation is performed using the data for reproduction to reproduce the data recorded on the failure recording medium, and the array controller has a predetermined priority for writing the reproduced data on the spare recording medium. The array controller queues the created write request in a queue having the same according to the predetermined priority, and the array controller according to the predetermined priority. While selecting the created write request from the queue as the one to be processed by the redundant array, the redundant array processes the write request selected by the array controller, and processes the reproduced data. Writing to the spare recording medium, wherein the write request is given a relatively low priority. That, data input and output method.
JP10345294A 1998-12-04 1998-12-04 Data input / output method and reconstruction method in information recording device Withdrawn JP2000172570A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP10345294A JP2000172570A (en) 1998-12-04 1998-12-04 Data input / output method and reconstruction method in information recording device
US09/453,216 US6799283B1 (en) 1998-12-04 1999-12-03 Disk array device
US10/824,405 US20040190183A1 (en) 1998-12-04 2004-04-15 Disk array device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10345294A JP2000172570A (en) 1998-12-04 1998-12-04 Data input / output method and reconstruction method in information recording device

Publications (2)

Publication Number Publication Date
JP2000172570A true JP2000172570A (en) 2000-06-23
JP2000172570A5 JP2000172570A5 (en) 2005-12-22

Family

ID=18375623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10345294A Withdrawn JP2000172570A (en) 1998-12-04 1998-12-04 Data input / output method and reconstruction method in information recording device

Country Status (1)

Country Link
JP (1) JP2000172570A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839817B2 (en) 2002-04-24 2005-01-04 International Business Machines Corporation Priority management of a disk array
US7647455B2 (en) 2004-04-15 2010-01-12 Sony Corporation Information processing apparatus and method, program, and program recording medium
JP2011086160A (en) * 2009-10-16 2011-04-28 Fujitsu Ltd Storage device, control device and control method of storage device
JP2012524925A (en) * 2009-04-21 2012-10-18 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method and computer program for controlling a solid disk

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839817B2 (en) 2002-04-24 2005-01-04 International Business Machines Corporation Priority management of a disk array
US7647455B2 (en) 2004-04-15 2010-01-12 Sony Corporation Information processing apparatus and method, program, and program recording medium
JP2012524925A (en) * 2009-04-21 2012-10-18 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method and computer program for controlling a solid disk
US8775864B2 (en) 2009-04-21 2014-07-08 International Business Machines Corporation Controlling a solid state disk (SSD) device
US8793530B2 (en) 2009-04-21 2014-07-29 International Business Machines Corporation Controlling a solid state disk (SSD) device
JP2011086160A (en) * 2009-10-16 2011-04-28 Fujitsu Ltd Storage device, control device and control method of storage device
US8453009B2 (en) 2009-10-16 2013-05-28 Fujitsu Limited Storage apparatus and control method for storage apparatus

Similar Documents

Publication Publication Date Title
JP2501752B2 (en) Storage device of computer system and method of storing data
US6799283B1 (en) Disk array device
US7574623B1 (en) Method and system for rapidly recovering data from a “sick” disk in a RAID disk group
US7979635B2 (en) Apparatus and method to allocate resources in a data storage library
JP4922496B2 (en) Method for prioritizing I/O requests
US8234467B2 (en) Storage management device, storage system control device, storage medium storing storage management program, and storage system
US6859888B2 (en) Data storage array apparatus storing error information without delay in data access, and method, program recording medium, and program for the same
US5088081A (en) Method and apparatus for improved disk access
JP2006146833A (en) Consistency check support method for disk device and consistency check method for disk array device
JP2017091456A (en) Control device, control program, and control method
JP2006139478A (en) Disk array system
JP2005309818A (en) Storage device, data reading method thereof, and data reading program thereof
US20060236149A1 (en) System and method for rebuilding a storage disk
CN100407123C (en) Data storage device, reconfiguration control device, reconfiguration control method
JP2005182104A (en) Disk array system and interface conversion device
JPH09269871A (en) Data re-redundancy method in disk array device
CN106610788B (en) Hard disk array control method and device
JP4933722B2 (en) Disk control device, disk patrol method, and disk patrol program
JP2006079219A (en) Disk array control device and disk array control method
JP2000172570A (en) Data input / output method and reconstruction method in information recording device
US20140068324A1 (en) Asynchronous raid stripe writesto enable response to media errors
JP2004185477A (en) Optical storage medium array device and data transfer method
JP2017055153A (en) Receiver, reception control method and reception control program
JP5729043B2 (en) Storage device and control device
JP5640618B2 (en) Management program, management apparatus, and management method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051104

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051104

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060719