JPH0675716A - Auxiliary storage - Google Patents

Auxiliary storage

Info

Publication number
JPH0675716A
JPH0675716A JP4228858A JP22885892A JPH0675716A JP H0675716 A JPH0675716 A JP H0675716A JP 4228858 A JP4228858 A JP 4228858A JP 22885892 A JP22885892 A JP 22885892A JP H0675716 A JPH0675716 A JP H0675716A
Authority
JP
Japan
Prior art keywords
data
parity
track
control circuit
storage
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
JP4228858A
Other languages
Japanese (ja)
Other versions
JP3022688B2 (en
Inventor
Riichi Takai
利一 高井
Kanami Samejima
可奈美 鮫島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP4228858A priority Critical patent/JP3022688B2/en
Publication of JPH0675716A publication Critical patent/JPH0675716A/en
Application granted granted Critical
Publication of JP3022688B2 publication Critical patent/JP3022688B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain the correction of the wrong data over a wide range that can not be processed with the error correction code and with use of a single auxiliary storage by applying an RAID to an information processing system of a small scale. CONSTITUTION:An auxiliary storage 1 stores the data and corrects the data by means of the parity data. Then a parity control circuit 8 is added to the storage 1 to generate the parity data for each data contained in each of plural blocks divided from a storage area together with a parity storage circuit 10 which stores the generated parity data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、補助記憶装置のデータ
訂正に利用する。本発明は、セクタあるいはトラック単
位でデータ訂正を行う補助記憶装置に関する。
BACKGROUND OF THE INVENTION The present invention is used for correcting data in an auxiliary storage device. The present invention relates to an auxiliary storage device that corrects data in units of sectors or tracks.

【0002】[0002]

【従来の技術】従来、補助記憶装置のデータ訂正は、任
意データ毎に誤り検出符号を付加し、読み出し時にその
誤り検出符号を用いて誤りを検出することによりデータ
訂正を行っていた。
2. Description of the Related Art Conventionally, in the data correction of an auxiliary storage device, an error detection code is added to each arbitrary data, and an error is detected by using the error detection code at the time of reading to correct the data.

【0003】また、データを複数の補助記憶装置に分割
し、分割したデータのパリティデータを別の補助記憶装
置に記憶することにより、元のデータを記憶している補
助記憶装置に不都合が生じてもデータ訂正を行えるよう
にしていた(RAID LEVEL3)。
Further, by dividing the data into a plurality of auxiliary storage devices and storing the parity data of the divided data in another auxiliary storage device, a problem occurs in the auxiliary storage device storing the original data. Also made it possible to correct data (RAID LEVEL 3).

【0004】[0004]

【発明が解決しようとする課題】このような従来の誤り
訂正符号を用いたデータ訂正方式では、誤り訂正符号を
付加した一連のデータ中の数個に対してのみ訂正が可能
であり、媒体の傷などにより近接領域に多数の誤りが生
じた場合には訂正を行うことが不可能であった。また、
特定セクタやトラックのデータが全て読み出し不能にな
った場合、シンドロームを含む全てのデータを読むこと
ができないため訂正を行うことができない問題があっ
た。
In such a conventional data correction method using an error correction code, it is possible to correct only a few data in a series of data to which the error correction code is added, and the data of the medium can be corrected. When a large number of errors occurred in the adjacent area due to scratches or the like, it was impossible to correct them. Also,
When all the data in a specific sector or track becomes unreadable, there is a problem that all the data including the syndrome cannot be read and correction cannot be performed.

【0005】また、RAID leve13を用いた場
合、データの分割数が少ないときは全記憶容量に対する
パリティデータの割合が多くなり通常動作時に使用しな
い記憶装置領域が多くなり、分割数を多くしたときはR
AIDの最小構成単位が大きくなり使用するシステムに
よっては必要とする記憶容量よりも補助記憶装置の記憶
容量がかなり大きくなってしまい、そのために分割数の
多少に関わらず小規模な情報処理システムでのRAID
の採用はむずがしくなる問題があった。
Further, when RAID level 13 is used, when the number of data divisions is small, the ratio of parity data to the total storage capacity is large and the storage device area which is not used during normal operation is large, and when the number of divisions is large. R
The minimum constitutional unit of AID becomes large, and the storage capacity of the auxiliary storage device becomes considerably larger than the required storage capacity depending on the system used. Therefore, in a small-scale information processing system regardless of the number of divisions. RAID
There was a problem that the adoption of was difficult.

【0006】本発明はこのような問題を解決するもの
で、誤り訂正符号では処理不能な広範囲にわたり発生し
た誤りデータの訂正を行うことができる装置を提供する
ことを目的とする。
The present invention solves such a problem, and an object thereof is to provide an apparatus capable of correcting error data generated in a wide range that cannot be processed by an error correction code.

【0007】[0007]

【課題を解決するための手段】本発明は、データを保持
する記憶手段と、パリティデータを用いてデータ訂正を
行う手段を含むパリティ制御回路とを備えた補助記憶装
置において、上記パリティ制御回路は、上記記憶手段の
記憶領域を分割した複数個のブロックにそれぞれ含まれ
るデータ毎にパリティデータを生成する手段を含み、こ
のパリティ制御回路で生成されたパリティデータを保持
するパリティ記憶回路を備えたことを特徴とする。
According to the present invention, there is provided an auxiliary storage device comprising storage means for holding data and a parity control circuit including means for correcting data using parity data, wherein the parity control circuit is A parity storage circuit for holding the parity data generated by the parity control circuit, including means for generating parity data for each data included in each of a plurality of blocks obtained by dividing the storage area of the storage means. Is characterized by.

【0008】誤りが生じたデータを含むブロック内のこ
の誤りが生じたデータを除くデータに基づき作成したパ
リティデータを記憶するサブパリティ記憶回路を備え、
上記パリティ制御回路は、全記憶領域に同一データを書
き込む初期化を行う際にあらかじめ用意したパリティデ
ータ値を上記パリティ記憶回路に書き込む手段を備える
ことが望ましい。
A sub-parity storage circuit for storing parity data created based on data excluding the data in which the error has occurred, in a block including the data in which the error has occurred,
It is preferable that the parity control circuit includes means for writing a parity data value prepared in advance to the parity storage circuit when performing initialization for writing the same data in all storage areas.

【0009】[0009]

【作用】データの書き込みに際して、制御回路は、新た
なデータD1、…、Dzが書き込まれるセクタを含むト
ラックnのデータを読み出してパリティ制御回路に転送
する。一方、パリティ記憶回路上の古いデータd1、
…、dzに基づき生成されたパリティデータp1、…、
pzもパリティ制御回路に転送される。次に、書き込み
実行し、この書き込みデータをパリティ制御回路に転送
する。パリティ制御回路は、データd1、…、dzと、
パリティデータp1、…、pzおよびデータd1、…、
dzとを用いて新たにパリティデータP1、…、Pzを
生成する。
When writing data, the control circuit reads the data of the track n including the sector in which new data D1, ..., Dz are written and transfers it to the parity control circuit. On the other hand, the old data d1 on the parity storage circuit,
,, parity data p1 generated based on dz,
pz is also transferred to the parity control circuit. Next, writing is executed, and this write data is transferred to the parity control circuit. The parity control circuit uses the data d1, ..., Dz,
Parity data p1, ..., Pz and data d1 ,.
Parity data P1, ..., Pz is newly generated using dz.

【0010】磁気ディスクの初期化に際して、パリティ
制御回路は、書き込みディスクが特定値である場合に、
パリティ記憶回路に対して特定初期値を書き込み、書き
込みデータが特定値でない場合に、データを書き込んだ
ブロックに属するデータをデータバッファに書き込み、
その値からパリティトラックを作成する。
Upon initialization of the magnetic disk, the parity control circuit, when the write disk has a specific value,
Write a specific initial value to the parity storage circuit, and if the write data is not a specific value, write the data belonging to the block in which the data was written to the data buffer,
Create a parity track from that value.

【0011】データの読み出しに際しては、読み出し異
常時に、CPUはパリティトラックを用いた読み出しを
パリティ制御回路に指示する。パリティ制御回路は、こ
の指示に応じて、修復すべきデータトラックの属するデ
ータブロックの他のデータトラック上のデータを読み出
し、データバッファに保存する。また、パリティ制御回
路は、データバッファに保存された他のデータトラック
上のデータと、パリティ記憶回路上の修復すべきデータ
トラックの属するデータブロックからサブパリティトラ
ックを作成し、このサブパリティトラックをサブパリテ
ィ記憶回路に保存し、このサブパリティトラックのデー
タを用いて正しいデータを演算する。
In reading data, when a read error occurs, the CPU instructs the parity control circuit to read using the parity track. In response to this instruction, the parity control circuit reads the data on the other data track of the data block to which the data track to be restored belongs and stores it in the data buffer. Also, the parity control circuit creates a sub parity track from the data on the other data tracks stored in the data buffer and the data block to which the data track to be repaired on the parity storage circuit belongs, and creates this sub parity track. The data is stored in the parity storage circuit, and the correct data is calculated using the data of this sub parity track.

【0012】これにより、誤り発生データトラックから
の正常データ読み出しは2回目のアクセス以後、他のデ
ータトラック上のデータを読み出さずに行うことができ
る。
As a result, the normal data can be read from the error-occurring data track after the second access without reading the data on the other data tracks.

【0013】[0013]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0014】本発明実施例は、制御回路6と、データバ
ッファ9と、データを保持する記憶手段としての磁気デ
ィスク装置7と、パリティデータを用いてデータ訂正を
行う手段を含むパリティ制御回路8とを備え、このパリ
ティ制御回路8には、磁気ディスク装置7の記憶領域を
分割した複数個のブロックにそれぞれ含まれるデータ毎
にパリティデータを生成する手段を含み、このパリティ
制御回路8で生成されたパリティデータを保持するパリ
ティ記憶回路10を備え、さらに、パリティ制御回路8
には、全記憶領域に同一データを書き込む初期化を行う
際にあらかじめ用意したパリティデータ値をパリティ記
憶回路10に書き込む手段を含む。
The embodiment of the present invention includes a control circuit 6, a data buffer 9, a magnetic disk device 7 as a storage means for holding data, and a parity control circuit 8 including means for performing data correction using parity data. The parity control circuit 8 includes means for generating parity data for each data included in each of a plurality of blocks obtained by dividing the storage area of the magnetic disk device 7, and the parity control circuit 8 generates the parity data. A parity storage circuit 10 for holding parity data is provided, and a parity control circuit 8 is further provided.
Includes means for writing a parity data value prepared in advance to the parity storage circuit 10 when performing initialization for writing the same data in all storage areas.

【0015】(第一実施例)本発明第一実施例は、パリ
ティデータ記憶用の磁気ディスク装置7のヘッド数と同
数のパリティトラックを有し、CPU2とインタフェー
ス3を介して接続され、その内部にてインタフェース3
は制御信号線400とデータバス5とに分岐し、制御信
号線4は制御回路6に接続され、データバス5は磁気デ
ータ装置7、パリティ制御回路8、およびデータバッフ
ァ9に接続される。さらに、パリティ制御回路8はメモ
リバス11を介してパリティ記憶回路10に接続され、
制御回路6は制御信号線401を介して磁気ディスク装
置7に接続され、制御信号線402を介してパリティ制
御回路8に接続され、制御信号線403を介してデータ
バッファ9に接続され、各動作が制御される。
(First Embodiment) The first embodiment of the present invention has as many parity tracks as the number of heads of the magnetic disk device 7 for storing parity data, and is connected to the CPU 2 through the interface 3 and the inside thereof. At interface 3
Is branched into a control signal line 400 and a data bus 5, the control signal line 4 is connected to the control circuit 6, and the data bus 5 is connected to the magnetic data device 7, the parity control circuit 8, and the data buffer 9. Further, the parity control circuit 8 is connected to the parity storage circuit 10 via the memory bus 11,
The control circuit 6 is connected to the magnetic disk device 7 via the control signal line 401, connected to the parity control circuit 8 via the control signal line 402, connected to the data buffer 9 via the control signal line 403, and each operation. Is controlled.

【0016】なお、パリティ記憶回路10内のデータは
補助記憶装置1の電源が未投入状態でも保持される必要
がある。図2は磁気ディスク装置7のデータ分割状態を
示す概略図であるが、この磁気ディスク装置7はx個の
シリンダを持ち、各々のシリンダはy個のヘッドを有し
1つのシリンダは1ヘッド当たり(1ヘッド当たりの1
シリンダを1トラックと呼ぶ)z個のセクタから構成さ
れる。この磁気ディスク装置7の全記憶領域は任意個の
ブロックに分割され、各々のブロック当たり1つのパリ
ティトラックを生成する。各々のパリティトラックは磁
気ディスク装置7のトラック長と同一データ長を有す
る。
The data in the parity storage circuit 10 must be retained even when the power of the auxiliary storage device 1 is not turned on. FIG. 2 is a schematic diagram showing a data division state of the magnetic disk device 7. This magnetic disk device 7 has x cylinders, each cylinder has y heads, and one cylinder per head. (1 per head
A cylinder is called one track) and is composed of z sectors. The entire storage area of the magnetic disk device 7 is divided into arbitrary blocks, and one parity track is generated for each block. Each parity track has the same data length as the track length of the magnetic disk device 7.

【0017】ここで、パリティトラックに保存すべきパ
リティデータの作成例を図3を用いて説明する。この例
では全記憶領域をヘッド数と同数個のブロックに分ける
場合を示している。パリティトラックをヘッド数zと同
数用意する場合、1つのパリティトラックはシリンダ数
xと同数のトラックT1、T2、…、Txから生成され
る。また、各々のトラックはz個のセクタから構成さ
れ、任意のトラックT1のn番目のセクタのデータはD
1nと表記することにすると、パリティトラックのn番
目のセクタのデータPnはそのパリティトラックに割り
当てられているトラックT1、T2、…、Txのn番目
のセクタを構成するデータの排他的論理和となる。つま
り、
An example of creating parity data to be stored in the parity track will be described with reference to FIG. In this example, the entire storage area is divided into the same number of blocks as the number of heads. When preparing the same number of parity tracks as the head number z, one parity track is generated from the same number of tracks T1, T2, ..., Tx as the number of cylinders x. Each track is composed of z sectors, and the data of the nth sector of an arbitrary track T1 is D.
If it is written as 1n, the data Pn of the nth sector of the parity track is the exclusive OR of the data forming the nth sector of the tracks T1, T2, ..., Tx assigned to the parity track. Become. That is,

【0018】[0018]

【数1】 を保存する必要がある。[Equation 1] Need to save.

【0019】なお、このとき図3に示すように同一ヘッ
ドを用いたトラックをブロック化するのではなく、ヘッ
ドをずらしてブロック化した方が振動などによるシリン
ダ方向の媒体の傷の影響を無くすには好ましい。
At this time, instead of dividing tracks using the same head into blocks as shown in FIG. 3, by shifting the heads into blocks, it is possible to eliminate the influence of scratches on the medium in the cylinder direction due to vibration and the like. Is preferred.

【0020】次に、このようなパリティトラックを有す
る補助記憶装置1の回路的な動作について説明する。C
PU2からデータを磁気ディスク装置7上の任意セクタ
に書き込む場合、制御回路6はデータを磁気ディスク装
置7に書き込む前に、磁気ディスク装置7から任意セク
タを含むトラックnのデータを読み出しパリティ制御回
路8にデータを転送する。また、同時にパリティ記憶回
路10からトラックnのデータにより生成されたパリテ
ィトラックPnのデータp1、p2、…、pzもパリテ
ィ制御回路8に送られている。データ転送完了後に制御
回路6はCPU2に対し書き込みデータを要求し、送ら
れてきた書き込みデータは磁気ディスク装置7上に書き
込まれるとともにパリティ制御回路8に対しても送出さ
れる。
Next, the circuit operation of the auxiliary storage device 1 having such a parity track will be described. C
When writing data from the PU 2 to an arbitrary sector on the magnetic disk device 7, the control circuit 6 reads the data on the track n including the arbitrary sector from the magnetic disk device 7 before writing the data to the magnetic disk device 7. Transfer data to. At the same time, the data p1, p2, ..., Pz of the parity track Pn generated from the data of the track n from the parity storage circuit 10 are also sent to the parity control circuit 8. After the data transfer is completed, the control circuit 6 requests the CPU 2 for the write data, and the sent write data is written on the magnetic disk device 7 and also sent to the parity control circuit 8.

【0021】パリティ制御回路8は予め書き込まれてい
たトラックnの古いデータd1、d2、…dz、および
このd1、d2、…dzによって生成されたパリティデ
ータのp1、p2、…、pz、新たに書き込まれるデー
タD1、D2、…Dzを用いて、次にパリティトラック
Pnに書き込むべきデータであるP1、P2、…、Pz
を生成し、パリティ記憶回路10に書き戻す。この際、
新たなパリティデータであるP1、P2、…、Pzは以
下に示す式により生成することが可能である。
The parity control circuit 8 writes the old data d1, d2, ... Dz of the track n, which has been written in advance, and the p1, p2, ..., Pz of the parity data generated by this d1, d2 ,. , Dz to be written next to the parity track Pn using the written data D1, D2, ... Dz.
Is generated and written back to the parity storage circuit 10. On this occasion,
New parity data P1, P2, ..., Pz can be generated by the following equations.

【0022】[0022]

【数2】 なお、通常記憶領域に不具合が発生した場合の代替用に
代替セクタおよび代替トラックが用意されているが、こ
の代替処理が発生した場合、代替された領域のデータは
用いることができなくなるので、代替された領域内の全
てのデータが“1”であるとみなし処理をする必要があ
る。また、使用されていない代替エリアのデータは全て
“0”とみなす。磁気ディスク装置7の初期化を行う場
合、実際に書き込んだデータによりパリティトラックの
データを作成する必要はない。つまり、初期化において
は全記憶領域にある規定値を書き込むため、パリティト
ラックのデータはある特定値の繰り返しとなる。このた
め初期化作業時にはパリティ記憶回路10に対し、パリ
ティ制御回路8が直接特定初期値を書き込めばよいこと
になる。なお、代替処理が行われたエリアに対してのみ
パリティトラックデータの書き換えは必要となる。
[Equation 2] Although an alternative sector and an alternative track are prepared for replacement when a problem occurs in the normal storage area, if this replacement processing occurs, the data in the replaced area cannot be used. It is necessary to carry out the processing assuming that all the data in the designated area are "1". In addition, all the data in the alternative areas that are not used are regarded as "0". When the magnetic disk device 7 is initialized, it is not necessary to create the parity track data from the actually written data. That is, since a specified value in all storage areas is written in the initialization, the data of the parity track is a repetition of a certain value. Therefore, during the initialization work, the parity control circuit 8 may directly write the specific initial value to the parity storage circuit 10. Note that the parity track data needs to be rewritten only in the area where the alternative process has been performed.

【0023】書き込むデータが特定値ではない初期化を
行う場合は、一度全記憶領域にデータを書いた後同一ブ
ロックに属するデータをデータバッファ9に書き込み、
その値からパリティトラックを作成する作業が必要とな
る。
When the data to be written is not a specific value and is initialized, the data is once written in all the storage areas, and then the data belonging to the same block is written in the data buffer 9,
It is necessary to create a parity track from that value.

【0024】次にデータの読み出し方法について説明す
る。通常状態において読み出しデータは、CPU2から
の命令に従い制御回路6が磁気ディスク装置7に対しア
クセスを行い、データはデータバス5およびインタフェ
ース3を介しCPU2に送られる。しかし、読み出し動
作が異常であった場合や多ビットのデータ誤りが発生し
た場合、CPU2は制御回路6に対しパリティトラック
を用いたデータ訂正を指示する。制御回路6はCPU2
よりパリティトラックを用いた読み出しを指示された場
合、修復すべきデータトラックと同じブロックに存在す
る他のデータトラックを全て読み出し、データバッファ
9に保存しておく。
Next, a method of reading data will be described. In the normal state, read data is sent to the CPU 2 via the data bus 5 and the interface 3 by the control circuit 6 accessing the magnetic disk device 7 in accordance with the instruction from the CPU 2. However, if the read operation is abnormal or a multi-bit data error occurs, the CPU 2 instructs the control circuit 6 to correct the data using the parity track. The control circuit 6 is the CPU 2
When instructed to read using the parity track, all the other data tracks existing in the same block as the data track to be restored are read and stored in the data buffer 9.

【0025】パリティ制御回路8はデータバッファ9に
書き込まれた他のデータトラックのデータと、パリティ
記憶回路10より読み出した修正すべきデータトラック
を含むデータブロックから生成したパリティトラック内
の不具合データトラックのデータとを生成する。
The parity control circuit 8 stores the data of another data track written in the data buffer 9 and the defective data track in the parity track generated from the data block including the data track to be corrected read from the parity storage circuit 10. Generate data and.

【0026】なお、この読み出し方法では誤りの発生し
たデータトラック内のデータを生成するためには、同一
ブロックに存在する他のデータトラックのデータを全て
読み出す必要があるため1トラックのデータを読み出す
のに時間を要する。
In this reading method, in order to generate the data in the data track in which an error has occurred, it is necessary to read all the data of the other data tracks existing in the same block, so the data of one track is read. Takes time.

【0027】(第二実施例)本発明第二実施例は、第一
実施例における誤りデータトラックの読み出しの高速化
をはかるもので、一つのパリティトラック内のデータを
生成するのに複数のトラックのデータが用いられる。そ
のため任意データトラックのデータをパリティトラック
にて訂正するには、訂正すべきデータトラックと同じパ
リティトラックの生成に用いたデータトラックを全て読
み出す必要があり、これを防ぐために本第二実施例で
は、図4に示すようにデータトラックを修正するために
用いる他のデータトラック内のデータのパリティをメモ
リに保持し、パリティ制御回路8はメモリバス11を介
しサブパリティ記憶回路12に接続さる。CPU2から
のデータ書き込みおよび初期化動作は第一実施例同様に
行われるが、誤り発生時の読み出し動作は次のように行
うことにより高速化を図ることができる。
(Second Embodiment) The second embodiment of the present invention is intended to speed up the reading of error data tracks in the first embodiment, and a plurality of tracks are used to generate data in one parity track. Data is used. Therefore, in order to correct the data of the arbitrary data track by the parity track, it is necessary to read all the data tracks used for generating the same parity track as the data track to be corrected, and in order to prevent this, in the second embodiment, As shown in FIG. 4, the parity of the data in another data track used for modifying the data track is held in the memory, and the parity control circuit 8 is connected to the sub parity storage circuit 12 via the memory bus 11. Although the data writing and the initialization operation from the CPU 2 are performed in the same manner as the first embodiment, the read operation when an error occurs can be speeded up by performing the following operation.

【0028】CPU2から誤りの発生している任意デー
タトラックの読み出しを制御回路6が命じられた場合、
制御回路6は誤りの発生しているデータトラックと同一
ブロックに位置する全てのデータブロックを読み出し、
誤りの発生しているデータトラック以外のデータトラッ
クによる新たなパリティトラックを生成しサブパリティ
トラックとする。サブパリティトラックはパリティ制御
回路8によりサブパリティ記憶回路12に記憶される。
サブパリティトラックのデータをS1、S2、…、Sz
とした場合、誤りが発生しているデータトラックに書き
込まれているはずの正しいデータDt1、Dt2、…、
Dtzは下記の演算をパリティ制御回路8内部にて行う
ことにより求めることができる。
When the control circuit 6 is instructed by the CPU 2 to read an arbitrary data track in which an error has occurred,
The control circuit 6 reads all the data blocks located in the same block as the data track in which the error has occurred,
A new parity track is generated by a data track other than the data track in which the error has occurred, and is used as a sub parity track. The sub parity track is stored in the sub parity storage circuit 12 by the parity control circuit 8.
The data of the sub parity track is S1, S2, ..., Sz
If so, the correct data Dt1, Dt2, ..., Which should have been written in the data track in which the error has occurred,
Dtz can be obtained by performing the following calculation inside the parity control circuit 8.

【0029】[0029]

【数3】 これにより、誤りの発生したデータトラックに対応する
サブパリティトラックを生成しサブパリティ記憶回路1
2に保存することができ、誤り発生データトラックから
の正常データの読み出し作業は2回目のアクセス以降他
のデータトラックの読み出しを行うことなく高速に行う
ことがが可能となる。
[Equation 3] As a result, a sub parity track corresponding to the data track in which an error has occurred is generated, and the sub parity storage circuit 1
The data can be stored in No. 2 and the normal data read operation from the error data track can be performed at high speed without reading other data tracks after the second access.

【0030】[0030]

【発明の効果】以上説明したように本発明によれば、全
記憶領域を任意のブロックに分割し各々のブロックに含
まれるデータのパリティを別途記憶することができ、ま
た、単一の補助記憶装置におていも誤り訂正符号では処
理しきれない広範囲のデータの訂正を行うことができ、
これにより補助記憶装置のデータ信頼性の向上を図るこ
とができる効果がある。
As described above, according to the present invention, the entire storage area can be divided into arbitrary blocks and the parity of the data contained in each block can be stored separately, and a single auxiliary storage is also provided. Even in equipment, it is possible to correct a wide range of data that cannot be processed by error correction codes.
This has the effect of improving the data reliability of the auxiliary storage device.

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

【図1】本発明第一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention.

【図2】本発明第一実施例における記憶領域形態の一例
を示す概念図。
FIG. 2 is a conceptual diagram showing an example of a storage area form in the first embodiment of the present invention.

【図3】本発明第一実施例におけるパリティトラック生
成の一例を示す概念図
FIG. 3 is a conceptual diagram showing an example of parity track generation in the first embodiment of the present invention.

【図4】本発明第二実施例の構成を示すブロック図。FIG. 4 is a block diagram showing the configuration of a second embodiment of the present invention.

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

1 補助記憶装置 2 CPU 3 インタフェース 5 データバス 6 制御回路 7 磁気ディスク装置 8 パリティ制御回路 9 データバッファ 10 パリティ記憶回路 11 メモリバス 12 サブパリティ記憶回路 400、401、402、403 制御信号線 1 Auxiliary storage device 2 CPU 3 Interface 5 Data bus 6 Control circuit 7 Magnetic disk device 8 Parity control circuit 9 Data buffer 10 Parity storage circuit 11 Memory bus 12 Sub parity storage circuit 400, 401, 402, 403 Control signal line

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 データを保持する記憶手段と、パリティ
データを用いてデータ訂正を行う手段を含むパリティ制
御回路とを備えた補助記憶装置において、 上記パリティ制御回路は、上記記憶手段の記憶領域を分
割した複数個のブロックにそれぞれ含まれるデータ毎に
パリティデータを生成する手段を含み、 このパリティ制御回路で生成されたパリティデータを保
持するパリティ記憶回路を備えたことを特徴とする補助
記憶装置。
1. An auxiliary storage device comprising storage means for holding data and a parity control circuit including means for correcting data using parity data, wherein the parity control circuit stores a storage area of the storage means. An auxiliary storage device comprising a parity storage circuit that includes a unit that generates parity data for each data included in each of a plurality of divided blocks and that holds the parity data generated by the parity control circuit.
【請求項2】 誤りが生じたデータを含むブロック内の
この誤りが生じたデータを除くデータに基づき作成した
パリティデータを記憶するサブパリティ記憶回路を備え
た請求項1記載の補助記憶装置。
2. The auxiliary storage device according to claim 1, further comprising a sub-parity storage circuit for storing parity data created based on data excluding the data in which the error has occurred, in a block including the data in which the error has occurred.
【請求項3】 上記パリティ制御回路は、全記憶領域に
同一データを書き込む初期化を行う際にあらかじめ用意
したパリティデータ値を上記パリティ記憶回路に書き込
む手段を備えた請求項1または請求項2記載の補助記憶
装置。
3. The parity control circuit comprises means for writing a parity data value prepared in advance to the parity storage circuit when performing initialization for writing the same data in all storage areas. Auxiliary storage device.
JP4228858A 1992-08-27 1992-08-27 Auxiliary storage Expired - Lifetime JP3022688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4228858A JP3022688B2 (en) 1992-08-27 1992-08-27 Auxiliary storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4228858A JP3022688B2 (en) 1992-08-27 1992-08-27 Auxiliary storage

Publications (2)

Publication Number Publication Date
JPH0675716A true JPH0675716A (en) 1994-03-18
JP3022688B2 JP3022688B2 (en) 2000-03-21

Family

ID=16882991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4228858A Expired - Lifetime JP3022688B2 (en) 1992-08-27 1992-08-27 Auxiliary storage

Country Status (1)

Country Link
JP (1) JP3022688B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589725B2 (en) 2010-04-23 2013-11-19 Kabushiki Kaisha Toshiba Disk storage apparatus and method for recovering data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03105521A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Array disk controller
JPH0438515A (en) * 1990-06-05 1992-02-07 Toshiba Corp Storage controller with fault detecting function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03105521A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Array disk controller
JPH0438515A (en) * 1990-06-05 1992-02-07 Toshiba Corp Storage controller with fault detecting function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589725B2 (en) 2010-04-23 2013-11-19 Kabushiki Kaisha Toshiba Disk storage apparatus and method for recovering data

Also Published As

Publication number Publication date
JP3022688B2 (en) 2000-03-21

Similar Documents

Publication Publication Date Title
US5524204A (en) Method and apparatus for dynamically expanding a redundant array of disk drives
US6687850B1 (en) Disk drive for storing sector-reconstruction sectors and for storing a sector-reconstruction status in sectors distributed around a disk
US5666335A (en) Apparatus and method for correcting for defective sectors in a recording medium
JPH0744326A (en) Strage system
US20080195808A1 (en) Data migration systems and methods for independent storage device expansion and adaptation
JPH0756622B2 (en) Failure protection redundant information storage device information protection method and failure protection system
JP2004095147A (en) Method for writing streaming audio visual data in disk drive
US5396620A (en) Method for writing specific values last into data storage groups containing redundancy
US5748885A (en) Method and apparatus for reduction of I/O operations in persistent storage system
JPH0792896B2 (en) Device and method for positioning mispositioned heads
JPH1097471A (en) Method and system for error correction of memory data
JPH0675716A (en) Auxiliary storage
CN110310674B (en) Disk device and data management method
JPH08286844A (en) Parity generation control method and disk controller
JPH1166693A (en) Array disk processing device
JPH0535416A (en) File controller
JP2856054B2 (en) Disk array device
US5903405A (en) Hard disk drive enabling efficient use of storage capacity of a recording medium
JP3615250B2 (en) Disk array device
JPH07211016A (en) Disc memory device and method thereof for recording data
JPH07200190A (en) Disk array device
JPS6013360A (en) Storage device
JPH04264910A (en) Data updating method for computer external storage device
JPH08137627A (en) Disk array device
JP2005332123A (en) Disk array device and group dividing method for disk array device