JPH04149719A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH04149719A
JPH04149719A JP2275863A JP27586390A JPH04149719A JP H04149719 A JPH04149719 A JP H04149719A JP 2275863 A JP2275863 A JP 2275863A JP 27586390 A JP27586390 A JP 27586390A JP H04149719 A JPH04149719 A JP H04149719A
Authority
JP
Japan
Prior art keywords
central processing
magnetic disk
processing unit
storage means
disk device
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
JP2275863A
Other languages
Japanese (ja)
Inventor
Hiroshige Matsuura
松浦 浩成
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP2275863A priority Critical patent/JPH04149719A/en
Publication of JPH04149719A publication Critical patent/JPH04149719A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To judge real trouble by storing address information which specifies a written place when fault occurrence information is received from one of two central processors and also storing address information on writing to a magnetic disk device, and comparing the both and performing processing. CONSTITUTION:The address information which specifies the written place is stored in a 1st storage means 260 when the trouble occurrence information is received from one of the two central processors 101 and 102 and the address information on the writing to the magnetic disk device 300 is written in a 2nd storage means 270. Then when the contents of the 1st and 2nd storage means match each other, the contents of the 1st storage means 260 are erased. If an error occurs during the read operation of the magnetic disk device 300, a read error caused by the trouble interruption of the central processor is reported if the address information in said reading matches the contents of the 1st storage means 260, but a normal read error is decided if not. Consequently, the cause of trouble is made clear.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気ディスク制御装置に関し、特に、中央処
理装置と磁気ディスク装置との間に設けられ、磁気ディ
スク装置を制御する磁気ディスり制御装置に関する6、 し従来の技術1 従来、この種の磁気ディスク制御装置では、中央処理装
置から転送されたデータの磁気ディスク装置への書込み
動作中に 中央処理装置系において障害が発生した場合
には、転送されたデータの内容が保証されないので磁気
ディスク装置への書込みを中断する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk control device, and particularly to a magnetic disk control device provided between a central processing unit and a magnetic disk device to control the magnetic disk device. 6. Related to Devices, Prior Art 1 Conventionally, in this type of magnetic disk control device, if a failure occurs in the central processing unit during the writing operation of data transferred from the central processing unit to the magnetic disk device, , the content of the transferred data is not guaranteed, so writing to the magnetic disk device is interrupted.

そして、この中央処理装置系の障害の復旧後に、磁気デ
ィスク装置の障害発生時に書込み動作を実行していたレ
コードにアクセスがあった場合は、このレコードに書込
まれたデータ、すなわち内容が保証されないデータが読
取られ、そのデータがブし7グラム士の処理にそのまま
使用されないようにするために読取りエラーを発生させ
、中央処理装置系の障害発生時に書込み動作を実行して
いたため、書込み中断による読取りエラーであることを
報告する。
After the central processing unit system has recovered from the failure, if the record that was being written to at the time of the magnetic disk unit failure is accessed, the data written to this record, that is, the contents, is not guaranteed. The data was read and a read error was generated to prevent the data from being used as is for processing by the programmer, and a write operation was being performed when the central processing unit system failed, so a read due to a write interruption occurred. Report an error.

あるいは、F記と同様な障害が発生した場合には、転送
されなかったデータの数だけデータを磁気ディスク制御
装置から磁気ディスク装置に転送し、書込み動作を継続
実行する。
Alternatively, if a failure similar to that described in F occurs, data equal to the number of data that was not transferred is transferred from the magnetic disk control device to the magnetic disk device, and the write operation is continued.

そして、この中央処理装置系の障害の復旧後に、磁気デ
ィスク装置に障害発生時に書込み動作を実行していたレ
コードにアクセスがあった場合は、このレコードに書込
まれたデータすなわち内容が保証されていないデータが
プログラム十の処理にそのまま使用されないようにする
ための補正を中央処理装置で行い、磁気ディスク装置へ
の処理が継続して実行可能となるよう読取りエラーが発
生しないようにしている。
After the central processing unit system has recovered from the failure, if the record that was being written to at the time of the failure is accessed, the data written to this record is not guaranteed. The central processing unit performs correction to prevent missing data from being used as is in the processing of the program 10, and prevents read errors from occurring so that processing to the magnetic disk device can continue to be executed.

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

