JPH06162689A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH06162689A
JPH06162689A JP30840392A JP30840392A JPH06162689A JP H06162689 A JPH06162689 A JP H06162689A JP 30840392 A JP30840392 A JP 30840392A JP 30840392 A JP30840392 A JP 30840392A JP H06162689 A JPH06162689 A JP H06162689A
Authority
JP
Japan
Prior art keywords
control unit
data
read
processor
transfer control
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
JP30840392A
Other languages
Japanese (ja)
Inventor
Yasushi Tanaka
靖 田中
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP30840392A priority Critical patent/JPH06162689A/en
Publication of JPH06162689A publication Critical patent/JPH06162689A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To early discover generation of an abnormal state in a magnetic disk controller by providing a patrol read control unit, an ECC control unit and a read error reporter. CONSTITUTION:When a command from a host system 10 is not executed, a track number storage unit 24 transmits a track number to a patrol read control unit 25. The unit 25 transmits to a processor 23 to execute a patrol reading operation. The processor 23 instructs a data transfer control unit 22 to execute the patrol reading operation. The unit 22 operates a magnetic disk apparatus 30 to read data. An ECC control unit 26 detects whether a read error is present or not according to input data and ECC, and reports read error to a read error reporter 27. The reporter 27 reports it to the system 10 through the processor 23.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置の情
報の読出しまたは書込み動作の制御を行うための磁気デ
ィスク制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk controller for controlling read / write operation of information in a magnetic disk device.

【0002】[0002]

【従来の技術】磁気ディスク装置は、磁気ヘッドが磁気
ディスク(媒体)面の同じ位置に留まっていると、磁気
ヘッドの浮上状態に異常が発生したとき、その位置のト
ラックに傷がつく可能性が高いため、磁気ディスク装置
の寿命が短くなる惧れがある。このため、従来の磁気デ
ィスク制御装置は、磁気ヘッドが媒体面の同じ位置に留
まっていないように、情報の読出しまたは書込み動作を
行っていないとき(アイドル時)は、パトロールシーク
動作によるダミーシーク動作を行わせ、磁気ヘッドが媒
体面の全領域に亘って均等に移動する動作を行わせてい
る。
2. Description of the Related Art In a magnetic disk device, if the magnetic head stays at the same position on the surface of the magnetic disk (medium), when an abnormal flying state of the magnetic head occurs, the track at that position may be damaged. Therefore, the service life of the magnetic disk device may be shortened due to the high value. For this reason, the conventional magnetic disk control device uses the dummy seek operation by the patrol seek operation when the information read or write operation is not performed (idle time) so that the magnetic head does not stay at the same position on the medium surface. The magnetic head is moved uniformly over the entire area of the medium surface.

【0003】また、経年変化によって磁気ディスク装置
の軸のずれが発生すると、読出し動作のマージン(リー
ドマージン)が低下して読出しエラーが発生し易くな
り、また、磁気ディスク装置のリードライト特性が劣化
してもリードマージンが低下して読出しエラーが発生し
易くなるため、いずれの場合も磁気ディスク装置の信頼
性が低下する。このため、磁気ディスク装置の軸のずれ
やリードライト特性の劣化や磁気ディスクのディフェク
ト等によって正常な読出し動作を行うことができないト
ラックがある場合は、ソフトウエア命令によってそのト
ラックから情報を読出す動作を行うことによる異常の検
出およびその復旧のための処理を実行している。
Further, when the axis of the magnetic disk device is deviated due to aging, the read operation margin (read margin) is lowered and a read error is likely to occur, and the read / write characteristics of the magnetic disk device are deteriorated. However, since the read margin is reduced and a read error is likely to occur, the reliability of the magnetic disk device is reduced in any case. Therefore, if there is a track that cannot be read normally due to misalignment of the axis of the magnetic disk device, deterioration of read / write characteristics, defect of the magnetic disk, etc., operation to read information from that track by a software command. The process for detecting and recovering from the abnormality is performed.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
の磁気ディスク制御装置は、磁気ディスク装置に正常な
読出し動作を行うことができないトラックがある場合
は、ソフトウエア命令による異常の検出および復旧処理
を行っているため、実行処理のための時間が長くかか
り、磁気ディスク装置および情報処理システム全体の入
出力性能が低いという問題点を有している。
As described above, the conventional magnetic disk control device detects and recovers an abnormality by a software command when there is a track in the magnetic disk device that cannot perform a normal read operation. Since processing is performed, it takes a long time for execution processing, and there is a problem that the input / output performance of the magnetic disk device and the entire information processing system is low.

【0005】また、上述の処理は、ソフトウエア命令に
よっているため、磁気ディスク装置の異常を迅速に発見
することが困難であるという問題点も有している。
Further, the above-described processing has a problem that it is difficult to quickly find an abnormality in the magnetic disk device because it depends on a software instruction.

【0006】更に、訂正可能な読出しエラーが発生した
とき、それをそのまま放置すると、それが訂正不能な読
出しエラーとなってデータが消失するという問題点も有
している。
Further, when a correctable read error occurs, if it is left as it is, it becomes an uncorrectable read error and the data is lost.

【0007】[0007]

【課題を解決するための手段】本発明の第一の磁気ディ
スク制御装置は、ファームウエアによって動作を制御さ
れるプロセッサと、前記プロセッサの制御によって上位
装置との間のデータの転送の制御を行う第一のデータ転
送制御部と、前記プロセッサの制御によって磁気ディス
ク装置との間のデータおよびECCの転送の制御を行う
第二のデータ転送制御部と、書込み動作時に前記プロセ
ッサによって実際に書込みが行われたトラックの番号を
格納するトラック番号格納部と、前記上位装置からの命
令を実行していないとき前記トラック番号格納部から伝
達される前記番号のトラックににパトロールリード動作
を実行するように前記プロセッサに伝達するパトロール
リード制御部と、前記第一のデータ転送制御部から前記
第二のデータ転送制御部に転送されるデータに対する読
出し誤り検出訂正符号を生成しかつ前記第二のデータ転
送制御部から転送されたデータと読出し誤り検出訂正符
号に読出し誤りがあるか否かを検出して読出し誤りがあ
ったときは訂正可能であるか否かを判断し訂正可能であ
るときは訂正情報の生成を行うECC制御部と、前記E
CC制御部において読出し誤りがあったと判断したとき
そのことを前記プロセッサに伝達するリードエラー報告
部とを備えている。
A first magnetic disk control device of the present invention controls transfer of data between a processor whose operation is controlled by firmware and a host device by control of the processor. A first data transfer control unit, a second data transfer control unit that controls transfer of data and ECC to and from a magnetic disk device under the control of the processor, and a write operation is actually performed by the processor during a write operation. A track number storage unit for storing the number of the track that has been deleted, and a patrol read operation for the track of the number transmitted from the track number storage unit when a command from the host device is not being executed. A patrol read control unit for transmitting to the processor, and the second data transfer from the first data transfer control unit A read error detection / correction code for the data transferred to the control unit is generated, and a read error is detected by detecting whether or not there is a read error in the data transferred from the second data transfer control unit and the read error detection / correction code. If there is, an ECC control unit that determines whether or not correction is possible and, if correctable, generates the correction information;
When the CC control unit determines that there is a read error, it is provided with a read error reporting unit for transmitting the fact to the processor.

