JPH05224830A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH05224830A
JPH05224830A JP4058772A JP5877292A JPH05224830A JP H05224830 A JPH05224830 A JP H05224830A JP 4058772 A JP4058772 A JP 4058772A JP 5877292 A JP5877292 A JP 5877292A JP H05224830 A JPH05224830 A JP H05224830A
Authority
JP
Japan
Prior art keywords
data
error
read
medium
magnetic disk
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
JP4058772A
Other languages
Japanese (ja)
Inventor
Tadashige Kadoi
忠茂 門井
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 JP4058772A priority Critical patent/JPH05224830A/en
Publication of JPH05224830A publication Critical patent/JPH05224830A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent a decrease in system performance due to a job entry by reducing the load on the whole system when many jobs are entered for a medium test wherein a read is made by varying read timing are entered into the magnetic disk device. CONSTITUTION:The magnetic disk device consists of an access state control part 1 which confirms that there is no access from a host device, a medium part 8 storing with data, a marginal read control part 5 which controls for varying the read timing of the medium part 8, a data buffer 2 storing track error from the medium part 8, a check circuit 3 which checks a data error of transfer data of the data buffer, a buffer control part 7 which controls a series of data transfer operations, an error control part 4 which logs error information on the track where the data error occurs, and a defect predictive reporting part 6 which indicates the need to replace the medium to the host device when the error occurrence frequency is high.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機システム内
の磁気ディスク装置におけるデータ処理方式に関し、特
に、データ保守方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system in a magnetic disk device in an electronic computer system, and more particularly to a data maintenance system.

【0002】[0002]

【従来の技術】従来の磁気ディスクサブシステムでは、
磁気ディスク装置のデータ読み取り特性の劣化、不良等
により、媒体の交換が必要であるかどうかを判断する為
に、ソフトウェアにより磁気ディスクのリードタイミン
グをずらしてデータのリードを行ない、リードデータ誤
りの発生頻度により、保守員が媒体の交換を判断してい
た。
2. Description of the Related Art In a conventional magnetic disk subsystem,
In order to determine whether the medium needs to be replaced due to deterioration or failure of the data reading characteristics of the magnetic disk device, data is read by shifting the magnetic disk read timing by software, and a read data error occurs. Depending on the frequency, maintenance personnel decided to replace the medium.

【0003】[0003]

【発明が解決しようとする課題】この従来の磁気ディス
クサブシステムでは、ソフトウェアにより、磁気ディス
ク装置のリードタイミングをずらしてリードを行なうジ
ョブを、投入していた為、多くの磁気ディスク装置に当
該処理を行うと同時に他の処理も行うと、システム全体
の負荷が大きくなり、システムの性能が著しく低下する
という問題点があった。
In this conventional magnetic disk subsystem, since a job for reading is performed by software by shifting the read timing of the magnetic disk device, many magnetic disk devices are subject to the processing. However, if other processing is performed at the same time as the above, there is a problem in that the load on the entire system increases and the system performance remarkably decreases.

【0004】本発明の目的は磁気ディスク装置のリード
タイミングを変化させリードを行なう媒体テストのジョ
ブを多数の磁気ディスク装置に投入した場合のシステム
全体の負荷を軽減しこのジョブ投入によるシステム性能
低下を防ぐ磁気ディスク装置を提供することにある。
An object of the present invention is to reduce the load on the entire system when a medium test job for reading by changing the read timing of the magnetic disk drive is applied to a large number of magnetic disk drives and to reduce the system performance due to the job input. It is to provide a magnetic disk device for preventing.

【0005】[0005]

