JPH02297620A - Input/output control system - Google Patents

Input/output control system

Info

Publication number
JPH02297620A
JPH02297620A JP11742489A JP11742489A JPH02297620A JP H02297620 A JPH02297620 A JP H02297620A JP 11742489 A JP11742489 A JP 11742489A JP 11742489 A JP11742489 A JP 11742489A JP H02297620 A JPH02297620 A JP H02297620A
Authority
JP
Japan
Prior art keywords
record
direct access
storage device
access storage
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
JP11742489A
Other languages
Japanese (ja)
Inventor
Yoshitsugu Kobashi
小橋 喜嗣
Atsushi Ishikawa
篤 石川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11742489A priority Critical patent/JPH02297620A/en
Publication of JPH02297620A publication Critical patent/JPH02297620A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent data change according to mis-positioning in a rerun operation from occurring by comparing a designated record passing finally with the final record passing completely on the recording path of a write/readout mechanism. CONSTITUTION:Record detecting means 41 provided at direct access memory devices i.e. magnetic disk devices 31-34 detect the records passing completely on the recording paths of the write/readout mechanisms of the magnetic disk devices. Also, comparison means 42 provided at the magnetic disk controllers 21 and 22 compare the designated records passing finally with the records passing finally detected by the record detecting means 41 with a command, and confirm whether or not they coincide with each other. Thereby, it is possible to prevent the data change according to the mis-positioning in the rerun operation from occurring.

Description

【発明の詳細な説明】 (産業上の利用分野〕 この発明は、チャネルおよび制御装置を介して中央処理
装置(CPU)およびダイレクトアクセス記憶装置間の
データの転送を制御するための人出力制御方式に関する
ものであり、特に上記ダイレクトアクセス記憶装置にお
ける循環する記録路(トラック)について再試行可能な
エラーを検出した後に、再試行すべぎレコードに対し確
実に位置づけし、書き込みあるいは読み込みしたことを
コマンドにより確認する入出力制御方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application This invention relates to a human output control method for controlling the transfer of data between a central processing unit (CPU) and a direct access storage device via channels and control devices. In particular, after detecting a retryable error on a circulating recording path (track) in the above-mentioned direct access storage device, it is possible to reliably position the record to be retried and to indicate that it has been written or read by a command. This is related to the input/output control method to be confirmed.

〔従来の技術) 第3図は従来の入出力制御システムの概略を示す図であ
る。11は中央処理装置(CPU)、12はチャネル処
理装置、21.22は磁気ディスク制御装置、31〜3
4は磁気ディスク装置である。チャネル処理装置12内
の13はチャネルである。
[Prior Art] FIG. 3 is a diagram schematically showing a conventional input/output control system. 11 is a central processing unit (CPU), 12 is a channel processing device, 21.22 is a magnetic disk control device, 31 to 3
4 is a magnetic disk device. 13 in the channel processing device 12 is a channel.

第3図のような入出力制御システムにおいて、磁気ディ
スク装置31〜34は中央処理装置11とのデータのや
りとりのために、チャネル処理装置12内のチャネル1
3および磁気ディスク装置31.32を制御する磁気デ
ィスク制御装置21あるいは磁気ディスク装置33.3
4を制御する磁気ディスク制御装置22を介して接続さ
れる。
In the input/output control system as shown in FIG.
3 and the magnetic disk control device 21 or magnetic disk device 33.3 that controls the magnetic disk device 31.32.
4 is connected via a magnetic disk control device 22 that controls the 4.

磁気ディスク制御装置21は中央処理装置11からチャ
ネル13を介して送られてくるチャネル指令ワード(以
下CCWという)に応じて、データの一時的な記憶や転
送を行うとともに、磁気ディスク装置31〜34に対し
て指令を与える。この指令は磁気ディスク装置31〜3
4におけるデータの記憶や転送を制御し、所望の動作を
行わせるためのものである。
The magnetic disk control device 21 temporarily stores and transfers data according to a channel command word (hereinafter referred to as CCW) sent from the central processing unit 11 via the channel 13, and also controls the magnetic disk devices 31 to 34. give commands to. This command is the magnetic disk device 31-3
This is to control data storage and transfer in 4 and perform desired operations.