【0008】本発明の第二の磁気ディスク制御装置は、
ファームウエアによって動作を制御されるプロセッサ
と、前記プロセッサの制御によって上位装置との間のデ
ータの転送の制御を行う第一のデータ転送制御部と、前
記プロセッサの制御によって磁気ディスク装置との間の
データおよびECCの転送の制御を行う第二のデータ転
送制御部と、書込み動作時に前記プロセッサによって実
際に書込みが行われたトラックの番号を格納するトラッ
ク番号格納部と、前記上位装置からの命令を実行してい
ないとき前記トラック番号格納部から伝達される前記番
号のトラックに対してパトロールオフロラックマージナ
ルリード動作を実行するように前記プロセッサに伝達す
るパトロールオフロラックマージナルリード制御部と、
前記第一のデータ転送制御部から前記第二のデータ転送
制御部に転送されるデータに対する読出し誤り検出訂正
符号を生成しかつ前記第二のデータ転送制御部から転送
されたデータと読出し誤り検出訂正符号に読出し誤りが
あるか否かを検出して読出し誤りがあったときは訂正可
能であるか否かを判断し訂正可能であるときは訂正情報
の生成を行うECC制御部と、前記ECC制御部におい
て読出し誤りがあったと判断したときそのことを前記プ
ロセッサに伝達するリードエラー報告部とを備えてい
る。
The second magnetic disk controller of the present invention is
Between the processor whose operation is controlled by the firmware, the first data transfer control unit which controls the transfer of data to and from the host device under the control of the processor, and the magnetic disk device under the control of the processor. A second data transfer control unit that controls the transfer of data and ECC, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and an instruction from the host device. A patrol off-rollack marginal read control unit that transmits to the processor to perform a patrol off-roll rack marginal read operation on the track of the number transmitted from the track number storage unit when not executing;
A read error detection and correction code for the data transferred from the first data transfer control unit to the second data transfer control unit is generated, and the read error detection and correction data transferred from the second data transfer control unit An ECC control unit that detects whether or not there is a read error in the code, determines whether or not the read error is correctable, and generates correction information when the read error is correctable, and the ECC control And a read error reporting unit for transmitting the read error to the processor when the unit determines that there is a read error.

【0009】本発明の第三の磁気ディスク制御装置は、
ファームウエアによって動作を制御されるプロセッサ
と、前記プロセッサの制御によって上位装置との間のデ
ータの転送の制御を行う第一のデータ転送制御部と、前
記プロセッサの制御によって磁気ディスク装置との間の
データおよびECCの転送の制御を行う第二のデータ転
送制御部と、書込み動作時に前記プロセッサによって実
際に書込みが行われたトラックの番号を格納するトラッ
ク番号格納部と、前記上位装置からの命令を実行してい
ないとき前記トラック番号格納部から伝達される前記番
号のトラックに対してパトロールリード動作を実行する
ように前記プロセッサに伝達するパトロールリード制御
部と、前記第一のデータ転送制御部から前記第二のデー
タ転送制御部に転送されるデータに対する読出し誤り検
出訂正符号を生成しかつ前記第二のデータ転送制御部か
ら転送されたデータと読出し誤り検出訂正符号に読出し
誤りがあるか否かを検出して読出し誤りがあったときは
訂正可能であるか否かを判断し訂正可能であるときは訂
正情報の生成を行うECC制御部と、前記ECC制御部
において読出し誤りがあったと判断したときそのことを
前記プロセッサに伝達するリードエラー報告部と、前記
第二のデータ転送制御部から転送されてくるデータを一
時的に保持し前記ECC制御部から入力する訂正情報に
従って訂正するデータ回復バッファと、前記第二のデー
タ転送制御部から転送されてくるデータまたは前記デー
タ回復バッファ転送されてくるデータのうちのいずれか
一方を選択して前記第一のデータ転送制御部に対して送
出する第一のリードデータパス制御部と、前記第一のデ
ータ転送制御部から転送されてくるデータまたは前記デ
ータ回復バッファから転送されてくるデータのうちのい
ずれか一方を選択して前記第二のデータ転送制御部に対
して送出する第二のリードデータパス制御部とを備えて
いる。
A third magnetic disk controller of the present invention is
Between the processor whose operation is controlled by the firmware, the first data transfer control unit which controls the transfer of data to and from the host device under the control of the processor, and the magnetic disk device under the control of the processor. A second data transfer control unit that controls the transfer of data and ECC, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and an instruction from the host device. A patrol read control unit for transmitting to the processor so as to execute a patrol read operation for the track of the number transmitted from the track number storage unit when not executing; and the first data transfer control unit for transmitting the patrol read control unit to the processor. Generates a read error detection and correction code for the data transferred to the second data transfer control unit. The data transferred from the second data transfer control unit and the read error detection / correction code are detected whether or not there is a read error, and when there is a read error, it is determined whether or not the correction is possible and the correction is made. An ECC control unit that generates correction information when possible, a read error reporting unit that notifies the processor when there is a read error in the ECC control unit, and the second data transfer control A data recovery buffer for temporarily holding data transferred from the second data transfer controller and correcting the data in accordance with the correction information input from the ECC controller, and data transferred from the second data transfer controller or the data recovery buffer transfer First read data path control unit for selecting any one of the received data and transmitting it to the first data transfer control unit A second data transfer control unit that selects one of the data transferred from the first data transfer control unit and the data transferred from the data recovery buffer and sends the selected data to the second data transfer control unit. And a second read data path control unit.

【0010】本発明の第四の磁気ディスク制御装置は、
ファームウエアによって動作を制御されるプロセッサ
と、前記プロセッサの制御によって上位装置との間のデ
ータの転送の制御を行う第一のデータ転送制御部と、前
記プロセッサの制御によって磁気ディスク装置との間の
データおよびECCの転送の制御を行う第二のデータ転
送制御部と、書込み動作時に前記プロセッサによって実
際に書込みが行われたトラックの番号を格納するトラッ
ク番号格納部と、前記上位装置からの命令を実行してい
ないとき前記トラック番号格納部から伝達される前記番
号のトラックに対してパトロールリード動作を実行する
ように前記プロセッサに伝達するパトロールリード制御
部と、前記第一のデータ転送制御部から前記第二のデー
タ転送制御部に転送されるデータに対する読出し誤り検
出訂正符号を生成しかつ前記第二のデータ転送制御部か
ら転送されたデータと読出し誤り検出訂正符号に読出し
誤りがあるか否かを検出して読出し誤りがあったときは
訂正可能であるか否かを判断し訂正可能であるときは訂
正情報の生成を行うECC制御部と、前記ECC制御部
において読出し誤りがあったと判断したときそのことを
前記プロセッサに伝達するリードエラー報告部と、前記
第二のデータ転送制御部から転送されてくるデータを一
時的に保持し前記ECC制御部から入力する訂正情報に
従って訂正するデータ回復バッファと、前記第二のデー
タ転送制御部から転送されてくるデータまたは前記デー
タ回復バッファ転送されてくるデータのうちのいずれか
一方を選択して前記第一のデータ転送制御部に対して送
出する第一のリードデータパス制御部と、前記第一のデ
ータ転送制御部から転送されてくるデータまたは前記デ
ータ回復バッファから転送されてくるデータのうちのい
ずれか一方を選択して前記第二のデータ転送制御部に対
して送出する第二のリードデータパス制御部と、前記E
CC制御部から入力する訂正不可能な情報によって前記
磁気ディスク装置の磁気ヘッドをそのトラックに対して
内周側および外周側に僅かに移動させて再度リード動作
を実行させるオフセットリード制御部とを備えている。
A fourth magnetic disk controller according to the present invention is
Between the processor whose operation is controlled by the firmware, the first data transfer control unit which controls the transfer of data to and from the host device under the control of the processor, and the magnetic disk device under the control of the processor. A second data transfer control unit that controls the transfer of data and ECC, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and an instruction from the host device. A patrol read control unit for transmitting to the processor so as to execute a patrol read operation for the track of the number transmitted from the track number storage unit when not executing; Generates a read error detection and correction code for the data transferred to the second data transfer control unit. The data transferred from the second data transfer control unit and the read error detection / correction code are detected whether or not there is a read error, and when there is a read error, it is determined whether or not the correction is possible and the correction is made. An ECC control unit that generates correction information when possible, a read error reporting unit that notifies the processor when there is a read error in the ECC control unit, and the second data transfer control A data recovery buffer for temporarily holding data transferred from the second data transfer controller and correcting the data in accordance with the correction information input from the ECC controller, and data transferred from the second data transfer controller or the data recovery buffer transfer First read data path control unit for selecting any one of the received data and transmitting it to the first data transfer control unit A second data transfer control unit that selects one of the data transferred from the first data transfer control unit and the data transferred from the data recovery buffer and sends the selected data to the second data transfer control unit. A second read data path control unit, and E
And an offset read control unit for slightly moving the magnetic head of the magnetic disk device to the inner and outer circumference sides of the track by the uncorrectable information input from the CC control unit to execute the read operation again. ing.