【課題を解決するための手段】本発明の磁気ディスク装
置は、磁気ディスク上のトラックのデータを格納する為
のデータバッファと、媒体から読み出されたデータの誤
まりをチェックする手段と、エラーが発生したトラック
のエラー履歴を管理する手段と、上位装置からのアクセ
ス状況を管理する手段と、データバッファへの読み込み
動作を制御する手段と、媒体からのデータのリード動作
時、リードタイミングを変化させた状態でリード動作を
行なうよう制御する手段と、データ誤り発生状況と媒体
不良となる予告を上位装置に報告する手段とを備えてい
る。
SUMMARY OF THE INVENTION A magnetic disk device of the present invention comprises a data buffer for storing track data on a magnetic disk, a means for checking erroneous data read from a medium, and an error. Means for managing the error history of the track in which the error occurred, means for managing the access status from the host device, means for controlling the read operation to the data buffer, and change the read timing during the read operation of the data from the medium. It is provided with means for controlling the read operation in this state, and means for reporting a data error occurrence state and a notice of medium failure to a higher-level device.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】第1図は、本発明の一実施例のブロック図
で、アクセス状況管理部1、データバッファ2、チェッ
ク回路3、エラー管理部4、マージナルリード制御部
5、不良予知報告部6、バッファ制御部7、媒体部8か
ら構成されている。まず、アクセス状況管理部1は、規
定時間のタイマーを持ち、上位装置からの最後のアクセ
スから規定時間以内に次のアクセスが来なければ、バッ
ファ制御部7にリード動作を行なうよう指示する。リー
ド動作指示を受けたバッファ制御部7は、マージナルリ
ード制御部5に、マージナルリードモード設定の指示を
行なう。マージナルリードモード設定指示を受けたマー
ジナルリード制御部5の制御により、媒体部8はリード
タイミングをずらしてデータをリードする。リードマー
ジンを振った状態に設定される。この設定が終了する
と、マージナルリード制御部5は、エラー管理部4にマ
ージナルリードモードの設定が終了したことを報告す
る。報告を受けたエラー管理部4は、媒体部8に読み出
すトラックT1 をバッファ制御部7に指示する。バッフ
ァ制御部7はT1 のデータをデータバッファ2に読み出
すと同時に、データをチェックするようチェック回路3
に指示する。データエラーが発生しなければ、チェック
回路3はエラーが無いことをエラー管理部4に報告す
る。報告を受けたエラー管理部4は、規定ピッチだけト
ラック番号をインクリメントしたトラックT2 をバッフ
ァ制御部7に指示する。
FIG. 1 is a block diagram of an embodiment of the present invention. The access status management unit 1, data buffer 2, check circuit 3, error management unit 4, marginal read control unit 5, defect prediction reporting unit 6, It is composed of a buffer control unit 7 and a medium unit 8. First, the access status management unit 1 has a timer for a specified time, and instructs the buffer control unit 7 to perform a read operation if the next access does not come within the specified time from the last access from the host device. The buffer control unit 7, which has received the read operation instruction, instructs the marginal read control unit 5 to set the marginal read mode. Under the control of the marginal read control unit 5 which receives the marginal read mode setting instruction, the medium unit 8 shifts the read timing and reads the data. It is set with the read margin changed. When this setting is completed, the marginal read control unit 5 reports to the error management unit 4 that the setting of the marginal read mode is completed. Upon receiving the report, the error management unit 4 instructs the buffer control unit 7 to read the track T 1 to the medium unit 8. The buffer control unit 7 reads the data of T 1 into the data buffer 2 and at the same time, checks the data by checking circuit 3.
Instruct. If no data error occurs, the check circuit 3 reports to the error management unit 4 that there is no error. Upon receiving the report, the error management unit 4 instructs the buffer control unit 7 on the track T 2 whose track number is incremented by the specified pitch.