このような人出力制御システムにおける磁気ディスク装
置では、その記録媒体となるディスクの各トラック上に
記憶される配列形式(フォーマット)は、第4図に示す
ようなカウント・キー・データ形式のもの(以下CKD
形式という)が一般的である。CKD形式では、各トラ
ックの先頭にインデックスマーカaがあり、その直後に
ホームアドレス(HA)とレコードO(RO)がある。
In the magnetic disk device used in such a human output control system, the array format (format) stored on each track of the disk serving as the recording medium is the count key data format ( CKD below
(format) is common. In the CKD format, there is an index marker a at the beginning of each track, followed immediately by a home address (HA) and record O (RO).

これらはユーザに関係なく必須のものである。These are mandatory regardless of the user.

HAにはシリンダ番号、トラック番号等が記録される。Cylinder numbers, track numbers, etc. are recorded in the HA.

ROはシステムプログラムが管理するもので、カウント
部とデータ部から構成される。ROの直後にデータ部R
1,R2,R3,・・・・・a、 Rnがあり、これら
はユーザのデータを確認しカウント部とキ一部とデータ
部から構成される。インデックスマーカaとHAおよび
HAとRO,さらに各レコード間はギャップによって区
切られる。最後のaはインデックスマーカaと同一の物
で1周した状態の先頭でもある。
The RO is managed by the system program and consists of a count section and a data section. Data section R immediately after RO
There are 1, R2, R3, . . . a, and Rn, which confirm user data and consist of a count section, a key section, and a data section. Index markers a and HA, HA and RO, and each record are separated by gaps. The last a is the same as the index marker a and is also the beginning of one rotation.

〔発明が解決しようとする課題) このような磁気ディスク装置において、例えば所望のデ
ータ部Riを書き換えようとするデータ転送中に、デー
タオーバラン等のエラーを磁気ディスク制御装置21.
22が検出した場合、磁気ディスク制御装置21.22
はそのエラーをすぐにチャネル13を介して中央処理装
置11に人出力割り込みを発生させてプログラムに報告
するのではなく、可能な限りチャネル13との間で再試
行を行う。このように、プログラムに報告しないことに
よりシステム全体の効率化を図っている。
[Problems to be Solved by the Invention] In such a magnetic disk device, errors such as data overrun may occur in the magnetic disk controller 21. during data transfer to rewrite a desired data portion Ri.
22 is detected, the magnetic disk controller 21.22
does not immediately report the error to the program by generating a human output interrupt to the central processing unit 11 via the channel 13, but performs a retry with the channel 13 as much as possible. In this way, the efficiency of the entire system is improved by not reporting to the program.

該再試行はエラーの検出されたデータ部Riの先頭から
の同一のCCW再実行となるため、エラー検出時点から
書き込み/読み出し機構のデータ部Riへの位置づけ後
の再試行開始までにほぼ1回転弱の待ち時間(数十m5
ec)が必要となる。この間チャネル13との結合を続
けると、チャネル13の他の磁気ディスク装置の接続機
会を損なうことによるチャネル利用効率の低減を避ける
ため、通常、エラー検出時点でチャネル13との結合を
いったん切断し、データ部Riの直前にチャネル13に
対し再結合を要求し、再試行を行う。
Since the retry is the same CCW re-execution from the beginning of the data section Ri where the error was detected, it takes approximately one rotation from the time of error detection to the start of the retry after positioning the write/read mechanism to the data section Ri. A little waiting time (several tens of meters)
ec) is required. If the connection with channel 13 is continued during this period, the connection with channel 13 is normally disconnected once an error is detected, in order to avoid reducing channel utilization efficiency due to loss of connection opportunities for other magnetic disk devices on channel 13. Immediately before the data portion Ri, a recombination request is made to the channel 13 and a retry is performed.

したがって、磁気ディスク制御装置21.22では、い
ずれの時点で再結合すべきかを決定する機構を備えてい
る。
Therefore, the magnetic disk controllers 21 and 22 are provided with a mechanism for determining when to recombine.

しかし、前記機構に関してのバグは現実になくせない。However, bugs related to the above mechanism cannot be eliminated in reality.

