JPS59112353A - Data reading out system from recording medium - Google Patents

Data reading out system from recording medium

Info

Publication number
JPS59112353A
JPS59112353A JP22357882A JP22357882A JPS59112353A JP S59112353 A JPS59112353 A JP S59112353A JP 22357882 A JP22357882 A JP 22357882A JP 22357882 A JP22357882 A JP 22357882A JP S59112353 A JPS59112353 A JP S59112353A
Authority
JP
Japan
Prior art keywords
error
data
recording medium
reading
command
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
JP22357882A
Other languages
Japanese (ja)
Inventor
Morio Iino
飯野 守夫
Kazuo Orioka
織岡 一夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP22357882A priority Critical patent/JPS59112353A/en
Publication of JPS59112353A publication Critical patent/JPS59112353A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)

Abstract

PURPOSE:To reread data from another recording medium in duplicated recording media having individual address in each recording medium by managing an error detected at the reading out of data by a medium controlling device. CONSTITUTION:If an error detection processing part 202 detects an error during the reading out of data from a master desk 121 by a reading command, a command to stop the reading is outputted to a reading mechanism 113. An error processing program 102 analyses the error, and when the error is recoverable, rereading is commanded to a desk controlling device 110. Consequently, a command processing part 201 sets up a reading command to a register 203 corresponding to a sub-desk 122 and commands reading from the sub-desk 122 to the mechanism 113. Thus, data are reread from another correct recording medium, so that the load of a control program is reduced and other controlling functions can be completed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は情報処理装置のディスク等の読出し方式に関し
、詳しくは、記録媒体が2重化された系におけるデータ
の読出し方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a reading method for a disk or the like in an information processing apparatus, and more particularly to a data reading method in a system in which recording media are duplicated.

〔従来技術〕[Prior art]