【0008】ここでトラックT2 リードチェック時に、
データエラーを検出すると、チェック回路3は、エラー
管理部4にトラックT2 でエラーが発生したことを報告
する。エラー管理部4では、トラックT2 でのリードエ
ラー発生回数をインクリメントし保持すると同時に、規
定回数以上エラーが発生していないかをチェックする。
もし、規定回数を越えていなければ再度バッファ制御部
7にトラックT2 をリードチェックするよう指示する。
規定回路を越えている場合には、エラー管理部4は、不
良予知報告部6にトラック番号T2 を報告し、トラック
2 が不良となる可能性が高いことを知らせる。不良予
知報告部6では、リードマージンが少なく、不良トラッ
クとなる可能性の高いトラックの番号を保持しておき、
規定トラック数以上に達した時、媒体部8が不良である
ことを上位装置に報告すると同時に、エラー管理部4に
て保持しているトラック別データエラー発生頻度のデー
タを上位装置に転送する。この不良予知報告とトラック
別のデータエラー発生頻度から、近い将来に媒体部8が
不良となる可能性が高く、早急に媒体部8を交換する必
要があることを認識できる。
Here, at the time of track T 2 lead check,
When a data error is detected, the check circuit 3 reports to the error management unit 4 that an error has occurred in the track T 2 . The error management unit 4 increments and holds the number of read error occurrences on the track T 2 and at the same time checks whether or not an error has occurred more than a specified number of times.
If it has not exceeded the specified number of times, the buffer controller 7 is again instructed to read-check the track T 2 .
If it exceeds the specified circuit, the error management unit 4 reports the track number T 2 to the defect prediction report unit 6 to inform that the track T 2 is likely to be defective. The defect prediction reporting unit 6 holds the number of a track that has a small read margin and is likely to become a defective track.
When the number of tracks exceeds the specified number, the medium unit 8 is notified to the host device that it is defective, and at the same time, the data of the data error occurrence frequency for each track held in the error management unit 4 is transferred to the host device. From the defect prediction report and the data error occurrence frequency for each track, it can be recognized that the medium unit 8 is likely to be defective in the near future, and the medium unit 8 needs to be replaced promptly.

【0009】また、不良予知報告部6への、不良トラッ
クとなる可能性の高いトラックの数が規定トラック数に
達していない場合には、エラー管理部4は、次のトラッ
クTn のリードチェックを行なうよう、バッファ制御部
7に指示する。このようにして、リードチェックは、ア
クセス状況管理部1が上位装置からのアクセスを検出し
ない間、継続されるが、上位装置からのアクセスを検出
した時には、アクセス状況管理部は、データバッファ
2、チェック回路3のすべての動作をリセットすると同
時に、マージナルリード制御部5に、媒体部8のリード
タイミングを正常状態にもどすよう指示する。媒体部8
は、正常状態に戻った時、バッファ制御部7にその旨を
報告する。その後バッファ制御部7は、上位装置からの
指示による通常動作を行なうことができる。但し不良予
知報告部6とエラー管理部4はリセットしない。
If the number of tracks that are likely to become defective tracks to the defect prediction reporting unit 6 has not reached the specified number of tracks, the error management unit 4 performs a read check of the next track T n . The buffer control unit 7 is instructed to perform. In this way, the read check is continued while the access status management unit 1 does not detect the access from the higher-level device, but when the access status management unit 1 detects the access from the higher-level device, the access status management unit causes the data buffer 2, At the same time as resetting all the operations of the check circuit 3, the marginal read control unit 5 is instructed to return the read timing of the medium unit 8 to the normal state. Medium part 8
Reports to the buffer control unit 7 when it returns to the normal state. After that, the buffer control unit 7 can perform a normal operation according to an instruction from the host device. However, the defect prediction reporting unit 6 and the error management unit 4 are not reset.

【0010】以上のようにして、不良予知報告とリード
タイミングをずらした時のトラック別データエラー発生
頻度を知ることにより、前もってディスク交換を行うこ
とができ、媒体部8の老朽化、不良等により発生する致
命的な障害を未然に防ぐことが可能となる。
As described above, the disk can be exchanged in advance by knowing the defect prediction report and the frequency of occurrence of data error for each track when the read timing is shifted, and the medium section 8 may be deteriorated or defective. It is possible to prevent a fatal obstacle from occurring.

【0011】[0011]

【発明の効果】以上に説明したように本発明は、上位装
置からのアクセスが来ない磁気ディスク装置の空き時間
を利用して磁気ディスク単独で自動的に、リードタイミ
ングをずらした状態で磁気ディスク上のトラックのデー
タのチェックを行ない、データ誤りが多発するリードマ
ージンの少ないトラックを検出し、その時の他のトラッ
クでのデータエラー発生頻度と合わせて上位に報告でき
るようにしたので、近い将来にディスクが不良となる可
能性が高く、早急に交換が必要であることを認識でき、
ディスクの老朽化、不良等により発生する致命的な障害
を未然に防ぐことが可能となる。また、ソフトウェアか
らのジョブ投入を不要としたので、システム全体の負荷
が軽減できる。また、ヘッドのダストの堆積による障害
も防ぐことができるという効果もある。
As described above, the present invention utilizes the idle time of the magnetic disk device which is not accessed by the host device, and the magnetic disk alone automatically and automatically shifts the read timing. By checking the data on the upper track, a track with a small read margin where data errors frequently occur is detected, and it is possible to report to the upper rank together with the frequency of data error occurrence on other tracks at that time, so in the near future There is a high possibility that the disc will be defective, and you can recognize that it needs to be replaced immediately,
It is possible to prevent fatal failures caused by deterioration and deterioration of the disk. Further, since it is not necessary to input a job from software, the load on the entire system can be reduced. Further, there is also an effect that it is possible to prevent an obstacle due to the accumulation of dust on the head.

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

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

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

