JPH04168670A - Trouble treatment system of magnetic disk - Google Patents

Trouble treatment system of magnetic disk

Info

Publication number
JPH04168670A
JPH04168670A JP2295941A JP29594190A JPH04168670A JP H04168670 A JPH04168670 A JP H04168670A JP 2295941 A JP2295941 A JP 2295941A JP 29594190 A JP29594190 A JP 29594190A JP H04168670 A JPH04168670 A JP H04168670A
Authority
JP
Japan
Prior art keywords
magnetic disk
error
read
circuit
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.)
Pending
Application number
JP2295941A
Other languages
Japanese (ja)
Inventor
Masayoshi Wakizaka
脇坂 昌芳
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 Fielding Ltd
Original Assignee
NEC Fielding 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 Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP2295941A priority Critical patent/JPH04168670A/en
Publication of JPH04168670A publication Critical patent/JPH04168670A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly perform a restoring operation and to prevent a business operation from being stopped by a method wherein, when an error is detected, a magnetic disk unit is read out again and an alternative track treatment is executed. CONSTITUTION:At an error-checking circuit 18, data which have been sent through buses 43, 44 are checked by using an error-correcting code (ECC). When an ED flag 15 is set, a magnetic disk unit 7 is read out again, and the data are checked at the error-checking circuit 18 by using the ECC. An alternative track treatment at an error track part in the magnetic disk unit 7 is executed; after that, a data stored in a memory circuit 12 is sent also to a read-write circuit 17 via a bus 45 and is written to the magnetic disk unit 7. Thereby, a magnetic disk control unit 5 immediately executes an alternative track treatment and a data restoring treatment, a trouble is restored and a business operation is not stopped.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク障害処理方式、特に磁気ディスク
制御装置に二重化された磁気ディスク装置が接続された
磁気ディスクシステムの磁気ディスクi害処理方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk failure handling method, particularly to a magnetic disk i-damage handling method for a magnetic disk system in which a duplicated magnetic disk drive is connected to a magnetic disk controller. .

〔従来の技術〕[Conventional technology]

