JPH0261866A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH0261866A
JPH0261866A JP21303688A JP21303688A JPH0261866A JP H0261866 A JPH0261866 A JP H0261866A JP 21303688 A JP21303688 A JP 21303688A JP 21303688 A JP21303688 A JP 21303688A JP H0261866 A JPH0261866 A JP H0261866A
Authority
JP
Japan
Prior art keywords
read
data
track
magnetic disk
processing unit
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
JP21303688A
Other languages
Japanese (ja)
Inventor
Hiroshi Tomita
弘 富田
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP21303688A priority Critical patent/JPH0261866A/en
Publication of JPH0261866A publication Critical patent/JPH0261866A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To enable the trouble shoot in a short time by making a data read diagnosis on a different track when a read error generating frequency exceeds a specified frequency and judging a faulty part based on the obtained result. CONSTITUTION:When the occurrence of a read error is detected during the read operation of data from a magnetic disk, the specified read error frequency of the track, stored in a storage circuit 120 is read out by a microprogram control circuit 130 to make a comparison between the read error generating frequency and the specified read error frequency. As a result of the comparison, when the read error generating frequency exceeds the specified frequency, a data transfer circuit 110 is driven by the circuit 130 to make the data read diagnosis on a different track from the track where the read error has arisen. In the case of execution of the normal data read operation, a circuit in which the read error is generated is judged as a fault by the circuit 130. On the other hand, in the case of nonexecution of the normal data read operation, a magnetic disk device, etc., are judged by the circuit 130 to be faulty.

Description

【発明の詳細な説明】 (意東上の利用分野) 本発明は磁気ディスク制御装置に関し、特にデータ読出
し動作中に発生したリードエラーの処理に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application) The present invention relates to a magnetic disk control device, and particularly to processing of read errors that occur during data read operations.

(従来の技術) 従来、この種の磁気ディスク制御装置において、磁気デ
ィスク装置に対するデータの読出し動作中にリードエラ
ーが発生したときの処理方式は次のようなものであった
。すなわち、磁気ディスク装置に対するデータの読出し
動作中にリードエラーが発生したとき、磁気ディスク制
御装置は磁気ディスク装置の当該トラックでリードエラ
ーが発生したと云う報告のみを中央処理装置に対して送
出していた。
(Prior Art) Conventionally, in this type of magnetic disk control device, the following processing method has been used when a read error occurs during a data read operation for a magnetic disk device. In other words, when a read error occurs during a data read operation to a magnetic disk device, the magnetic disk control device only sends a report to the central processing unit that a read error has occurred in the relevant track of the magnetic disk device. Ta.

七のため、リードエラーの原因が磁気ディスク装置の当
該トラックの不良であるのか、あるいは磁気ディスク装
置または磁気ディスク制御装置の故障であるのかの区別
ができなかった。
7, it was not possible to distinguish whether the cause of the read error was a defect in the relevant track of the magnetic disk device or a failure of the magnetic disk device or magnetic disk control device.

(発明が解決しようとする課題) 上述した従来の磁気ディスク制御装置においては、磁気
ディスク装置に対するデータの読出し動作中にリードエ
2−が発生したとき、磁気ディスク装置の当該トラック
でリードエラーが発生したと云う報告のみを中央処理装
置に送出していた。このため、リードエラーの発生原因
が磁気ディスク装置の轟咳トラックの不良であるのか、
あるいは磁気ディスク装置または磁気ディスク制a装置
の故障であるのかの区別ができないため、障害原因の追
求までにきわめて長時間を費やすと云う欠点があつ九。
(Problem to be Solved by the Invention) In the above-described conventional magnetic disk control device, when a read error 2- occurs during a data read operation to the magnetic disk device, a read error occurs in the corresponding track of the magnetic disk device. Only this report was sent to the central processing unit. Therefore, it is difficult to determine whether the read error is caused by a defective track in the magnetic disk drive.
Another drawback is that it takes a very long time to find the cause of the failure because it cannot be determined whether the failure is in the magnetic disk device or the magnetic disk control device.