1 アクセス状況管理部 2 データバッファ 3 チェック回路 4 エラー管理部 5 マージナルリード制御部 6 不良予知報告部 7 バッファ制御部 8 媒体部 1 access status management unit 2 data buffer 3 check circuit 4 error management unit 5 marginal read control unit 6 defect prediction reporting unit 7 buffer control unit 8 medium unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 磁気ディスク上のトラックのデータを格
納する為のデータバッファと、媒体から読み出されたデ
ータの誤まりをチェックする手段と、エラーが発生した
トラックのエラー履歴を管理する手段と、上位装置から
のアクセス状況を管理する手段と、データバッファへの
読み込み動作を制御する手段と、媒体からのデータのリ
ード動作時、リードタイミングを変化させた状態でリー
ド動作を行なうよう制御する手段と、データ誤り発生状
況と媒体不良となる予告を上位装置に報告する手段を備
えることを特徴とする磁気ディスク装置。
1. A data buffer for storing track data on a magnetic disk, means for checking an error in data read from a medium, and means for managing an error history of a track in which an error has occurred. , A means for managing the access status from the host device, a means for controlling the read operation to the data buffer, and a means for controlling the read operation while changing the read timing when the data is read from the medium And a means for reporting a data error occurrence status and a notice of medium failure to a higher-level device.
JP4058772A 1992-02-13 1992-02-13 Magnetic disk device Pending JPH05224830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4058772A JPH05224830A (en) 1992-02-13 1992-02-13 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4058772A JPH05224830A (en) 1992-02-13 1992-02-13 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH05224830A true JPH05224830A (en) 1993-09-03

Family

ID=13093845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4058772A Pending JPH05224830A (en) 1992-02-13 1992-02-13 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH05224830A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63293774A (en) * 1987-05-27 1988-11-30 Canon Electronics Inc Signal processor
JPH03105520A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Refresh control system for data on dasd

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63293774A (en) * 1987-05-27 1988-11-30 Canon Electronics Inc Signal processor
JPH03105520A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Refresh control system for data on dasd

Similar Documents

Publication Publication Date Title
US6324655B1 (en) Input/output controller providing preventive maintenance information regarding a spare I/O unit
US7281088B2 (en) Disk array apparatus and disk array apparatus controlling method
JPH11345095A (en) Disk array device and control method therefor
JPH09274541A (en) Storage device, control method for the same, storage system and control method for the same
JPH05224832A (en) Disk device diagnostic method for array disk device
US6125459A (en) Information storing method, information storing unit, and disk drive
JP2976780B2 (en) Information recording / reproducing device
JPH05224830A (en) Magnetic disk device
JPH05257617A (en) Magnetic disk subsystem
JPH11203057A (en) Disk array device and its control method
JP2735801B2 (en) I / O control unit
JP2644205B2 (en) I / O controller
JPH10320131A (en) Disk subsystem
JP2691142B2 (en) Array type storage system
JP2000330732A (en) Disk array device
JP3269817B2 (en) I / O control unit
US7181570B2 (en) Diskarray system for suppressing disk fault
JPH11327808A (en) Retry controller for external storage device controller
JP3095061B2 (en) I / O controller
JPH0651918A (en) Semiconductor disk device
JPH06214835A (en) Error preventing system
JPH08147112A (en) Error recovery device for disk array device
JP2000311452A (en) Magnetic disk device
JPH09161415A (en) Control method for magnetic tape apparatus
JPH1083259A (en) Array type disk controller