その理由は、エラーが偶発的に発生するため、タイミン
グ等を網羅的に設定した擬似障害試験を事前に行うこと
が不可能なためである。ところが、該バグの絶対数は少
ないものの、いったん発生するとデータ化けを起こす可
能性があるためシステムへの影響度が大きい。さらに、
プログラム側でたまたまデータ化けを検出できた場合で
も、その後、原因を追求する上でこのバグを訪発させた
エラーの再現が難しいため、原因追求に長時間を必要と
することが多い。
The reason for this is that since errors occur accidentally, it is impossible to conduct a simulated failure test with comprehensive timing etc. set in advance. However, although the absolute number of such bugs is small, once they occur, they may cause data corruption, so they have a large impact on the system. moreover,
Even if a program is able to detect data corruption by chance, it often takes a long time to find the cause because it is difficult to reproduce the error that caused the bug.

データベース情報の磁気ディスク装置31〜34の格納
に関して、論理的ファイル内では、トラック上の各レコ
ードのデータ長は一定であることが一般的である。つま
り、同一種類のファイルでは、各データ部R1〜Rnの
データ長が、例えば4096バイトと一定である。磁気
ディスク装置31〜34に格納されているデータベース
情報のバックアップを磁気テープ装置等にとる場合、い
ったん磁気ディスク装置31〜34から主記憶装置内の
I10バッファ領域に読み出した後、該I10バッファ
領域のデータを磁気テープ装置等に書き込むが、この時
の前者の制御に用いる一般的なCCW列を第5図(a)
に示す。該CCW列は高速化のためレコード単位でなく
、1トラツク上の複数レコードを1回の入出力命令によ
って一括して読み出す。該CCW列は■〜@の12個の
CCWがコマンドチェインされている。つまり、1番目
の5EEKコマンドで所望のシリンダ番号、ヘッド番号
のトラックに書き込み/読み出し機構を8勤させ、2番
目のSET  5ECTORコマンドでROの直前に書
き込み/読み出し機構を位置決めし、3番目の5EAR
CHID  EQUALコマンドでROのカウント部か
どうかチェックし、もしその通りならば、5番目のRE
AD  DATAコマンドでROのデータ部を指定のI
10バッファ領域に読み込み、さらに6番目のREAD
  CKDコマンドで該トラック上の次のレコードのカ
ウント部、キ一部、データ部を■10バッファ領域に読
み込み、7〜12番目のREAD  CKDコマンドで
同一の動作を繰り返す。
Regarding the storage of database information in the magnetic disk devices 31 to 34, it is common for the data length of each record on a track to be constant within a logical file. That is, in files of the same type, the data length of each data portion R1 to Rn is constant, for example, 4096 bytes. When backing up the database information stored in the magnetic disk devices 31 to 34 to a magnetic tape device, etc., once the database information is read from the magnetic disk devices 31 to 34 to the I10 buffer area in the main storage device, the database information stored in the I10 buffer area is Data is written to a magnetic tape device, etc., and the general CCW sequence used for controlling the former at this time is shown in Figure 5 (a).
Shown below. In order to increase speed, the CCW column is not read in units of records, but multiple records on one track are read out all at once by one input/output command. In this CCW column, 12 CCWs from ■ to @ are command chained. In other words, the first 5EEK command sets the write/read mechanism to the track with the desired cylinder number and head number, the second SET 5ECTOR command positions the write/read mechanism just before RO, and the third 5EAR
Use the CHID EQUAL command to check if it is the count part of RO, and if it is, the 5th RE
Specify the data part of RO with the AD DATA command.
Read into 10 buffer areas, and then read the 6th READ
The count part, key part, and data part of the next record on the track are read into the 10 buffer area with the CKD command, and the same operation is repeated with the 7th to 12th READ CKD commands.

該CCW列を正常に実行した場合の、I/○バッファ領
域のデータ格納の結果を第5図(b)に示す。
FIG. 5(b) shows the result of storing data in the I/○ buffer area when the CCW sequence is executed normally.