【0011】本発明の第五の磁気ディスク制御装置は、
ファームウエアによって動作を制御されるプロセッサ
と、前記プロセッサの制御によって上位装置との間のデ
ータの転送の制御を行う第一のデータ転送制御部と、前
記プロセッサの制御によって複数台の磁気ディスク装置
との間のデータおよびECCの転送の制御を行う第二の
データ転送制御部と、前記複数台の磁気ディスク装置に
対応して設けられ対応する磁気ディスク装置に対する書
込み動作時に前記プロセッサによって実際に書込みが行
われたトラックの番号を格納するた複数台のトラック番
号格納部と、前記複数台のトラック番号格納部を監視し
て前記複数台の磁気ディスク装置のうちのどの磁気ディ
スク装置に対してパトロールリード動作を実行するかを
決定するパトロールリードプライオリティ制御部と、前
記上位装置からの命令を実行していないとき前記パトロ
ールリードプライオリティ制御部によって決定されたら
磁気ディスク装置の指定された番号のトラックに対して
パトロールリード動作を実行するように前記プロセッサ
に伝達するパトロールリード制御部と、前記第一のデー
タ転送制御部から前記第二のデータ転送制御部に転送さ
れるデータに対する読出し誤り検出訂正符号を生成しか
つ前記第二のデータ転送制御部から転送されたデータと
読出し誤り検出訂正符号に読出し誤りがあるか否かを検
出して読出し誤りがあったときは訂正可能であるか否か
を判断し訂正可能であるときは訂正情報の生成を行うE
CC制御部と、前記ECC制御部において読出し誤りが
あったと判断したときそのことを前記プロセッサに伝達
するリードエラー報告部と、前記第二のデータ転送制御
部から転送されてくるデータを一時的に保持し前記EC
C制御部から入力する訂正情報に従って訂正するデータ
回復バッファと、前記第二のデータ転送制御部から転送
されてくるデータまたは前記データ回復バッファ転送さ
れてくるデータのうちのいずれか一方を選択して前記第
一のデータ転送制御部に対して送出する第一のリードデ
ータパス制御部と、前記第一のデータ転送制御部から転
送されてくるデータまたは前記データ回復バッファから
転送されてくるデータのうちのいずれか一方を選択して
前記第二のデータ転送制御部に対して送出する第二のリ
ードデータパス制御部と、前記ECC制御部から入力す
る訂正不可能な情報によって前記磁気ディスク装置の磁
気ヘッドをそのトラックに対して内周側および外周側に
僅かに移動させて再度リード動作を実行させるオフセッ
トリード制御部とを備えている。
A fifth magnetic disk controller according to the present invention is
A processor whose operation is controlled by firmware, a first data transfer control unit that controls transfer of data to and from a host device by control of the processor, and a plurality of magnetic disk devices by control of the processor And a second data transfer control unit for controlling the transfer of data and ECC between the magnetic disk device and the plurality of magnetic disk devices, which are actually written by the processor during a write operation to the corresponding magnetic disk devices. A plurality of track number storage units that store the numbers of tracks performed and a patrol read to any one of the plurality of magnetic disk devices by monitoring the plurality of track number storage units. The patrol read priority control unit that decides whether to execute the operation and the command from the host device. And a patrol read control unit for transmitting to the processor to execute a patrol read operation for a track of a designated number of the magnetic disk device when determined by the patrol read priority control unit when not executing A read error detection / correction code is generated for the data transferred from one data transfer control unit to the second data transfer control unit, and the read error detection / correction code and the data transferred from the second data transfer control unit are generated. Whether or not there is a read error is detected, and if there is a read error, it is determined whether or not it can be corrected, and if it is correctable, correction information is generated.
The CC control unit, the read error reporting unit that notifies the processor when there is a read error in the ECC control unit, and the data transferred from the second data transfer control unit temporarily. Hold the EC
The data recovery buffer for correcting according to the correction information input from the C control unit, and either the data transferred from the second data transfer control unit or the data transferred to the data recovery buffer is selected. Of the first read data path control unit to be sent to the first data transfer control unit and the data transferred from the first data transfer control unit or the data transferred from the data recovery buffer Of the magnetic field of the magnetic disk device according to the second read data path control unit for selecting and transmitting the selected data to the second data transfer control unit and the uncorrectable information input from the ECC control unit. An offset read control unit that slightly moves the head to the inner and outer circumference sides of the track and performs the read operation again. It is provided.

【0012】[0012]

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

【0013】図1は本発明の第一の実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【0014】図1の実施例の磁気ディスク制御装置20
は、上位装置10からの命令によって磁気ディスク装置
30の動作を制御する。
The magnetic disk controller 20 of the embodiment shown in FIG.
Controls the operation of the magnetic disk device 30 in accordance with a command from the host device 10.

【0015】磁気ディスク制御装置20は、ファームウ
エアによって制御され上位装置10からの命令によって
動作するプロセッサ23と、プロセッサ23からの制御
信号200によって上位装置10との間のデータ転送の
制御を行う第一のデータ転送制御部21と、プロセッサ
23からの制御信号201によって磁気ディスク装置3
0との間のデータ転送の制御を行う第二のデータ転送制
御部22と、書込み動(ライト動作)のとき、プロセッ
サ23からの制御信号202によって実際に書込みを行
ったトラックの番号を格納するトラック番号格納部24
と、上位装置10からの命令を実行していないとき(ア
イドル中)、トラック番号格納部24からのトラック番
号伝達信号203によって伝達される番号のトラックに
対してパトロールリード動作を実行するようにプロセッ
サ23に対してリード実行信号204を送出するパトロ
ールリード制御部25と、第一のデータ転送制御部21
からデータパス205を介して転送されてくるデータに
よってECC(エラー情報)を生成し、第二のデータ転
送制御部22からデータパス206を介して転送されて
くるデータにリードエラーがあるか否かを判断し、リー
ドエラーがある場合はそれが訂正可能であるか否かを判
断し、訂正可能なときは訂正情報の生成を行うECC制
御部26と、ECC制御部26からエラー伝達信号20
7によってリードエラーの有無の通知を受け、リードエ
ラーがあっな場合にエラー報告信号208によってそれ
をプロセッサ23に対して報告するリードエラー報告部
27とを備えている。
The magnetic disk controller 20 controls data transfer between the processor 23 which is controlled by firmware and operates according to an instruction from the host device 10 and the control signal 200 from the processor 23. The magnetic disk device 3 is controlled by the data transfer control unit 21 and the control signal 201 from the processor 23.
The second data transfer control unit 22 that controls the data transfer with 0, and the number of the track actually written by the control signal 202 from the processor 23 at the time of the write operation (write operation) is stored. Track number storage 24
When the instruction from the higher-level device 10 is not executed (during idle), the processor for executing the patrol read operation for the track having the number transmitted by the track number transmission signal 203 from the track number storage unit 24. And a first data transfer control unit 21 for sending a read execution signal 204 to the patrol read control unit 25.
ECC (error information) is generated from the data transferred from the data path 205 to the data path 205, and whether there is a read error in the data transferred from the second data transfer control unit 22 via the data path 206. If there is a read error, it is determined whether it can be corrected, and if it is correctable, an ECC control unit 26 that generates correction information and an error transmission signal 20 from the ECC control unit 26.
7, a read error reporting unit 27 is provided which receives a notification of the presence or absence of a read error and reports it to the processor 23 by an error report signal 208 when there is no read error.

