JPH05257617A - Magnetic disk subsystem - Google Patents

Magnetic disk subsystem

Info

Publication number
JPH05257617A
JPH05257617A JP5311592A JP5311592A JPH05257617A JP H05257617 A JPH05257617 A JP H05257617A JP 5311592 A JP5311592 A JP 5311592A JP 5311592 A JP5311592 A JP 5311592A JP H05257617 A JPH05257617 A JP H05257617A
Authority
JP
Japan
Prior art keywords
track
magnetic disk
data
error
read
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.)
Withdrawn
Application number
JP5311592A
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 JP5311592A priority Critical patent/JPH05257617A/en
Publication of JPH05257617A publication Critical patent/JPH05257617A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To secure the safety and reliability of data by speeding up a data recovery processing in case of occurring of frequent read errors and switching a magnetic disk before a fatal error occurs to a magnetic disk device. CONSTITUTION:This subsystem is provided with a means which reads data in the track of the magnetic disk on a magnetic disk device 12 in a data buffer 1 while there is no access from a host device and checks the data, a recovery means judging section 7 which judges which of the off-track read process, defective substituting track linking process, and home-address reformatting process of respective recovery means is applied to an error-occurring track at the time of frequent data error occurrence, an error information holding part 9 which logs error information on the error-occurring track and reports it to the host device, and a medium defective state reporting part 10; and the read to the magnetic disk device 12 is automatically checked and the magnetic disk subsystem judges one of the data recovery processes by itself from the tendency of the error occurrence and makes it applicable.

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 of a magnetic disk subsystem in an electronic computer system,
Especially, it relates to a data maintenance method.

【0002】[0002]

【従来の技術】従来の磁気ディスクサブシステムでは、
磁気ディスク装置からのデータのリード時にリードエラ
ーが多発した場合、磁気ヘッドのずれ等が原因の時には
そのリカバリのために、ソフトウェアにより、磁気ディ
スク上のデータを磁気テープ等にセーブした後、リード
エラーの発生した磁気ディスクを再フォーマットし、デ
ータをリストアする再フォーマット処理が行われてい
る。
2. Description of the Related Art In a conventional magnetic disk subsystem,
If a read error occurs frequently when reading data from the magnetic disk device, if the magnetic head is misaligned, etc., the software saves the data on the magnetic disk to a magnetic tape, etc. for recovery, and then a read error occurs. The reformatting process of reformatting the magnetic disk in which the error occurred and restoring the data is being performed.

【0003】また、磁気ディスクの媒体面の傷等が原因
の場合には、同様にソフトウェアの指示により、リード
エラーの発生したトラックのデータを代替トラックに退
避した後、当該トラックを不良トラックとし、不良代替
のリンクを行う処理が行われている。
If the cause is a scratch on the medium surface of the magnetic disk, the software similarly saves the data of the track in which the read error has occurred to an alternative track, and then makes the track defective. Processing for linking defective replacement is being performed.

【0004】さらに、リードエラーの原因が磁気ヘッド
のずれによるものかどうかを判断するために、ソフトウ
ェアの指示により、磁気ヘッドの位置をトラックの中央
から規定幅だけずらしてリードを行うオフトラックリー
ド処理が行われている。
Further, in order to determine whether or not the cause of the read error is due to the displacement of the magnetic head, an off-track read process is performed in which the position of the magnetic head is deviated by a specified width from the center of the track for reading according to a software instruction. Is being done.

【0005】また、これらの再フォーマット処理、不良
代替のリンク処理及びオフトラックリード処理のどの処
理を媒体に適用すべきかは、リードエラー発生時にログ
されたエラー情報、上位装置からのI/O回数、エラー
発生頻度等から保守員が判断し実施している。
Which of the reformatting process, the link process for defective replacement, and the off-track read process to be applied to the medium is determined by the error information logged when the read error occurs and the number of I / Os from the host device. The maintenance personnel make judgment based on the error occurrence frequency, etc.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の磁気デ
ィスクサブシステムでは、リードエラーが多発した時、
保守員が、リードエラー発生によるエラーログ等をチェ
ックし、エラー原因を推測し、どの様なリカバリ手段を
磁気ディスクサブシステムに適用するべきか判断してい
る。
In the above-mentioned conventional magnetic disk subsystem, when many read errors occur,
A maintenance staff checks the error log and the like due to the occurrence of a read error, estimates the cause of the error, and determines what kind of recovery means should be applied to the magnetic disk subsystem.