上述した従来の磁気ディスク制御装置では、例えば、高
信頼性が要求されるオンラインシステムにおいて、障害
が発生した中央処理装置系の回復処理時に行われた磁気
ディスク装置への読取り動作中に読取りエラーが発生し
た場合、単なる媒体の不良に起因する読取りエラーなの
か、書込み動作中に生じた中央処理装置系の障害による
読取りエラーなのかを判断する手段がない。
In the conventional magnetic disk control device described above, for example, in an online system that requires high reliability, a read error occurs during a read operation to the magnetic disk device performed during recovery processing of a failed central processing unit system. When a read error occurs, there is no way to determine whether the read error is simply due to a defect in the medium or a read error due to a failure in the central processing unit system that occurred during a write operation.

また、判断する手段のある装置においても複数の中央処
理装置に接続されている場合には、中央処理装置の機能
により書込み動作中に生じた中央処理装置系の障害によ
る読取りエラーが発生しないにもかかわらず読取りエラ
ーである旨の誤った報告をする。
In addition, even if a device has a means for determining, if it is connected to multiple central processing units, the functions of the central processing unit will prevent reading errors from occurring due to failures in the central processing unit system that occur during write operations. erroneously reports a read error regardless of the

さt、に、書込み動作中に中央処理装置系の障害かあっ
たことを記憶する機能を有する装置においても、′s込
み動作中に生じた中央処理装置系の障害によるしコード
を再書込みした後でも、上記障害の履歴が残るばかりで
なく、障害発生時点でアドレスされたレコードで媒体の
不良に起因する読取りエラーが生じても中央処理装置系
の障害である旨の誤った報告をするため、本当の障害の
判断に多大の時間を必要とするという欠点がある。
Even in devices that have a function to remember that there was a failure in the central processing unit during a write operation, the code may be rewritten due to a failure in the central processing unit that occurred during a write operation. Even later, not only will the history of the above failure remain, but even if a read error occurs due to a defective medium in the record addressed at the time of the failure, it will be incorrectly reported as a failure in the central processing unit system. However, it has the disadvantage that it takes a lot of time to determine the true fault.

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

複数の中央処理装置に接続され、第一の中央処理装置の
liI書発生時には第一の中央処理装置から磁気ディス
ク装置への書込み動作を中断させ、第一の中央処理装置
の障害発生時には第二の中央処理装置から磁気ディスク
装置への書込み動作を中断させることなく、第二の中央
処理装置から指示されたデータの数だけ書込む磁気ディ
スク制御装置において、第一および第二の中央処理装置
カー方から障害発生情報を受けたとき、書込み個所を特
定するアトし文情報を記憶する第一の記憶手段と2磁気
テイズク装置に書込みを実行したアトし文情報を記憶す
る第二の記憶手段と、第一の記憶手段の内容と第二の記
憶手段の内容か一致したとき第一の記憶手段の内容を消
去する消去手段と、磁気ディスク装置で読取り動作が行
われて読取りエラーが生じたとき、この読取り時のアド
レス情報と第一の記憶手段の内容とが一致したときは中
央処理装置の障害 中断により生じた読取りエラーと報
告し、一致しなかったときは通常の読取りエラーと報告
する判定手段と、第一および第二の中央処理装置の障害
発生時の磁気ディスク装置への書込み動作の種類により
、第一の中央処理装置の障害発生時には全ての手段を有
効とする第一手段と、第二の中央処理装置の障害発生時
には各手段のうち、第一の記憶手段と判定手段とを無効
にする第二手段とを有している。
It is connected to multiple central processing units, and when a liI file occurs in the first central processing unit, the write operation from the first central processing unit to the magnetic disk device is interrupted, and when a failure occurs in the first central processing unit, the second central processing unit In a magnetic disk controller, the number of data specified by the second central processing unit is written without interrupting the write operation from the central processing unit to the magnetic disk unit. 2. A first storage means for storing information on a write location for specifying a writing location when failure occurrence information is received from a user; , erasing means for erasing the contents of the first storage means when the contents of the first storage means match the contents of the second storage means; and when a read operation is performed in the magnetic disk device and a read error occurs. , when the address information at the time of reading matches the contents of the first storage means, it is reported as a reading error caused by a failure or interruption of the central processing unit, and when they do not match, it is reported as a normal reading error. means, and a first means for making all the means effective when a failure occurs in the first central processing unit, depending on the type of write operation to the magnetic disk device when the failure occurs in the first and second central processing units; The second central processing unit includes a second means for disabling the first storage means and the determination means among the respective means when a failure occurs in the second central processing unit.