【0016】上述のように構成された磁気ディスク制御
装置20は、上位装置10からの命令を実行していない
とき、次のようにパトロールリード動作を行う。
The magnetic disk control device 20 configured as described above performs the patrol read operation as follows when the command from the host device 10 is not being executed.

【0017】トラック番号格納部24が、上位装置10
からの命令を実行していないという情報を制御信号20
2によってプロセッサ23から入力すると、トラック番
号格納部24は、パトロールリード制御部25に対して
トラック番号伝達信号203を送出してトラック番号を
伝達する。トラック番号を入力したパトロールリード制
御部25は、プロセッサ23に対してリード実行信号2
04を送出してその番号のトラックに対してパトロール
リード動作を実行するように伝達する。
The track number storage unit 24 is used for the host device 10.
Information from the control signal 20
When input from the processor 23 by 2, the track number storage unit 24 sends the track number transmission signal 203 to the patrol read control unit 25 to transmit the track number. The patrol read control unit 25 having input the track number sends the read execution signal 2 to the processor 23.
04 is transmitted and the patrol read operation is performed for the track of that number.

【0018】この通知を受けたプロセッサ23は、第二
のデータ転送制御部22に対して該当するトラックに対
してパトロールリード動作を実行するように指令を出
し、この指令を受けたデータ転送制御部22は、磁気デ
ィスク装置30を動作させて該当するトラックから情報
(データ)の読出し(リード)を行う。磁気ディスク装
置30からデータおよびECCを入力したデータ転送制
御部22は、それらをデータパス206を介してECC
制御部26に転送する。
Receiving this notification, the processor 23 issues a command to the second data transfer control unit 22 to execute the patrol read operation for the corresponding track, and receives the command, the data transfer control unit 22. 22 operates the magnetic disk device 30 to read (read) information (data) from the corresponding track. The data transfer control unit 22 that receives the data and the ECC from the magnetic disk device 30 sends them to the ECC via the data path 206.
It is transferred to the control unit 26.

【0019】ECC制御部26は、入力したデータおよ
びECCによって読出し誤り(リードエラー)があるか
否かを検出し、リードエラーがあったときはそれが訂正
可能であるか否かを判断し、訂正可能なときは訂正情報
の生成を行い、エラー伝達信号207によってリードエ
ラー報告部27に対して読出し誤りの有無の報告を行
う。
The ECC control unit 26 detects whether or not there is a read error (read error) based on the input data and ECC, and when there is a read error, determines whether or not it can be corrected. When it is correctable, correction information is generated and the presence or absence of a read error is reported to the read error reporting unit 27 by the error transmission signal 207.

【0020】ECC制御部26からの報告を受けたリー
ドエラー報告部27は、リードエラーがあったとき、エ
ラー報告信号208によってそのことをプロセッサ23
に対して報告する。この報告を受けたプロセッサ23
は、制御信号200によってそのことをデータ転送制御
部21に報告し、データ転送制御部21は、制御信号1
00によってそのことを上位装置10に報告する。
When the read error reporting unit 27 receives the report from the ECC control unit 26, when there is a read error, the read error reporting unit 27 informs the processor 23 of the fact by the error reporting signal 208.
Report to. Processor 23 that received this report
Reports this to the data transfer control unit 21 by the control signal 200, and the data transfer control unit 21 sends the control signal 1
00 to report this to the upper level device 10.

【0021】以上の動作により、磁気ディスク装置30
における異常状態の発生を早期に発見することが可能と
なる。
By the above operation, the magnetic disk device 30
It becomes possible to detect the occurrence of the abnormal state in the early stage.

【0022】図2は本発明の第二の実施例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【0023】図2の実施例の磁気ディスク制御装置40
は、図1の磁気ディスク制御装置20のパトロールリー
ド制御部25を、パトロールオフロラックマージナルリ
ード制御部45に置換えたものであり、その他の部分の
構成および作用は、図1の実施例と同じである。
The magnetic disk controller 40 of the embodiment shown in FIG.
1 is the one in which the patrol read control unit 25 of the magnetic disk control device 20 of FIG. 1 is replaced with a patrol off-roll rack marginal read control unit 45. The configuration and operation of the other parts are the same as those of the embodiment of FIG. is there.

【0024】パトロールオフロラックマージナルリード
制御部45は、経年変化によって磁気ディスク装置の軸
のずれが発生してリードマージンが低下したり、磁気デ
ィスク装置のリードライト特性が劣化してリードマージ
ンが低下したときに、それらに対して対処するため、パ
トロールオフロラックマージナルリード動作を行うため
のものである。これにより、磁気ディスク装置の軸のず
れやリードライト特性の劣化によって正常な読出し動作
を行うことができないトラックが発生したとき、それを
早期に発見することが可能となる。
The patrol off-roll margin marginal read control unit 45 reduces the read margin due to the axial deviation of the magnetic disk device due to aging, or the read / write characteristics of the magnetic disk device deteriorate and the read margin decreases. In some cases, the patrol off roll rack marginal read operation is performed to deal with them. As a result, when a track in which a normal read operation cannot be performed occurs due to the misalignment of the axis of the magnetic disk device or the deterioration of the read / write characteristics, it becomes possible to detect it early.

【0025】図3は本発明の第三の実施例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a third embodiment of the present invention.

【0026】図3の実施例の磁気ディスク制御装置50
は、図1の磁気ディスク制御装置20に、データ転送制
御部22からリードパス209を介して転送されてくる
データを一時的に保持し、ECC制御部26からECC
パス211によって入力する訂正情報に従って読出し誤
りを含むデータを訂正するデータ回復バッファ58と、
データ転送制御部22からリードパス209を介して転
送されてくるデータまたはデータ回復バッファ58から
データ復旧パス210を介して転送されてくるデータの
うちのいずれか一方を選択し、リードパス212を介し
てデータ転送制御部21に対して送出する第一のリード
データパス制御部59aと、データ転送制御部21から
リードパス205を介して転送されてくるデータまたは
データ回復バッファ58からデータ復旧パス210を介
して転送されてくるデータのうちのいずれか一方を選択
し、リードパス213を介してデータ転送制御部22に
対して送出する第二のリードデータパス制御部59bと
を付加したものである。その他の部分の構成および作用
は、図1の実施例と同じである。
The magnetic disk controller 50 of the embodiment shown in FIG.
1 temporarily holds the data transferred from the data transfer control unit 22 via the read path 209 to the magnetic disk control device 20 of FIG.
A data recovery buffer 58 that corrects data including a read error according to the correction information input by the path 211,
Either the data transferred from the data transfer control unit 22 via the read path 209 or the data transferred from the data recovery buffer 58 via the data recovery path 210 is selected, and the data is transferred via the read path 212. A first read data path control unit 59a to be sent to the transfer control unit 21 and data transferred from the data transfer control unit 21 via the read path 205 or transferred from the data recovery buffer 58 via the data recovery path 210. A second read data path controller 59b for selecting one of the received data and sending it to the data transfer controller 22 via the read path 213 is added. The configuration and operation of the other parts are the same as those of the embodiment shown in FIG.