【0007】例えば、特定ヘッドまたは上位のヘッドア
ドレスのみでリードエラーが発生する場合には、磁気ヘ
ッドのずれ等が原因であると保守員が判断し、ソフトウ
ェアからのジョブの投入により、そのトラックのホーム
アドレスの再フォーマット処理を行なっている。また、
連続した数シリンダの特定の同一ヘッドアドレスでリー
ドエラーが発生する場合には、傷等が原因であると保守
員が判断し、同様にソフトウェアから、リードエラーの
発生したトラックのデータを代替トラックに退避した
後、当該トラックを不良トラックとし、不良代替のリン
ク処理を行っていた。また、エラー発生のシリンダ、ト
ラックに特徴がない場合には、媒体の異常の切り分けを
行なうために、同様にソフトウェアから、磁気ヘッドの
位置をトラックの中心から規定幅だけずらしてリードす
るオフトラックリード処理を行なっている。
For example, when a read error occurs only at a specific head or a higher-order head address, a maintenance person determines that the cause is a deviation of the magnetic head or the like, and when a job is input from software, the track is recorded. The home address is being reformatted. Also,
When a read error occurs at a specific same head address of several consecutive cylinders, the maintenance personnel determines that it is caused by scratches, etc. After the retreat, the relevant track is regarded as a defective track, and a defective substitute link process is performed. If the cylinder or track in which the error occurred has no characteristics, an off-track read is performed in which the magnetic head position is read by shifting the position of the magnetic head from the center of the track by a specified width in order to distinguish the abnormality of the medium. It is processing.

【0008】しかし、エラーログのチェック等、上記リ
カバリ手段の適用する契機の判断がそれぞれ煩雑であ
り、保守員の技術力により、エラー発生の傾向に応じた
適切な処理が適用されない場合があるという問題点があ
る。
However, it is said that the judgment of the trigger for applying the recovery means such as checking the error log is complicated, and the appropriate processing depending on the tendency of error occurrence may not be applied due to the technical ability of the maintenance staff. There is a problem.

【0009】また、上位装置が問題のトラックにアクセ
スしリードエラーが発生してから、保守員がそのエラー
ログ等を参考にしてリカバリ手段を適用し、当該トラッ
クのリカバリ処理が完了されるまでに時間がかかるとい
う問題点がある。
Also, after the host device accesses the track in question and a read error occurs, the maintenance staff applies recovery means by referring to the error log and the like until the recovery processing of the track is completed. There is a problem that it takes time.

【0010】特に、再フォーマット処理に関しては、再
フォーマット処理時に磁気テープ等へデータを退避する
ため、他のリカバリ手段よりさらに時間を要している。
Particularly, regarding the reformatting process, since the data is saved to the magnetic tape or the like during the reformatting process, it takes more time than other recovery means.

【0011】また、保守間隔が長い場合、上記のリカバ
リ手段の適用をタイムリーに行えないため、その間リー
ドエラーが多発するという問題点がある。
Further, when the maintenance interval is long, the above-mentioned recovery means cannot be applied in a timely manner, and there is a problem that read errors frequently occur during that time.

【0012】さらに、上記リカバリ手段で救済されてい
ない場合、リカバリ処理適用後に上位装置から当該トラ
ックにアクセスしてリードエラーが発生することによ
り、初めて、当該ディスクの不良を判断できる。このた
め、上位装置からのアクセス以前にディスクの不良を判
断できず、リカバリ処理後の上位装置からのアクセスが
無駄になるという問題点がある。
Further, when the recovery means has not repaired, the defect of the disk can be judged for the first time by accessing the track from the host device after the recovery processing is applied and causing a read error. Therefore, there is a problem that it is not possible to determine a disk defect before access from the host device, and access from the host device after the recovery process is wasted.

【0013】本発明の目的は、磁気ディスク装置12の
磁気ディスク上のトラックのデータを、上位装置からの
アクススがない間に、データバッファ1に読み込み、デ
ータチェックを行なう手段と、データエラー多発時に、
オフトラックリード処理、不良代替トラックリンク処
理、ホームアドレスの再フオーマット処理の各リカバリ
手段のどの処理をエラー発生トラックに適用するかを判
断するリカバリ手段判断部7と、エラー発生トラックの
エラー情報をログし、上位装置に報告する手段であるエ
ラー情報保持部9、媒体不良状況報告部10とを有し、
自動的に磁気ディスク装置12に対してリードチェック
を行ない、そのエラー発生傾向により磁気ディスクサブ
システム単独でデータリカバリ処理を判断し、それを適
用することにより、上記の欠点を解消し、リカバリ処理
の迅速化、磁気ディスク装置の致命的なエラー発生前の
磁気ディスク交換を可能とし、データの安全性、信頼性
を確保できる磁気ディスクサブシステムを提供すること
にある。
An object of the present invention is to read the data of the track on the magnetic disk of the magnetic disk device 12 into the data buffer 1 while there is no access from the host device, to perform a data check, and when a data error occurs frequently. ,
A recovery means determination unit 7 for determining which of the recovery means of off-track read processing, defective alternative track link processing, and home address reformatting processing is applied to the error-occurring track, and error information of the error-occurring track are logged. However, it has an error information holding unit 9 and a medium defect status reporting unit 10 that are means for reporting to a higher-level device,
The magnetic disk device 12 is automatically read-checked, and the magnetic disk subsystem independently determines the data recovery processing according to the error occurrence tendency, and by applying the data recovery processing, the above-mentioned drawbacks are eliminated and recovery processing is performed. It is an object of the present invention to provide a magnetic disk subsystem capable of speeding up and exchanging a magnetic disk before a fatal error occurs in the magnetic disk device and ensuring the safety and reliability of data.

【0014】[0014]