〔実施例〕〔Example〕

本発明の実施例についてV面に基づいて説明する。 Examples of the present invention will be described based on the V-plane.

第1図は本発明の一実施例の磁気ディスク制御装置を使
用したシステムのブロック図である。
FIG. 1 is a block diagram of a system using a magnetic disk control device according to an embodiment of the present invention.

第1図において、本システムは中央処理装置101およ
び102と、磁気ディスク制御装置200と、磁気ディ
スク装置300で構成されている。
In FIG. 1, this system is composed of central processing units 101 and 102, a magnetic disk control device 200, and a magnetic disk device 300.

磁気ディスク制御装置200は中央処理装置101およ
び102と接続するためのチャネルインタフェース制御
部210と、磁気ディスク装置300との接続インタフ
ェースを制御するデバイスインタフェース制御部220
と、磁気ディスク制御装置200の全体の動作を制御す
るマイクロプロセッサ部230と、チャネルインタフェ
ース信号線の中の○PO(Operational  
0ut)がインアクティブになったことを検出する○p
o検出回路240と、opo検出回路240の出力信号
aがアクティブになったときに、デバイスインタフェー
ス制御部220の書込み動作を中断する書込み中断制御
回路250と、書込み動作を中断した磁気ディスク装置
番号と書込み個所を特定するアドレス情報とを記憶する
第一記憶部260と、書込み動作を実行した時ディスク
装置番号と書込み個所のアドレス情報を記憶する第二記
憶部270とにより構成されている。
The magnetic disk control device 200 includes a channel interface control section 210 for connecting to the central processing units 101 and 102, and a device interface control section 220 for controlling the connection interface to the magnetic disk device 300.
, a microprocessor unit 230 that controls the overall operation of the magnetic disk control device 200, and an operational
Detects that 0ut) has become inactive○p
o detection circuit 240, a write interruption control circuit 250 that interrupts the write operation of the device interface control unit 220 when the output signal a of the opo detection circuit 240 becomes active, and a magnetic disk device number that interrupted the write operation. It is composed of a first storage section 260 that stores address information for specifying a write location, and a second storage section 270 that stores a disk device number and address information of a write location when a write operation is executed.

さらに、チャネルインタフェース制御部210は、○P
O検出回路240にて○POがインアクティブになった
ことを検出したとき出力信号aをアクティブまたはイン
アクティブに設定可能な○PO検出出力信号制御回路2
11および212とにより構成されている。
Furthermore, the channel interface control unit 210
○PO detection output signal control circuit 2 capable of setting the output signal a to active or inactive when the O detection circuit 240 detects that ○PO becomes inactive
11 and 212.

以上の構成において、中央処理装置101と接続される
OP○検出出力信号制御回路211によって出力信号a
をアクティブとし、中央処理装置102と接続されるo
PO検出出力信号制御回路212によって出力信号aを
インアクティブとして動作させ、中央処理装置101ま
たは102に障害が発生してチャネルインタフェース信
号線の中の○PO信号がインアクティブになった場合の
磁気ディスク制御装置200の動作について説明する。
In the above configuration, the output signal a is output by the OP○ detection output signal control circuit 211 connected to the central processing unit 101.
is activated and connected to the central processing unit 102.
The magnetic disk when the output signal a is operated as inactive by the PO detection output signal control circuit 212 and a failure occurs in the central processing unit 101 or 102 and the ○PO signal in the channel interface signal line becomes inactive. The operation of the control device 200 will be explained.

磁気ディスク制御装置200が中央処理装置101から
の書込み命令を受けると、マイクロプロセッサ部230
は磁気ディスク装置300へ中央処理装置101から転
送されたデータの書込みを開始する。この書込み動作中
に中央処理装置101の重障害または電源断が発生する
とチャネルインタフェース信号線の中のOP○信号がイ
ンアクティブになる。また、中央処理装置102の動作
も同様である。
When the magnetic disk control device 200 receives a write command from the central processing unit 101, the microprocessor unit 230
starts writing the data transferred from the central processing unit 101 to the magnetic disk device 300. If a serious failure or power failure occurs in the central processing unit 101 during this write operation, the OP○ signal in the channel interface signal line becomes inactive. Further, the operation of the central processing unit 102 is also similar.