従来、この種の磁気ディスク障害処理方式は、コンピュ
ータシステムのO8と人手とにより処理する方式をとっ
ている。即ち、O8が正および副により二重化を構成し
た磁気ディスク装置の読出し命令を出すことにより、そ
れぞれの磁気ディスク装置から読出されたデータは、磁
気ディスク制御装置でサイクリックリダンダンチェック
コード(CRCC)またはエラーコレクトコード(EC
C)によるチェックが行なわれ、その結果情報がO8に
通知される。O8ではエラーの通知を受けた側の磁気デ
ィスク装置を論理的に使用不可状態にすると共に、エラ
ーの発生と論理的に使用不可状態にしたこととを操作卓
に表示し、エラーの通知の受けなかった側の磁気ディス
ク装置を使って、運転を継続する。エラー情報を受けた
オペレータは、エラーが障害によるものと判断したとき
は障害が代書トラック処理によって回避できるかを判断
して、回避できると判断したときは代替トラック処理を
実施した後に、この磁気ディスク装置を使用可状態にす
る。O8は使用可状態を認知すると再び二重化された磁
気ディスク装置としての制御を行なうようしている。
Conventionally, this type of magnetic disk failure handling method has been based on a method in which the problem is handled by the O8 of a computer system and manually. That is, when the O8 issues a read command to a magnetic disk device configured to be duplexed by primary and secondary, the data read from each magnetic disk device is processed by a cyclic redundancy check code (CRCC) or a cyclic redundancy check code (CRCC) by the magnetic disk controller. Error correction code (EC
The check according to C) is performed and the result information is notified to O8. The O8 logically disables the magnetic disk device on the side that received the error notification, displays the occurrence of the error and the fact that it has been logically disabled, and displays the error notification on the console. Continue operation using the missing magnetic disk drive. When the operator who receives the error information determines that the error is due to a failure, the operator determines whether the failure can be avoided by substitute track processing, and if the operator determines that it can be avoided, performs alternate track processing and then removes the magnetic disk. Make the device available for use. When O8 recognizes the usable state, it again performs control as a dual magnetic disk device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の磁気ディスク障害処理方式は、磁気ディ
スク装置にエラーが発生した場合に、エラーの内容の判
断および代替トラック処理に人手が介入するために、復
旧作業に時間がかかり、−方だけの磁気ディスク装置で
の運転中に、この運用側に障害が発生すると両系が使用
不可能となり処理業務が停止するという問題点がある。
In the conventional magnetic disk failure handling method described above, when an error occurs in a magnetic disk drive, human intervention is required to determine the content of the error and process an alternative track, so recovery work is time-consuming. There is a problem in that if a failure occurs on the operating side during operation of a magnetic disk device, both systems become unusable and processing operations stop.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の磁気ディスク障害処理方式は、磁気ディスク制
御装置に二重化された磁気ディスク装置を接続した磁気
ディスクシステムの磁気ディスク障害処理方式において
、磁気ディスク制御装置は、二重化された磁気ディスク
装置のそれぞれに接続された二つの読出し書込み回路と
、この読出し書込み回路からの読出しデータのそれぞれ
を記憶する二つの記憶回路と、前記読出しデータのエラ
ーをチェックするエラーチェック回路と、このエラーチ
ェック回路のエラーを磁気ディスク装置に対応して保持
する二つのエラーフラグとを有して、二重化された磁気
ディスク装置から読出されたデータを前記二つの読出し
書込み回路を介してそれぞれ前記記憶回路へ格納すると
共に前記エラーチェック回路でエラーチェックを行ない
、エラーが検出されたときそれぞれ対応する前記エラー
フラグをセットする第1ステップと、セットされたエラ
ーフラグに対応する磁気ディスク装置を再度読出し、再
度エラーフラグがセットされととき、この磁気ディスク
装置を障害とする第2ステップと、この第2ステップに
より障害とした磁気ディスク装置の障害トラックの代替
トラック処理を行なう第3ステップと、エラーフラグの
セットされなかった側の前記記憶装置からのデータをエ
ラーフラグのセットされた側の前記読出し書込み回路を
介して前記代替トラック処理を行なった障害トラックに
書込みを行なう第4ステップとを有することにより構成
される。
The magnetic disk failure handling method of the present invention is a magnetic disk failure handling method for a magnetic disk system in which duplicated magnetic disk devices are connected to a magnetic disk control device, in which the magnetic disk control device is connected to each of the duplicated magnetic disk devices. Two connected read/write circuits, two storage circuits that store read data from the read/write circuits, an error check circuit that checks the read data for errors, and a magnetic checker for detecting errors in the error check circuits. and two error flags held corresponding to the disk devices, the data read from the duplicated magnetic disk device is stored in the storage circuit via the two read/write circuits, and the error check is performed. A first step of performing an error check in the circuit and setting the corresponding error flag when an error is detected, and re-reading the magnetic disk device corresponding to the set error flag and setting the error flag again. , a second step in which this magnetic disk device is the fault; a third step in which a substitute track process is performed for the faulty track of the magnetic disk device which has become the fault in this second step; and the storage on the side where the error flag is not set. and a fourth step of writing data from the device to the faulty track on which the alternative track processing has been performed via the read/write circuit on the side where the error flag is set.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。第1図
の実施例は中央処理装置1、主記憶制御装置2、主記憶
装置3、入出力処理装置4、磁気ディスク制御装置5、
正の磁気ディスク装置6および副の磁気ディスク装置7
を示していて、磁気ディスク制御装置5はインターフェ
イス回I11、記憶回路12および13、EDフラグ1
4および15、エラーチェック回路18、読出し書込み
回路16および17、マイクロプラグラム制御回路19
を含んで構成される。磁気ディスク制御装置5内のイン
ターフェイス回路11は入出力制御装置4との間でデー
タおよび各種制御信号の通信を行う部分であり、マイク
ロプラグラム制御回路19により制御される。記憶回路
12および13は読出し書込み回116および17がら
の読出しデータを一時的に蓄え、マイクロプラグラム制
御回路1つの指示によりインターフェイス回路11へ送
出する。EDフラグ14および15はエラーチェック回
路18でエラーが検出されたときにセットされるフラグ
で、記憶回路12まなは13の何れからインターフェイ
ス回路11ヘデータを送出するかをマイクロプラグラム
制御回路19へ通知する。エラーチェック回路18は読
出し書込み回路16および17からの読出しデータのエ
ラーチェックを行いその結果をEDフラグ14および1
5ヘセツトする6続出し書込み回路16および17は磁
気ディスク装置6および7からの読出しデータをそれぞ
れ記憶回路12および13とエラーチェック回路16と
への送出、記憶回路12および13からのデータを磁気
ディスク装置6および7への送出をマイクロプラグラム
制御回路19の制御により行なう。
FIG. 1 is a block diagram of one embodiment of the present invention. The embodiment shown in FIG. 1 includes a central processing unit 1, a main memory controller 2, a main memory 3, an input/output processor 4, a magnetic disk controller 5,
Positive magnetic disk device 6 and sub magnetic disk device 7
The magnetic disk controller 5 has an interface circuit I11, storage circuits 12 and 13, and an ED flag 1.
4 and 15, error check circuit 18, read/write circuits 16 and 17, microprogram control circuit 19
It consists of: An interface circuit 11 in the magnetic disk control device 5 is a part that communicates data and various control signals with the input/output control device 4, and is controlled by a microprogram control circuit 19. Memory circuits 12 and 13 temporarily store read data from read/write circuits 116 and 17, and send it to interface circuit 11 according to instructions from one microprogram control circuit. The ED flags 14 and 15 are flags that are set when an error is detected in the error check circuit 18, and notify the microprogram control circuit 19 from which of the storage circuit 12 or 13 data is to be sent to the interface circuit 11. . The error check circuit 18 performs an error check on the read data from the read/write circuits 16 and 17 and sends the result to the ED flags 14 and 1.
Continuous writing circuits 16 and 17 send the read data from the magnetic disk devices 6 and 7 to the storage circuits 12 and 13 and the error check circuit 16, respectively, and send the data from the storage circuits 12 and 13 to the magnetic disk. Sending to devices 6 and 7 is performed under the control of microprogram control circuit 19.