【課題を解決するための手段】本第一の発明の磁気ディ
スクサブシステムは、データの書込み/読出しを行う磁
気ディスク装置の磁気ディスク上のトラックのデータを
格納するためのデータバッファと、データバッファへの
データの読込み動作を制御する読込み制御手段と、読込
み制御手段により磁気ディスクから読み出されたデータ
の誤りをチェック及び訂正するチェック訂正手段と、磁
気ディスクからのデータの読出し動作時に磁気ヘッドの
位置をトラックの中心からずらしてデータを読み出すオ
フトラックリード手段及び指定トラックのホームアドレ
スの再フォーマットを行う再フォーマット手段及びチェ
ック訂正手段によりデータ誤りの多いトラックのデータ
を代替トラックに退避した後データ誤りの多いトラック
を不良トラックとし不良代替のリンクを行うリンク手段
の内の少なくとも一つから成るリカバリ手段と、チェッ
ク訂正手段によりエラーが発生したトラックのシリンダ
番号、ヘッド番号、エラー発生頻度及び適用したリカバ
リ手段のエラー履歴をエラー情報として保持する保持手
段と、保持手段により保持したエラー情報より発生した
エラーの内容を解析しその解析結果とエラー情報とを上
位装置に報告する解析報告手段とを備えている。
A magnetic disk subsystem according to the first aspect of the present invention is a data buffer for storing data of tracks on a magnetic disk of a magnetic disk device for writing / reading data, and a data buffer. Read control means for controlling the data read operation to the magnetic disk, check correction means for checking and correcting the error of the data read from the magnetic disk by the read control means, and the magnetic head of the magnetic head during the read operation of the data from the magnetic disk. Off-track read means for reading data by shifting the position from the center of the track, reformatting means for reformatting the home address of the designated track, and check correction means save data on the track with many data errors to the alternative track Tracks with lots of bad tracks Error information including a recovery means including at least one of link means for performing defective replacement, a cylinder number of a track in which an error has occurred by the check correction means, a head number, an error occurrence frequency, and an error history of the applied recovery means. And holding means for holding the error information, and analysis and reporting means for analyzing the content of the error generated from the error information held by the holding means and reporting the analysis result and the error information to the host device.

【0015】本第二の発明の磁気ディスクサブシステム
は、上記第一の発明の磁気ディスクサブシステムにおい
て、解析報告手段により解析されたエラー内容の解析結
果によって適用すべきリカバリ手段を選択し、適用する
ことによりエラーを修復する手段を備えている本第三の
発明の磁気ディスクサブシステムは、上記第一の発明ま
たは第二の発明のいずれか一つの磁気ディスクサブシス
テムにおいて、チェック訂正手段によりデータ誤りが多
い場合、磁気ディスクまたは磁気ディスク装置の交換が
必要であることを上位装置に報告する手段を備えてい
る。
The magnetic disk subsystem according to the second aspect of the present invention is the magnetic disk subsystem according to the first aspect of the present invention, in which the recovery means to be applied is selected according to the analysis result of the error content analyzed by the analysis reporting means, and applied. The magnetic disk subsystem according to the third aspect of the present invention is provided with a means for repairing an error by performing a data correction by a check correction means in the magnetic disk subsystem according to any one of the first aspect or the second aspect. When there are many errors, it is provided with means for reporting to the host device that the magnetic disk or the magnetic disk device needs to be replaced.

【0016】本第四の発明の磁気ディスクサブシステム
は、上記第一の発明または第二の発明または第三の発明
のいずれか一つの磁気ディスクサブシステムにおいて、
上位装置からのアクセスが来ないかどうかを監視し、規
定時間内に来なければ、サブシステム単独でのリカバリ
処理を行う契機を与える手段を備えている。
The magnetic disk subsystem according to the fourth invention is the magnetic disk subsystem according to any one of the first invention, the second invention or the third invention, wherein
It is provided with means for monitoring whether or not an access from a higher-level device arrives and, if it does not arrive within a specified time, providing an opportunity to perform recovery processing by the subsystem alone.

【0017】[0017]

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

【0018】図1は本発明の一実施例の磁気ディスクサ
ブシステムのブロック図である。
FIG. 1 is a block diagram of a magnetic disk subsystem according to an embodiment of the present invention.

【0019】図1において、本実施例の磁気ディスクサ
ブシステムは、データバッファ1、アクセス状況管理部
2、バッファ制御部3、オフトラックリード制御部4、
不良代替トラックリンク制御部5、再フォーマット制御
部6、リカバリ手段判断部7、データチェック訂正回路
8、エラー情報保持部9、媒体不良状況報告部10、磁
気ディスク制御装置11、磁気ディスク装置12、から
構成されている。
In FIG. 1, the magnetic disk subsystem of the present embodiment comprises a data buffer 1, an access status management unit 2, a buffer control unit 3, an off-track read control unit 4,
Defective alternative track link control unit 5, reformatting control unit 6, recovery means determination unit 7, data check correction circuit 8, error information holding unit 9, medium defect status reporting unit 10, magnetic disk control device 11, magnetic disk device 12, It consists of

【0020】次に、本実施例の磁気ディスクサブシステ
ムの動作について説明する。
Next, the operation of the magnetic disk subsystem of this embodiment will be described.