第5図(a)のCCW列の8番目のREADCKDコマ
ンドがR3を読み出し中にエラーが発生し、再試行を行
おうとしたが再結合の際にバグがあり、データ部R2か
ら読み出す場合、I10バッファ領域にはデータ部R2
が2度読み出され、データ部R7が抜ける。この場合の
I10バッファ領域のデータ格納の結果を第5図(C)
に示す。しかし、該CCWの実行結果は正常としてプロ
グラムに報告される。プログラムによって、該I10バ
ッファ領域の内容チェックを行わない限り、このデータ
化けが検出されず、結果的に磁気テープ装置にそのまま
書き込まれることになる。時間をおいた後に、該磁気テ
ープを読み出した時、幸いにもプログラムによって論理
不整合を検出しても、いろいろなバグ要因が想定される
ので原因追求に相当時間がかかる。もし、プログラムが
該磁気テープを読み出した時に論理不整合を検出できな
ければ、該データ化けはさらに広範囲に悪影響を及ぼす
可能性がある。
An error occurred while the 8th READCKD command in the CCW column in FIG. The data section R2 is in the buffer area.
is read out twice, and the data section R7 is removed. Figure 5 (C) shows the result of data storage in the I10 buffer area in this case.
Shown below. However, the execution result of the CCW is reported to the program as normal. Unless the program checks the contents of the I10 buffer area, this data corruption will not be detected, and as a result, it will be written as is to the magnetic tape device. Even if the program fortunately detects a logical mismatch when the magnetic tape is read after a period of time, it will take a considerable amount of time to find the cause, as various bug factors are assumed. If a program is unable to detect a logical inconsistency when reading the magnetic tape, the data corruption may have an even wider adverse effect.

この発明は、磁気ディスク装置などのダイレクトアクセ
ス記憶装置において、循環する記録路(トラック)につ
いて再試行可能なエラーを検出した後、再試行すべきレ
コードに対し確実に位置づけし、書き込みあるいは読み
込みを完了したことをコマンドにより確認することで、
再試行時の位置づけミスに伴う前述のようなデータ化け
を防止できる入出力制御方式を提供することにある。
In a direct access storage device such as a magnetic disk device, after detecting a retryable error in a circulating recording path (track), the present invention reliably positions the record to be retried and completes writing or reading. By checking what you have done with the command,
The object of the present invention is to provide an input/output control method that can prevent data corruption as described above due to positioning errors at the time of retry.

〔課題を解決するための手段〕[Means to solve the problem]

この発明にかかる入出力制御方式は、ダイレクトアクセ
ス記憶装置が書き込み/読み出し機構の記録路上で完全
通過したレコードを検出するレコード検出手段を保有し
、さらに、コマンドにより指定する最終通過のレコード
をレコード検出手段が検出した書き込み/読み出し機構
の記録路上で完全通過した最終のレコードと比較し、同
一かどうかを確認する比較手段を保持したものである。
In the input/output control method according to the present invention, the direct access storage device has a record detection means for detecting a record that has passed completely on the recording path of the write/read mechanism, and further detects a record that has passed the last time specified by a command. It holds a comparison means for comparing it with the last record that has passed completely on the recording path of the writing/reading mechanism detected by the means to confirm whether or not they are the same.

〔作用〕[Effect]

この発明においては、ダイレクトアクセス記憶装置が書
き込み/読み出し機構の記録路上で完全通過した最終の
レコードを検出し、この最終レコードがコマンドにより
指定された最終通過のレコードと同一であるとき正常に
動作したと確認される。
In the present invention, the direct access storage device detects the last completely passed record on the record path of the write/read mechanism, and operates normally when this last record is the same as the last passed record specified by the command. It is confirmed that

〔実施例〕〔Example〕

第1図はこの発明人出力制御方式の一実施例を示すブロ
ック図である。この図で、41はレコード検出手段で、
ダイレクトアクセス記憶装置、つまり、磁気ディスク装
置31〜34に設けられる。レコード検出手段41は磁
気ディスク装置の書き込み/読み出し機構の記録路上で
完全通過したレコードを検出するものである。また、4
2は比較手段で、磁気ディスク制御装置21.22に設
けられる。この比較手段42はコマンドにより指定する
最終通過のレコードと、レコード検出手段41が検出し
た最終通過のレコードとを比較し、両者が同一かどうか
を確認するものである。
FIG. 1 is a block diagram showing one embodiment of the inventor's output control method. In this figure, 41 is a record detection means,
It is provided in direct access storage devices, that is, magnetic disk devices 31 to 34. The record detecting means 41 detects a record that has completely passed on the recording path of the write/read mechanism of the magnetic disk device. Also, 4
Reference numeral 2 denotes comparison means, which is provided in the magnetic disk control devices 21 and 22. This comparison means 42 compares the record of the last passage specified by the command with the record of the last passage detected by the record detecting means 41, and confirms whether the two are the same.