本発明の目的は、中央処理装置からデータの読出し診断
を開始するための1トラック当りのリードエラーの規定
回数を送出した後、磁気ディスク装置の任意のトラック
に対するデータの読出し動作中にリードエラーが発生し
たならば、リードエラーの発生回数とリードエラーの規
定回数とを比較し、リードエラーの発生回数が規定回数
を越えたときにはリードエラーが発生したのとは別のト
ラックに対してデータの読出し診断を実行し、データの
読出し動作が正常に実行できた場合にはリードエラーが
発生したトラックの不良によりリードエラーが発生した
と云う報告を中央処理装置に送出するのに対して。
An object of the present invention is to detect a read error during a data read operation for any track of a magnetic disk device after sending a specified number of read errors per track for starting data read diagnosis from a central processing unit. If a read error occurs, compare the number of read errors with the specified number of read errors, and if the number of read errors exceeds the specified number, read data to a different track than the one where the read error occurred. If the diagnosis is executed and the data read operation is successfully executed, a report is sent to the central processing unit stating that the read error occurred due to a defective track in which the read error occurred.

データの読出し動作が正常に実行できなかった場合には
、磁気ディスク装atたは本磁気ディスク制御装置の故
障によりリードエラーが発生したと云う報告を中央処理
装置に送出することにより上記欠点を除去し、短時間で
障害原因を追求できるように構成した磁気ディスク制御
装置を提供することにある。
If the data read operation cannot be executed normally, the above drawback is eliminated by sending a report to the central processing unit that a read error has occurred due to a failure of the magnetic disk unit or this magnetic disk control device. However, it is an object of the present invention to provide a magnetic disk control device configured so that the cause of a failure can be investigated in a short time.

(課題を解決するための手段) 本発明による磁気ディスク制御装置は中央処理装置に接
続され、中央処理装置からの指示に従って動作し、複数
台の磁気ディスク装置を制御することができるように構
成したものであって、データ転送回路と、記憶回路と、
マイクロプログラム制御回路とを具備して構成したもの
である。
(Means for Solving the Problems) A magnetic disk control device according to the present invention is connected to a central processing unit, operates according to instructions from the central processing unit, and is configured to be able to control a plurality of magnetic disk devices. A data transfer circuit, a storage circuit,
This configuration includes a microprogram control circuit.

データ転送回路は、中央処理装置と磁気ディスク装置と
の間で書込み/読出しデータのデータ転送を行うための
ものである。
The data transfer circuit is for transferring write/read data between the central processing unit and the magnetic disk device.

記憶回路は、中央処理装置から送出されるデータの読出
し診断を開始するためのトラック当りのリードエラーの
規定回数と、磁気ディスク装誼に対するデータの読出し
動作中に発生したトラック当りのリードエラーの回数と
を格納するためのものである。
The storage circuit determines the predetermined number of read errors per track in order to start reading and diagnosing data sent from the central processing unit, and the number of read errors per track that occur during data read operations from the magnetic disk drive. It is used to store.

マイクロプログラム制御回路は、最初に中央処理装置か
らの書込み/続出し指示を受取ったときの磁気ディスク
装置に対するデータの書込み/読出し動作はデータ転送
回路を駆動することで行い、中央処理装置から送出され
たデータの読出し診断を開始するためのトラック当りの
リードエラーの規定回数を記憶回路に格納する。
When the microprogram control circuit first receives a write/continue instruction from the central processing unit, the data write/read operation to the magnetic disk device is performed by driving the data transfer circuit, and the data is sent from the central processing unit. A predetermined number of read errors per track is stored in a storage circuit for starting a read diagnosis of the recorded data.

その後、磁気ディスク装置に対するデータの読出し動作
中に任意のトラックでリードエラーが発生した場合には
、マイクロプログラム制御回路は記憶回路に格納されて
いる当該トラックのリードエラーの発生回数を更新する
とともに。
Thereafter, if a read error occurs in any track during a data read operation to the magnetic disk device, the microprogram control circuit updates the number of times a read error has occurred in that track stored in the storage circuit.

当該トラックのリードエラーの発生回数とリードエラー
の規定回数とを比較する。比較結果においてリードエ2
−の発生回数が規定回数を越えたときには、マイクロプ
ログラム制御回路はデータ転送回路を駆動して、リード
エラーが発生したのとは別のトラックに対してデータの
読出し診断を実行する。いっぽう、当該トラックに対す
るデータの読出し動作が正常に実行できた場合には、マ
イクロプログラム制御回路はり−ドエラーが発生したト
ラックの不良によりリードエラーが発生したと云う報告
を中央処理装置に送出する。いっぽう、当該トラックに
対するデータの読出し動作が正常に実行できなかった場
合には、マイクロプログラム制御回路は磁気ディスク装
置、1+は本磁気ディスク制御装置の故障によりリード
エラーが発生したと云う報告を中央処理装量に対して送
出する。
The number of occurrences of read errors on the track is compared with the prescribed number of read errors. In the comparison results, lead 2
When the number of occurrences of - exceeds a predetermined number, the microprogram control circuit drives the data transfer circuit to perform data read diagnosis on a track other than the one where the read error occurred. On the other hand, if the data read operation for the track is successfully executed, the microprogram control circuit sends a report to the central processing unit that the read error has occurred due to a defect in the track in which the read error has occurred. On the other hand, if the data read operation for the track cannot be executed normally, the microprogram control circuit sends a report to the central processing unit that a read error has occurred due to a failure in the magnetic disk device (1+). Send out for the amount.