【0021】まず、アクセス状況管理部2は、規定時間
のタイマーを持ち、上位装置からの最後のアクセスから
規定時間以内に次のアクセスが来なければ、バッファ制
御部3にリード動作を行なうように指示する。リード動
作指示を受けたバッファ制御部3は、磁気ディスク装置
12からトラックT1のデータをデータバッファ1に読
み込むよう制御すると共に、データエラーをチェックす
るようデータチェック訂正回路8に指示する。データエ
ラーが発生しなければ、データチェック訂正回路8はエ
ラーがないことをバッファ制御部3に報告する。報告を
受けたバッファ制御部3は、規定ピッチだけトラック番
号をインクリメントしたトラックT2に対して同様にリ
ード動作を行ないデータエラーチェックを行なうよう制
御する。
First, the access status management unit 2 has a timer for a specified time, and if the next access does not come within the specified time from the last access from the host device, the buffer control unit 3 is caused to perform a read operation. Give instructions. Upon receiving the read operation instruction, the buffer control unit 3 controls to read the data of the track T1 from the magnetic disk device 12 into the data buffer 1 and instructs the data check correction circuit 8 to check the data error. If no data error occurs, the data check correction circuit 8 reports to the buffer control unit 3 that there is no error. Upon receiving the report, the buffer control unit 3 controls the track T2, in which the track number is incremented by the specified pitch, to perform the read operation in the same manner to perform the data error check.

【0022】ここで、トラックT2リードチェック時に
データエラーを検出すると、データチェック訂正回路8
は、データバッファ1のデータの訂正を行なうと共に、
トラックT2でエラーが発生したことをエラー情報保持
部9に報告する。エラー情報保持部9は、トラックT2
でのデータエラー発生回数をインクリメントすると同時
に、シリンダ番号、トラック番号を保持する。また、エ
ラー情報保持部9は、規定回数以上データエラーが発生
していないかをチェックする。もし規定回数を越えてい
なければ再度バッファ制御部3に同一トラックT2のリ
ードチェックを行なうよう指示する。規定回数を越えて
いる場合には、エラー情報保持部9は、保持している全
エラー情報をリカバリ手段判断部7に転送する。リカバ
リ手段判断部7は、受け取ったエラー情報を解析し、ト
ラックT2に適用すべきリカバリ手段を選択しその適用
を各リカバリ処理制御部(オフトラックリード制御部
4、再フォーマット制御部6、不良代替トラックリンク
制御部5)に指示する。
If a data error is detected during the track T2 read check, the data check correction circuit 8
Corrects the data in the data buffer 1 and
It reports to the error information holding unit 9 that an error has occurred in the track T2. The error information holding unit 9 uses the track T2
At the same time as incrementing the number of data error occurrences at, the cylinder number and the track number are held. Further, the error information holding unit 9 checks whether or not a data error has occurred a prescribed number of times or more. If the specified number of times has not been exceeded, the buffer controller 3 is again instructed to perform a read check on the same track T2. If the specified number of times is exceeded, the error information holding unit 9 transfers all the held error information to the recovery means determination unit 7. The recovery means determination unit 7 analyzes the received error information, selects the recovery means to be applied to the track T2, and applies the application to each recovery processing control unit (off-track read control unit 4, reformatting control unit 6, defective replacement). Instruct the track link control unit 5).

【0023】各リカバリ処理の適用判断から、次のトラ
ックT3のリードチェックまでの処理はそれぞれ以下の
〜ように行なわれる。
The processes from the determination of the application of each recovery process to the read check of the next track T3 are performed as follows.