【0027】上述のように構成した磁気ディスク制御装
置50は、パトロールリード動作中に訂正可能なリード
エラーを検出したとき、次のように処理する。
The magnetic disk controller 50 configured as described above, when detecting a correctable read error during the patrol read operation, processes as follows.

【0028】データ回復バッファ58は、ECC制御部
26からECCパス211を介して訂正可能なリードエ
ラーを検出したことを知ると、ECC制御部26から入
力した訂正情報に従って、既に保持しているデータの誤
りを訂正する。
When the data recovery buffer 58 learns from the ECC control unit 26 that a correctable read error is detected via the ECC path 211, the data recovery buffer 58 stores the data already stored according to the correction information input from the ECC control unit 26. Correct the error in.

【0029】第一のリードデータパス制御部59aおよ
び第二のリードデータパス制御部59bは、データ回復
バッファ58からデータ復旧パス210を介して転送さ
れてくるデータを選択するように設定し、リードデータ
パス制御部59aはそのデータをデータ転送制御部21
に対して送出し、リードデータパス制御部59bはその
データをデータ転送制御部22に対して送出する。
The first read data path control unit 59a and the second read data path control unit 59b are set so as to select the data transferred from the data recovery buffer 58 via the data recovery path 210, and read. The data path control unit 59a transfers the data to the data transfer control unit 21.
The read data path control unit 59b sends the data to the data transfer control unit 22.

【0030】このようにして、磁気ディスク装置30に
おける異常状態の発生を早期に発見できると共に、ソフ
トウエアの介入なしに読出し誤りを発生したデータを正
しいデータに復旧できるため、上位装置10からの命令
によってそのトラックに対してデータの読出しを行った
とき、リードエラーとはならない。
In this way, the occurrence of an abnormal state in the magnetic disk device 30 can be detected at an early stage, and the data in which the read error has occurred can be restored to the correct data without the intervention of software. When the data is read from that track, the read error does not occur.

【0031】図4は本発明の第四の実施例を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a fourth embodiment of the present invention.

【0032】図4の実施例の磁気ディスク制御装置60
は、図3の磁気ディスク制御装置50に、ECC制御部
26から入力する訂正不可能な情報により、磁気ディス
ク装置30の磁気ヘッドをそのトラックに対して内周側
および外周側に僅かに移動させ(この動作をオフセット
動作という)、再度リード動作を実行させるオフセット
リード制御部65を付加したものである。その他の部分
の構成および作用は、図3の実施例と同じである。
The magnetic disk controller 60 of the embodiment shown in FIG.
3 causes the magnetic disk controller 50 of FIG. 3 to slightly move the magnetic head of the magnetic disk device 30 inward and outward with respect to the track by the uncorrectable information input from the ECC controller 26. (This operation is referred to as an offset operation), and an offset read control unit 65 for executing the read operation again is added. The structure and operation of the other parts are the same as those of the embodiment shown in FIG.

【0033】上述のように構成した磁気ディスク制御装
置60は、パトロールリード動作中に訂正不可能なリー
ドエラーを検出したとき、次のように処理する。
When the magnetic disk control device 60 having the above-described structure detects an uncorrectable read error during the patrol read operation, it processes as follows.

【0034】オフセットリード制御部65は、ECC制
御部26からの情報によって訂正不可能なリードエラー
が発生したことを知ると、磁気ディスク装置30の磁気
ヘッドに対してオフセット動作を行うように、制御パス
215を介してプロセッサ23に対して伝達する。プロ
セッサ23は、これによってデータ転送制御部22を介
して磁気ディスク装置30にオフセット動作によるデー
タの読出しを行わせ、リードエラーが発生しない場合
は、磁気ディスク装置30に軸ずれが発生しているもの
とみなし、オフセットを解除してプロセッサ23によっ
てそのトラックに対してデータの再書込みを行う。
When the offset read controller 65 knows that an uncorrectable read error has occurred based on the information from the ECC controller 26, it controls the magnetic head of the magnetic disk device 30 to perform an offset operation. It is transmitted to the processor 23 via the path 215. Accordingly, the processor 23 causes the magnetic disk device 30 to read the data by the offset operation via the data transfer control unit 22, and when the read error does not occur, the magnetic disk device 30 has an axis deviation. Then, the offset is released, and the processor 23 rewrites the data to the track.

【0035】このようにして、磁気ディスク装置30に
おける異常状態の発生を早期に発見できると共に、ソフ
トウエアの介入なしに軸ずれに起因する読出し誤りを発
生したデータを正しいデータに復旧できるため、次回以
降、上位装置10からの命令によってそのトラックに対
してデータの読出しを行ったとき、リードエラーとはな
らない。
In this way, the occurrence of an abnormal state in the magnetic disk device 30 can be detected at an early stage, and the data in which the read error caused by the axis deviation has occurred can be restored to the correct data without the intervention of software. After that, when the data is read from the track by the command from the higher-level device 10, the read error does not occur.

【0036】図5は本発明の第五の実施例を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a fifth embodiment of the present invention.

【0037】図5の実施例の磁気ディスク制御装置70
は、第二のデータ転送制御部22に3台の磁気ディスク
装置31〜33を接続できるようにし、図4の磁気ディ
スク制御装置60のトラック番号格納部24の代りに、
3個のトラック番号格納部74〜76と、プライオリテ
ィ監視パス263a〜263cによってこの3個のトラ
ック番号格納部74〜76を監視し、第二のデータ転送
制御部22に接続している3台の磁気ディスク装置31
〜33のうちのどの磁気ディスク装置に対してパトロー
ルリード動作を実行するかを決定してパトロールリード
制御部25に通知するするパトロールリードプライオリ
ティ制御部77を設けたものである。その他の部分の構
成および作用は、図4の実施例と同じである。
The magnetic disk controller 70 of the embodiment shown in FIG.
Enables three magnetic disk devices 31 to 33 to be connected to the second data transfer control unit 22, and replaces the track number storage unit 24 of the magnetic disk control device 60 of FIG.
The three track number storages 74 to 76 and the three track number storages 74 to 76 are monitored by the priority monitoring paths 263a to 263c, and three units connected to the second data transfer control unit 22 are monitored. Magnetic disk unit 31
33 to 33, a patrol read priority control unit 77 is provided to determine which of the magnetic disk devices to execute the patrol read operation and notify the patrol read control unit 25. The configuration and operation of the other parts are the same as in the embodiment of FIG.

