JPH11120089A - Parallel storage device - Google Patents
Parallel storage deviceInfo
- Publication number
- JPH11120089A JPH11120089A JP9280286A JP28028697A JPH11120089A JP H11120089 A JPH11120089 A JP H11120089A JP 9280286 A JP9280286 A JP 9280286A JP 28028697 A JP28028697 A JP 28028697A JP H11120089 A JPH11120089 A JP H11120089A
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage device
- recording data
- area
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数の記憶装置を
並列に接続し、これら記憶装置に対するデータの読み出
しや書き込みを共通の制御装置で制御する並列記憶装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel storage device in which a plurality of storage devices are connected in parallel, and reading and writing of data from and to these storage devices are controlled by a common control device.
【0002】[0002]
【従来の技術】従来、データの読み出しや書き込みの高
速化、あるいは信頼性向上のために、磁気ディスクなど
複数の記憶装置を並列に接続し、これら記憶装置を共通
の制御装置で制御する並列記憶装置が実用化されてい
る。2. Description of the Related Art Conventionally, a plurality of storage devices such as magnetic disks are connected in parallel in order to increase the speed of reading or writing data or to improve the reliability, and a parallel storage system in which these storage devices are controlled by a common controller. The device has been put to practical use.
【0003】ここで、記憶装置として磁気ディスクを使
用する場合を例にとり、従来の並列記憶装置について図
3を参照して説明する。符号Da 〜De は並列に接続さ
れた磁気ディスクである。磁気ディスクDa 〜De はそ
れぞれ、記録データやパリティデータなどのデータを記
録する小容量の複数の領域を有している。例えば、磁気
ディスクDa は領域D0 、D4 、D8 、…を有し、磁気
ディスクDb は領域D1 、D5 、D9 、…を有してい
る。図3では、データを記録する小容量の領域を符号D
や符号Pで示し、記録データを記録した領域を符号D
で、また、パリティデータを記録した領域を符号Pで表
している。Here, a conventional parallel storage device will be described with reference to FIG. 3, taking a case where a magnetic disk is used as a storage device as an example. Symbols Da to De indicate magnetic disks connected in parallel. Each of the magnetic disks Da to De has a plurality of small-capacity areas for recording data such as recording data and parity data. For example, the magnetic disk Da has regions D0, D4, D8,..., And the magnetic disk Db has regions D1, D5, D9,. In FIG. 3, a small-capacity area for recording data is denoted by a symbol D.
, And the area where the recording data is recorded
, And the area where the parity data is recorded is represented by a symbol P.
【0004】なお、磁気ディスクDa 〜De に対するデ
ータの読み出しや書き込みはディスクアレイコントロー
ラ31で制御され、また、ディスクアレイコントローラ
31の動作はホストコンピュータ32で制御されてい
る。The reading and writing of data from and to the magnetic disks Da to De are controlled by a disk array controller 31, and the operation of the disk array controller 31 is controlled by a host computer 32.
【0005】ここで、上記した構成の並列記憶装置にお
いて、例えば、磁気ディスクDa の領域D0 にライトデ
ータを書き込む場合の動作について説明する。このと
き、ディスクアレイコントローラ31の制御で、磁気デ
ィスクDa の領域D0 に記録されている記録データ(例
えば図4のd0 )、そして、磁気ディスクDe の領域P
0 に記録されているパリティデータ(例えば図4のp0
)が読み出される。読み出された記録データd0 とパ
リティデータp0 は排他論理和が取られる。さらに、排
他論理和の演算結果(例えば図4のR1)と書き込もう
とするライトデータ(例えば図4の符号d)の排他論理
和が取られ、その結果(例えば図4の符号R2)が新た
なパリティデ−タpとして、磁気ディスクDe の領域P
0 に書き込まれる。また、ライトデータdが、磁気ディ
スクDa の記憶領域D0 に記録データとして書き込まれ
る。[0005] Here, in the parallel storage device having the above-described configuration, an operation for writing write data to the area D0 of the magnetic disk Da will be described. At this time, under the control of the disk array controller 31, the recording data (eg, d0 in FIG. 4) recorded in the area D0 of the magnetic disk Da and the area P0 of the magnetic disk De
0 (for example, p0 in FIG. 4)
) Is read. The read record data d0 and parity data p0 are exclusive ORed. Further, an exclusive OR of the operation result of the exclusive OR (for example, R1 in FIG. 4) and the write data to be written (for example, code d in FIG. 4) is obtained, and the result (for example, code R2 in FIG. 4) is newly obtained. As the parity data p, the area P of the magnetic disk De is used.
Written to 0. The write data d is written to the storage area D0 of the magnetic disk Da as recording data.
【0006】上記した方法によって、磁気ディスクDa
の領域D0 に対するライトデータdの書き込みが行われ
る。なお、磁気ディスクDa の他の領域D4 、D8 、あ
るいは、他の磁気ディスクDb 〜De に対するライトデ
ータの書き込みも同様の方法で行われる。According to the method described above, the magnetic disk Da
The write data d is written to the area D0. The writing of write data to the other areas D4 and D8 of the magnetic disk Da or the other magnetic disks Db to De is performed in the same manner.
【0007】[0007]
【発明が解決しようとする課題】従来の並列記憶装置
は、記憶装置の所定領域に新たにライトデータを書き込
む場合、まず、所定領域に記録されている記録データと
この記録データに対応するパリティデータを読み出して
いる。そして、読み出された記録データとパリティデー
タの排他論理和をとり、その後、この排他論理和の演算
結果とライトデータの排他論理和を求めている。その
後、さらに、この排他論理和で得られた結果をパリティ
デ−タとして書き込み、また、ライトデータの書き込み
を行っている。このように従来の並列記憶装置は、ライ
トデータの書き込みの際に多くのステップを必要とし、
データの読み出しや書き込みの高速化に支障となってい
る。また、マルチアクセス機能を有効に利用できないと
いう問題もある。In the conventional parallel storage device, when writing new write data to a predetermined area of the storage device, first, recording data recorded in the predetermined area and parity data corresponding to the recording data are written. Is being read. Then, an exclusive OR of the read recording data and the parity data is obtained, and thereafter, an exclusive OR of the operation result of the exclusive OR and the write data is obtained. Thereafter, the result obtained by the exclusive OR is written as parity data, and write data is written. As described above, the conventional parallel storage device requires many steps when writing write data,
This hinders speeding up of data reading and writing. Another problem is that the multi-access function cannot be used effectively.
【0008】この発明は、上記した欠点を解決するもの
で、データの読み出しや書き込みを高速化した並列記憶
装置を提供することを目的としている。An object of the present invention is to solve the above-mentioned disadvantages and to provide a parallel storage device in which data reading and writing are speeded up.
【0009】[0009]
【課題を解決するための手段】本発明は、データを記録
する記憶領域内の所定領域に記録データを記録した第1
記憶装置と、データを記録する記憶領域内の所定領域に
前記記録データに対応するパリティデータを記録した第
2記憶装置と、前記第1記憶装置および前記第2記憶装
置に対するデータの読み出しおよびデータの書き込みを
制御する制御装置とを具備した並列記憶装置において、
前記第1記憶装置の前記所定領域に記録された前記記録
データをこれとは別のライトデータに書き換える際に、
前記記録データと前記ライトデータを比較し、両者が相
違するビットを抽出する手段と、この手段で抽出された
ビット部分の前記第1記憶装置の記録データおよび前記
第2記憶装置のパリティデータを書き換える手段とを設
けている。SUMMARY OF THE INVENTION According to the present invention, there is provided a method for recording data in a predetermined area within a storage area for recording data.
A storage device, a second storage device in which parity data corresponding to the recording data is recorded in a predetermined area in a storage region for recording data, reading of data from the first storage device and the second storage device, and reading of the data. In a parallel storage device comprising a control device for controlling writing,
When rewriting the recording data recorded in the predetermined area of the first storage device to another write data,
Means for comparing the recording data with the write data and extracting a bit having a difference between the two, and rewriting the recording data of the first storage device and the parity data of the second storage device of the bit portion extracted by this means Means are provided.
【0010】また、第1記憶装置および第2記憶装置が
磁気ディスクであることを特徴としている。[0010] The first storage device and the second storage device are magnetic disks.
【0011】上記した構成によれば、第1記憶装置の所
定領域に記録された記録データをこれとは別のライトデ
ータに書き換える際に、制御装置は、まず、該当する所
定領域の記録データのみを読みだし、書き換えようとす
るライトデータとの排他を取っている。そして、この結
果から、両者が相違するビットを抽出し、両者が相違す
るビット部分の記録データと、それに対応するパリティ
データとを反転し、書き換えを行っている。このよう
に、記録データとライトデータが相違するビット部分の
記録データやパリティデータの反転だけで書き換えが行
われる。According to the above configuration, when rewriting the recording data recorded in the predetermined area of the first storage device to another write data, the control device firstly stores only the recording data in the corresponding predetermined area. Is read and exclusive with the write data to be rewritten. Then, based on the result, bits different from each other are extracted, and the recording data of the bit portion where the two are different from each other and the corresponding parity data are inverted to perform rewriting. As described above, rewriting is performed only by inversion of the recording data and parity data of the bit portion where the recording data and the writing data are different.
【0012】したがって、書き換えを行う記録データに
対応するパリティデータの読みだしが必要でなくなる。
また、書き換えの際のステップ数も少なくなる。この結
果、パリティーデータの生成が簡略化し、記憶装置への
アクセス時間が短縮し、また、データの書き換え効率が
向上し、データの読み出しや書き込みが高速化する。ま
た、ステップ数が少なくなるため、その時間を利用して
他の記憶装置の読みだしや書き換え動作を行うことがで
き、マルチアクセス機能を有効に活用した並列記憶装置
を実現できる。Therefore, it becomes unnecessary to read the parity data corresponding to the recording data to be rewritten.
Also, the number of steps for rewriting is reduced. As a result, the generation of the parity data is simplified, the access time to the storage device is shortened, the data rewriting efficiency is improved, and the data reading and writing speed is increased. In addition, since the number of steps is reduced, reading and rewriting operations of other storage devices can be performed using the time, and a parallel storage device that effectively utilizes the multi-access function can be realized.
【0013】[0013]
【発明の実施の形態】本発明の実施の形態について、記
憶装置として磁気ディスクを使用した場合を例にとり図
1を参照して説明する。符号Da 〜De は、記録データ
やパリティデータなどのデータを記録する磁気ディスク
である。磁気ディスクDa 〜De はそれぞれ、データを
記録する例えば小容量の複数の領域を有している。磁気
ディスクDa の場合、データ記録用の領域D0 、D4 、
D8 、…を有し、磁気ディスクDb の場合、データ記録
用の領域D1 、D5 、D9 、…を有している。図3で
は、データを記録した小容量の領域を符号Dや符号Pで
示し、記録データを記録した領域を符号Dで、パリティ
データを記録した領域を符号Pで表している。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIG. 1 taking a case where a magnetic disk is used as a storage device as an example. Symbols Da to De are magnetic disks for recording data such as recording data and parity data. Each of the magnetic disks Da to De has, for example, a plurality of small-capacity areas for recording data. In the case of the magnetic disk Da, areas D0, D4,
, And the magnetic disk Db has data recording areas D1, D5, D9,. In FIG. 3, a small-capacity area in which data is recorded is indicated by a code D or P, an area in which record data is recorded is indicated by a code D, and an area in which parity data is recorded is indicated by a code P.
【0014】また、ここでは、磁気ディスクDa 〜De
それぞれの小容量の領域ごとに付されるパリティデー
タ、例えばp0 、p1 、p2 、…は、磁気ディスクDe
の領域P0 、磁気ディスクDd の領域P1 、磁気ディス
クDc の領域P2 、…のように異なる磁気ディスクに順
に記録され、特定の磁気ディスクに集中して記録されな
いように制御している。また、パリティデータは、通
常、各磁気ディスクDa 〜De にそれぞれ記録されてい
る記録データやパリティデータの符号「1」の和がビッ
トごとに偶数あるいは奇数になるように設定されてい
る。Here, the magnetic disks Da to De are used here.
The parity data, for example, p0, p1, p2,...
The area P0, the area P1 of the magnetic disk Dd, the area P2 of the magnetic disk Dc, etc. are sequentially recorded on different magnetic disks, and control is performed so that recording is not concentrated on a specific magnetic disk. The parity data is usually set so that the sum of the code "1" of the recording data and parity data recorded on each of the magnetic disks Da to De is an even number or an odd number for each bit.
【0015】なお、並列に接続された磁気ディスクDa
〜De に対するデータの読み出しや書き込みは制御装
置、例えばディスクアレイコントローラ11で制御さ
れ、また、ディスクアレイコントローラ11の動作はホ
ストコンピュータ12で制御されている。The magnetic disks Da connected in parallel
The reading and writing of data with respect to .about.De are controlled by a control device, for example, a disk array controller 11, and the operation of the disk array controller 11 is controlled by a host computer 12.
【0016】ここで、磁気ディスクDa の領域D0 にラ
イトデータを書き込む場合の動作について説明する。ま
ず、ディスクアレイコントローラ11は、磁気ディスク
Daの領域D0 に書き込まれている記録データ(例えば
図2の符号d0 )を読み出す。そして、読み出された記
録データd0 とライトデータ(例えば図2の符号d)の
排他を取る。その結果(例えば図2の符号R1)から、
磁気ディスクDa の領域D0 における書き換えが必要な
ビット(例えば図2の枠で囲んだ部分)を抽出する。そ
して、この検出結果を利用して、磁気ディスクDa の領
域D0 に書き込まれている記録データd0 や、ディスク
領域De の領域P0 に記録されているパリティデータ
(例えば図2の符号p0 )のうち、書き換えが必要なビ
ット部分(例えば図2の枠で囲んだ部分)を反転する。
このとき、磁気ディスクDa の領域D0 には記録データ
dが記録され、また、ディスク領域De の領域P0 には
パリティデータpが記録される。The operation for writing write data to the area D0 of the magnetic disk Da will now be described. First, the disk array controller 11 reads the recording data (for example, code d0 in FIG. 2) written in the area D0 of the magnetic disk Da. Then, the read recording data d0 and the write data (for example, the symbol d in FIG. 2) are mutually exclusive. From the result (for example, symbol R1 in FIG. 2),
Bits that need to be rewritten in the area D0 of the magnetic disk Da (for example, a portion surrounded by a frame in FIG. 2) are extracted. Then, by utilizing the detection result, of the recording data d0 written in the area D0 of the magnetic disk Da and the parity data (for example, the code p0 in FIG. 2) recorded in the area P0 of the disk area De, The bit portion that needs to be rewritten (for example, the portion surrounded by the frame in FIG. 2) is inverted.
At this time, the recording data d is recorded in the area D0 of the magnetic disk Da, and the parity data p is recorded in the area P0 of the disk area De.
【0017】上記した構成によれば、書き換えを行う記
録データd0 とライトデータdを比較し、書き換えが必
要なビットを抽出している。そして、書き換えが必要な
ビット部分の記録データd0 やパリティデータp0 を反
転させている。この場合、記録データd0 に対応するパ
リティデータp0 の読みだしが必要でなくなる。また、
全体のステップ数も少なくなる。このため、1つの領域
に対するライトデータの書き換えに要するディスクアレ
イコントローラの制御時間が短くなり、ディスクアレイ
コントローラの制御時間に余裕が出る。したがって、こ
のような空いた時間を利用して、ディスクアレイコント
ローラは他の磁気ディスクDb 〜Dd を制御することが
できる。例えば、磁気ディスクDa の領域D0 をライト
データdに書き換える時間に、ライトデータdの書き換
えに関係しない領域D1 、D2 、D3 を持つ磁気ディス
クDb 、Dc 、Dd について、領域D5 、D6 あるいは
領域D9 、D10の読みだし、書き込みを行うことがで
き、マルチアクセス機能を有効に活用できる。According to the above configuration, the write data d to be rewritten is compared with the write data d to extract the bits that need to be rewritten. Then, the recording data d0 and the parity data p0 of the bit portion requiring rewriting are inverted. In this case, it is not necessary to read the parity data p0 corresponding to the recording data d0. Also,
The total number of steps is also reduced. For this reason, the control time of the disk array controller required for rewriting the write data to one area is shortened, and the control time of the disk array controller has a margin. Therefore, the disk array controller can control the other magnetic disks Db to Dd by utilizing such idle time. For example, at the time when the area D0 of the magnetic disk Da is rewritten to the write data d, the areas D5, D6 or D9 of the magnetic disks Db, Dc and Dd having the areas D1, D2 and D3 which are not related to the rewrite of the write data d. D10 can be read and written, and the multi-access function can be used effectively.
【0018】なお、上記の実施形態では、磁気ディスク
Da の領域D0 にライトデータを書き込む場合の動作に
ついて説明している。しかし、磁気ディスクDa の他の
領域D4 、D8 、あるいは、他の磁気ディスクDb 〜D
e に対してライトデータを書き込む場合も同様の方法で
行われる。In the above embodiment, the operation in the case where write data is written to the area D0 of the magnetic disk Da has been described. However, the other areas D4 and D8 of the magnetic disk Da or the other magnetic disks Db to Db
Writing write data to e is performed in a similar manner.
【0019】また、上記の実施の形態は、記憶装置とし
て磁気ディスクを利用する場合で説明している。しか
し、この発明は、磁気ディスク以外の記憶装置について
も適用することができる。The above embodiment has been described in connection with the case where a magnetic disk is used as a storage device. However, the present invention is also applicable to storage devices other than magnetic disks.
【0020】[0020]
【発明の効果】本発明によれば、データの読み出しや書
き込みを高速化した並列記憶装置を実現できる。According to the present invention, it is possible to realize a parallel storage device in which reading and writing of data are speeded up.
【図1】本発明の実施の形態を示す回路構成図である。FIG. 1 is a circuit configuration diagram showing an embodiment of the present invention.
【図2】本発明の動作を説明する図である。FIG. 2 is a diagram illustrating the operation of the present invention.
【図3】従来例を示す回路構成図である。FIG. 3 is a circuit configuration diagram showing a conventional example.
【図4】従来例の動作を説明する図である。FIG. 4 is a diagram illustrating the operation of a conventional example.
11…制御装置 12…ホストコンピュータ Da 〜De …磁気ディスク D0 〜D11…記録データを記録した領域 P0 〜P2 …パリティデータを記録した領域 11 Control device 12 Host computer Da to De Magnetic disk D0 to D11 Area where recorded data is recorded P0 to P2 Area where parity data is recorded
Claims (2)
に記録データを記録した第1記憶装置と、データを記録
する記憶領域内の所定領域に前記記録データに対応する
パリティデータを記録した第2記憶装置と、前記第1記
憶装置および前記第2記憶装置に対するデータの読み出
しおよびデータの書き込みを制御する制御装置とを具備
した並列記憶装置において、前記第1記憶装置の前記所
定領域に記録された前記記録データをこれとは別のライ
トデータに書き換える際に、前記記録データと前記ライ
トデータを比較し、両者が相違するビットを抽出する手
段と、この手段で抽出されたビット部分の前記第1記憶
装置の記録データおよび前記第2記憶装置のパリティデ
ータを書き換える手段とを設けたことを特徴とする並列
記憶装置。1. A first storage device in which recording data is recorded in a predetermined area in a storage area for recording data, and a first storage device in which parity data corresponding to the recording data is recorded in a predetermined area in a storage area for recording data. 2 storage device, and a control device that controls reading and writing of data to and from the first storage device and the second storage device, the storage device being stored in the predetermined area of the first storage device. Means for comparing the write data with the write data when rewriting the write data to another write data, and extracting a bit having a difference between the write data and the write data; Means for rewriting recording data of one storage device and parity data of the second storage device.
ディスクであることを特徴とする請求項1記載の並列記
憶装置。2. The parallel storage device according to claim 1, wherein the first storage device and the second storage device are magnetic disks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9280286A JPH11120089A (en) | 1997-10-14 | 1997-10-14 | Parallel storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9280286A JPH11120089A (en) | 1997-10-14 | 1997-10-14 | Parallel storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11120089A true JPH11120089A (en) | 1999-04-30 |
Family
ID=17622881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9280286A Pending JPH11120089A (en) | 1997-10-14 | 1997-10-14 | Parallel storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11120089A (en) |
-
1997
- 1997-10-14 JP JP9280286A patent/JPH11120089A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5745444A (en) | Method of controlling recording information on an optical disk using replacement control information | |
KR20000035409A (en) | A memory device and a method for controlling the same | |
JPH09115227A (en) | Write-in method for variable length sequencial record | |
JPH11120089A (en) | Parallel storage device | |
JPH04111113A (en) | Hard disk emulator | |
JP2001100939A (en) | Disk array device and control method of disk array | |
JPH0793101A (en) | Data backup device | |
JPH0628779A (en) | Method for recording and controlling data in disk device | |
JPH0512026A (en) | Magnetic disk drive | |
JP4209108B2 (en) | Storage device control method, storage device used in this method, disk array device, and disk controller | |
JP2845770B2 (en) | Disk array device | |
JP2794839B2 (en) | Recording and playback device | |
JPS6041124A (en) | Magnetic disc control device | |
JPS6313188A (en) | Disk file device | |
JPS60101788A (en) | Optical disk controller | |
JP3594495B2 (en) | Control device | |
JPS6149229A (en) | Information processor | |
JPS6358661A (en) | Identifying circuit for type of floppy disk | |
JPS5922983B2 (en) | Information processing method | |
JP2001100937A (en) | Disk array controller | |
JPH0553733A (en) | Ic card control system | |
JPS6396740A (en) | Optical recording medium | |
JPH05334010A (en) | Disk array device | |
JPS61253673A (en) | Code converting system for magnetic disk device | |
JPH09320245A (en) | Disk file system and controller therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041013 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20041013 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20041020 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070613 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070619 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20071016 |