JPS62235662A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPS62235662A
JPS62235662A JP61078643A JP7864386A JPS62235662A JP S62235662 A JPS62235662 A JP S62235662A JP 61078643 A JP61078643 A JP 61078643A JP 7864386 A JP7864386 A JP 7864386A JP S62235662 A JPS62235662 A JP S62235662A
Authority
JP
Japan
Prior art keywords
data
magnetic disk
error
disk
disk cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61078643A
Other languages
Japanese (ja)
Inventor
Toshiaki Tazaki
田崎 稔明
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 JP61078643A priority Critical patent/JPS62235662A/en
Publication of JPS62235662A publication Critical patent/JPS62235662A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To make data release processing at a central processor unnecessary by reading out automatically the same data from a magnetic disk device, in case an error is detected at the time of reading out from a disk cache. CONSTITUTION:When an instruction for reading out a data from a magnetic disk device 30 is outputted to a magnetic disk control device 20 from a central processor 10, an instruction interpreting and executing means 21 issues an instruction for reading out a data from a disk cache 22, to a disk cache controller 27. As a result, the data which is read out is inputted to a data selecting means 23. In such a case, when an error is detected by a disk cache error detecting circuit 24, the controller 27 reads out the same data from the magnetic disk device 30, and the data which is read out is transferred to the processor 10 through a data buffer 26, and the selecting means 23. On the other hand, in case no error is detected, the selecting means 23 transfers the data from the disk cache 22, to the processor 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク制御装置に関し、特にデータ読出
時の自動訂正手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk control device, and particularly to automatic correction means when reading data.

〔従来の技術〕[Conventional technology]

従来、中央処理装置と磁気ディスク装置と磁気ディスク
制御装置から構成される情報処理システムにおいて、磁
気ディスク装置からデータを読出し中央処理装置へ転送
する過程で磁気ディスク媒体の破損や磁気ディスク制御
装置の誤動作により正しいデータを中央処理装置へ転送
できないことがあった。このような場合、中央処理装置
は処理を続行することができないため、事前に格納して
いた別媒体上のファイルを使用してファイル復旧した後
に処理を継続していた。
Conventionally, in an information processing system consisting of a central processing unit, a magnetic disk unit, and a magnetic disk control unit, damage to the magnetic disk medium or malfunction of the magnetic disk control unit occurs during the process of reading data from the magnetic disk unit and transferring it to the central processing unit. In some cases, the correct data could not be transferred to the central processing unit. In such a case, the central processing unit cannot continue the process, so the process is continued after recovering the file using a previously stored file on another medium.

例えば、処理開始前に磁気ディスク装置内のファイルを
磁気テープに事前に格納しておき、処理過程の更新デー
タを他の磁気テープに順次格納しておき1回復不能な磁
気ディスク装置の故障が発生した場合に上記2つの磁気
テープを使用して、正常な磁気ディスク装置に故障発生
前のファイルの状態を再現する方式である。
For example, if files in a magnetic disk device are stored on a magnetic tape before processing starts, and updated data during the processing process is sequentially stored on other magnetic tapes, an unrecoverable failure of the magnetic disk device occurs. In this case, the above two magnetic tapes are used to reproduce the state of the file before the failure occurred on a normal magnetic disk device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来の方式では、復旧処理に大幅に時
間がかかυ、使用者は復旧まで処理を待たされるという
欠点がある。
However, the above-mentioned conventional method has the drawback that the recovery process takes a considerable amount of time υ, and the user is forced to wait until the recovery process is complete.