その他の機構は第3図の従来例と同じである。なお、比
較手段42は磁気ディスク制御装置21゜22以外のと
ころに設けてもよい。
Other mechanisms are the same as the conventional example shown in FIG. Note that the comparing means 42 may be provided at a location other than the magnetic disk controllers 21 and 22.

次に動作について説明する。Next, the operation will be explained.

磁気ディスク装置31〜34の書き込み/読み出し機構
に指定された記録路(トラック)に、位置決めした直後
から該トラック上に該書き込み/読み出し機構が完全に
通過したレコード番号をレコード検出手段41により検
出および記憶する。
Immediately after positioning on the recording path (track) designated by the writing/reading mechanism of the magnetic disk devices 31 to 34, the record detecting means 41 detects and detects the record number on which the writing/reading mechanism has completely passed on the track. Remember.

このレコード検出手段41が記憶している該レコード番
号を便宜上「最終通過レコード番号」と呼ぶ。さらに、
磁気ディスク装置31〜34に対するコマンド機能とし
て、該最終通過レコード番号をチェックするコマンドを
追加する。該コマンドを便宜上rcHEcK  LAS
T  RECORDNUMBER(CHECK  LR
)Jと呼ぶ。
For convenience, the record number stored by the record detecting means 41 will be referred to as the "last passed record number." moreover,
A command for checking the last passed record number is added as a command function for the magnetic disk devices 31 to 34. For convenience, use this command as rcHEcK LAS
T RECORD NUMBER (CHECK LR
) Call it J.

CHECK  LRコマンドは、プログラムが用意する
シリンダ番号、ヘッド番号およびレコード番号のデータ
を磁気ディスク制御装置21.22に送出し、該磁気デ
ィスク制御装置21.22において指定された磁気ディ
スク装置31〜34のその時点で該書き込み/読み出し
機構の位置決めされているシリンダ番号、ヘッド番号お
よび最終通過レコード番号と該送出データとを比較手段
42で比較する。CHECK  LRコマンドを受けた
磁気ディスク制御装置21.22は、比較結果が同一な
らば装置状態バイト(DSB)として正常終了(チャネ
ル終了と装置終了)で応答する。比較結果が同一でない
場合、DSBとして異常終了(装置チェックとチャネル
終了と装置終了)で応答し、異常の詳細情報をセンスバ
イトとして用意する。
The CHECK LR command sends the cylinder number, head number, and record number data prepared by the program to the magnetic disk controller 21.22, and checks the specified magnetic disk devices 31 to 34 in the magnetic disk controller 21.22. A comparison means 42 compares the cylinder number, head number, and last passed record number currently positioned in the write/read mechanism with the output data. The magnetic disk controllers 21 and 22 that have received the CHECK LR command respond with normal termination (channel end and device end) as a device status byte (DSB) if the comparison results are the same. If the comparison results are not the same, the DSB responds with abnormal termination (device check, channel termination, and device termination), and prepares detailed information on the abnormality as a sense byte.

上記レコード検出手段41および比較手段42を用いて
第5図(C)のデータ化けをその発生時点でプログラム
に通知する例について以下に説明する。
An example of using the record detecting means 41 and comparing means 42 to notify the program of the data corruption shown in FIG. 5(C) at the time of its occurrence will be described below.

第2図は、第5図(a)のCCW列に対するCHECK
  LRコマンドの適用を示す。第5図(a)のCCW
列に対し、最後にCHECK  LRコマンドをコマン
ドチェインする。該コマンドで用意するデータは、1番
目の5EEKコマンドで用意したのと同一のシリンダ番
号とヘッド番号およびレコード番号として「7」である
。第2図のCCW列において、第5図<C>のような誤
動作が発生しても13番目のCHECK  LRコマン
ドに対して磁気ディスク制御装置21.22が該コマン
ドに関連して受け取ったレコード番号が「7」であるの
に対し、最終通過レコード番号が「6」であるので不一
致を検出し、DSBを異常終了として応答する。これに
より、プログラムは第2図の入出力動作が異常であるこ
とを知り、再試行を行う等の適切な回復処理を行うこと
でデータ化けを回避できる。
Figure 2 shows the CHECK for the CCW column in Figure 5(a).
The application of the LR command is shown. CCW in Figure 5(a)
Command chain the CHECK LR command for the column at the end. The data prepared by this command has the same cylinder number, head number, and record number "7" as those prepared by the first 5EEK command. In the CCW column of FIG. 2, even if a malfunction like the one shown in FIG. is "7", whereas the last passed record number is "6", so a mismatch is detected and the DSB is responded to as abnormal termination. As a result, the program knows that the input/output operation shown in FIG. 2 is abnormal, and can avoid data corruption by performing appropriate recovery processing such as retrying.