(実施例) 次に1本発明について図面を参照して詳細に説明する。(Example) Next, one embodiment of the present invention will be explained in detail with reference to the drawings.

本発明の一実施例を示す第1図において1本発明の磁気
ディスク制御装置100はデータ転送回路110と、記
憶回路120と、マイクロプログラム制御回路130と
から構成されている。
In FIG. 1 showing an embodiment of the present invention, a magnetic disk control device 100 of the present invention is comprised of a data transfer circuit 110, a storage circuit 120, and a microprogram control circuit 130.

中央処理装置から信号線202を通して磁気ディスク装
置へのデータの書込み指示を受取ると、マイクロプログ
ラム制御回路130は信号線203を通してデータ転送
回路110を駆動し、中央処理装置から信号線200全
通して取込んだ書込みデータを信号線201を通して磁
気ディスク装置に書込む。また、中央処理装置から信号
線202を通して磁気ディスク装置からのデータの読出
し指示を受取ると、マイクロプログラム制御回路130
は信号線203を通してデータ転送回路110を駆動し
、磁気ディスク装置から信号線201を通して読出した
データを信号線200を通して中央処理装置に送出する
When receiving an instruction to write data to the magnetic disk device from the central processing unit through the signal line 202, the microprogram control circuit 130 drives the data transfer circuit 110 through the signal line 203, and transfers the entire signal line 200 from the central processing unit to the data transfer circuit 110. The entered write data is written to the magnetic disk device through the signal line 201. Further, when receiving an instruction to read data from the magnetic disk device from the central processing unit through the signal line 202, the microprogram control circuit 130
drives the data transfer circuit 110 through the signal line 203, and sends the data read from the magnetic disk device through the signal line 201 to the central processing unit through the signal line 200.

中央処理装置から信号線202を通してデータの読出し
診断を開始するためのトラック当りのリードエラーの規
定回数を受取ると、マイクロプログラム制御回路130
は信号線204を通して記憶回路120にリードエラー
の規定回数を格納する。
Upon receiving the predetermined number of read errors per track for starting data read diagnosis from the central processing unit through the signal line 202, the microprogram control circuit 130
stores the specified number of read errors in the memory circuit 120 through the signal line 204.

中央処理装置からのデータの読出し指示による磁気ディ
スク装置からのデータの読出し動作中に任意のトラック
でリードエラーの発生を検出した場合、マイクロプログ
ラム制御回路130は最初に、信号線204を通して記
憶回路12月こ格納されている当該トラックのリードエ
ラーの発生回数を読出して更新する。
When the microprogram control circuit 130 first detects the occurrence of a read error in any track during the data read operation from the magnetic disk device based on the data read instruction from the central processing unit, The stored number of read errors for the track is read out and updated.

その後、さらに信号線204を通して記憶回路120に
格納されている当該トラックのリードエラーの規定回数
を続出してリードエラーの発生回数とリードエラーの規
定回数とを比較する。
After that, the predetermined number of read errors of the track stored in the storage circuit 120 is further output through the signal line 204, and the number of occurrences of read errors is compared with the predetermined number of read errors.

リードエラーの発生回数がリードエラーの規定回数を越
えないときには、信号線204を通して記憶回路120
に対して更新されたリードエラーの発生回数を格納する
When the number of read errors does not exceed the specified number of read errors, the signal is sent to the memory circuit 120 through the signal line 204.
Stores the number of read error occurrences updated for.

リードエラーの発生回数がリードエラーの規定回数を越
えたときには、マイクロプログラム制御回路130は信
号線203を通してデータ転送回路110を駆動し、信
号線201を通してリードエラーが発生したのとは別の
トラックに対してデータの読出し診断を実行する。
When the number of occurrences of read errors exceeds the specified number of read errors, the microprogram control circuit 130 drives the data transfer circuit 110 through the signal line 203, and transfers data to a track other than the one where the read error occurred through the signal line 201. Execute data read diagnostics for the data.