本発明の目的は、ディスクキャッシュを内蔵する磁気デ
ィスク制御装置において、ディスクキャッジ−媒体に故
障が発生した場合は、磁気ディスク装置から同一データ
を自動的に読出し中央処理装置に対しては自動的に訂正
した正しいデータを送出し、復旧処理を不要とするもの
である。
An object of the present invention is to automatically read the same data from the magnetic disk device and automatically send it to the central processing unit when a failure occurs in the disk cache medium in a magnetic disk control device with a built-in disk cache. The system sends correct data that has been corrected, eliminating the need for recovery processing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の磁気ディスク制御装置は、ディスク中ヤツシエ
トs IIIT 記ティスクキャツシエからのデータ読
出時のエラーを検出するディスクキャッシュエラー検出
回路と、前記検出回路でのエラー検出時に磁気ディスク
装置からデータt−絖出し自動訂正全行うディスクキャ
ッシュコントローラト、中央処理装置からの指令により
自動訂正を行うか否かを記憶する自動訂正モード記憶手
段とを含んで構成される。
The magnetic disk control device of the present invention includes a disk cache error detection circuit that detects an error when reading data from a disk cache, and a disk cache error detection circuit that detects an error when reading data from a disk cache. - A disk cache controller that performs automatic head start correction, and an automatic correction mode storage means that stores whether or not automatic correction is to be performed based on a command from the central processing unit.

〔実施例] 次に、本発明について図面を参照して説明する。〔Example] Next, the present invention will be explained with reference to the drawings.

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

磁気ディスク制御装置20に内蔵される命令解釈実行手
段21は、中央処理装置10からの磁気ディスク制御装
置20への命令を解釈し実行する。
A command interpretation/execution unit 21 built into the magnetic disk control device 20 interprets and executes commands from the central processing unit 10 to the magnetic disk control device 20 .

ディスクキャッシュ22は磁気ディスクデータの高速読
出しを可能とする中ヤッシーメモリである。
The disk cache 22 is a medium-sized Yasshi memory that enables high-speed reading of magnetic disk data.

データバッファ26は磁気ディスク装置20からの読ポ
しデータを一時保管するバッファである。
The data buffer 26 is a buffer that temporarily stores read data from the magnetic disk device 20.

データ選択手段23は、中央処理装置10に透出する読
出しデータとしてディスクキャッジ:L22のデータと
データバッファ26とのどちらかt−X釈する手段でア
シ、どちらを選択するかはディスクキャッシュコントロ
ーラ27によシ決定される。
The data selection means 23 selects either the data of the disk cache L22 or the data buffer 26 as the read data to be transmitted to the central processing unit 10, and selects the data from the disk cache controller 23. 27.

ディスクキャッシュエラー検出回路24は、ディスクキ
ャッシュ22からのデータ読出し時のエラーを検出回路
である。
The disk cache error detection circuit 24 is a circuit that detects errors when reading data from the disk cache 22.

自動訂正モード記憶手段25は、中央処理装置10から
の読出命令に対して、ディスクキャッシ二二う−検出時
に自動的に磁気ディスク装置30から同一のデータを読
出すか否かのモードを記憶するものであシ、中央処理装
#、10からの命令によシ命令解釈実行手段21全通し
てセット/リセットされる。
The automatic correction mode storage means 25 stores a mode of whether or not to automatically read the same data from the magnetic disk device 30 when the disk cache 22 is detected in response to a read command from the central processing unit 10. The entire instruction interpretation/execution means 21 is set/reset by an instruction from the central processing unit 10.

ディスクキャッシュコントローラ27は、命令解釈実行
手段21からキャッジ&読出指示を受はディスク中ヤッ
シ&22にデータがあればディスクキャッシュ22から
データを読出し、なければ磁気ディスク装置続出制御回
路28を介して磁気ディスク装f、30からデータを読
出す制御を行うものであるが、さらにディスクキャッジ
、エラー検出回路24でエラー検出時に自動訂正モード
記憶手段25がオンである場合も磁気ディスク装置30
からデータf:R出す制御を行う。
The disk cache controller 27 receives the cache & read instruction from the instruction interpretation/execution means 21 and reads the data from the disk cache 22 if there is data in the cache 22 in the disk. The magnetic disk drive 30 also performs control to read data from the magnetic disk drive 30 when the automatic correction mode storage means 25 is on when an error is detected by the disk carriage and error detection circuit 24.
Control is performed to output data f:R.

