JP2001100926A - Method of controlling disk array device - Google Patents

Method of controlling disk array device

Info

Publication number
JP2001100926A
JP2001100926A JP2000266365A JP2000266365A JP2001100926A JP 2001100926 A JP2001100926 A JP 2001100926A JP 2000266365 A JP2000266365 A JP 2000266365A JP 2000266365 A JP2000266365 A JP 2000266365A JP 2001100926 A JP2001100926 A JP 2001100926A
Authority
JP
Japan
Prior art keywords
data
area
disk
writing
storage data
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.)
Granted
Application number
JP2000266365A
Other languages
Japanese (ja)
Other versions
JP3597766B2 (en
Inventor
Koichi Tanaka
幸一 田中
Kenji Muraoka
健司 村岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000266365A priority Critical patent/JP3597766B2/en
Publication of JP2001100926A publication Critical patent/JP2001100926A/en
Application granted granted Critical
Publication of JP3597766B2 publication Critical patent/JP3597766B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a disk array device which prevents a decrease in performance in writing processing (write penalty) without increasing the cost. SOLUTION: An area on a disk drive 111 for writing stored data is divided into a temporary area for temporarily writing the stored data and a stored data area for finally writing the stored data. A microprocessor 105 writes external stored data to the temporary area temporarily without generating any redundant data and gives notice of writing completion to the outside after the writing to the temporary area is completed. After the writing completion is reported, a redundant information generating circuit 110 generates redundant data according to the stored data in the temporary area and a microprocessor 105 stores the redundant data in a redundant data area and writes the stored data to the stored data area.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、いわゆるRAID(R
edundant Array of Inexpen
sive Disks)と呼ばれるディスクアレイ装置
に係わり、ディスク装置のアクセス処理性能、特に、デ
ータ書き込み処理の高速化に関する。
The present invention relates to a so-called RAID (R)
edundant Array of Inexpen
The present invention relates to a disk array device referred to as an “active disk”, and relates to an access processing performance of the disk device, particularly to a high-speed data write process.

【0002】[0002]

【従来の技術】コンピュータを構成する要素のうち、駆
動機構を有するハードディスク装置(ディスク装置また
はドライブとも呼ばれる)は、他の電子部品に比べ故障
率が高く、また、データを書き込む手段として用いられ
るため、その故障が与える影響は、大きい。そのため、
信頼性の向上が要望されていた。そのような要望に応え
るものとして、特開平2−236714号公報に記載さ
れているものがある。これは、複数のディスク装置を有
し、書き込むべき格納データの書き込み時には、格納デ
ータの書き込みに加えて、冗長データを生成し、書き込
む。
2. Description of the Related Art Among components constituting a computer, a hard disk drive having a drive mechanism (also called a disk drive or a drive) has a higher failure rate than other electronic components and is used as a means for writing data. The effect of the failure is great. for that reason,
There has been a demand for improved reliability. Japanese Patent Application Laid-Open No. 2-236714 discloses a device that meets such a demand. It has a plurality of disk devices and generates and writes redundant data in addition to writing stored data when writing stored data to be written.

【0003】冗長データは、1台のディスク装置が故障
して、そのディスク装置上の格納データが読めなくなっ
たときに、他の故障していないディスク装置上の格納デ
ータと冗長データとから読めなくなったデータが再現で
きるように生成される。生成された冗長データは、当該
冗長データを生成するのに使われた格納データを格納し
ているディスク装置とは異なる、別のディスク装置へ書
き込まれる。
When one disk device fails and the data stored on the disk device becomes unreadable, the redundant data becomes unreadable from the stored data and the redundant data on another non-failed disk device. Is generated so that the data can be reproduced. The generated redundant data is written to another disk device different from the disk device storing the storage data used to generate the redundant data.

【0004】このように構成された、複数のディスク装
置からなるものは、ディスクアレイ装置、もしくは、R
AIDと呼ばれる。これによれば、アレイを構成する任
意のディスク装置が故障しても、他のディスク装置の格
納データと前記冗長データから該障害ディスク装置上の
格納データを修復でき、ハードディスク装置のデータ保
全性の向上が図れる。
[0004] A device composed of a plurality of disk devices configured as described above is a disk array device or an R disk device.
It is called AID. According to this, even if any disk device constituting the array fails, the stored data on the failed disk device can be restored from the stored data of the other disk device and the redundant data, and the data integrity of the hard disk device can be restored. Improvement can be achieved.

【0005】[0005]

【発明が解決しようとする課題】RAIDは、データ保
全性が向上する半面、格納データの書き込みには、常に
上記冗長データの生成と書き込みとを伴い、そのために
書き込み処理時間が増大し、書き込み完了の報告を外部
にするのが遅れて、性能が低下してしまうという問題点
が指摘されていた。
On the other hand, in RAID, although data integrity is improved, writing of stored data always involves generation and writing of the above-mentioned redundant data, which increases the writing processing time and completes the writing. It has been pointed out that there is a problem that the report is delayed to the outside and the performance is reduced.

【0006】そのため、ディスク装置への書き込みが少
ない(読み込み処理が多くの割合を占める)システムに
おいてしか、事実上向かないものであった。
[0006] Therefore, it is practically unsuitable only in a system in which writing to the disk device is small (read processing accounts for a large proportion).

【0007】この対策として、ディスク制御装置内にキ
ャッシュメモリを用意し、キャッシュメモリへの書き込
みが完了すると、ただちにホストコンピュータに書き込
み完了を報告し、その後、冗長データを生成し、格納デ
ータと冗長データをディスク装置に書き込むシステムも
ある。
As a countermeasure, a cache memory is prepared in the disk control device, and when the writing to the cache memory is completed, the completion of the writing is immediately reported to the host computer, and then the redundant data is generated. There is also a system for writing the data to a disk device.

【0008】しかし、このシステムは、高価なキャッシ
ュメモリを用いるために、システムが高価になるという
問題がある。
However, this system has a problem that the system becomes expensive because an expensive cache memory is used.

【0009】本発明の目的は、コストを上昇させること
なく、上記書き込み処理時の性能低下(ライトペナルテ
ィ)を防いだディスクアレイ装置を提供することにあ
る。
It is an object of the present invention to provide a disk array device which prevents a decrease in performance (write penalty) during the above-mentioned write processing without increasing the cost.

【0010】本発明の他の目的は、上記の目的に加え
て、RAIDの特徴であるデータの保全性も維持できる
ディスクアレイ装置を提供することにある。
Another object of the present invention is to provide, in addition to the above objects, a disk array device capable of maintaining data integrity which is a feature of RAID.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、複数のディスク装置を備え、当該複数のディスク装
置のうち少なくとも1つは、他のディスク装置に書き込
まれた格納データを読み出すことができないときに、読
み出すことができない当該データを再現するための冗長
データを書き込む冗長データ領域を有するディスクアレ
イ装置において、上記ディスク装置のうちの少なくとも
1つは、上記格納すべき格納データを書き込む領域が、
当該格納データを一時的に書き込むためのテンポラリ領
域と、当該テンポラリ領域に書き込まれた当該格納デー
タを最終的に書き込むための格納データ領域とに分割さ
れており、外部から受付けた、上記ディスク装置に書き
込むべき格納データは、冗長データを作成することな
く、一旦、上記テンポラリ領域に書き込み、当該テンポ
ラリ領域への書き込みが完了した時点で、外部へ書き込
み完了を報告するテンポラリ領域書き込み手段と、上記
書き込み完了の報告後、テンポラリ領域上の上記格納デ
ータに基づいて、冗長データを生成する生成手段と、当
該冗長データを上記冗長データ領域に格納し、当該格納
データを上記格納データ領域に書き込むデータ領域書き
込み手段とを有することとしたものである。
In order to achieve the above object, a plurality of disk devices are provided, and at least one of the plurality of disk devices can read stored data written to another disk device. In a disk array device having a redundant data area for writing redundant data that cannot be read when the data cannot be read, at least one of the disk devices has an area for writing the storage data to be stored. ,
The storage device is divided into a temporary area for temporarily writing the storage data and a storage data area for finally writing the storage data written in the temporary area. The storage data to be written is temporarily written to the temporary area without creating redundant data, and when the writing to the temporary area is completed, a temporary area writing means for reporting the completion of writing to the outside; Generating a redundant data based on the stored data on the temporary area after the report, and a data area writing means for storing the redundant data in the redundant data area and writing the stored data in the stored data area And

【0012】また、外部から格納すべき格納データを受
付けたときに、複数の上記ディスク装置を選択し、当該
格納データを書き込むテンポラリ領域を、当該ディスク
装置にあるテンポラリ領域とし、複数のテンポラリ領域
の各々に同一の格納データを多重に書き込む手段と、上
記テンポラリ領域から上記格納データを読み出す際に、
一方のディスク装置から上記格納データを読み出すこと
ができないときは、他方のディスク装置から読み出す手
段とを有することとしたものである。
When storage data to be stored is received from the outside, a plurality of the disk devices are selected, a temporary area in which the storage data is written is set as a temporary area in the disk device, and Means for writing the same storage data in a multiplex manner, and reading out the storage data from the temporary area,
When the stored data cannot be read from one of the disk devices, means for reading from the other disk device is provided.

【0013】また、外部から格納すべき格納データを受
付けたときに、当該格納データを書き込むテンポラリ領
域を、最終的に当該格納データを書き込むべき格納デー
タ領域を有するディスク装置とは異なるディスク装置に
あるテンポラリ領域から選択する手段を有することとし
たものである。
Further, when storage data to be stored is received from the outside, the temporary area in which the storage data is to be written is provided in a disk device different from the disk device having the storage data area in which the storage data is to be written finally. A means for selecting from a temporary area is provided.

【0014】[0014]

【作用】外部からの格納すべき格納データは、冗長デー
タを作成することなく一旦テンポラリ領域に書き込み、
この書き込みが完了した時点で外部(例えば、ホストコ
ンピュータ)へ書き込み完了を報告し、テンポラリ領域
上の格納データを、その後読み出して、冗長データを生
成し、格納データと、冗長データとをそれぞれのデータ
領域に書き込む。これにより、キャッシュメモリを用い
ずに、外部へのレスポンスが高速化される。
The stored data to be stored from the outside is temporarily written to a temporary area without creating redundant data,
When the writing is completed, the completion of the writing is reported to an external device (for example, a host computer), the stored data in the temporary area is read, and then the redundant data is generated. Write to area. This speeds up the response to the outside without using the cache memory.

【0015】また、複数のディスク装置上のテンポラリ
領域に2重書きをし、その後、同一格納データへの読み
込み要求を受けた場合、テンポラリ領域から該当格納デ
ータを読み込むこととすると、格納データの保全性が高
まる。
[0015] Further, if a double write is made in a temporary area on a plurality of disk devices and then a read request for the same storage data is received, the corresponding storage data is read from the temporary area. The nature increases.

【0016】このときに、テンポラリ領域からの読み出
しにおいて、2重書きしているディスク装置のうちで、
現在読み出し/書き込み動作を行っていないディスク装
置(このディスク装置はドライブビジーになっていない
と呼ばれる)を選択することにより、ドライブビジーに
よる遅延を回避し、高速に書き込み動作を行うことがで
きる。
At this time, in reading from the temporary area, of the disk devices that are double-written,
By selecting a disk device that is not currently performing a read / write operation (this disk device is not called drive-busy), a delay due to drive busy can be avoided and a high-speed write operation can be performed.

【0017】また、テンポラリ領域から格納データ領域
に格納データを書き込む際に、古い格納データとテンポ
ラリ領域にある新しい格納データと冗長データとを読み
だして、新たに冗長データを生成する必要がある。当該
格納データを書き込むテンポラリ領域を、最終的に当該
格納データを書き込むべき格納データ領域を有するディ
スク装置とは異なるディスク装置にあるテンポラリ領域
から選択すると、各ドライブを多重動作できることによ
り、テンポラリ領域から格納データ領域への書き込みが
高速化する。
When writing storage data from the temporary area to the storage data area, it is necessary to read out old storage data, new storage data and redundant data in the temporary area, and newly generate redundant data. When the temporary area in which the storage data is to be written is selected from a temporary area in a disk device different from the disk device having the storage data region to which the storage data is to be finally written, each drive can be multiplexed and stored in the temporary area. Speeds up writing to the data area.

【0018】このときに、選択するテンポラリ領域とし
て、現在読み出し/書き込み動作を行っていないディス
ク装置にあるものから選択することにより、ドライブビ
ジーによる遅延を回避し、高速に書き込み動作を行え
る。
At this time, by selecting a temporary area to be selected from a disk device that is not currently performing a read / write operation, a delay due to drive busy can be avoided and a high-speed write operation can be performed.

【0019】[0019]

【実施例】以下、本発明に係わるディスクアレイ装置の
一実施例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the disk array device according to the present invention will be described below.

【0020】図1は、本実施例に係わるディスクアレイ
装置の全体構成を示した図である。図中ディスクアレイ
装置101は、制御回路102、上位インタフェース回
路103、小型ディスクインタフェース回路104、磁
気ディスク装置111より構成される。また制御回路1
02は、マイクロプロセッサ105、プログラム用メモ
リ106、データバッファ107、冗長情報生成回路1
08、不揮発性メモリ109から構成されている。ま
た、不揮発性メモリ109は、テンポラリ領域管理テー
ブル110を有する。
FIG. 1 is a diagram showing an overall configuration of a disk array device according to the present embodiment. In the figure, a disk array device 101 includes a control circuit 102, an upper interface circuit 103, a small disk interface circuit 104, and a magnetic disk device 111. Control circuit 1
02 denotes a microprocessor 105, a program memory 106, a data buffer 107, and a redundant information generation circuit 1.
08 and a non-volatile memory 109. Further, the nonvolatile memory 109 has a temporary area management table 110.

【0021】図2は、ディスクアレイ装置内の磁気ディ
スク装置の構成を示した図である。ディスクアレイ装置
101内の全ての磁気ディスク装置111は、ユーザデ
ータを最終的に格納するデータ領域201と、ユーザデ
ータを一時的に書き込むテンポラリ領域202より構成
される。データ領域201とテンポラリ領域202のサ
イズは任意である。
FIG. 2 is a diagram showing a configuration of a magnetic disk device in the disk array device. All the magnetic disk devices 111 in the disk array device 101 are composed of a data area 201 for finally storing user data and a temporary area 202 for temporarily writing user data. The sizes of the data area 201 and the temporary area 202 are arbitrary.

【0022】図3は、本実施例に係わるソフトウエア構
成図である。これは、図1に示す、マイクロプロセッサ
105と、マイクロプロセッサ105が実行するマイク
ロプログラムが格納されているプログラム用メモリ10
6とにより実行される。ただし、バックグラウンドデー
タ書き込み処理304のうち冗長データの生成は、冗長
情報生成回路108が行う。スケジュラー301により
ディスクアレイ装置101全体が制御される。スケジュ
ラー301によりホストI/F制御部302、ホストコ
マンド実行部303、バックグランドデータ書き込み処
理部304は制御される。また、ホストコマンド実行部
303は、コマンド判定部305を通して、リードコマ
ンド処理306、ライトコマンド処理307、制御系コ
マンド処理308を利用することによりホストコマンド
を実行する。
FIG. 3 is a software configuration diagram according to the present embodiment. This is achieved by a microprocessor 105 and a program memory 10 storing a microprogram to be executed by the microprocessor 105 shown in FIG.
6 is performed. However, the generation of redundant data in the background data write processing 304 is performed by the redundant information generation circuit 108. The scheduler 301 controls the entire disk array device 101. The scheduler 301 controls the host I / F control unit 302, the host command execution unit 303, and the background data write processing unit 304. The host command execution unit 303 executes the host command by using the read command processing 306, the write command processing 307, and the control command processing 308 through the command determination unit 305.

【0023】図4は、本実施例に係わるテンポラリ領域
管理テーブル110の構成を示した図である。図中、本
管理テーブルは、上位装置指定情報401、制御部管理
情報402、テンポラリ領域管理情報403、およびテ
ンポラリ領域のうち使われているものと空いているもの
を確認するためのネクストポインタ404から構成され
ている。ネクストポインタ404には、2種類のチェイ
ンがあり、1つは、テンポラリ領域のうち使われている
ものを結んだチェインであり、もう1つは、空いている
ものを結んだチェインである。
FIG. 4 is a diagram showing the structure of the temporary area management table 110 according to this embodiment. In the figure, the management table includes upper device designation information 401, control unit management information 402, temporary area management information 403, and a next pointer 404 for confirming used and vacant temporary areas. It is configured. The next pointer 404 has two types of chains. One is a chain connecting the used temporary areas, and the other is a chain connecting the vacant areas.

【0024】上位装置指定情報401は、論理LBA
(LBA:Logical Block Addres
s)405、論理LEN(LEN:LENgth)40
6から構成される。制御部管理情報402は、物理ドラ
イブNo.407、物理LBA408、物理LEN40
9から構成される。テンポラリ領域管理情報403は、
テンポラリ領域として使用される物理ドライブNo.4
10、その磁気ディスク装置内の物理LBA411、お
よび物理LEN412から構成される。ネクストポイン
タ404を確認することによりテンポラリ領域の空きを
確認することが可能である。
The higher-level device designation information 401 includes a logical LBA
(LBA: Logical Block Addresses
s) 405, logical LEN (LEN: Length) 40
6 is comprised. The control unit management information 402 includes the physical drive No. 407, physical LBA 408, physical LEN 40
9 is comprised. The temporary area management information 403 includes
Physical drive No. used as a temporary area 4
10, a physical LBA 411 and a physical LEN 412 in the magnetic disk device. By checking the next pointer 404, it is possible to check the vacancy of the temporary area.

【0025】次に上位装置からライトコマンドを受取
り、テンポラリ領域に対して2重書きを行う各処理につ
いて図5,図7を用いて説明する。
Next, each processing for receiving a write command from a host device and performing double writing in a temporary area will be described with reference to FIGS.

【0026】上位装置501からライトデータ502を
受け取ると、制御部503は、まずライトデータ502
のブロック長を確認し(図7、701)、しきい値より
ブロック長が大きかった場合は、テンポラリ領域に格納
せずに、通常のライト処理(702)を実施する。つま
り上位装置501からのライトデータ502は、通常の
ライト領域508へ格納し、また、作成されたパリティ
データは、通常のパリティライト領域509へ書き込
む。ライトデータ502のサイズが大きいときは、ライ
トペナルティは小さいから直接、最終的な格納場所に格
納することとしたものである。
Upon receiving the write data 502 from the host device 501, the control unit 503 firstly writes the write data 502
(701 in FIG. 7), and when the block length is larger than the threshold value, the normal write processing (702) is performed without storing in the temporary area. In other words, the write data 502 from the host device 501 is stored in the normal write area 508, and the created parity data is written in the normal parity write area 509. When the size of the write data 502 is large, the write penalty is small, so that the data is directly stored in the final storage location.

【0027】しきい値よりブロック長が小さい場合は、
テンポラリ領域をネクストポインタ404(図4)を使
用して確保する(703)。確保する際には、実際にデ
ータを書く物理的な磁気ディスク装置と重ならないよう
に管理している。異なるディスク装置とすることによ
り、バックグラウンドで処理するときに、テンポラリ領
域にある新データと実際にデータを書く位置にある旧デ
ータとが異なるディスク装置であるために、並列に読み
だすことができ、冗長データを生成する処理が高速化す
る。さらに、テンポラリ領域を確保する際は、格納デー
タを書き込むテンポラリ領域を、現に読み出しもしくは
書き込み動作を行っていないディスク装置にあるテンポ
ラリ領域から選択するようにする。こうすることによ
り、ドライブビジーによる遅延を回避し、高速に書き込
み動作を行うことができる。
If the block length is smaller than the threshold,
A temporary area is secured using the next pointer 404 (FIG. 4) (703). At the time of securing, management is performed so as not to overlap with a physical magnetic disk device that actually writes data. By using different disk devices, when processing in the background, the new data in the temporary area and the old data at the position where data is actually written are different disk devices, so they can be read in parallel. Accordingly, the processing for generating redundant data is sped up. Further, when securing a temporary area, a temporary area in which storage data is to be written is selected from a temporary area in a disk device that is not currently performing a read or write operation. By doing so, a delay due to drive busy can be avoided, and a high-speed write operation can be performed.

【0028】もし、テンポラリ領域に空きが無く確保で
きなかった場合(704)には、通常のライト処理(7
02)を実施する。空きテンポラリ領域が確保できた場
合、テンポラリ領域511のうちの領域506/507
に対して2重書きを実施する。
If there is no free space in the temporary area (704), the normal write processing (7
02). If an empty temporary area can be secured, the area 506/507 of the temporary area 511
Is written twice.

【0029】次にテンポラリ領域に対して2重書きして
いるユーザデータを読み込み、パリティデータを生成
し、データ領域に書き込む処理について図6,図8を用
いて説明する。
Next, a process of reading user data that is double-written in the temporary area, generating parity data, and writing the data in the data area will be described with reference to FIGS.

【0030】制御部603は、バックグランド処理で、
まずテンポラリ領域管理テーブル611よりすでに2重
書きされているユーザデータが格納されている領域60
5/606のアドレスを確保し(図8、801)、今現
在リードおよびライト処理を行っていない方のテンポラ
リ領域から、データをリードする(802)。つまり、
2重書きされているユーザデータが格納されている領域
605/606のうち、例えばデータが格納されている
領域606が格納されている磁気ディスク装置がリード
処理で使用されている場合、別のデータが格納されてい
る領域605をリードすることになる。こうすることに
より、ドライブビジーによる遅延を回避し、高速に読み
出し動作を行うことができる。
The control unit 603 performs background processing,
First, from the temporary area management table 611, the area 60 in which the user data already double-written is stored.
An address of 5/606 is secured (801 in FIG. 8), and data is read from the temporary area on which read and write processing is not currently performed (802). That is,
When the magnetic disk device storing the area 606 storing the data among the areas 605/606 storing the double-written user data is used in the read processing, another data is stored. Is read from the area 605 in which is stored. By doing so, a delay due to drive busy can be avoided, and a high-speed read operation can be performed.

【0031】磁気ディスク装置の障害により1つのテン
ポラリ領域からデータがリードできなかった場合(80
3)には、2重書きしている別のテンポラリ領域からデ
ータをリードする(804)。このように、2重書きし
ていることにより、ディスク装置が故障してもデータを
保持することができ、データの保全性が高まる。
When data cannot be read from one temporary area due to a failure of the magnetic disk drive (80
In 3), data is read from another double-written temporary area (804). As described above, due to the double writing, data can be retained even if the disk device fails, and data integrity is improved.

【0032】テンポラリ領域から読み出されたデータ
と、変更する必要のあるパリティデータ608により、
冗長情報生成回路604で新しいパリティデータを生成
し(805)、データは、607へ、パリティデータ
は、608へ書き込まれる(806)。データ領域へ格
納データを書き込む場合に、上記格納データ領域を有す
るディスク装置で書き込みエラーが発生したときは、当
該ディスク装置を自動的に切り離し、このディスク装置
への書き込みは以後行わないこととする。
According to the data read from the temporary area and the parity data 608 that needs to be changed,
New parity data is generated by the redundant information generation circuit 604 (805), and the data is written to 607 and the parity data is written to 608 (806). When writing storage data to the data area, if a write error occurs in a disk device having the storage data area, the disk device is automatically disconnected, and writing to the disk device is not performed thereafter.

【0033】尚、以上の実施例においては、記憶媒体と
して磁気ディスク装置を用いたディスクアレイ装置の例
を示したが、他の記録媒体、たとえば、光ディスクを用
いた場合でも同様に実現できる。
In the above embodiment, an example of a disk array device using a magnetic disk device as a storage medium has been described. However, the present invention can be similarly realized using another recording medium, for example, an optical disk.

【0034】[0034]

【発明の効果】本発明によれば、いわゆるRAID4,
5におけるライトペナルティによる書き込み処理性能の
低下を防ぐことができるようになり、ディスク装置への
書き込みが少ない(読み込み処理が多くの割合を占め
る)システムであるかどうかによらず、RAID利用に
よるシステムの性能向上を図ることが可能となる。
According to the present invention, the so-called RAID 4,
5 can be prevented from deteriorating the write processing performance due to the write penalty, and regardless of whether or not the system writes less to the disk device (read processing occupies a large percentage), the system using RAID can be used. Performance can be improved.

【0035】また、従来のOS(Unix等)と同じイ
ンタフェースをとることができ、アプリケーションに対
して、テンポラリ領域を意識させないので、既存のアプ
リケーションを活用することが可能であると言う効果が
ある。
Further, since the same interface as that of the conventional OS (Unix or the like) can be used and the application is not made aware of the temporary area, there is an effect that the existing application can be used.

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

【図1】本発明の一実施例に係わるディスクアレイ装置
のブロック図。
FIG. 1 is a block diagram of a disk array device according to an embodiment of the present invention.

【図2】本発明の一実施例に係わる磁気ディスク装置内
の格納領域の説明図。
FIG. 2 is an explanatory diagram of a storage area in a magnetic disk device according to one embodiment of the present invention.

【図3】本発明の一実施例に係わるソフトウエア構成
図。
FIG. 3 is a software configuration diagram according to an embodiment of the present invention.

【図4】本発明の一実施例に係わるテンポラリ領域管理
テーブルの説明図。
FIG. 4 is an explanatory diagram of a temporary area management table according to an embodiment of the present invention.

【図5】本発明の一実施例に係わる書き込み動作の説明
図。
FIG. 5 is an explanatory diagram of a write operation according to one embodiment of the present invention.

【図6】本発明の一実施例に係わるバックグランド時の
書き込み動作の説明図。
FIG. 6 is an explanatory diagram of a write operation in the background according to one embodiment of the present invention.

【図7】本発明の一実施例に係わるテンポラリ領域への
データ書き込み処理のフロー図。
FIG. 7 is a flowchart of a process of writing data to a temporary area according to an embodiment of the present invention.

【図8】本発明の一実施例に係わるテンポラリ領域から
データ領域へのデータ書き込み処理のフロー図。
FIG. 8 is a flowchart of a process of writing data from a temporary area to a data area according to an embodiment of the present invention.

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

101 ディスクアレイ装置 102 制御回路 103 上位インタフェース回路 104 小型ディスクインタフェース回路 105 マイクロプロセッサ 106 プログラム用メモリ 107 データバッファ 108 冗長情報生成回路 109 不揮発性メモリ 110 テンポラリ領域管理テーブル 111 磁気ディスク装置 201 データ領域 202 テンポラリ領域 301 スケジュラー 302 ホストI/F制御部 303 上位装置コマンド実行部 304 バックグランドデータ書き込み処理 305 コマンド判定部 306 リードコマンド処理 307 ライトコマンド処理 308 制御系コマンド処理 101 Disk Array Device 102 Control Circuit 103 Upper Interface Circuit 104 Small Disk Interface Circuit 105 Microprocessor 106 Program Memory 107 Data Buffer 108 Redundancy Information Generating Circuit 109 Nonvolatile Memory 110 Temporary Area Management Table 111 Magnetic Disk Device 201 Data Area 202 Temporary Area 301 scheduler 302 host I / F control unit 303 host device command execution unit 304 background data writing processing 305 command determination unit 306 read command processing 307 write command processing 308 control command processing

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成12年9月5日(2000.9.5)[Submission date] September 5, 2000 (2009.5)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の名称[Correction target item name] Name of invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【発明の名称】 ディスクアレイ装置の制御方法Patent application title: Method of controlling a disk array device

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】複数のディスク装置を備え、当該複数のデ
ィスク装置のうち少なくとも1つは、他のディスク装置
に書き込まれた格納データを読み出すことができないと
きに、読み出すことができない当該データを再現するた
めの冗長データを書き込む冗長データ領域を有するディ
スクアレイ装置において、 上記ディスク装置のうちの少なくとも1つは、上記格納
すべき格納データを書き込む領域が、当該格納データを
一時的に書き込むためのテンポラリ領域と、当該テンポ
ラリ領域に書き込まれた当該格納データを最終的に書き
込むための格納データ領域とに分割されており、 外部から受付けた、上記ディスク装置に格納すべき格納
データは、冗長データを作成することなく、一旦、上記
テンポラリ領域に書き込み、当該テンポラリ領域への書
き込みが完了した時点で、外部へ書き込み完了を報告す
るテンポラリ領域書き込み手段と、 上記書き込み完了の報告後、テンポラリ領域上の上記格
納データに基づいて、冗長データを生成する生成手段
と、 当該冗長データを上記冗長データ領域に格納し、当該格
納データを上記格納データ領域に書き込むデータ領域書
き込み手段とを有することを特徴とするディスクアレイ
装置。
A plurality of disk devices, wherein at least one of the plurality of disk devices reproduces data that cannot be read when storage data written to another disk device cannot be read; A disk array device having a redundant data area for writing redundant data for writing, wherein at least one of the disk devices has a temporary storage area for temporarily writing the storage data to be stored. The storage area is divided into an area and a storage data area for finally writing the storage data written in the temporary area. Redundant data is created for externally received storage data to be stored in the disk device. Without writing to the temporary area, A temporary area writing means for reporting the completion of writing to the outside when the writing is completed; a generating means for generating redundant data based on the stored data in the temporary area after reporting the completion of the writing; And a data area writing means for storing the data in the redundant data area and writing the stored data to the storage data area.
【請求項2】請求項1記載のディスクアレイ装置におい
て、 外部から格納すべき格納データを受付けたときに、当該
格納データを書き込むテンポラリ領域を、最終的に当該
格納データを書き込むべき格納データ領域を有するディ
スク装置とは異なるディスク装置にあるテンポラリ領域
から選択する手段を有することを特徴とするディスクア
レイ装置。
2. The disk array device according to claim 1, wherein when storage data to be stored from outside is received, a temporary area in which the storage data is written and a storage data area in which the storage data is finally written are stored. A disk array device comprising means for selecting from a temporary area in a disk device different from the disk device having the disk device.
【請求項3】請求項1記載のディスクアレイ装置におい
て、 外部から格納すべき格納データを受付けたときに、当該
格納データを書き込むテンポラリ領域を、読み出しもし
くは書き込み動作を行っていないディスク装置にあるテ
ンポラリ領域から選択する手段を有することを特徴とす
るディスクアレイ装置。
3. The disk array device according to claim 1, wherein, when storage data to be stored from the outside is received, a temporary area in which the storage data is to be written is temporarily stored in a disk device that is not performing a read or write operation. A disk array device having means for selecting from areas.
【請求項4】請求項1記載のディスクアレイ装置におい
て、 外部から格納すべき格納データを受付けたときに、複数
の上記ディスク装置を選択し、当該格納データを書き込
むテンポラリ領域を、当該ディスク装置にあるテンポラ
リ領域とし、複数のテンポラリ領域の各々に同一の格納
データを多重に書き込む手段と、 上記テンポラリ領域から上記格納データを読み出す際
に、一方のディスク装置から上記格納データを読み出す
ことができないときは、他方のディスク装置から読み出
す手段とを有することを特徴とするディスクアレイ装
置。
4. The disk array device according to claim 1, wherein, when storage data to be stored from outside is received, a plurality of said disk devices are selected, and a temporary area for writing said storage data is stored in said disk device. Means for multiplexing the same storage data in each of a plurality of temporary areas as a certain temporary area; and reading the storage data from the temporary area when the storage data cannot be read from one of the disk devices. A means for reading from the other disk device.
【請求項5】請求項4記載のディスクアレイ装置におい
て、 一方のディスク装置から上記格納データを読み出すこと
ができないときとは、当該ディスク装置が故障している
ときであることを特徴とするディスクアレイ装置。
5. The disk array device according to claim 4, wherein the time when said storage data cannot be read from one of the disk devices is a time when said disk device has failed. apparatus.
【請求項6】請求項4記載のディスクアレイ装置におい
て、 一方のディスク装置から上記格納データを読み出すこと
ができないときとは、当該ディスク装置が、読み出しも
しくは書き込み動作を行っているときであることを特徴
とするディスクアレイ装置。
6. The disk array device according to claim 4, wherein the time when said storage data cannot be read from one disk device means that said disk device is performing a read or write operation. Characteristic disk array device.
【請求項7】請求項1記載のディスクアレイ装置におい
て、 あらかじめ定められたデータ長よりも、上記格納データ
のデータ長が大きい場合には、上記テンポラリ領域に格
納しないで、当該格納データに基づいて、冗長データを
生成する生成手段と、 当該冗長データを上記冗長データ領域に格納し、当該格
納データを上記格納データ領域に書き込む手段とを有す
ることを特徴とするディスクアレイ装置。
7. The disk array device according to claim 1, wherein when the data length of the storage data is larger than a predetermined data length, the storage data is not stored in the temporary area, but based on the storage data. A disk array device comprising: a generation unit that generates redundant data; and a unit that stores the redundant data in the redundant data area and writes the stored data to the storage data area.
【請求項8】請求項1記載のディスクアレイ装置におい
て、 上記テンポラリ領域から上記格納データを読みだし、上
記格納データ領域へ格納データを書き込む際に、上記格
納データ領域を有するディスク装置で書き込みエラーが
発生したときは、当該ディスク装置を切り離し、当該デ
ィスク装置への書き込みは以後行わないことを特徴とす
るディスクアレイ装置。
8. The disk array device according to claim 1, wherein when the storage data is read from the temporary area and the storage data is written to the storage data area, a write error occurs in the disk apparatus having the storage data area. A disk array device wherein, when an error occurs, the disk device is disconnected, and writing to the disk device is not performed thereafter.
JP2000266365A 2000-09-04 2000-09-04 Disk array device control method Expired - Fee Related JP3597766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000266365A JP3597766B2 (en) 2000-09-04 2000-09-04 Disk array device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000266365A JP3597766B2 (en) 2000-09-04 2000-09-04 Disk array device control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP31061293A Division JP3597550B2 (en) 1993-12-10 1993-12-10 Disk array device

Publications (2)

Publication Number Publication Date
JP2001100926A true JP2001100926A (en) 2001-04-13
JP3597766B2 JP3597766B2 (en) 2004-12-08

Family

ID=18753462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000266365A Expired - Fee Related JP3597766B2 (en) 2000-09-04 2000-09-04 Disk array device control method

Country Status (1)

Country Link
JP (1) JP3597766B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7069379B2 (en) 2002-03-15 2006-06-27 International Business Machines Corporation Multistage information recording method and system using magnetic recording disk units

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7069379B2 (en) 2002-03-15 2006-06-27 International Business Machines Corporation Multistage information recording method and system using magnetic recording disk units

Also Published As

Publication number Publication date
JP3597766B2 (en) 2004-12-08

Similar Documents

Publication Publication Date Title
US7434095B2 (en) Data reconstruction method and system wherein timing of data of data reconstruction is controlled in accordance with conditions when a failure occurs
US7698604B2 (en) Storage controller and a method for recording diagnostic information
US8402210B2 (en) Disk array system
JP3058743B2 (en) Disk array controller
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
US20090327803A1 (en) Storage control device and storage control method
JP4884721B2 (en) Storage system and storage control method that do not require storage device format
US20040133741A1 (en) Disk array apparatus and data writing method used in the disk array apparatus
JPH08249218A (en) File controller and data write method
JPH0877074A (en) Storage device system using flash memory
JP5193822B2 (en) Write-once memory device
JP2001142650A (en) Method and device for controlling array disk
JPH11212728A (en) External storage sub-system
JP2001100926A (en) Method of controlling disk array device
JP3597550B2 (en) Disk array device
JP3845239B2 (en) Disk array device and failure recovery method in disk array device
JP2004185477A (en) Optical storage medium array device and data transfer method
JPH10240453A (en) Disk array device
JP2001109586A (en) Disk array device
JP3098363B2 (en) Storage device
JPH1031563A (en) Storage device
JP2868003B1 (en) Magnetic disk drive
JPH07328072A (en) Cache control method and information processing device
JP2000172570A5 (en) Information recording device and data input / output method and reconstruction method in this device
JP3870024B2 (en) Information recording apparatus and information recording method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040909

LAPS Cancellation because of no payment of annual fees