データの続出し動作が正常に実行できた場合には、マイ
クロプログラム制御回路130はリードエラーが発生し
たトラックが不良であるためにリードエラーが発生した
と云う報告を信号線202を通して中央処理装置に送出
する。これに対して、データの読出し動作が正常に実行
できなかった場合には、マイクロプログラム制御回路1
30は磁気ディスク装置または磁気ディスク制御装置1
00が故障のためリードエ2−が発生し九と云う報告を
、信号線202を通して中央処理装置に送出する。
If the data successive operation is successfully executed, the microprogram control circuit 130 sends a report to the central processing unit via the signal line 202 that the read error occurred because the track where the read error occurred is defective. Send. On the other hand, if the data read operation cannot be executed normally, the microprogram control circuit 1
30 is a magnetic disk device or magnetic disk control device 1
00 is out of order and a lead error 2- occurs and a report indicating 9 is sent to the central processing unit through the signal line 202.

(発明の効果) 以上説明したよう番こ本発明Fi、中央処理装置からデ
ータの読出し診断を開始するためのトラック当りのリー
ドエラーの規定回数を送出した後、$気ディスク装置の
任意のトラックに対するデータの読出し中にリードエラ
ーが発生したならば、リードエラーの発生回数とリード
エ2−の規定回数とを比較し、リードエラーの発生回数
が規定回数を越えたときにけ、リードエラーが発生した
のとは別のトラックに対してデータの読出し診断を実行
し、データの読出し動作が正常に実行できた場合番こは
リードエラーが発生したトランクの不良lこよシリード
エラーが発生したと云う報告を中央処理装置に送出する
のに対して、データの読出し動作が正常に実行できなか
った場合には、磁気ディスクv装置または本磁気ディス
ク制御装置の故障によりリードエラーが発生したと云う
報告を中央処理装置に送出することにより、リードエラ
ーの発生原因が磁気ディスク装倉のトラックの不良であ
るのか。
(Effects of the Invention) As explained above, after the central processing unit sends out the specified number of read errors per track to start data read diagnosis, If a read error occurs while reading data, compare the number of read error occurrences with the specified number of read errors, and if the number of read errors exceeds the specified number, a read error has occurred. Execute data read diagnostics on a track other than the track, and if the data read operation is successfully executed, a read error will occur.The trunk will be defective.A report will be issued indicating that a read error has occurred. However, if the data read operation cannot be executed normally, a report stating that a read error has occurred due to a failure of the magnetic disk v device or this magnetic disk control device is sent to the central processing unit. By sending it to the processing device, it is determined whether the cause of the read error is a defective track in the magnetic disk storage.

あるいは磁気ディスク装fft、または磁気ディスク制
御装置の故障であるのかの区別ができるため。
Alternatively, it is possible to distinguish whether the failure is in the magnetic disk device fft or the magnetic disk control device.

障害原因の遣求までの時間を短縮でき、さらにデータの
読出し診断を行う時期を自由に選択できると云う効果が
ある。
This has the advantage that it is possible to shorten the time it takes to find the cause of a failure, and it is also possible to freely select the timing for reading and diagnosing data.

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

第1図は1本発明による磁気ディスク制御装置の一実施
例を示すブロック図である。 】00・・・磁気ディスク制御装置 110・・・データ転送回路 120・・・記憶回路 130・・・マイクロプログラム制御回路特許出願人 
 日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of a magnetic disk control device according to the present invention. ]00...Magnetic disk control device 110...Data transfer circuit 120...Storage circuit 130...Microprogram control circuit Patent applicant