OPO検出回路240はチャネルインタフェース制御部
210を経由してOPO信号がインアクティブになった
ことを検出し、中央処理装置101からの動作中である
ならばOP○検出出力信号制御回路211はアクティブ
であるので出力信号aをアクティブとする。そして、書
込み中断制御回路250は圧力信号aを検出すると、デ
バイスインタフェース制御部220に対し磁気ディスク
装置300に対する書込み動作を中断させる。
The OPO detection circuit 240 detects that the OPO signal becomes inactive via the channel interface control unit 210, and if the central processing unit 101 is operating, the OP○ detection output signal control circuit 211 becomes active. Therefore, the output signal a is made active. When the write interruption control circuit 250 detects the pressure signal a, it causes the device interface control section 220 to interrupt the write operation to the magnetic disk device 300.

一方、マイクロプロセッサ部230は、出力信号aとO
PO検出回路240からの出力信号すとを検出し、中央
処理装置101の障害の発生により磁気ディスク装置3
00に対する書込み動作が中断したと判断し、そのとき
の磁気ディスク装置番号と書込み個所を特定するアドレ
ス情報とを第一記憶部260へ格納する。
On the other hand, the microprocessor section 230 outputs the output signals a and O.
The output signal from the PO detection circuit 240 is detected, and the magnetic disk device 3 is activated due to a failure in the central processing unit 101.
It is determined that the write operation for 00 has been interrupted, and the magnetic disk device number at that time and address information specifying the write location are stored in the first storage unit 260.

また、中央処理装置102からの動作中であるならば○
PO検出出力信号制御回路212がインアクティブであ
るので圧力信号aはインアクティブなままである。そし
て、書込み中断制御回路250は動作せず、デバイスイ
ンタフェース制御部220に対し、磁気ディスク装置3
00に対する書込み動作を中断させることなく終了する
Also, if it is being operated from the central processing unit 102, ○
Since the PO detection output signal control circuit 212 is inactive, the pressure signal a remains inactive. Then, the write interruption control circuit 250 does not operate, and the device interface control unit 220 requests that the magnetic disk device 3
The write operation for 00 ends without interruption.

一方、マイクロプロセッサ部230は、出力信号aアク
ティブ、出力信号bインアクティブなる状態を検出し、
中央処理装置102のIff害の発生は検知するものの
磁気ディスク装置300に対する書込み動作は中断する
ことなく終了したと判断し、そのときの磁気ディスク装
置番号と書込み個所を特定するアドレス情報の第一記憶
部260への格納をバイパスする。
On the other hand, the microprocessor unit 230 detects a state where the output signal a is active and the output signal b is inactive,
Although the occurrence of an IF error in the central processing unit 102 is detected, it is determined that the write operation to the magnetic disk device 300 has been completed without interruption, and the first storage of address information that specifies the magnetic disk device number and writing location at that time is performed. 260 is bypassed.

中央処理装置101の障害が復旧されてシステムが立ち
あげられた後に、磁気ディスク装置に対して書込み動作
が実行されると、磁気ディスク制御装置200は磁気デ
ィスク装置番号と書込み個所を特定するアドレス情報と
を第二記憶部2701\格納する。マイクロプロセッサ
部230はこの書込み命令を含む一連の命令群の終了時
に、第一記憶部260と第二記憶部270との磁気ディ
スク装置番号と第一記憶部260の書込み個所を特定す
るアドレス情報と第二記憶部270の書込み個所のアト
しス情報とを比較し、一致したときは第一記憶部260
の磁気ディスク装置番号と書込み個所を特定するアドレ
ス情報を消去する。
After the failure of the central processing unit 101 is recovered and the system is started up, when a write operation is performed on the magnetic disk device, the magnetic disk control device 200 writes the magnetic disk device number and the address information that specifies the write location. are stored in the second storage unit 2701\. At the end of a series of commands including this write command, the microprocessor unit 230 stores the magnetic disk device numbers of the first storage unit 260 and the second storage unit 270 and address information that specifies the write location in the first storage unit 260. It compares the write location information with the ATS information in the second storage section 270, and if they match, the first storage section 260
Delete the magnetic disk device number and address information that specifies the writing location.

また、中央処理装置102の障害が復旧された場合も動
作は同じである。
Further, the operation is the same even when the failure of the central processing unit 102 is recovered.