【0038】上述のように構成した磁気ディスク制御装
置60によって3台の磁気ディスク装置31〜33を制
御する場合は、書込み動作のときに実際に書込みを行っ
たトラック番号を、3台の磁気ディスク装置31〜33
毎にそれぞれ対応するトラック番号格納部74〜76に
格納しておき、パトロールリード動作のときにアクセス
するトラックをパトロールリードプライオリティ制御部
77によって決定する。
When the three magnetic disk devices 31 to 33 are controlled by the magnetic disk control device 60 configured as described above, the track numbers actually written during the write operation are set to the three magnetic disk devices. Devices 31-33
The tracks are stored in the corresponding track number storages 74 to 76, respectively, and the patrol read priority control unit 77 determines the tracks to be accessed during the patrol read operation.

【0039】これにより、3台の磁気ディスク装置のす
べてについて、早期に異常状態の発生を発見できる。
As a result, the occurrence of an abnormal state can be detected early in all three magnetic disk devices.

【0040】[0040]

【発明の効果】以上説明したように、本発明の磁気ディ
スク制御装置は、ファームウエアによって動作を制御さ
れるプロセッサと、プロセッサの制御によって上位装置
との間のデータの転送の制御を行う第一のデータ転送制
御部および磁気ディスク装置との間のデータおよびEC
Cの転送の制御を行う第二のデータ転送制御部と、書込
み動作時にプロセッサによって実際に書込みが行われた
トラック番号を格納するトラック番号格納部と、上位装
置からの命令を実行していないときトラック番号格納部
から伝達される番号のトラックに対してパトロールリー
ド動作を実行するようにプロセッサに伝達するパトロー
ルリード制御部と、第一のデータ転送制御部から第二の
データ転送制御部に転送されるデータに対する読出し誤
り検出訂正符号を生成しかつ第二のデータ転送制御部か
ら転送されたデータと読出し誤り検出訂正符号に読出し
誤りがあるか否かを検出して読出し誤りがあったときは
訂正可能であるか否かを判断し訂正可能であるときは訂
正情報の生成を行うECC制御部と、ECC制御部にお
いて読出し誤りがあったと判断したときそのことをプロ
セッサに伝達するリードエラー報告部とを設けることに
より、磁気ディスク装置における異常状態の発生を早期
に発見することが可能となるという効果がある。
As described above, the magnetic disk control device of the present invention controls the transfer of data between the processor whose operation is controlled by the firmware and the host device by the control of the processor. And EC between the data transfer control unit and the magnetic disk unit
When the second data transfer control unit that controls the transfer of C, the track number storage unit that stores the track number actually written by the processor at the time of the write operation, and the instruction from the host device are not executed A patrol read control unit for transmitting to the processor to execute the patrol read operation for the track of the number transmitted from the track number storage unit, and the first data transfer control unit transferred to the second data transfer control unit. Generate a read error detection and correction code for the data to be read, and detect whether there is a read error in the data transferred from the second data transfer control unit and the read error detection and correction code, and correct if there is a read error. If it is possible to correct it by judging whether it is possible or not, an ECC control unit that generates correction information and a read error in the ECC control unit By providing a read error reporting unit for transmitting this to the processor when it is determined that Tsu, there is an effect that it is possible to find the occurrence of the abnormal condition in the magnetic disk apparatus at an early stage.

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

【図1】本発明の第一の実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の第二の実施例を示すブロック図であ
る。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】本発明の第三の実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing a third embodiment of the present invention.

【図4】本発明の第四の実施例を示すブロック図であ
る。
FIG. 4 is a block diagram showing a fourth embodiment of the present invention.

【図5】本発明の第五の実施例を示すブロック図であ
る。
FIG. 5 is a block diagram showing a fifth embodiment of the present invention.

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