次に第1図の動作について説明を進めると、磁気ディス
ク装置6および7に対する読出し動作の実行では、入出
力処理装置4から磁気ディスク制御装置5に読出し命令
が出されると、バス41を介して入力された命令コード
はインターフェイス回路11で読出し命令と判断される
。この判断結果がバス42を介してマイクロプログラム
制御回路1つに伝えられると、マイクロプラグラム制御
回路1つは読出し動作の制御を開始する。読出しは先ず
磁気ディスク装置6および7の両方に読出しを行なわせ
る。磁気ディスク装置6および7から読出されたデータ
は、それぞれ読出し書込み回路16および17からバス
43および44を介してエラーチェック回路18と記憶
回路12および13とへ送られる。記憶回路12および
13はそれぞれのデータを一時的に蓄える。エラーチェ
ック回路18では、バス43および44で送られてきた
データをECCによりチェックを行い、バス43のデー
タにエラーがあればEDフラグ14をセットし、バス4
4のデータにエラーが有ればEDフラグ15をセットす
る。マイクロプログラム制御回路1つは、EDフラグ1
4がリセット状態であれば記憶口i12に蓄えられたデ
ータをバス47を介してインターフェイス回路11へ送
り呂すと共に、EDフラグ1−5がセットされているか
をチェックし、セットされていれば再度磁気ディスク装
置7を読出し、エラーチェック回路18によりECCチ
ェックを行ない、今回もEDフラグ15がセットされれ
ば磁気ディスク装置7が障害であると判断して、副の磁
気ディスク装置7のエラートラック部の代替トラック処
理を実施した後に、記憶回路12に蓄えられたデータを
バス45を介して読出し書込み回路17へも送り、副の
磁気ディスク7装置への書込みを行う。また、マイクロ
プラグラム制御回路19はEDフラグ14がセットされ
ていれば再度磁気ディスク装置6の読出し、およびEC
Cチェックを行ない、EDフラグ14がされれば記憶回
路13に蓄れられなデータをバス48を経てインターフ
ェイス回路11へ送出すると共に、正の磁気ディスク装
置1f6のエラートラック部の代替トラック処理を実施
した後に、記憶回路13に蓄えられたデータをバス46
を介して読出し書込み回路16へも送り、正の磁気ディ
スク装置6への書込みを行う。
Next, to proceed with the explanation of the operation shown in FIG. The input instruction code is determined by the interface circuit 11 to be a read instruction. When this determination result is transmitted to one microprogram control circuit via bus 42, one microprogram control circuit starts controlling the read operation. For reading, first, both magnetic disk devices 6 and 7 are made to read. Data read from magnetic disk devices 6 and 7 is sent from read/write circuits 16 and 17 to error check circuit 18 and storage circuits 12 and 13 via buses 43 and 44, respectively. Memory circuits 12 and 13 temporarily store their respective data. The error check circuit 18 checks the data sent via the buses 43 and 44 using ECC, and if there is an error in the data on the bus 43, sets the ED flag 14 and transfers the data via the bus 43.
If there is an error in the data of 4, the ED flag 15 is set. One microprogram control circuit has ED flag 1
4 is in the reset state, the data stored in the memory port i12 is sent to the interface circuit 11 via the bus 47, and it is checked whether the ED flags 1-5 are set. The magnetic disk device 7 is read and the error check circuit 18 performs an ECC check. If the ED flag 15 is set again this time, it is determined that the magnetic disk device 7 is at fault, and the error track section of the secondary magnetic disk device 7 is After performing the alternative track processing, the data stored in the storage circuit 12 is also sent to the read/write circuit 17 via the bus 45, and written to the sub magnetic disk 7 device. Further, if the ED flag 14 is set, the microprogram control circuit 19 performs reading from the magnetic disk device 6 again and EC.
C check is performed, and if the ED flag 14 is set, the data stored in the storage circuit 13 is sent to the interface circuit 11 via the bus 48, and alternative track processing for the error track portion of the positive magnetic disk device 1f6 is performed. After that, the data stored in the memory circuit 13 is transferred to the bus 46.
The data is also sent to the read/write circuit 16 via the read/write circuit 16, and written to the positive magnetic disk device 6.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、磁気ディスク制御装置で
磁気ディスク装置のエラーチェックを行ない、エラーを
発生した磁気ディスク装置を再度読出して障害の判定を
行ない、障害と判断したときは、磁気ディスク制御装置
が直ちに代替トラック処理およびデータ復元処理を行な
うことにより、人手を介入することなく迅速に障害復旧
が行なわれるので、二重障害により業務停止を起すこと
が極めて少ないという効果がある。
As explained above, in the present invention, the magnetic disk control device performs an error check on the magnetic disk device, re-reads the magnetic disk device in which the error has occurred to determine a failure, and when it is determined that there is a failure, the magnetic disk control device Since the device immediately performs alternative track processing and data restoration processing, fault recovery can be quickly performed without human intervention, which has the effect of extremely reducing the possibility of business stoppages due to double faults.

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