なお、上記の例では磁気ディスク装置31〜34からの
リード時について述べたが、ライト時も全く同様である
。また、磁気ディスク制御装置21.22は磁気ディス
ク装置31〜34を制御するためのものであるが、磁気
ディスク装置31〜34が他のダイレクトアクセス記憶
装置である場合には制御装置としてよい。
Note that although the above example describes the time of reading from the magnetic disk devices 31 to 34, the same applies to the time of writing. Furthermore, although the magnetic disk control devices 21 and 22 are for controlling the magnetic disk devices 31 to 34, they may be used as control devices when the magnetic disk devices 31 to 34 are other direct access storage devices.

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

以上説明したように、この発明は、入出力制御システム
において、ダイレクトアクセス記憶装置が書き込み/読
み出し機構の記録路上で完全通過した最終のレコードを
検出するレコード検出手段を保有し、さらに、コマン゛
ドにより指定する最終通過のレコードを書き込み/読み
出し機構の記録路上で完全通過した最終のレコードと比
較し、同一かどうかを確認する比較手段とを保持するよ
うにしたものであるから、再試行時の位置づけミスに伴
うデータ化けを確実に防止することができる利点がある
As explained above, the present invention provides an input/output control system that includes a record detection means for detecting the last record that the direct access storage device has completely passed on the recording path of the write/read mechanism, and further provides a The last passed record specified by is compared with the last record passed completely on the recording path of the write/read mechanism, and a comparison means is maintained to check whether they are the same. This has the advantage that garbled data due to positioning errors can be reliably prevented.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図はこの発明におけるCCW列の一例を示す図、第
3図は従来の人出力制御サブシステムの概略を示す図、
第4図は磁気ディスク装置の1トラツクのデータの配列
形式(CKD形式)を示す図、第5図(a)は磁気ディ
スク装置の1トラツク上の複数レコード1回の入出力命
令で一括して主記憶装置内のI10バッファ領域に読み
。 出す時に一般的に用いられるCCW列を示す図、第5図
(b)はCCW列によって正常の読み出された場合のデ
ータの主記憶装置内のI10バッファ領域の格納結果を
示す図、第5図(e)は同じく異常の場合のI10バッ
ファ領域のデータ格納の結果を示す図である。 図中、11は中央処理装置、12はチャネル処理装置、
13はチャネル、21.22は磁気ディスク制御装置、
31〜34は磁気ディスク装置、41はレコード検出手
段、42は比較手段である。 第2図 第5図 (a)
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a diagram showing an example of a CCW train according to the present invention, FIG. 3 is a diagram showing an outline of a conventional human output control subsystem,
Figure 4 is a diagram showing the data arrangement format (CKD format) on one track of a magnetic disk unit, and Figure 5 (a) shows how multiple records on one track of a magnetic disk unit are collectively processed by one input/output command. Read to the I10 buffer area in main memory. FIG. 5(b) is a diagram showing the CCW column generally used when reading out data, and FIG. Figure (e) is a diagram showing the result of data storage in the I10 buffer area in the case of an abnormality as well. In the figure, 11 is a central processing unit, 12 is a channel processing unit,
13 is a channel, 21.22 is a magnetic disk controller,
31 to 34 are magnetic disk devices, 41 is a record detection means, and 42 is a comparison means. Figure 2 Figure 5 (a)

Claims (1)