10 上位装置 20・40・50・60・70 磁気ディスク制御装
置 21・71 データ転送制御部 22・72 データ転送制御部 23・73 プロセッサ 24・74〜76 トラック番号格納部 25・75a パトロールリード制御部 26・76 ECC制御部 27・77 リードエラー報告部 30・31・32・33 磁気ディスク装置 45 パトロールオフロラックマージナルリード制御
部 58・78 データ回復バッファ 59a・59b・79a・79b リードデータパス
制御部 65・75b オフセットリード制御部 77 パトロールリードプライオリティ制御部 100・200・201・202 制御信号 203 トラック番号伝達信号 204 リード実行信号 205・206 データパス 207 エラー伝達信号 208 エラー報告信号 209・212・213 リードパス 210 データ復旧パス 211 ECCパス 215 制御パス 263a〜263c プライオリティ監視パス
10 Higher-level device 20/40/50/60/70 Magnetic disk controller 21/71 Data transfer controller 22/72 Data transfer controller 23/73 Processor 24 / 74-76 Track number storage 25 / 75a Patrol read controller 26/76 ECC control unit 27/77 Read error reporting unit 30/31/32/33 Magnetic disk unit 45 Patrol off-roll rack marginal read control unit 58/78 Data recovery buffer 59a / 59b / 79a / 79b Read data path control unit 65 -75b Offset read control unit 77 Patrol read priority control unit 100-200-201-202 Control signal 203 Track number transmission signal 204 Read execution signal 205-206 Data path 207 Error transmission signal 208 Error report signal 09, 212, 213 read path 210 data recovery path 211 ECC path 215 control path 263a~263c priority monitoring path

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ファームウエアによって動作を制御され
るプロセッサと、前記プロセッサの制御によって上位装
置との間のデータの転送の制御を行う第一のデータ転送
制御部と、前記プロセッサの制御によって磁気ディスク
装置との間のデータおよびECCの転送の制御を行う第
二のデータ転送制御部と、書込み動作時に前記プロセッ
サによって実際に書込みが行われたトラックの番号を格
納するトラック番号格納部と、前記上位装置からの命令
を実行していないとき前記トラック番号格納部から伝達
される前記番号のトラックに対してパトロールリード動
作を実行するように前記プロセッサに伝達するパトロー
ルリード制御部と、前記第一のデータ転送制御部から前
記第二のデータ転送制御部に転送されるデータに対する
読出し誤り検出訂正符号を生成しかつ前記第二のデータ
転送制御部から転送されたデータと読出し誤り検出訂正
符号に読出し誤りがあるか否かを検出して読出し誤りが
あったときは訂正可能であるか否かを判断し訂正可能で
あるときは訂正情報の生成を行うECC制御部と、前記
ECC制御部において読出し誤りがあったと判断したと
きそのことを前記プロセッサに伝達するリードエラー報
告部とを備えることを特徴とする磁気ディスク制御装
置。
1. A processor whose operation is controlled by firmware, a first data transfer control unit which controls transfer of data to and from a host device under the control of the processor, and a magnetic disk under the control of the processor. A second data transfer control unit that controls transfer of data and ECC to and from a device, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and the upper order A patrol read control unit for transmitting to the processor to perform a patrol read operation for the track of the number transmitted from the track number storage unit when not executing an instruction from the device; and the first data. Read error detection and correction for data transferred from the transfer control unit to the second data transfer control unit Detecting whether or not there is a read error in the code generated and the data transferred from the second data transfer control unit and the read error detection and correction code, and if there is a read error, whether it is correctable or not And an ECC control unit for generating correction information when it is correctable, and a read error reporting unit for transmitting the error to the processor when it is determined that there is a read error in the ECC control unit. Characteristic magnetic disk controller.
【請求項2】 ファームウエアによって動作を制御され
るプロセッサと、前記プロセッサの制御によって上位装
置との間のデータの転送の制御を行う第一のデータ転送
制御部と、前記プロセッサの制御によって磁気ディスク
装置との間のデータおよびECCの転送の制御を行う第
二のデータ転送制御部と、書込み動作時に前記プロセッ
サによって実際に書込みが行われたトラックの番号を格
納するトラック番号格納部と、前記上位装置からの命令
を実行していないとき前記トラック番号格納部から伝達
される前記番号のトラックに対してパトロールオフロラ
ックマージナルリード動作を実行するように前記プロセ
ッサに伝達するパトロールオフロラックマージナルリー
ド制御部と、前記第一のデータ転送制御部から前記第二
のデータ転送制御部に転送されるデータに対する読出し
誤り検出訂正符号を生成しかつ前記第二のデータ転送制
御部から転送されたデータと読出し誤り検出訂正符号に
読出し誤りがあるか否かを検出して読出し誤りがあった
ときは訂正可能であるか否かを判断し訂正可能であると
きは訂正情報の生成を行うECC制御部と、前記ECC
制御部において読出し誤りがあったと判断したときその
ことを前記プロセッサに伝達するリードエラー報告部と
を備えることを特徴とする磁気ディスク制御装置。
2. A processor whose operation is controlled by firmware, a first data transfer control unit which controls transfer of data to and from a host device by control of the processor, and a magnetic disk which is controlled by the processor. A second data transfer control unit that controls transfer of data and ECC to and from a device, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and the upper order A patrol off-roll rack marginal read control unit for transmitting to the processor to execute a patrol off-roll rack marginal read operation for the track of the number transmitted from the track number storage unit when not executing an instruction from the device; From the first data transfer control unit to the second data transfer control unit A read error detection and correction code for the data transferred to the second data transfer control unit, and whether or not there is a read error in the data transferred from the second data transfer control unit and the read error detection and correction code is detected. When it is correctable, an ECC control unit that determines whether it is correctable and generates correction information when correctable;
A magnetic disk control device comprising: a read error reporting unit for transmitting the read error to the processor when the control unit determines that there is a read error.
【請求項3】 ファームウエアによって動作を制御され
るプロセッサと、前記プロセッサの制御によって上位装
置との間のデータの転送の制御を行う第一のデータ転送
制御部と、前記プロセッサの制御によって磁気ディスク
装置との間のデータおよびECCの転送の制御を行う第
二のデータ転送制御部と、書込み動作時に前記プロセッ
サによって実際に書込みが行われたトラックの番号を格
納するトラック番号格納部と、前記上位装置からの命令
を実行していないとき前記トラック番号格納部から伝達
される前記番号のトラックに対してパトロールリード動
作を実行するように前記プロセッサに伝達するパトロー
ルリード制御部と、前記第一のデータ転送制御部から前
記第二のデータ転送制御部に転送されるデータに対する
読出し誤り検出訂正符号を生成しかつ前記第二のデータ
転送制御部から転送されたデータと読出し誤り検出訂正
符号に読出し誤りがあるか否かを検出して読出し誤りが
あったときは訂正可能であるか否かを判断し訂正可能で
あるときは訂正情報の生成を行うECC制御部と、前記
ECC制御部において読出し誤りがあったと判断したと
きそのことを前記プロセッサに伝達するリードエラー報
告部と、前記第二のデータ転送制御部から転送されてく
るデータを一時的に保持し前記ECC制御部から入力す
る訂正情報に従って訂正するデータ回復バッファと、前
記第二のデータ転送制御部から転送されてくるデータま
たは前記データ回復バッファ転送されてくるデータのう
ちのいずれか一方を選択して前記第一のデータ転送制御
部に対して送出する第一のリードデータパス制御部と、
前記第一のデータ転送制御部から転送されてくるデータ
または前記データ回復バッファから転送されてくるデー
タのうちのいずれか一方を選択して前記第二のデータ転
送制御部に対して送出する第二のリードデータパス制御
部とを備えることを特徴とする磁気ディスク制御装置。
3. A processor whose operation is controlled by firmware, a first data transfer control unit which controls transfer of data to and from a host device under the control of the processor, and a magnetic disk under the control of the processor. A second data transfer control unit that controls transfer of data and ECC to and from a device, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and the upper order A patrol read control unit for transmitting to the processor to perform a patrol read operation for the track of the number transmitted from the track number storage unit when not executing an instruction from the device; and the first data. Read error detection and correction for data transferred from the transfer control unit to the second data transfer control unit Detecting whether or not there is a read error in the code generated and the data transferred from the second data transfer control unit and the read error detection and correction code, and if there is a read error, whether it is correctable or not And an ECC control unit that generates correction information when the error is correctable, a read error reporting unit that notifies the processor when there is a read error in the ECC control unit, and the second A data recovery buffer that temporarily holds the data transferred from the data transfer control unit and corrects the data in accordance with the correction information input from the ECC control unit; and the data transferred from the second data transfer control unit or Data recovery buffer The first read data that selects one of the transferred data and sends it to the first data transfer control unit. And path control unit,
A second one of the data transferred from the first data transfer control unit and the data transferred from the data recovery buffer is selected and transmitted to the second data transfer control unit. And a read data path control unit.
【請求項4】 ファームウエアによって動作を制御され
るプロセッサと、前記プロセッサの制御によって上位装
置との間のデータの転送の制御を行う第一のデータ転送
制御部と、前記プロセッサの制御によって磁気ディスク
装置との間のデータおよびECCの転送の制御を行う第
二のデータ転送制御部と、書込み動作時に前記プロセッ
サによって実際に書込みが行われたトラックの番号を格
納するトラック番号格納部と、前記上位装置からの命令
を実行していないとき前記トラック番号格納部から伝達
される前記番号のトラックに対してパトロールリード動
作を実行するように前記プロセッサに伝達するパトロー
ルリード制御部と、前記第一のデータ転送制御部から前
記第二のデータ転送制御部に転送されるデータに対する
読出し誤り検出訂正符号を生成しかつ前記第二のデータ
転送制御部から転送されたデータと読出し誤り検出訂正
符号に読出し誤りがあるか否かを検出して読出し誤りが
あったときは訂正可能であるか否かを判断し訂正可能で
あるときは訂正情報の生成を行うECC制御部と、前記
ECC制御部において読出し誤りがあったと判断したと
きそのことを前記プロセッサに伝達するリードエラー報
告部と、前記第二のデータ転送制御部から転送されてく
るデータを一時的に保持し前記ECC制御部から入力す
る訂正情報に従って訂正するデータ回復バッファと、前
記第二のデータ転送制御部から転送されてくるデータま
たは前記データ回復バッファ転送されてくるデータのう
ちのいずれか一方を選択して前記第一のデータ転送制御
部に対して送出する第一のリードデータパス制御部と、
前記第一のデータ転送制御部から転送されてくるデータ
または前記データ回復バッファから転送されてくるデー
タのうちのいずれか一方を選択して前記第二のデータ転
送制御部に対して送出する第二のリードデータパス制御
部と、前記ECC制御部から入力する訂正不可能な情報
によって前記磁気ディスク装置の磁気ヘッドをそのトラ
ックに対して内周側および外周側に僅かに移動させて再
度リード動作を実行させるオフセットリード制御部とを
備えることを特徴とする磁気ディスク制御装置。
4. A processor whose operation is controlled by firmware, a first data transfer control section which controls transfer of data to and from a host device under the control of the processor, and a magnetic disk under the control of the processor. A second data transfer control unit that controls transfer of data and ECC to and from a device, a track number storage unit that stores the number of the track actually written by the processor during a write operation, and the upper order A patrol read control unit for transmitting to the processor to perform a patrol read operation for the track of the number transmitted from the track number storage unit when not executing an instruction from the device; and the first data. Read error detection and correction for data transferred from the transfer control unit to the second data transfer control unit Detecting whether or not there is a read error in the code generated and the data transferred from the second data transfer control unit and the read error detection and correction code, and if there is a read error, whether it is correctable or not And an ECC control unit that generates correction information when the error is correctable, a read error reporting unit that notifies the processor when there is a read error in the ECC control unit, and the second A data recovery buffer that temporarily holds the data transferred from the data transfer control unit and corrects the data in accordance with the correction information input from the ECC control unit; and the data transferred from the second data transfer control unit or Data recovery buffer The first read data that selects one of the transferred data and sends it to the first data transfer control unit. And path control unit,
A second one of the data transferred from the first data transfer control unit and the data transferred from the data recovery buffer is selected and transmitted to the second data transfer control unit. Of the read data path control unit and the uncorrectable information input from the ECC control unit, the magnetic head of the magnetic disk device is slightly moved to the inner and outer circumference sides with respect to the track, and the read operation is performed again. A magnetic disk control device comprising: an offset read control unit to be executed.
【請求項5】 ファームウエアによって動作を制御され
るプロセッサと、前記プロセッサの制御によって上位装
置との間のデータの転送の制御を行う第一のデータ転送
制御部と、前記プロセッサの制御によって複数台の磁気
ディスク装置との間のデータおよびECCの転送の制御
を行う第二のデータ転送制御部と、前記複数台の磁気デ
ィスク装置に対応して設けられ対応する磁気ディスク装
置に対する書込み動作時に前記プロセッサによって実際
に書込みが行われたトラックの番号を格納するた複数台
のトラック番号格納部と、前記複数台のトラック番号格
納部を監視して前記複数台の磁気ディスク装置のうちの
どの磁気ディスク装置に対してパトロールリード動作を
実行するかを決定するパトロールリードプライオリティ
制御部と、前記上位装置からの命令を実行していないと
き前記パトロールリードプライオリティ制御部によって
決定されたら磁気ディスク装置の指定された番号のトラ
ックに対してパトロールリード動作を実行するように前
記プロセッサに伝達するパトロールリード制御部と、前
記第一のデータ転送制御部から前記第二のデータ転送制
御部に転送されるデータに対する読出し誤り検出訂正符
号を生成しかつ前記第二のデータ転送制御部から転送さ
れたデータと読出し誤り検出訂正符号に読出し誤りがあ
るか否かを検出して読出し誤りがあったときは訂正可能
であるか否かを判断し訂正可能であるときは訂正情報の
生成を行うECC制御部と、前記ECC制御部において
読出し誤りがあったと判断したときそのことを前記プロ
セッサに伝達するリードエラー報告部と、前記第二のデ
ータ転送制御部から転送されてくるデータを一時的に保
持し前記ECC制御部から入力する訂正情報に従って訂
正するデータ回復バッファと、前記第二のデータ転送制
御部から転送されてくるデータまたは前記データ回復バ
ッファ転送されてくるデータのうちのいずれか一方を選
択して前記第一のデータ転送制御部に対して送出する第
一のリードデータパス制御部と、前記第一のデータ転送
制御部から転送されてくるデータまたは前記データ回復
バッファから転送されてくるデータのうちのいずれか一
方を選択して前記第二のデータ転送制御部に対して送出
する第二のリードデータパス制御部と、前記ECC制御
部から入力する訂正不可能な情報によって前記磁気ディ
スク装置の磁気ヘッドをそのトラックに対して内周側お
よび外周側に僅かに移動させて再度リード動作を実行さ
せるオフセットリード制御部とを備えることを特徴とす
る磁気ディスク制御装置。
5. A processor whose operation is controlled by firmware, a first data transfer control unit which controls transfer of data to and from a host device under the control of the processor, and a plurality of units under the control of the processor. Second data transfer control unit for controlling transfer of data and ECC to and from the magnetic disk device, and the processor provided for the plurality of magnetic disk devices at the time of writing operation to the corresponding magnetic disk devices. A plurality of track number storage units that store the numbers of the tracks that have actually been written by, and which one of the plurality of magnetic disk devices is monitored by monitoring the plurality of track number storage units. A patrol read priority control unit for deciding whether to execute a patrol read operation for A patrol read control unit that transmits to the processor to execute a patrol read operation for a track of a designated number of the magnetic disk device if determined by the patrol read priority control unit when not executing an instruction from the device. And a read error detection and correction code for the data transferred from the first data transfer control unit to the second data transfer control unit, and the data transferred from the second data transfer control unit and the read error. An ECC control unit that detects whether or not the detection / correction code has a read error, determines whether or not the read error is correctable, and generates correction information when the read error is correctable; When the ECC control unit determines that there is a read error, the read error reporting unit that notifies the processor of the error. A data recovery buffer that temporarily holds the data transferred from the second data transfer control unit and corrects the data in accordance with correction information input from the ECC control unit; and a data recovery buffer transferred from the second data transfer control unit. A first read data path control unit that selects either the incoming data or the data that is transferred to the data recovery buffer and sends the selected data to the first data transfer control unit; and the first data A second read data path control for selecting one of the data transferred from the transfer control unit and the data transferred from the data recovery buffer and sending the selected data to the second data transfer control unit. Section and the uncorrectable information input from the ECC control section, the magnetic head of the magnetic disk device is moved to the inner circumference side of the track. Magnetic disk controller, characterized in that it comprises an offset read control unit for re-execute the read operation slightly moved to the fine outer peripheral side.
JP30840392A 1992-11-18 1992-11-18 Magnetic disk controller Withdrawn JPH06162689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30840392A JPH06162689A (en) 1992-11-18 1992-11-18 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30840392A JPH06162689A (en) 1992-11-18 1992-11-18 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH06162689A true JPH06162689A (en) 1994-06-10