【0024】 例えば、特定トラック、また、上位の
トラック番号のみでリードエラーが規定回数を越えてい
る場合には、リカバリ手段判断部7は、磁気ヘッドのず
れ等が原因であるとし、再フォーマット制御部6にトラ
ックT2の再フォーマット処理を行なうよう指示する。
指示を受けた再フォーマット制御部6は、トラックT2
のホームアドレスの再フォーマットを磁気ディスク装置
12に対して行なった後、データバッファ1上の訂正し
たデータをトラックT2に再書き込みを制御するようバ
ッファ制御部3に指示する。バッファ制御部3の制御に
より、データバッファ1上の訂正したデータはトラック
T2に書き込まれる。書き込み後、バッファ制御部3
は、トラックT2に対して再度リードチェックを行な
い、エラーが発生しなければ、エラー情報保持部9にト
ラックT2が再フォーマット処理済みであるフラグを立
てておき、アクセス状況管理部2が上位装置からのアク
セスを検出するまで、規定ピッチだけインクリメントし
た次のトラックT3のリードチェック動作を継続して行
なう。もし、再フォーマット処理後のリードチェックに
てエラーが発生すれは、エラー情報保持部9はトラック
T2を不良トラックとし、媒体不良状況報告部10にト
ラックT2のエラー情報を転送する。媒体不良状況報告
部10では、不良トラック数が規定数を越えていないか
チェックし、越えていれば上位装置に磁気ディスク装置
12の媒体不良を報告すると共に、上位装置からの要求
があれば、エラー情報保持部9に保持している全エラー
情報を上位装置に転送する。不良トラック数が規定数を
越えていなければ、媒体不良状況報告部10の不良トラ
ック数のカウンタをインクリメントし、バッファ制御部
3に次のトラックT3をチェックするよう指示する。
For example, when the read error exceeds the specified number of times only for a specific track or a higher-order track number, the recovery means determination unit 7 determines that the magnetic head shift or the like is the cause, and reformatting control is performed. The unit 6 is instructed to reformat the track T2.
The reformatting control unit 6 that has received the instruction moves to the track T2.
After the reformatting of the home address of the above is performed on the magnetic disk device 12, the buffer controller 3 is instructed to control the rewriting of the corrected data in the data buffer 1 to the track T2. Under the control of the buffer control unit 3, the corrected data in the data buffer 1 is written in the track T2. After writing, the buffer control unit 3
Performs a read check again on the track T2, and if no error occurs, a flag indicating that the track T2 has been reformatted has been set in the error information holding unit 9 so that the access status management unit 2 sends it from the host device. Until the access is detected, the read check operation of the next track T3 incremented by the specified pitch is continuously performed. If an error occurs in the read check after the reformatting process, the error information holding unit 9 makes the track T2 a defective track and transfers the error information of the track T2 to the medium defect status reporting unit 10. The medium defect status reporting unit 10 checks whether the number of defective tracks exceeds the specified number, and if it exceeds the number, reports the medium defect of the magnetic disk device 12 to the upper device, and if there is a request from the upper device, All the error information stored in the error information storage unit 9 is transferred to the host device. If the number of defective tracks does not exceed the specified number, the counter of the number of defective tracks of the medium defect status reporting unit 10 is incremented and the buffer control unit 3 is instructed to check the next track T3.

【0025】 次に、連続した数シリンダの特定の同
一トラックアドレスでリードエラーが発生している場合
には、リカバリ手段判断部7は、磁気ディスク装置12
の媒体面の傷等が原因であるとし、不良代替トラックリ
ンク制御部5にトラックT2へ不良代替トラックリンク
処理を行なうよう指示する。指示を受けた不良代替トラ
ックリンク制御部5は、磁気ディスク装置12に対して
代替トラックが残っているか確認を行い、残っていなけ
れば、不良代替トラックリンク制御部5は、トラックT
2が不良トラックであることをエラー情報保持部9に報
告する。報告を受けたエラー情報保持部9は、トラック
T2を不良トラックとし、媒体不良状況報告部10に不
良トラックT2のエラー情報を転送する。媒体不良状況
報告部10へのエラー情報転送後は、と同様の処理を
行なう。また、代替トラックが残っていれば、不良代替
トラックリンク制御部5は、データバッファ1上の訂正
されたデータを代替トラックT2’に退避するようバッ
ファ制御部3に指示し、その後、トラックT2を不良ト
ラックとし、不良トラックと代替トラックのリンク処理
を行う。リンク処理終了後、バッファ制御部3は、トラ
ックT2に対して再度リードチェックを行ない、エラー
が発生しなければ、エラー情報保持部9にトラックT2
が不良代替トラックリンク処理済みであるフラグを立て
ておき、アクセス状況管理部2が上位装置からのアクセ
スを検出するまで、規定ピッチだけインクリメントした
次のトラックT3のリードチェック動作を継続して行な
う。もし、リンク処理後のリードチェックにてエラーが
発生すれは、エラー情報保持部9はトラックT2を不良
トラックとし、媒体不良状況報告部10にトラックT2
のエラー情報を転送する。媒体不良状況報告部10への
エラー情報転送後は、と同様の処理を行なう。また、
繰り返し代替トラックT2’に対して、不良代替トラッ
クリンク処理を適用しても良い。
Next, when a read error occurs at a specific same track address of several consecutive cylinders, the recovery means determination unit 7 causes the magnetic disk device 12 to operate.
The defective substitute track link control unit 5 is instructed to perform the defective substitute track link process on the track T2 on the assumption that the medium surface is damaged. Upon receipt of the instruction, the defective substitute track link control unit 5 confirms with respect to the magnetic disk device 12 whether or not an alternative track remains, and if not, the defective substitute track link control unit 5 uses the track T.
It reports to the error information holding unit 9 that 2 is a defective track. Upon receiving the report, the error information holding unit 9 sets the track T2 as a defective track, and transfers the error information of the defective track T2 to the medium defect status reporting unit 10. After the error information is transferred to the medium defect status reporting unit 10, the same processing as is performed. If the alternative track remains, the defective alternative track link controller 5 instructs the buffer controller 3 to save the corrected data in the data buffer 1 to the alternative track T2 ′, and then the track T2. The defective track is set, and the defective track and the alternative track are linked. After the link processing is completed, the buffer control unit 3 performs a read check on the track T2 again. If no error occurs, the buffer control unit 3 stores the track T2 in the error information holding unit 9.
A flag indicating that the defective alternative track link processing has been completed is set, and the read check operation of the next track T3 incremented by the specified pitch is continuously performed until the access status management unit 2 detects an access from the host device. If an error occurs in the read check after the link processing, the error information holding unit 9 regards the track T2 as a defective track, and the medium defect status reporting unit 10 notifies the track T2.
Transfer error information of. After the error information is transferred to the medium defect status reporting unit 10, the same processing as is performed. Also,
The defective alternative track link processing may be applied to the repeated alternative track T2 ′.