【特許請求の範囲】[Claims] チャネルとダイレクトアクセス記憶装置と、前記チャネ
ルと前記ダイレクトアクセス記憶装置を相互接続する制
御装置を備え、前記チャネルは前記制御装置へ一連のチ
ャネル・コマンドを順次に供給するために、前記ダイレ
クトアクセス記憶装置に対する前記コマンドの実行後に
前記ダイレクトアクセス記憶装置に対する前記コマンド
を発行するように制御され、前記制御装置および前記ダ
イレクトアクセス記憶装置は前記コマンドの各々の実行
後に前記チャネルに対し終了信号を通知するように制御
され、前記ダイレクトアクセス記憶装置は相対的に動き
うる媒体の循環的な記録路に沿ってそれぞれ複数の独立
したフィールドからなる複数のレコードを記録でき、か
つ前記レコードを書き込み/読み出し機構を位置づける
ことで書き込みおよび読み出しを行い、さらに、前記ダ
イレクトアクセス記憶装置は前記コマンドを受け取った
後に指定された前記レコードへの動作の終了信号を前記
チャネルに報告する前に異常を検出すると、前記チャネ
ルあるいは前記制御装置との間で同一コマンドの再実行
を同一レコードの先頭に前記書き込み/読み出し機構を
位置づけることによって可能とするように制御されてな
る入出力制御システムにおいて、前記ダイレクトアクセ
ス記憶装置が前記書き込み/読み出し機構の前記記録路
上で完全通過した前記レコードを検出するレコード検出
手段を保有し、さらに、前記コマンドにより指定する最
終通過の前記レコードを前記レコード検出手段が検出し
た前記書き込み/読み出し機構の前記記録路上で完全通
過した最終の前記レコードと比較し、同一かどうかを確
認する比較手段を具備することを特徴とする入出力制御
方式。
a channel and a direct access storage device, and a controller interconnecting the channel and the direct access storage device, the channel connecting the direct access storage device for sequentially providing a series of channel commands to the controller. The control device and the direct access storage device are controlled to issue the command to the direct access storage device after executing the command to the channel, and the control device and the direct access storage device are configured to notify the channel of an end signal after each execution of the command. controlled, the direct access storage device is capable of recording a plurality of records each consisting of a plurality of independent fields along a circular recording path of a relatively movable medium, and positioning the write/read mechanism for the records. If the direct access storage device detects an abnormality after receiving the command and before reporting an end signal of the operation to the specified record to the channel, the direct access storage device In the input/output control system, the direct access storage device is controlled to enable re-execution of the same command with the device by positioning the write/read mechanism at the beginning of the same record. record detection means for detecting the record that has passed completely on the recording path of the mechanism; An input/output control method characterized by comprising a comparison means for comparing the record with the last record completely passed through to confirm whether or not the record is the same.
JP11742489A 1989-05-12 1989-05-12 Input/output control system Pending JPH02297620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11742489A JPH02297620A (en) 1989-05-12 1989-05-12 Input/output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11742489A JPH02297620A (en) 1989-05-12 1989-05-12 Input/output control system

Publications (1)

Publication Number Publication Date
JPH02297620A true JPH02297620A (en) 1990-12-10

Family

ID=14711303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11742489A Pending JPH02297620A (en) 1989-05-12 1989-05-12 Input/output control system

Country Status (1)

Country Link
JP (1) JPH02297620A (en)

Similar Documents

Publication Publication Date Title
US4688221A (en) Error recovery method and apparatus
US5528755A (en) Invalid data detection, recording and nullification
US6195761B1 (en) Method and apparatus for identifying and repairing mismatched data
JP2548480B2 (en) Disk device diagnostic method for array disk device
US6233696B1 (en) Data verification and repair in redundant storage systems
JPH07105633A (en) Data reproducing channel of disk drive array
JPH02297620A (en) Input/output control system
JPH02291011A (en) Memory device
JPH0255816B2 (en)
JPH04291618A (en) Duplexed disk control system
JPH06282385A (en) Storage controller and information processing system provided with this controller
JP3484707B2 (en) Asynchronous data transfer controller
JPH04123242A (en) Write error identification system
JPH0588988A (en) Disk array device and method for restoring data
JPS6113259B2 (en)
JP2503981B2 (en) Peripheral storage
JPS60254440A (en) File device
JPH02121048A (en) Peripheral controller
JPH02297619A (en) Disk controller with parallel transfer
JPS59112353A (en) Data reading out system from recording medium
JPH08171460A (en) Magnetic disk controller
JPH04285773A (en) External storage device
JPS62182952A (en) Magnetic disk control device
JPH0398111A (en) Data recovery system for off-track fault dasd
JPH01260674A (en) Magnetic disk device