Family

ID=17980647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30840392A Withdrawn JPH06162689A (en) 1992-11-18 1992-11-18 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH06162689A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027240A (en) * 2006-07-21 2008-02-07 Fujitsu Ltd Disk array device, patrol diagnostic method, and patrol diagnostic control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027240A (en) * 2006-07-21 2008-02-07 Fujitsu Ltd Disk array device, patrol diagnostic method, and patrol diagnostic control program

Similar Documents

Publication Publication Date Title
JPS598852B2 (en) Error handling method
JPH05303539A (en) Disk controller
US20080016429A1 (en) Data storage device and error correction method
US6611392B1 (en) Magnetic disk device and retry method for a magnetic disk device
JP2002149500A (en) Hard disk device
JPH06162689A (en) Magnetic disk controller
JP3288071B2 (en) Information conversion processing device and information transfer control method
JPS58132839A (en) Fault recovery device
US7571373B1 (en) Post-transmission disk error correction
JP2002251332A (en) Disk controller
JP2868003B1 (en) Magnetic disk drive
JP2002215336A (en) Memory control method, and memory sub-system
JPS61125651A (en) Error report processing system
JPH10143329A (en) Magnetic disk control device
JP2546075B2 (en) Disk controller retry method
JP2002092810A (en) Method for controlling magnetic disk device and disk array system
JP2731678B2 (en) Double-write magnetic disk subsystem
JPS6095664A (en) Data storage control device
JPH09161415A (en) Control method for magnetic tape apparatus
JPH11327808A (en) Retry controller for external storage device controller
JPH05341921A (en) Disk array device
JPH03292526A (en) Magnetic disk processor
JPS60173775A (en) Magnetic tape storage device
JPH10289065A (en) Disk array controller
JPS6113259B2 (en)

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: 20000201