NEC

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置に接続され、前記中央処理装置からの指示
に従つて動作し、複数台の磁気ディスク装置を制御する
ことができるように構成した磁気ディスク制御装置であ
つて、前記中央処理装置と前記磁気ディスク装置との間
で書込み/読出しデータのデータ転送を行うためのデー
タ転送回路と、前記中央処理装置から送出されるデータ
の読出し診断を開始するためのトラツク当りのリードエ
ラーの規定回数と磁気ディスク装置に対するデータの読
出し動作中に発生したトラック当りのリードエラーの回
数とを格納するための記憶回路と、前記中央処理装置か
らの書込み/読出し指示を受取つたときの前記磁気ディ
スク装置に対するデータの書込み/読出し動作は前記デ
ータ転送回路を駆動することで行い、前記中央処理装置
から送出されたデータの読出し診断を開始するためのト
ラック当りのリードエラーの規定回数を前記記憶回路に
格納した後に、前記磁気ディスク装置に対するデータの
読出し動作中に任意のトラックでリードエラーが発生し
た場合には、前記記憶回路に格納されている当該トラッ
クのリードエラーの発生回数を更新するとともに、前記
当該トラックのリードエラーの発生回数とリードエラー
の規定回数とを比較し、比較結果においてリードエラー
の発生回数が前記規定回数を越えたときには前記データ
転送回路を駆動して前記リードエラーが発生したのとは
別のトラックに対してデータの読出し診断を実行し、前
記当該トラックに対するデータの読出し動作が正常に実
行できた場合にはリードエラーが発生したトラックの不
良によりリードエラーが発生したと云う報告を前記中央
処理装置に送出するのに対して、前記当該トラックに対
するデータの読出し動作が正常に実行できなかつた場合
には前記磁気ディスク装置または本磁気ディスク制御装
置の故障によりリードエラーが発生したと云う報告を前
記中央処理装置に対して送出するためのマイクロプログ
ラム制御回路とを具備して構成したことを特徴とする磁
気ディスク制御装置。
A magnetic disk control device configured to be connected to a central processing unit, operate according to instructions from the central processing unit, and control a plurality of magnetic disk devices, the central processing unit and the A data transfer circuit for transferring write/read data to and from a magnetic disk device, and a predetermined number of read errors per track and a magnetic field for starting read diagnosis of data sent from the central processing unit. a storage circuit for storing the number of read errors per track that occurred during a data read operation to the disk device; Write/read operations are performed by driving the data transfer circuit, and after storing in the storage circuit a predetermined number of read errors per track for starting read diagnosis of data sent from the central processing unit. If a read error occurs in any track during data read operation to the magnetic disk device, the number of occurrences of read errors in the track stored in the storage circuit is updated, and the read error in the track is updated. The number of error occurrences is compared with the specified number of read errors, and if the comparison result shows that the number of read errors has occurred exceeds the specified number, the data transfer circuit is driven to perform a process other than the one in which the read error occurred. A data read diagnosis is executed for the track, and if the data read operation for the track is successfully executed, the central processing unit reports that the read error has occurred due to a defective track. If the data read operation for the track cannot be executed normally, a report indicating that a read error has occurred due to a failure of the magnetic disk device or this magnetic disk control device is sent to the device. 1. A magnetic disk control device comprising: a microprogram control circuit for sending data to a central processing unit;
JP21303688A 1988-08-26 1988-08-26 Magnetic disk controller Pending JPH0261866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21303688A JPH0261866A (en) 1988-08-26 1988-08-26 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21303688A JPH0261866A (en) 1988-08-26 1988-08-26 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH0261866A true JPH0261866A (en) 1990-03-01

Family

ID=16632454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21303688A Pending JPH0261866A (en) 1988-08-26 1988-08-26 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH0261866A (en)

Similar Documents

Publication Publication Date Title
EP0032957A1 (en) Information processing system for error processing, and error processing method
EP0274817A2 (en) Data storage system
JPS5936358B2 (en) Method for systematically performing preventive maintenance on semiconductor storage devices
JPS6010461A (en) Magnetic memory
JPS5846800B2 (en) memory module
JPS648382B2 (en)
KR970004077B1 (en) Method and apparatus for detecting retention faults in memory
US4797754A (en) Method for writing servo pattern in magnetic disk unit
JPH0261866A (en) Magnetic disk controller
JPH0256020A (en) Magnetic disk controller
JPS592962B2 (en) Recording device control system
JPH02162581A (en) Magnetic disk controller
JPH0354703A (en) Self diagnostic system for data recording and reproducing device
KR960009914B1 (en) Magnetic tape unit for electronic switching system
JPH10177503A (en) Device diagnostic control system
JPH01163824A (en) Magnetic disk control device
JP2868003B1 (en) Magnetic disk drive
JP3173461B2 (en) Pseudo-normal test circuit and pseudo-normal test method for memory patrol function
JPH02110624A (en) Input/output controller
JPS6010328A (en) Input and output error demarcating and processing system
JPS6113259B2 (en)
JPH0253133A (en) Magnetic disk controller
JPH04372767A (en) Magnetic disk control device
KR950015087A (en) Memory Diagnostic Device and Method
JPH09161415A (en) Control method for magnetic tape apparatus