例えば大容量の固体媒体ディスクの普及にともない、障
害発生時の対策上、ディスクの2重化が要求されている
。従来、このように2m化されたディスクにおけるデー
タの読出し方式は、各々のディスクに個別のディスク・
アドレスを付刃nし、処理装置の制御プログラムは該2
重化されたディスクの一方のアドレスを指定して読出し
指令を発行し、その読出し時にエラーが発生した場合、
制御プログラムは2重化されたディスクのもう一方のア
ドレスを指定して読出し指令を再発行し、データを再読
出しするどい5ものであった。このように、従来は処理
装置の制御プログラム自体が2重化されたディスクの個
々のアドレスを管理して、読出しエラー発生時のエラー
回復のための再読出し指令を行っており、この為、線処
理装置の制御プログラムの負担が増大するだけでなく、
制御プログラムを格納するメモリエリアも増大するとい
う欠点があった。なお、これはドラム、テープ等、他の
記録媒体を2重化する場合についても同様のことが云え
る。
For example, with the spread of large-capacity solid-state media disks, duplication of disks is required as a countermeasure in the event of a failure. Conventionally, the method for reading data on 2m disks has been to use individual disks for each disk.
The address is set to 2, and the control program of the processing device is set to 2.
If a read command is issued by specifying the address of one of the duplicated disks, and an error occurs during the read,
The control program specified the other address of the duplicated disk, reissued a read command, and reread the data. In this way, conventionally, the control program of the processing device itself manages the individual addresses of the duplicated disks and issues a reread command for error recovery when a read error occurs. This not only increases the burden on the control program of the processing device, but also
This has the disadvantage that the memory area for storing the control program also increases. Incidentally, the same can be said when duplicating other recording media such as drums and tapes.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、データ読出し時にエラーを検出した場
合、処理装置の制御プログラムが2重化されている記録
媒体の個々のアドレスを意識することな(、同一の読出
し指令を再発行することにより、別の記録媒体からデー
タを再読出しする方式を提供することにある。
An object of the present invention is to prevent the control program of a processing device from being aware of the individual addresses of the duplicated recording medium when an error is detected during data reading (by reissuing the same read command). The object of the present invention is to provide a method for rereading data from another recording medium.

〔発明の概要〕 上記の目的を達成するため、本発明では、記録媒体毎に
個別のアドレスを持つ2重化された記録媒体の対を媒体
制御装置で管理せしめる。そして、処理装置の制御プロ
グラムからの読出し指令に対して、媒体制御装置は予め
定められた一方の記録媒体からデータを読出し、その読
出し時にエラーが発生した場合、制御プログラムに対し
て再読出し可能のエラー報告を行って再試行(リトライ
)を要求する。この報告を受けて、処理装置の制御プロ
グラムは前と同一の読出し指令を再発行する。
[Summary of the Invention] In order to achieve the above object, the present invention allows a medium control device to manage a pair of duplicated recording media each having an individual address. Then, in response to a read command from the control program of the processing device, the medium control device reads data from one of the predetermined recording media, and if an error occurs during reading, the control program is instructed to read the data again. Report an error and request a retry. Upon receiving this report, the control program of the processing device reissues the same read command as before.

即ち、読出し指令の再試行を指示する。この再発行され
た読出し指令に対して、媒体制御装置はエラーの発生し
ていない別の記録媒体を選択してデータの読出しを行う
。以下、ディスクが2重化されたディスク制御装置にお
けるデータの読出し方式を例に本発明の詳細な説明する
That is, it instructs to retry the read command. In response to this reissued read command, the medium control device selects another recording medium in which no error has occurred and reads data. The present invention will be described in detail below, taking as an example a data reading method in a disk control device with dual disks.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明の一実施例で、処理装置100、ディス
ク制御装置110、ディスク駆動装置120及び表示装
置130などからなる電子計算機システム全体を示す。
FIG. 1 shows one embodiment of the present invention, showing an entire computer system including a processing device 100, a disk control device 110, a disk drive device 120, a display device 130, and the like.

処理装置100は電子計算機システム全体を制御する制
御プログラム101と処理プログラム103を内蔵して
いる。制御プログラム101にはエラー処理プログラム
102が含まれている。ディスク制御装置110は転送
機構111、制御機構112、続出し機構113及び書
込み機構114かもなる。ディスク駆動装置120は、
同一内容のデータが記録されている正ディスク121と
副ディスク122を有している。
The processing device 100 contains a control program 101 and a processing program 103 that control the entire electronic computer system. The control program 101 includes an error handling program 102. The disk control device 110 also includes a transfer mechanism 111, a control mechanism 112, a continuous output mechanism 113, and a write mechanism 114. The disk drive device 120 is
It has a primary disk 121 and a secondary disk 122 on which data of the same content is recorded.

第2図はディスク制御装置110における制御機構11
2の詳細図である。即ち、制御機構112は指令処理部
201、エラー検出処理部202及びレジスタ群208
からなる。指令処理部201は処理装置100かも指示
される各種指令(読出し指令、書込み指令等)に対応す
る処理を司どり、エラー検出処理部202はディスクか
らの読出しデータに対するエラー検出及びエラー処理を
司どる。本実施例では、この指令処理部201及びエラ
ー検出処理部202で必要とする処理はマイクロプログ
ラムで実行されるとする。第8図は読出し指令に対する
指令処理部2010マイクロプログラム・フロー図であ
り、第4図はエラー検出処理部2020マイクロプログ
ラム・フロー図である。レジスタ群208は書込み/読
出しデータを一時格納するバッファレジスタの外に、デ
ィスクの状態を示す正・副デイスク対応の状態レジスタ
などからなる。
FIG. 2 shows the control mechanism 11 in the disk controller 110.
FIG. 2 is a detailed diagram of No. 2. That is, the control mechanism 112 includes a command processing section 201, an error detection processing section 202, and a register group 208.
Consisting of The command processing unit 201 is in charge of processing corresponding to various commands (read commands, write commands, etc.) directed by the processing device 100, and the error detection processing unit 202 is in charge of error detection and error processing for data read from the disk. . In this embodiment, it is assumed that the processing required by the command processing section 201 and the error detection processing section 202 is executed by a microprogram. FIG. 8 is a microprogram flow diagram of the command processing section 2010 for a read command, and FIG. 4 is a microprogram flow diagram of the error detection processing section 2020. The register group 208 includes a buffer register for temporarily storing write/read data, and status registers corresponding to the primary and secondary disks that indicate the status of the disk.

処理装置100内の処理プログラム108からディスク
への入力要求が発行されると、この要求を受付けた制御
プログラム1旧は読出し指令を含むチャネル・コマンド
・ワード(CCW)群を作成し、ディスク制御装置11
0に対して入力命令を発行する。この入力命令の発行の
手順は従来と同様であるので、詳細な説明は省略する。
When an input request to the disk is issued from the processing program 108 in the processing device 100, the control program 1 that received this request creates a channel command word (CCW) group including a read command, and sends it to the disk control device. 11
Issue an input command to 0. The procedure for issuing this input command is the same as the conventional one, so a detailed explanation will be omitted.

ディスク制御装置110では、転送機構111を介して
処理装置100より転送された読出し指令を受領し、制
御機構112にて該読出し指令に対応した処理を実行す
る。即ち、読出し指令の場合、制御機構112内の指令
処理部201は、第8図に示す処理フローに従い、レジ
スタ群208の正ディスク対応の状態レジスタに正ディ
スク121のエラーがセット済かどうか検査しくステッ
プ800)、セット済でないと、該状態レジスタに読出
し指示をセットして、読出し機構113に対して正ディ
スク121からのデータ読出しを指示する(ステップa
o1,804)。
The disk control device 110 receives a read command transferred from the processing device 100 via the transfer mechanism 111, and causes the control mechanism 112 to execute processing corresponding to the read command. That is, in the case of a read command, the command processing unit 201 in the control mechanism 112 checks whether the error of the primary disk 121 has been set in the status register corresponding to the primary disk in the register group 208, according to the processing flow shown in FIG. Step 800) If the setting has not been completed, a read instruction is set in the status register and the read mechanism 113 is instructed to read data from the primary disk 121 (step a).
o1,804).