第1図は本発明の一実施例のブロック図である。 1・・・中央処理装置、2・・・主記憶制御装置、3・
・・主記憶装置、4・・・入出力処理装置、5・・・磁
気ディスク制御装置、6.7・・・磁気ディスク装置、
11・・・インターフェイス回路、12.13・・・記
憶回路、14.15・・・EDフラグ、1.6.17・
・・読出し書込み回路、18・・・エラーチェック回路
、19・・・マィクロプログラム制御回路、41.〜4
9・・・バス。
FIG. 1 is a block diagram of one embodiment of the present invention. 1... Central processing unit, 2... Main memory control device, 3.
...Main storage device, 4...I/O processing device, 5...Magnetic disk control device, 6.7...Magnetic disk device,
11... Interface circuit, 12.13... Memory circuit, 14.15... ED flag, 1.6.17.
. . . Read/write circuit, 18 . . . Error check circuit, 19 . . . Micro program control circuit, 41. ~4
9...Bus.

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク制御装置に二重化された磁気ディスク装置
を接続した磁気ディスクシステムの磁気ディスク障害処
理方式において、磁気ディスク制御装置は、二重化され
た磁気ディスク装置のそれぞれに接続された二つの読出
し書込み回路と、この読出し書込み回路からの読出しデ
ータのそれぞれを記憶する二つの記憶回路と、前記読出
しデータのエラーをチェックするエラーチェック回路と
、このエラーチェック回路のエラーを磁気ディスク装置
に対応して保持する二つのエラーフラグとを有して、二
重化された磁気ディスク装置から読出されたデータを前
記二つの読出し書込み回路を介してそれぞれ前記記憶回
路へ格納すると共に前記エラーチェック回路でエラーチ
ェックを行ない、エラーが検出されたときそれぞれ対応
する前記エラーフラグをセットする第1ステップと、セ
ットされたエラーフラグに対応する磁気ディスク装置を
再度読出し、再度エラーフラグがセットされたとき、こ
の磁気ディスク装置を障害とする第2ステップと、この
第2ステップにより障害とした磁気ディスク装置の障害
トラックの代替トラック処理を行なう第3ステップと、
エラーフラグのセットされなかった側の前記記憶装置か
らのデータをエラーフラグのセットされた側の前記読出
し書込み回路を介して前記代替トラック処理を行なった
障害トラックに書込みを行なう第4ステップとを有する
ことを特徴とする磁気ディスク障害処理方式。
In a magnetic disk failure handling method for a magnetic disk system in which duplicated magnetic disk devices are connected to a magnetic disk control device, the magnetic disk control device includes two read/write circuits connected to each of the duplicated magnetic disk devices; Two storage circuits that store each of the read data from this read/write circuit, an error check circuit that checks errors in the read data, and two storage circuits that store errors in the error check circuit corresponding to the magnetic disk devices. and an error flag, the data read from the duplicated magnetic disk device is stored in the storage circuit via the two read/write circuits, and an error check is performed by the error check circuit, and an error is detected. The first step is to set the corresponding error flag when the error flag is set, and the first step is to read the magnetic disk device corresponding to the set error flag again, and when the error flag is set again, the first step is to set the corresponding error flag. a third step of performing alternative track processing for the faulty track of the magnetic disk device that has become faulty in the second step;
a fourth step of writing data from the storage device on the side where the error flag is not set to the faulty track on which the alternative track processing has been performed via the read/write circuit on the side where the error flag is set. A magnetic disk failure handling method characterized by:
JP2295941A 1990-11-01 1990-11-01 Trouble treatment system of magnetic disk Pending JPH04168670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2295941A JPH04168670A (en) 1990-11-01 1990-11-01 Trouble treatment system of magnetic disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2295941A JPH04168670A (en) 1990-11-01 1990-11-01 Trouble treatment system of magnetic disk