ところで、書込み動作が上記の書込み個所を特定するア
ドレスで実行されていないとき、この磁気ディスク装置
番号の書込み個所を特定するアドレスで読取り動作か行
われると、この書込み個所を特定するアドレスは以前に
中央処理装置101から書込み動作が中断されて読取り
エラーのチエツクコードが更新されていないため、必然
的に中央処理装置コ−01または102から磁気ディス
ク装置300への読取り動作中読取りエラーが発生ずる
。その読取りエラーが中央処理装置101に対しての報
告であるならば、中央処理装置101は、アクティブな
状態にあるOPO検出呂力信号制御回路211を通して
磁気ディスク制御装W2O0と接続されているので、そ
の時点の磁気ディスク装置番号と書込み個所を特定する
アドレス情報とを第一記憶部260に格納されている磁
気ディスク装置番号と書込み個所を特定するアドレス情
報とを比較する。
By the way, when a write operation is not executed at the address that specifies the write location mentioned above, and a read operation is performed at the address that specifies the write location of this magnetic disk device number, the address that specifies this write location is previously used. Since the write operation from the central processing unit 101 has been interrupted and the read error check code has not been updated, a read error inevitably occurs during the read operation from the central processing unit code 01 or 102 to the magnetic disk device 300. If the read error is a report to the central processing unit 101, the central processing unit 101 is connected to the magnetic disk control unit W2O0 through the OPO detection power signal control circuit 211 which is in an active state. The current magnetic disk device number and the address information specifying the write location are compared with the magnetic disk device number stored in the first storage unit 260 and the address information specifying the write location.

この比較が一致した場合は、中央処理装置101の障害
発生による書込み動作が中断されるために発生した読取
りエラーである旨を中央処理装置101へ報告し、もし
、この比較が一致しない場合は、磁気ディスク装置30
0の媒体不良に起因するエラーと判断して、中央処理装
置101へ読取りエラーを報告する。
If this comparison matches, it is reported to the central processing unit 101 that the read error occurred because the write operation was interrupted due to a failure in the central processing unit 101, and if this comparison does not match, Magnetic disk device 30
It is determined that the error is caused by a medium failure of 0, and the read error is reported to the central processing unit 101.

また、その読取りエラーが中央処理装置102に対して
の報告であるならば、中央処理袋ff 102は、イン
アクティブな状態にあるOPO検呂検力出力信号制御回
路212して磁気ディスク制御装置F200と接続され
ているので、マイクロプロセッサ部230は読取りエラ
ーが発生しても、中央処理装置101に接続されていた
場合の4−記比較動作は実施せず読取りエラーの報告の
みを行つ。
If the read error is a report to the central processing unit 102, the central processing unit ff 102 transmits the information to the OPO test output signal control circuit 212, which is in an inactive state, to the magnetic disk control unit F202. Therefore, even if a read error occurs, the microprocessor unit 230 only reports the read error without performing the comparison operation described in Section 4, which would be performed if it were connected to the central processing unit 101.

このように、中央処理装置101で障害が発生して磁気
デ1スタ装置300への書込み動作が中断したときの磁
気ディスク装置番号と書込み個所を特定するアトトス番
号とを記憶しておき、この記憶内容と中央処理装置]0
1または102の障害復帰後の書込み動作時の磁気ディ
スク装置番号と書込み個所のアドレス情報とを比較して
、比較情報が一致したときに第一記憶部260の書込み
個所を特定づるアドレス情報を消去することによ−〕で
、中央処理装置101で障害復旧後に生した読取りエラ
ーの磁気ディスク番号と読取りアトトス情報を、書込み
動作が中断した時の磁気ディスク装置番号と書込み個所
を特定するアドレス情報との比較において、媒体不良に
起因する読取りエラーであるにもかかわらず書込み中断
による読取りエラーであるという誤認識を排除し、上記
比較結果が一致したときに書込み中断による読取りエラ
ーである旨を中央処理装置101 /\報告する。
In this way, when a failure occurs in the central processing unit 101 and the writing operation to the magnetic data storage device 300 is interrupted, the magnetic disk device number and the Attos number that specifies the writing location are stored, and this memory is used. Contents and central processing unit] 0
Compare the magnetic disk device number during the write operation after recovery from failure 1 or 102 with the address information of the write location, and when the comparison information matches, erase the address information that specifies the write location in the first storage unit 260. By doing this, the magnetic disk number and read attos information of the read error that occurred after the failure recovery in the central processing unit 101 are converted into the magnetic disk device number and address information that specifies the write location at the time when the write operation was interrupted. When the above comparison results match, the central processing eliminates the misrecognition that the read error is due to a write interruption even though it is caused by a media defect. Device 101 /\Report.