【0026】 また、エラー発生のシリンダ、トラッ
クに特徴がない場合には、媒体の異常の切り分けを行な
うために、リカバリ手段判断部7は、オフトラックリー
ド制御部4に、磁気ヘッドの位置をトラックの中心から
規定幅だけずらしてリードするオフトラックリード処理
を行なうよう指示する。指示を受けたオフトラックリー
ド制御部4は、磁気ディスク装置12に対してオフトラ
ックリード処理を適用し、再度バッファ制御部3の制御
により、トラックT2に対してリードチェックを行なう
よう指示する。リードチェック後、エラーが発生しなけ
れば、オフトラックリード制御部4は、再フォーマット
処理をトラックT2に対して適用するよう再フォーマッ
ト制御部6に指示し、エラー情報保持部9にトラックT
2がオフトラックリード処理済みであるフラグを立てて
おく。再フォーマット処理適用後はと同様である。ま
た、リードチェック後、エラーが発生した場合は、エラ
ー情報保持部9にトラックT2がオフトラックリード処
理済みであるフラグを立てると同時に、トラックT2を
不良トラックとし、媒体不良状況報告部10にトラック
T2のエラー情報を転送する。媒体不良状況報告部10
へのエラー情報転送後は、と同様の処理を行なう。
When the cylinder or track in which the error has occurred has no characteristic, the recovery means determination unit 7 causes the off-track read control unit 4 to track the position of the magnetic head in order to separate the abnormality of the medium. It is instructed to perform the off-track read processing in which the lead is shifted from the center of the track by the specified width. Upon receiving the instruction, the off-track read control unit 4 applies the off-track read process to the magnetic disk device 12, and again controls the buffer control unit 3 to instruct the track T2 to perform a read check. If no error occurs after the read check, the off-track read control unit 4 instructs the reformatting control unit 6 to apply the reformatting process to the track T2, and causes the error information holding unit 9 to track T.
The flag 2 indicates that the off-track read processing has been completed. This is the same as after applying the reformatting process. If an error occurs after the read check, a flag indicating that the track T2 has been subjected to off-track read processing is set in the error information holding unit 9 and at the same time, the track T2 is regarded as a defective track and the medium defect status reporting unit 10 is tracked. Transfer the error information of T2. Medium defect status reporting unit 10
After the error information is transferred to, the same processing as is performed.

【0027】以上のようにして、上位装置からのアクセ
スが来ない間を利用して、自動的に磁気ディスク装置1
2に対してリードチェックを行ない、そのエラー発生傾
向により、磁気ディスクサブシステム単独でデータリカ
バリ処理を判断し、適用可能とする。
As described above, the magnetic disk device 1 is automatically used while the access from the host device does not come.
A read check is performed on No. 2, and the data recovery processing is determined by the magnetic disk subsystem alone according to the error occurrence tendency, and it can be applied.

【0028】[0028]

【発明の効果】以上説明したように、本発明の磁気ディ
スクサブシステムは、ソフトウェアのジョブ投入によ
り、ディスクに対してリード動作を行い、リードエラー
が多発すれば、磁気ディスクサブシステム単独で、エラ
ー内容を解析し、その解析結果とエラー情報を上位装置
に報告できるようにすることにより、保守員は、容易に
媒体の状態を把握でき、適用すべきリカバリ手段を即時
に選択できるという効果がある。
As described above, the magnetic disk subsystem of the present invention performs a read operation on a disk by submitting a software job, and if a read error occurs frequently, the magnetic disk subsystem alone causes an error. By analyzing the contents and reporting the analysis result and error information to the host device, maintenance personnel can easily grasp the state of the medium and can immediately select the recovery means to be applied. ..

【0029】また、磁気ディスクサブシステム単独で、
エラー内容の解析結果によって適切なリカバリ手段を選
択し、適用できるようにすることにより、保守員の技術
力によらず、短時間で適切なリカバリ処理を行えるとい
う効果がある。
In addition, the magnetic disk subsystem alone,
By selecting and applying an appropriate recovery means according to the analysis result of the error content, there is an effect that an appropriate recovery process can be performed in a short time regardless of the technical ability of the maintenance personnel.

【0030】また、不良トラックが規定数を超えたとき
には、エラーが発生したトラックのシリンダ番号、トラ
ック番号、エラー発生頻度及び適用したリカバリ手段の
エラー履歴情報と共に、媒体の交換が必要である事を上
位装置に報告できるようにすることにより、上位装置か
らのアクセス時の致命的なエラーが発生する前には、ほ
ぼディスクの交換が可能となり、データの安全性を確保
できるという効果がある。
When the number of defective tracks exceeds the specified number, it is necessary to replace the medium together with the cylinder number of the track in which the error occurred, the track number, the error occurrence frequency, and the error history information of the recovery means applied. By making it possible to report to the host device, it is possible to almost replace the disk before a fatal error occurs at the time of access from the host device, and it is possible to ensure the data safety.