Publications (1)

Publication Number Publication Date
JPH04168670A true JPH04168670A (en) 1992-06-16

Family

ID=17827096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2295941A Pending JPH04168670A (en) 1990-11-01 1990-11-01 Trouble treatment system of magnetic disk

Country Status (1)

Country Link
JP (1) JPH04168670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189168A (en) * 1992-01-14 1993-07-30 Nec Corp System for automatically recovering fault track

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189168A (en) * 1992-01-14 1993-07-30 Nec Corp System for automatically recovering fault track

Similar Documents

Publication Publication Date Title
JPH04205519A (en) Writing method of data under restoration
JP2002328815A (en) Method of on-line removal of controller from redundant controller elimination system
JPH1195933A (en) Disk array system
JPH04168670A (en) Trouble treatment system of magnetic disk
JPH10222315A (en) Method and device for error recovery of doubled hard disk drives
JPS6079447A (en) Disk subsystem with cache
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPS62115555A (en) Managing method for duplexing auxiliary storage device of computer system
JPH05127837A (en) Disk array device
JPH0588988A (en) Disk array device and method for restoring data
JPH0588992A (en) Memory control system
JPH05342076A (en) Dual writing filing device
JPH03271923A (en) Magnetic disk device with measures for fault control
JPH04184551A (en) Data restoring system for electronic disk device
JPS6269342A (en) Semiconductor disk device
JPS62269254A (en) Fault processing system for semiconductor memory device
JPH02238539A (en) Memory control system
JP2000010736A (en) Disk array device with data loss preventing function
JPS6077252A (en) Input/output control device
JPS61150041A (en) Duplex information processing system
JPH05341921A (en) Disk array device
JPH01102658A (en) File write back-up system
JPS6341943A (en) Error restoring system for logic unit
JPS62182952A (en) Magnetic disk control device
JPH04353921A (en) Electronic disk sub-system