さらに、中央処理装置102で障害復旧後に生したコ売
取りエラーにおいて、中央処理装置102においては中
央処理装π系の書込み中断による読取りエラーであると
いう誤報告を排除する。
Furthermore, in the case of a co-selling error that occurs in the central processing unit 102 after recovery from a failure, the central processing unit 102 eliminates a false report that it is a read error due to a writing interruption in the central processing unit π system.

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

以上説明したように本発明によれば、中央処理装置の障
害時、あるいは、復旧後に異る処理を必要とする複数の
中央処理装置に接続されt:磁気ディスク制御装百にお
いて、1つの中央処理装置の障害の発生による磁気ディ
スク装置への書込みが中断したとき書込み個所を特定す
るアトしス情報を記憶し、接続さり、 f、)全ての中
央処理装置の障害復旧後の書込み動作によって、このレ
コードに再書込みを実行した際、記憶された中断書込み
個所を特定するアドレス情報を消去することにより、1
つの中央処理装置の障害復旧後に生じた読取りエラーの
読取り個所を特定するアドレス情報と書込み動作が中断
しなとき書込み個所を特定するアドレス情報の比較にお
いて、媒体不良に起因する読取りエラーであるという誤
認識を排除するという効果がある。
As explained above, according to the present invention, one central processing unit is connected to a plurality of central processing units that require different processing when a central processing unit fails or after recovery. When writing to the magnetic disk device is interrupted due to a device failure, it stores the attribution information that specifies the writing location and connects it. When rewriting a record, by erasing the address information that specifies the interrupted writing location, 1.
When comparing the address information that identifies the read location of a read error that occurred after failure recovery of two central processing units with the address information that identifies the write location when the write operation is not interrupted, there is an error that the read error is due to a media defect. It has the effect of eliminating recognition.

また、他の1つの中央処理装置への読取りエラー報告の
場合、この読取りエラーはこの他の1つの中央処理装置
の障害のために発生したものではなく、書込み中断の機
能を有効としたOP○検出出力信号制御回路に接続され
た1つの中央処理装置の障害による書込み中断によって
発生したので、この他の1つの中央処理装置には書込み
中断による読取りエラーの報告をバイパスすることによ
って誤報告を排除するという効果がある。
In addition, in the case of a read error report to one other central processing unit, this read error is not caused by a failure of this other central processing unit, and the OP○ with the write interruption function enabled Since this occurred due to a write interruption due to a failure in one central processing unit connected to the detection output signal control circuit, false reporting is eliminated by bypassing the reporting of a read error due to a writing interruption to the other central processing unit. It has the effect of

さらに、比較した結果が一致を示すとき、この読取りエ
ラーが書込み中断による読取りエラーである旨を1つの
中央処理装置に報告することによって、この読取エラー
が単なる媒体不良に起因するのか、書込み中断に起因す
るのかを用意に判断することが出来るため、回復の時間
を短縮することができるという効果がある。
Furthermore, when the comparison results show a match, it is possible to determine whether this read error is due to a simple media defect by reporting to one central processing unit that this read error is due to a write interruption. Since it is possible to easily determine whether the cause of the problem is caused, the effect is that the recovery time can be shortened.

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

第1図は本発明の一実施例の磁気ディスク制御装置を使
用したシステムめブロック図である。 101.102・・・中央処理装置、200・・・磁気
ディスク制御装置、210・・・チャネルインタフェー
ス制御部、211,212・・・OPO検呂検力出力信
号制御回路20・・・デバイスインタフェース制御部、
230・・・マイクロプロセッサ部、240・・・OP
O検出回路、250・・・書込み中断回路、260・・
・第一記憶部、270・・・第二記憶部、300・・・
磁気ディスク装置。
FIG. 1 is a block diagram of a system using a magnetic disk control device according to an embodiment of the present invention. 101, 102...Central processing unit, 200...Magnetic disk control device, 210...Channel interface control unit, 211, 212...OPO test output signal control circuit 20...Device interface control Department,
230...Microprocessor section, 240...OP
O detection circuit, 250...Writing interrupt circuit, 260...
- First storage section, 270...Second storage section, 300...
Magnetic disk device.

Claims (1)