【0031】さらに、上位装置からのアクセス状況を管
理する手段を設けることにより、ソフトウェアからのジ
ョブ投入を必要とせず、上位装置からのアクセスが来な
い磁気ディスクサブシステムの空き時間を利用して、磁
気ディスクサブシステム単独で、リード動作からエラー
原因の判断、リカバリ手段の選択及び適用まで、自動的
に行うようにすることにより、上位装置からのリード命
令時のリードエラー発生を極力未然に防ぐことができ、
リカバリ処理が保守間隔に左右されず、適時に素早く行
なわれ、データの信頼性をさらに向上できると共に、リ
ードエラー発生による無駄なリード命令の再試行処理を
無くすこどがでくるという効果がある。
Further, by providing means for managing the access status from the host device, it is not necessary to submit a job from software, and the free time of the magnetic disk subsystem that is not accessed by the host device is used, The magnetic disk subsystem alone automatically prevents the read error from occurring when a read command is issued from the host device by automatically performing the read operation, error cause determination, recovery means selection and application. Can
The recovery process does not depend on the maintenance interval and can be performed promptly in a timely manner, which further improves the reliability of the data and has the effect of eliminating wasteful read command retry processing due to a read error.

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

【図1】本発明の一実施例の磁気ディスクサブシステム
のブロック図である。
FIG. 1 is a block diagram of a magnetic disk subsystem according to an embodiment of the present invention.

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

1 データバッファ 2 アクセス状況管理部 3 バッファ制御部 4 オフトラックリード制御部 5 不良代替トラックリンク制御部 6 再フォーマット制御部 7 リカバリ手段判断部 8 データチェック訂正回路 9 エラー情報保持部 10 媒体不良状況報告部 11 磁気ディスク制御装置 12 磁気ディスク装置 1 data buffer 2 access status management unit 3 buffer control unit 4 off-track read control unit 5 defective alternative track link control unit 6 reformatting control unit 7 recovery means determination unit 8 data check correction circuit 9 error information holding unit 10 medium defect status report Part 11 Magnetic disk controller 12 Magnetic disk device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データの書込み/読出しを行う磁気ディ
スク装置の磁気ディスク上のトラックのデータを格納す
るためのデータバッファと、前記データバッファへの前
記データの読込み動作を制御する読込み制御手段と、前
記読込み制御手段により前記磁気ディスクから読み出さ
れたデータの誤りをチェック及び訂正するチェック訂正
手段と、前記磁気ディスクからのデータの読出し動作時
に磁気ヘッドの位置をトラックの中心からずらして前記
データを読み出すオフトラックリード手段及び指定トラ
ックのホームアドレスの再フォーマットを行う再フォー
マット手段及び前記チェック訂正手段によりデータ誤り
の多いトラックのデータを代替トラックに退避した後前
記データ誤りの多いトラックを不良トラックとし不良代
替のリンクを行うリンク手段の内の少なくとも一つから
成るリカバリ手段と、前記チェック訂正手段によりエラ
ーが発生したトラックのシリンダ番号、ヘッド番号、エ
ラー発生頻度及び適用したリカバリ手段のエラー履歴を
エラー情報として保持する保持手段と、前記保持手段に
より保持したエラー情報より発生したエラーの内容を解
析しその解析結果と前記エラー情報とを上位装置に報告
する解析報告手段とを備えることを特徴とする磁気ディ
スクサブシステム。
1. A data buffer for storing data of a track on a magnetic disk of a magnetic disk device for writing / reading data, and a read control means for controlling an operation of reading the data into the data buffer. Checking / correcting means for checking and correcting an error in the data read from the magnetic disk by the read control means, and the position of the magnetic head is shifted from the center of the track during the operation of reading the data from the magnetic disk to read the data. The off-track read means for reading out, the reformatting means for reformatting the home address of the designated track, and the check-correction means save the data of the track with a large number of data errors to the alternative track, and then make the track with a lot of data errors a defective track. Alternate link Recovery means including at least one of the link means, and holding means for holding, as error information, the cylinder number of the track in which an error has occurred by the check correction means, the head number, the error occurrence frequency, and the error history of the applied recovery means. And a analysis report unit for analyzing the content of an error generated from the error information held by the holding unit and reporting the analysis result and the error information to a higher-level device.
【請求項2】 請求項1記載の磁気ディスクサブシステ
ムにおいて、前記解析報告手段により解析されたエラー
内容の解析結果によって適用すべきリカバリ手段を選択
し、適用することにより前記エラーを修復する手段を備
えることを特徴とする磁気ディスクサブシステム。
2. The magnetic disk subsystem according to claim 1, further comprising means for selecting a recovery means to be applied according to an analysis result of the error content analyzed by the analysis reporting means, and applying the recovery means to recover the error. A magnetic disk subsystem comprising:
【請求項3】 請求項1または請求項2記載のいずれか
一つの磁気ディスクサブシステムにおいて、前記チェッ
ク訂正手段によりデータ誤りが多い場合、前記磁気ディ
スクまたは前記磁気ディスク装置の交換が必要であるこ
とを前記上位装置に報告する手段を備えることを特徴と
する磁気ディスクサブシステム。
3. The magnetic disk subsystem according to claim 1, wherein when the check correction means has a large number of data errors, the magnetic disk or the magnetic disk device needs to be replaced. Is provided to the host device, and a magnetic disk subsystem is provided.
【請求項4】 請求項1または請求項2または請求項3
記載のいずれか一つの磁気ディスクサブシステムにおい
て、前記上位装置からのアクセスが来ないかどうかを監
視し、規定時間内に来なければ、サブシステム単独での
リカバリ処理を行う契機を与える手段を備えることを特
徴とする磁気ディスクサブシステム。
4. Claim 1 or claim 2 or claim 3.
In any one of the magnetic disk subsystems described, it is provided with means for monitoring whether or not an access from the higher-level device is received, and providing an opportunity to perform recovery processing by the subsystem alone if the access is not made within a specified time. A magnetic disk subsystem characterized by the above.
JP5311592A 1992-03-12 1992-03-12 Magnetic disk subsystem Withdrawn JPH05257617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5311592A JPH05257617A (en) 1992-03-12 1992-03-12 Magnetic disk subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5311592A JPH05257617A (en) 1992-03-12 1992-03-12 Magnetic disk subsystem