次に本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

中央処理装置10から磁気ディスク制御袋[20に対し
て自動訂正モードセット命令が出されると、命令解釈実
行手段21に介して自動訂正モード記憶手段25がセッ
トされる。この状態で、中央処理装置10から磁気ディ
スク制御装置2oに対して磁気ディスク装置30からの
データを読出す命令が出されると、命令解釈実行手段2
1はディス/+ヤッシ、コントローラ27にディスクキ
ャッジ&22からデータを読出す指示金与える。ディス
クキャッジj−22に求めるデータがある場合は。
When the central processing unit 10 issues an automatic correction mode setting command to the magnetic disk control bag [20], the automatic correction mode storage means 25 is set via the command interpretation and execution means 21. In this state, when the central processing unit 10 issues a command to the magnetic disk control device 2o to read data from the magnetic disk device 30, the command interpretation execution means 2
1 gives the controller 27 an instruction to read data from the disk cage &22. If there is data you are looking for in Disc Cage J-22.

データが読出されデータ選択手段23に入力される。The data is read out and input to the data selection means 23.

このとき、ディスク中ヤッシ為工2−検出回路24でエ
ラーを検出すると、自動訂正モード記憶手段25がセッ
トされているのでディスクキャッシュコントローラ27
は同一データを磁気ディスク装置30から続出す。続出
された磁気ディスク装置30からのデータはデータバッ
ファ26を通りてデータ選択手段23に入力される。デ
ータ選択手段23は、ディスク中ヤッシ瓢コントローラ
27の制御によシ正しいデータであるデータバッファ2
6からのデータを選択し中央処理装置10ヘデータ全転
送する。
At this time, when an error is detected by the disk error detection circuit 24, the disk cache controller 27 detects an error because the automatic correction mode storage means 25 is set.
continuously outputs the same data from the magnetic disk device 30. The successive data from the magnetic disk drive 30 passes through the data buffer 26 and is input to the data selection means 23. The data selection means 23 selects the correct data from the data buffer 2 under the control of the disk storage controller 27.
6 is selected and all data is transferred to the central processing unit 10.

ディスクキャッシュエラー検出回路24でエラ−全検出
しなかった場合は、磁気ディスク族[30からのデータ
読出しは行わず、データ選択回路23はディスクキャッ
シュ22からのデータを選択して中央処理装置10ヘデ
ータを転送する。
If the disk cache error detection circuit 24 does not detect all errors, data is not read from the magnetic disk group [30], and the data selection circuit 23 selects data from the disk cache 22 and transfers the data to the central processing unit 10. transfer.

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

以上説明したように、ディスクキャッシーヲ内蔵する磁
気ディスク制御装置において、ディスクキャッシュ読出
時にエラーを検出した場合、磁気ディスク装置から同一
データを自動的に読出すことによシ、中央処理装置での
データ復旧処理全不要にできるという効果がある。
As explained above, in a magnetic disk control device with a built-in disk cache, if an error is detected when reading the disk cache, the central processing unit can automatically read the same data from the magnetic disk device. This has the effect of completely eliminating the need for recovery processing.

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

第1図は本発明の一実施例を示すブロック図である。 10・・・・・・中央処理装置、20・・・・・・磁気
ディスク制御装置、21・・・・・・命令解釈実行手段
、22・旧・・ディスクキャッシュ、23・・・・・・
データ選択手段、24・・・・・・ディスクキャッシュ
エラー検出回路、25・・・・・・自動訂正モード記憶
手段、26・・・・・・データバッファ、27・=−f
イスクキャッシュコントローラ、28・・・・・・磁気
ディスク装#、a出制御回路、 30・・・・・・磁気
ディスク装置。 −1、
FIG. 1 is a block diagram showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 10...Central processing unit, 20...Magnetic disk control device, 21...Instruction interpretation execution means, 22. Old disk cache, 23...
Data selection means, 24...Disk cache error detection circuit, 25...Auto correction mode storage means, 26...Data buffer, 27.=-f
disk cache controller, 28...Magnetic disk unit #, a output control circuit, 30...Magnetic disk unit. -1,

Claims (1)

【特許請求の範囲】[Claims] ディスクキャッシュと、前記ディスクキャッシュからの
データ読出時のエラーを検出するディスクキャッシュエ
ラー検出回路と、前記検出回路でのエラー検出時に磁気
ディスク装置から前記エラーの検出されたデータに対応
するデータを読出し自動訂正を行なうディスクキャッシ
ュコントローラと、中央処理装置からの指令により自動
訂正を行うか否かを記憶する自動訂正モード記憶手段と
を含むことを特徴とする磁気ディスク制御装置。
a disk cache; a disk cache error detection circuit that detects an error when reading data from the disk cache; and when the detection circuit detects an error, automatically reads data corresponding to the data in which the error has been detected from the magnetic disk device. 1. A magnetic disk control device comprising: a disk cache controller that performs correction; and automatic correction mode storage means that stores whether or not automatic correction is to be performed based on a command from a central processing unit.
JP61078643A 1986-04-04 1986-04-04 Magnetic disk controller Pending JPS62235662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61078643A JPS62235662A (en) 1986-04-04 1986-04-04 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61078643A JPS62235662A (en) 1986-04-04 1986-04-04 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPS62235662A true JPS62235662A (en) 1987-10-15

Family

ID=13667544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61078643A Pending JPS62235662A (en) 1986-04-04 1986-04-04 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPS62235662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258138A (en) * 1988-08-24 1990-02-27 Hitachi Ltd File operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5341948A (en) * 1976-09-29 1978-04-15 Hitachi Ltd Information processor
JPS54106132A (en) * 1978-02-09 1979-08-20 Fujitsu Ltd Buffer memory access process system
JPS62130442A (en) * 1985-12-03 1987-06-12 Nippon Telegr & Teleph Corp <Ntt> File subsystem

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5341948A (en) * 1976-09-29 1978-04-15 Hitachi Ltd Information processor
JPS54106132A (en) * 1978-02-09 1979-08-20 Fujitsu Ltd Buffer memory access process system
JPS62130442A (en) * 1985-12-03 1987-06-12 Nippon Telegr & Teleph Corp <Ntt> File subsystem

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258138A (en) * 1988-08-24 1990-02-27 Hitachi Ltd File operating system

Similar Documents

Publication Publication Date Title
US3984814A (en) Retry method and apparatus for use in a magnetic recording and reproducing system
JP2608887B2 (en) Method, apparatus, and controller for restoring stored data blocks from damaged tape data blocks
US4651277A (en) Control system for a magnetic disk drive unit
JPS62235662A (en) Magnetic disk controller
JPH0793101A (en) Data backup device
JPH0731639B2 (en) Magnetic disk controller
JP2560308B2 (en) Magnetic disk controller
JPH0281224A (en) Backup device for magnetic disk device
JPH0431129B2 (en)
JPS6217829A (en) Magnetic disk control system
JPH08123729A (en) Cache mechanism
JPH05181613A (en) Information processor
JPH02161515A (en) Magnetic disk device
JPS58114152A (en) Back up device for magnetic disc
JPS6332642A (en) Information processor
JPS6292283A (en) Diagnosis system
JPS59112353A (en) Data reading out system from recording medium
JPH02176949A (en) Acquisition system for journal data
JPS63159943A (en) Data processing system with file recovery function
JPH0816864B2 (en) Magnetic disk processing device
JPH0442466A (en) Optical disk controller
JPH0384778A (en) Data check retrial system
JPS5896326A (en) Input and output control method
JPH01213710A (en) File controller
JPH0833803B2 (en) Storage controller