胱出し機構118はディスク駆動装置120を制御し、
指示された正ディスク120に対してデータの絖出しを
行う。
Bladder evacuation mechanism 118 controls disk drive 120;
Data is distributed to the designated primary disk 120.

制御機構112内のエラー検出処理m202は、第4図
に示す処理フローに従い、正ディスク121から続出さ
れたデータを検査し、エラー無しの場合は、転送機構1
11を介して処理袋[100に転送する(ステップ40
0 、401 )。このようにして、j回定されたデー
タの続出し中にエラーを検出しないと、転送機構111
は読出し指令の正常終了報告を処理装置1000制御プ
ログラム101に行う。制御プログラム101は続出し
指令が正常に終了すると、処理プログラム108に入力
要求の完了を通知する。
The error detection process m202 in the control mechanism 112 inspects the data successively output from the primary disk 121 according to the process flow shown in FIG.
11 to the processing bag [100 (step 40
0,401). In this way, if no error is detected during the continuous output of data that has been transferred j times, the transfer mechanism 111
reports the normal completion of the read command to the processing device 1000 control program 101. When the continuation command is successfully completed, the control program 101 notifies the processing program 108 of the completion of the input request.

これは後述する副ディスク122から読出されたデータ
中にエラーが検出されない場合も同様である。
This also applies when no error is detected in data read from the secondary disk 122, which will be described later.

−万、正ディスク121からの読出しデータ中にエラー
を検出すると、エラー検出処理部202は、vジメタ9
208の正ディスク対応の状態レジスタに読出し指示が
セットされていることにより、該データは正ディスク1
21からのものであることを確かめて(ステップ402
)、該状態レジスタに正ディスク121でエラーが発生
したことをセットし、(読出し指示はリセットする)、
続出し機構11Bに対して続出し停止の指示を行う(ス
テップ408.404)。さらに処理装置ii 100
に対し回復可能であることを示すエラー情報を作成し、
該エラー情報を転送機構111を介して処理装置100
0制御プログラム101に通知する(ステップ405 
、406 )。
- If an error is detected in the read data from the primary disk 121, the error detection processing unit 202
Since the read instruction is set in the status register corresponding to the primary disk 208, the data is transferred to the primary disk 1.
21 (step 402).
), sets in the status register that an error has occurred in the primary disk 121 (resets the read instruction),
An instruction to stop the continuous output is given to the continuous output mechanism 11B (steps 408 and 404). Furthermore, processing device ii 100
create error information indicating that the error is recoverable;
The error information is transferred to the processing device 100 via the transfer mechanism 111.
0 control program 101 (step 405
, 406).

第5図は制御プログラム101内のエラー処理プログラ
ム102の処理フローを示したものである。
FIG. 5 shows the processing flow of the error handling program 102 within the control program 101.

即ち、制御プログラム101内のエラー処理プログラム
102は、第5図に示す処理フローに従いエラー情報を
解析する。そして、回復可能エラーであると(ステップ
500)、読出し指令の再試行をディスク制御装置11
0へ指示すると共に、表示装置130によるオペレータ
へのエラー発生通知、エラー情報のファイルへの記録を
行う(ステップ501〜508)。
That is, the error processing program 102 in the control program 101 analyzes error information according to the processing flow shown in FIG. Then, if the error is recoverable (step 500), the disk controller 11 instructs the disk controller 11 to retry the read command.
0, the display device 130 notifies the operator of the error occurrence, and records the error information in a file (steps 501 to 508).

ディスク制御装[110における制御機構112の指令
処理部201は、転送機構111を介して再発行の読出
し指令を受は取ると、第8図に示す処理フローに従い、
正ディスク121のエラー発生隣みを確認した後(ステ
ップ800)、副デイスク対応の状態レジスタにより副
ディスク122が正常かどうか検査する(ステップ80
2)。ここで、副ディスク122も異常であることが分
かると、指令処理部201は膀出し機構118に副ディ
スク122のデータ読出しを指示することなく、回復不
能のエラー情報を作成し、転送機構111を介して処理
袋[100へ通知する(ステップ805.806 )。
When the command processing unit 201 of the control mechanism 112 in the disk controller [110] receives the reissue read command via the transfer mechanism 111, the command processing unit 201 executes the process according to the processing flow shown in FIG.
After confirming whether the error has occurred next to the primary disk 121 (step 800), it is checked whether the secondary disk 122 is normal using the status register corresponding to the secondary disk (step 80).
2). Here, if it is found that the secondary disk 122 is also abnormal, the command processing unit 201 creates unrecoverable error information without instructing the bladder evacuation mechanism 118 to read data from the secondary disk 122, and causes the transfer mechanism 111 to The processing bag [100 is notified through the process (steps 805 and 806).

一方、副ディスク122が正常であると、副デイスク対
応の状態レジスタに読出し指示をセットし、続出し機構
118(対して副ディスク122からのデータ読出しを
指示する(ステップ808.804)。
On the other hand, if the secondary disk 122 is normal, a read instruction is set in the status register corresponding to the secondary disk, and the subsequent output mechanism 118 is instructed to read data from the secondary disk 122 (steps 808 and 804).

副ディスク122から読出されたデータは匍]御機構1
12のエラー検出処理部202で検査され、エラー無し
の場合は、転送機構111を介して処理装置100にそ
のま一歓送さTL7.、)。−万、副ディスク122か
らの挽出しデータ中にエラーを検出すると、エラー検出
処理部202は、レジスタ#203の副デイスク対応の
状態レジスタに読出し指示がセットさ7tていることに
より、該データは副ディスク122からのものであるこ
とを知り(ステップ402)、該当状態レジスタにエラ
ー発生乞セットすると共に読出し機構113に対して読
出し停止の指示を出す(ステップ407.408)。さ
らに、この場合は正副ディスク121.122がいずれ
も正常でないため、処理袋@ 100に対し回復不能で
あることを示すエラー情報を作成し、転送機構111を
介して処理装置1000制御プログラム101に通知す
る(ステップ409.406)。
The data read from the secondary disk 122 is stored in the control mechanism 1.
If there is no error, the error detection processing unit 202 of TL7. ,). - If an error is detected in the retrieved data from the secondary disk 122, the error detection processing unit 202 sets the read instruction in the status register corresponding to the secondary disk in register #203, so that the data is Knowing that it is from the secondary disk 122 (step 402), it sets the relevant status register to indicate that an error has occurred and issues an instruction to the reading mechanism 113 to stop reading (steps 407 and 408). Furthermore, in this case, since both the primary and secondary disks 121 and 122 are not normal, error information indicating that the processing bag @ 100 is unrecoverable is created and notified to the processing device 1000 control program 101 via the transfer mechanism 111. (steps 409 and 406).

ディスク制御装置110から回復不能のエラー情報を受
は取ると、制御プログラム101内のエラー処理プログ
ラム102は、第5図の処理フローに従い、処理プログ
ラム103へのエラー報告、同様にオペレータへの報告
を行い、エラー情報をファイルへ記録する(ステップ5
04.505.506)。
Upon receiving unrecoverable error information from the disk control device 110, the error processing program 102 in the control program 101 reports the error to the processing program 103 and similarly to the operator according to the processing flow shown in FIG. and record the error information to a file (step 5)
04.505.506).