Publications (1)

Publication Number Publication Date
JPH05257617A true JPH05257617A (en) 1993-10-08

Family

ID=12933806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5311592A Withdrawn JPH05257617A (en) 1992-03-12 1992-03-12 Magnetic disk subsystem

Country Status (1)

Country Link
JP (1) JPH05257617A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301862A (en) * 2004-04-15 2005-10-27 Olympus Corp Disk recording device, monitoring method and monitoring program of disk recording medium
JP2005322399A (en) * 2004-05-07 2005-11-17 Equallogic Inc Maintenance method of track data integrity in magnetic disk storage device
JP2006023163A (en) * 2004-07-07 2006-01-26 Victor Co Of Japan Ltd Data storage device for vehicle-mounted apparatus
US7522366B2 (en) 2006-11-30 2009-04-21 Lenovo (Singapore) Pte. Ltd. Preservation of hard drive data via preliminary detection of adjacent track interference potential
JP2009223996A (en) * 2008-03-18 2009-10-01 Fujitsu Ltd Recording device
US7774539B2 (en) 2007-02-07 2010-08-10 Lenovo (Singapore) Pte. Ltd Preservation of hard drive data via dynamic band boundary definition

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301862A (en) * 2004-04-15 2005-10-27 Olympus Corp Disk recording device, monitoring method and monitoring program of disk recording medium
JP2005322399A (en) * 2004-05-07 2005-11-17 Equallogic Inc Maintenance method of track data integrity in magnetic disk storage device
US7475276B2 (en) 2004-05-07 2009-01-06 Equallogic, Inc. Method for maintaining track data integrity in magnetic disk storage devices
US8190945B2 (en) 2004-05-07 2012-05-29 Dell Products L.P. Method for maintaining track data integrity in magnetic disk storage devices
JP2006023163A (en) * 2004-07-07 2006-01-26 Victor Co Of Japan Ltd Data storage device for vehicle-mounted apparatus
US7522366B2 (en) 2006-11-30 2009-04-21 Lenovo (Singapore) Pte. Ltd. Preservation of hard drive data via preliminary detection of adjacent track interference potential
US7774539B2 (en) 2007-02-07 2010-08-10 Lenovo (Singapore) Pte. Ltd Preservation of hard drive data via dynamic band boundary definition
JP2009223996A (en) * 2008-03-18 2009-10-01 Fujitsu Ltd Recording device

Similar Documents

Publication Publication Date Title
US5491816A (en) Input/ouput controller providing preventive maintenance information regarding a spare I/O unit
JP5078235B2 (en) Method for maintaining track data integrity in a magnetic disk storage device
US6513135B2 (en) Automatic read reassignment method and a magnetic disk drive
US20060075291A1 (en) Method and apparatus for controlling recording medium, and computer product
JP2976780B2 (en) Information recording / reproducing device
US7506224B2 (en) Failure recovering method and recording apparatus
JPH05257617A (en) Magnetic disk subsystem
KR20010040467A (en) Automatic replacing method in reading and magnetic disc drive using the method
JPH07182250A (en) Automatic substituting processing system for magnetic disk
JPH06111479A (en) Information recording and reproducing device
US6229743B1 (en) Method of a reassign block processing time determination test for storage device
US5590272A (en) Method and system for a high-reliable disk system
JPH09161415A (en) Control method for magnetic tape apparatus
JPS6010328A (en) Input and output error demarcating and processing system
JP3335969B2 (en) Magnetic disk drive
JPS60261079A (en) Maintenance system of magnetic disc
JPH11327808A (en) Retry controller for external storage device controller
JPH07182116A (en) External storage
JPS61133433A (en) Defective sector alternate processing system in unrewritable data recording medium
JPH04213109A (en) Magnetic disk controller
JPH04184772A (en) Disk control device
JPS63136361A (en) Magnetic disk fault supervisory system
JPH05224835A (en) Reliability improvement system for disk subsystem
JPH03268127A (en) Method for reporting write-back pending of disk controller
JPH05224830A (en) Magnetic disk device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518