【特許請求の範囲】 複数の中央処理装置に接続され、第一の中央処理装置の
障害発生時には前記第一の中央処理装置から磁気ディス
ク装置への書込み動作を中断させ、第二の中央処理装置
の障害発生時には前記第二の中央処理装置から磁気ディ
スク装置への書込み動作を中断させることなく、前記第
二の中央処理装置から指示されたデータの数だけ書込む
磁気ディスク制御装置において、 前記第一および第二の中央処理装置の一方から障害発生
情報を受けたとき、書込み個所を特定するアドレス情報
を記憶する第一の記憶手段と、磁気ディスク装置に書込
みを実行したアドレス情報を記憶する第二の記憶手段と
、 前記第一の記憶手段の内容と前記第二の記憶手段の内容
が一致したとき前記第一の記憶手段の内容を消去する消
去手段と、 前記磁気ディスク装置で読取り動作が行われて読取りエ
ラーが生じたとき、この読取り時のアドレス情報と前記
第一の記憶手段の内容とが一致したときは中央処理装置
の障害・中断により生じた読取りエラーと報告し、一致
しなかったときは通常の読取りエラーと報告する判定手
段と、 前記第一および第二の中央処理装置の障害発生時の前記
磁気ディスク装置への前記書込み動作の種類により、前
記第一の中央処理装置の障害発生時には前記全ての手段
を有効とする第一手段と、前記第二の中央処理装置の障
害発生時には前記した手段のうち、前記第一の記憶手段
と前記判定手段とを無効にする第二手段とを有すること
を特徴とする磁気ディスク制御装置。
[Scope of Claims] The second central processing unit is connected to a plurality of central processing units, and when a failure occurs in the first central processing unit, the writing operation from the first central processing unit to the magnetic disk device is interrupted; In a magnetic disk control device that writes as much data as instructed by the second central processing unit without interrupting the write operation from the second central processing unit to the magnetic disk device when a failure occurs in the magnetic disk device, When failure occurrence information is received from one of the first and second central processing units, a first storage means stores address information for specifying a write location, and a second storage means stores address information for executing writing in the magnetic disk device. a second storage means; an erasing means for erasing the contents of the first storage means when the contents of the first storage means and the contents of the second storage means match; and a read operation in the magnetic disk device. When a reading error occurs during reading, if the address information at the time of reading matches the contents of the first storage means, it is reported as a reading error caused by a failure or interruption of the central processing unit, and if they do not match. a determination means that reports a normal read error when a failure occurs in the first and second central processing units; and a determination unit that determines whether the first central processing unit A first means that enables all of the means when a failure occurs, and a second means that disables the first storage means and the determination means among the aforementioned means when a failure occurs in the second central processing unit. 1. A magnetic disk control device comprising: means.
JP2275863A 1990-10-15 1990-10-15 Magnetic disk controller Pending JPH04149719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2275863A JPH04149719A (en) 1990-10-15 1990-10-15 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2275863A JPH04149719A (en) 1990-10-15 1990-10-15 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH04149719A true JPH04149719A (en) 1992-05-22

Family

ID=17561484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2275863A Pending JPH04149719A (en) 1990-10-15 1990-10-15 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH04149719A (en)

Similar Documents

Publication Publication Date Title
JPS598852B2 (en) Error handling method
JP2002062956A (en) Service interruption processing method and service interruption processing device
JPH07182250A (en) Automatic substituting processing system for magnetic disk
JPH04149719A (en) Magnetic disk controller
JPH0756694A (en) Disk array device
JPS5856165A (en) Record update system
JPH09212429A (en) Monvolatile semiconductor disk drive
JP2000122813A (en) Disk array device
JPS6378211A (en) Power failure handling device for disk recording and reproducing device in microcomputer
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JPH0581789A (en) Optical disk device
JPH0222726A (en) Magnetic disk controller
JP2544536B2 (en) Method for determining the presence or absence of data in memory
JPH11272566A (en) Storage device using nor type flash memory
JPS63131249A (en) Auxiliary storage system
JPH07141120A (en) Processing method for fault in information storage medium
JPH0588988A (en) Disk array device and method for restoring data
JPH02245954A (en) Semiconductor storage device
JPH08138391A (en) Flash memory control system
JPH01309421A (en) Error correction system
JPH03211619A (en) Data processor
JPS6374177A (en) Magnetic disk controller
JPS5953949A (en) Patrolling system
JPS59206963A (en) Input-output controlling system
JPS5822465A (en) Magnetic disk device system