以上、ディスク装置について本発明を説明したが、ドラ
ム、テープ等の外部記憶装置にも同様に適用oT能であ
ることはいうまでもない。
Although the present invention has been described above with respect to a disk device, it goes without saying that it can be similarly applied to external storage devices such as drums and tapes.

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

以上の説明から明らかな如く、本発明によれば、記録媒
体が2電化されたシステム構成において、ある日己録媒
体からのデータ読出し時にエラーを検出した場合、シス
テム全体の制御を司どる開側1プログラムは2屯化され
ている記録媒体の個々のアドレスを意識することな(、
同一の読出し指令を再発行するだけで、別の正常な記録
媒体からデータを耽出すことが可能になるため、市1」
1卸プログラムの負担が軽減され、他の制御機能の充実
等を図ることが各局に実現される。
As is clear from the above description, according to the present invention, in a system configuration in which the recording medium is dual-electronic, if an error is detected one day when reading data from the recording medium, the open side that controls the entire system One program does not need to be aware of the individual addresses of the two storage media (,
By simply reissuing the same read command, it becomes possible to retrieve data from another normal storage medium.
1. The burden on wholesale programs is reduced, and each station is able to enhance other control functions.

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

第1図は不発明で対象とする酸子計算機システムの構成
例を示す図、第2図は第1図における制御機構の詳細図
、第8図乃至第5図は本発明方式を説明するための処理
フロー図である。 100・・・処理装置、101・・・制御プログラム、
102・・・エラー処理プログラム、108・・・処理
グログラム、110・・・ディスク制御装置、111・
・・転送1幾構、112・・・制御a柄、11B・・・
耽出し機構、114・・・書込み機構、120・・・デ
ィスク駆動挟置、121.122・・・ディスク、20
1・・指令処棟部、2(J2・・・ニジ−検出処理部。 、゛ 代理人升埋士  鈴 木   誠 (、肩)第1図
Fig. 1 is a diagram showing an example of the configuration of an acid computer system to which the invention is based, Fig. 2 is a detailed diagram of the control mechanism in Fig. 1, and Figs. 8 to 5 are for explaining the method of the present invention. FIG. 2 is a processing flow diagram. 100... Processing device, 101... Control program,
102...Error processing program, 108...Processing program, 110...Disk control device, 111...
...Transfer 1 number, 112...Control a pattern, 11B...
Enlightening mechanism, 114... Writing mechanism, 120... Disk drive interposition, 121.122... Disk, 20
1...Command Building Department, 2 (J2...Niji-Detection Processing Department., Agent Makoto Suzuki (shoulder) Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)処理装置と、該処理装置からの指令により記録媒
体に対する読出し/書込みを制御する制御装置と、該制
御装置に接続されて同一内容のデータが記録されている
2重化構造の正副記録媒体とを具備してなる電子計算機
システムにおいて、前記制御装置は前記処理装置からの
読出し指令に対して、正記録媒体からデータを読出し、
該読出しデータ中にエラーを検出した場合、処理装置に
対してリトライ要求を出し、該リトライ請求を受けてH
d記処理装置は前と同一の読出し指令を再発行し、該再
発行された読出し指令に対して、前記制御装置は副記録
媒体を選択してデータの再読出しを行うことを特徴とす
る記録媒体からのデータ読出し方式。
(1) A processing device, a control device that controls read/write to a recording medium based on commands from the processing device, and a primary and secondary record with a duplex structure that is connected to the control device and records the same data. In an electronic computer system comprising a medium, the control device reads data from the primary recording medium in response to a read command from the processing device;
If an error is detected in the read data, a retry request is issued to the processing device, and upon receiving the retry request, H
d) The processing device reissues the same read command as before, and in response to the reissued read command, the control device selects a sub-recording medium and re-reads the data. A method for reading data from a medium.
(2)前記制御装置は、正記録媒体からのデータ読出し
中にエラーを検出した場合、副記録媒体がらの再読出し
が可能のとき、処理装置に対するリトライ要求として再
読出し可能のエラー報告を行い、不可能のときは、回復
不能のエラー報告を行うことを特徴とする特許請求の範
囲第1項記載の記録媒体からのデータ読出し方式。
(2) When the control device detects an error while reading data from the primary recording medium, and when the sub-recording medium can be re-read, the control device reports the error indicating that re-reading is possible as a retry request to the processing device; 2. A method for reading data from a recording medium according to claim 1, wherein when it is impossible, an irrecoverable error is reported.
JP22357882A 1982-12-20 1982-12-20 Data reading out system from recording medium Pending JPS59112353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22357882A JPS59112353A (en) 1982-12-20 1982-12-20 Data reading out system from recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22357882A JPS59112353A (en) 1982-12-20 1982-12-20 Data reading out system from recording medium

Publications (1)

Publication Number Publication Date
JPS59112353A true JPS59112353A (en) 1984-06-28

Family

ID=16800357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22357882A Pending JPS59112353A (en) 1982-12-20 1982-12-20 Data reading out system from recording medium

Country Status (1)

Country Link
JP (1) JPS59112353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61221848A (en) * 1985-03-05 1986-10-02 Fujitsu Ltd Error reporting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61221848A (en) * 1985-03-05 1986-10-02 Fujitsu Ltd Error reporting system

Similar Documents

Publication Publication Date Title
JP2855019B2 (en) External storage device data guarantee method and external storage device
JPS627572B2 (en)
JPH06111479A (en) Information recording and reproducing device
JPS59112353A (en) Data reading out system from recording medium
JPH0520789A (en) Recording and reproducing device
JPH0793101A (en) Data backup device
JPH0750428B2 (en) Disk double writing controller
JP3439425B2 (en) Data recording device and data recording method
JPS6347937Y2 (en)
KR20050079611A (en) Recording and reproducing apparatus
JP4131888B2 (en) Disk array device
JPH05181613A (en) Information processor
JPS63195877A (en) Data recording and reproducing system
JPS6037496B2 (en) disk controller
JP2604489B2 (en) Optical disk processing device
JPH0258768A (en) Disk controller
JPH0793912A (en) Optical disk recording/reproducing apparatus
JPH07262701A (en) Optical information storage device
JPH0743673B2 (en) Writing control method to auxiliary storage device
JPH05298034A (en) Control method for external storage device
JPH01134764A (en) System for controlling floppy disk device
JPH04302321A (en) Magnetic disk controller
JPH02275554A (en) Storage device
JPH06101198B2 (en) Recording medium copy method
JPH06325512A (en) Head positioning control device for magnetic disk