JPH0115944B2 - - Google Patents
Info
- Publication number
- JPH0115944B2 JPH0115944B2 JP55104607A JP10460780A JPH0115944B2 JP H0115944 B2 JPH0115944 B2 JP H0115944B2 JP 55104607 A JP55104607 A JP 55104607A JP 10460780 A JP10460780 A JP 10460780A JP H0115944 B2 JPH0115944 B2 JP H0115944B2
- Authority
- JP
- Japan
- Prior art keywords
- data block
- tape
- logging
- written
- file
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
- G11B20/182—Testing using test patterns
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】
本発明はロギング用磁気テープ・フアイル、特
にリアルタイム処理におけるロギング・データを
記録するロギング用磁気テープ・フアイルにおい
て、リアルタイム処理開始前にバツチ処理により
全記録媒体上にテープ・マークが書込まれ、リア
ルタイム処理時にロギング・データが上記テー
プ・マークに重ねて書込まれるよう構成されたロ
ギング用磁気テープ・フアイルに関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a magnetic tape file for logging, particularly a magnetic tape file for logging that records logging data in real-time processing. The present invention relates to a magnetic tape file for logging configured such that marks are written and logging data is written over the tape marks during real-time processing.
一般にデータ処理システムにおいて、システム
の信頼性、保守性などの向上を図るべくシステム
の運転状況をフアイルにロギングする方式がとら
れる。第1図はこの種のシステムの構成例を示し
ている。図中、1−0,1−1,…,1−nは
夫々端末装置、2は中央処理装置、3は磁気デイ
スク装置、4は磁気テープ・フアイルを夫々表わ
している。 Generally, in data processing systems, a method is used in which the operating status of the system is logged in a file in order to improve the reliability and maintainability of the system. FIG. 1 shows an example of the configuration of this type of system. In the figure, 1-0, 1-1, . . . , 1-n represent terminal devices, 2 a central processing unit, 3 a magnetic disk device, and 4 a magnetic tape file.
第1図において、システムが正常なリアルタイ
ム処理を実行している場合には各端末装置1−0
ないし1−nに対応してシステムの運転状況が磁
気デイスク装置3および磁気テープ・フアイル4
に記録されてゆく。そして中央処理装置2又は磁
気デイスク装置3が故障すると、故障原因を除去
した後、磁気テープ・フアイル4の記録内容即ち
ロギング・データを磁気デイスク装置3に転送
し、システム・ダウン発生時における元の状態に
復旧せしめてリアルタイム処理を続行する。 In Figure 1, when the system is performing normal real-time processing, each terminal device 1-0
The operating status of the system corresponds to 1 to 1-n, and the operating status of the system is 1 to 1-n.
will be recorded. When the central processing unit 2 or the magnetic disk device 3 fails, after removing the cause of the failure, the recorded contents of the magnetic tape file 4, that is, the logging data, are transferred to the magnetic disk device 3, and the original data can be restored in the event of a system failure. The state is restored and real-time processing continues.
第2図a,b,c,dはこの種のシステムにお
いて磁気テープ・フアイル4へロギング・データ
を逐次書込んでゆく記録方式の一例を示してい
る。図中5−0,5−1,5−2は夫々データ・
ブロツク、5−3は上述した如き故障発生により
書込み処理が中断された際の不完全データ・ブロ
ツク、6−0,6−1,6−2は夫々テープ・マ
ークを表わしている。第2図aに図示する如く、
データ・ブロツク5−0の構成要素を記録媒体上
に逐次書込んでゆきデータ・ブロツク5−0全体
が書込まれると、今度は例えば2本のテープ・マ
ーク6−0をデータ・ブロツク5−0終端部に隣
接して書込む。そして次のデータ・ブロツク5−
1を書込み処理するに当つて、上記テープ・マー
ク6−0にデータ・ブロツク5−1を重ね書きし
データ・ブロツク5−1全体が書込まれる。デー
タ・ブロツク5−1全体が書込まれると、上記デ
ータ・ブロツク5−0の書込み処理の場合と同様
にテープ・マーク6−1がデータ・ブロツク5−
1に隣接して書込まれる。従つてテープ・マーク
6−1が書込み処理された時点における記録媒体
上の記録状態は第2図bに図示する如きものとな
る。そして更に次のデータ・ブロツク5−2およ
び該ブロツク5−2に対応するテープ・マーク6
−2についての書込み処理が同様に行なわれ、該
テープ・マーク6−2書込み終了時における記録
状態は第2図cに図示する如くなる。そして更に
次の次のデータ・ブロツク(第2図d図示の不完
全データ・ブロツク5−3を含むデータ・ブロツ
クをいう。)3についての書込み処理が実行され
ているときに仮に上述した如き故障が発生し書込
み処理が停止するようになると、当該時点におけ
る記録状態は第2図dに図示する如く、データ・
ブロツク5−0とデータ・ブロツク5−1とデー
タ・ブロツク5−2と不完全データ・ブロツク5
−3とで構成されるようになる。 2a, b, c, and d show an example of a recording method in which logging data is sequentially written to the magnetic tape file 4 in this type of system. In the figure, 5-0, 5-1, and 5-2 are data and
Blocks 5-3 and 6-0, 6-1, and 6-2 respectively represent incomplete data blocks when the write process is interrupted due to the occurrence of a failure as described above. As shown in Figure 2a,
When the constituent elements of the data block 5-0 are sequentially written onto the recording medium and the entire data block 5-0 has been written, then, for example, two tape marks 6-0 are written to the data block 5-0. Write adjacent to the zero end. And the next data block 5-
1, the data block 5-1 is overwritten on the tape mark 6-0, and the entire data block 5-1 is written. When the entire data block 5-1 is written, the tape mark 6-1 will be written to the data block 5-1 as in the case of writing data block 5-0 above.
Written adjacent to 1. Therefore, the recording state on the recording medium at the time when the tape mark 6-1 is written is as shown in FIG. 2b. Then, the next data block 5-2 and the tape mark 6 corresponding to the block 5-2
The writing process for tape mark 6-2 is carried out in the same way, and the recording state at the end of writing of tape mark 6-2 is as shown in FIG. 2c. Furthermore, while the write process for the next next data block (referring to the data block including the incomplete data block 5-3 shown in FIG. 2d) is being executed, if the above-described failure occurs. When this occurs and the write process stops, the recording state at that point is as shown in Figure 2d.
Block 5-0, data block 5-1, data block 5-2, and incomplete data block 5
-3.
上記故障が発生した後当該故障原因が除去され
ると、上述した如く磁気テープ・フアイル4の記
録内容を磁気デイスク装置3に転送する処理が行
なわれる。即ち磁気テープ・フアイル4の記録内
容を読出し該読出しデータを磁気デイスク装置3
に格納して故障発生時のシステム状態に復旧する
処理が行なわれる。しかし磁気テープ・フアイル
4の読出し処理において、記録内容が第2図にお
いて上述した如き不完全ブロツク5−3を含む如
き構成であると、故障発生時点を検出することが
できずいわゆるテープ暴走現象が発生する。 After the failure occurs and the cause of the failure is removed, the process of transferring the recorded contents of the magnetic tape file 4 to the magnetic disk device 3 is performed as described above. That is, the recorded contents of the magnetic tape file 4 are read out and the read data is transferred to the magnetic disk device 3.
A process is performed to restore the system state to the state at the time the failure occurred. However, in the reading process of the magnetic tape file 4, if the recorded contents include an incomplete block 5-3 as described above in FIG. Occur.
なお、故障発生時における記録内容が第2図c
に図示する如くテープ・マーク6−2を書込んだ
時点までのものである場合には、上記読出し処理
において、上記テープ・マーク6−2を読み取る
ことにより故障発生時までの記録内容の終端部を
知ることができる。 The recorded contents at the time of failure are shown in Figure 2c.
As shown in the figure, if the tape mark 6-2 is written up to the point where the tape mark 6-2 was written, the end of the recorded content up to the time of the failure can be read by reading the tape mark 6-2 in the reading process. can be known.
本発明は上記の点を解決することを目的とし、
テープ暴走現象の発生を未然に防止することがで
きるロギング用磁気テープ・フアイルを提供する
ことを目的としている。そしてそのため本発明の
ロギング用磁気テープ・フアイルはリアルタイム
処理におけるロギング・データを記録するロギン
グ用磁気テープ・フアイルにおいて、リアルタイ
ム処理開始前にバツチ処理により全記録媒体上に
テープ・マークが書込まれ、リアルタイム処理時
にロギング・データが上記テープ・マークに重ね
て書込まれるよう構成されたことを特徴としてい
る。以下第3図a,bを参照しつつ本発明を説明
する。 The present invention aims to solve the above points,
It is an object of the present invention to provide a magnetic tape file for logging that can prevent the occurrence of tape runaway phenomenon. Therefore, in the logging magnetic tape file of the present invention, which records logging data in real-time processing, tape marks are written on all recording media by batch processing before the start of real-time processing, It is characterized in that it is configured such that logging data is written over the tape mark during real-time processing. The present invention will be explained below with reference to FIGS. 3a and 3b.
第3図a,bは本発明によるロギング用磁気テ
ープ・フアイルの一実施例構成を示し、第3図a
はリアルタイム処理開始前における記録媒体上の
記録状態、第3図bはリアルタイム処理時におい
て故障が発生した時点における記録媒体上の記録
状態を夫々示している。図中、4,5−0,5−
1,5−2,5−3は夫々第1図および第2図に
おける同一符号に対応したもの、7は本発明にお
けるテープ・マークを夫々表わしている。 3a and 3b show an embodiment of the configuration of a magnetic tape file for logging according to the present invention, and FIG.
3 shows the recording state on the recording medium before starting real-time processing, and FIG. 3b shows the recording state on the recording medium at the time when a failure occurs during real-time processing. In the figure, 4,5-0,5-
1, 5-2, and 5-3 correspond to the same reference numerals in FIGS. 1 and 2, respectively, and 7 represents a tape mark in the present invention, respectively.
磁気テープ・フアイル4をリアルタイム処理の
ロギング用フアイルとして使用するに先立つて、
バツチ処理により記録媒体上の全領域に第3図a
図示の如くテープ・マーク7を書込んでおく。そ
してリアルタイム処理時にロギング・データを上
記の如く書込まれたテープ・マーク7に重ね書き
してゆく。このため、リアルタイム処理の途中で
上述した如き故障が発生すると、記録媒体上の記
録状態は、例えば第3図bに図示する如く、不完
全データ・ブロツク5−3の終端部以降にテー
プ・マーク7が依然として記録されている構成と
なる。なお、当該磁気テープ・フアイル4へのデ
ータ書込み動作は第2図において上述した如き書
込み動作と同様なものと考えてよい。 Before using magnetic tape file 4 as a logging file for real-time processing,
Figure 3a is applied to all areas on the recording medium by batch processing.
Write tape marks 7 as shown in the figure. Then, during real-time processing, logging data is overwritten on the tape mark 7 written as described above. Therefore, if a failure as described above occurs during real-time processing, the recording state on the recording medium will change to a tape mark after the end of the incomplete data block 5-3, as shown in FIG. 3b, for example. 7 is still recorded. Note that the data writing operation to the magnetic tape file 4 may be considered to be similar to the writing operation as described above in FIG.
故障原因が除去され磁気テープ・フアイル4の
記録内容を読出す読出し処理において、データ・
ブロツク5−0、データ・ブロツク5−1、デー
タ・ブロツク5−2が順次読出され、更に不完全
データ・ブロツク5−3が読出された後は、後続
のテープ・マーク7が読み取られるようになる。
このテープ・マーク7読み取りにより、例えば、
完全なデータ・ブロツク(図示データ・ブロツク
5−0など。)のブロツク長と上記不完全デー
タ・ブロツク5−3のブロツク長とが比較され、
不一致であることから当該不完全データ・ブロツ
ク5−3が完全なデータ・ブロツクに相当してい
ない旨判断でき、データ・ブロツク5−2までの
記録内容が有効なものとされて磁気デイスク装置
3に転送される。これにより磁気デイスク装置3
は故障発生時の記憶状態と略同一レベルに設定さ
れリアルタイム処理の続行が可能になる。 In the read process of reading out the recorded contents of the magnetic tape file 4 after the cause of the failure has been removed, the data
Block 5-0, data block 5-1, and data block 5-2 are read out in sequence, and after incomplete data block 5-3 is read out, the subsequent tape mark 7 is read out. Become.
By reading this tape mark 7, for example,
The block length of the complete data block (illustrated data block 5-0, etc.) is compared with the block length of the incomplete data block 5-3,
Since there is a discrepancy, it can be determined that the incomplete data block 5-3 does not correspond to a complete data block, and the recorded contents up to data block 5-2 are considered valid and are stored in the magnetic disk device 3. will be forwarded to. As a result, the magnetic disk device 3
is set to approximately the same level as the storage state at the time of failure, allowing real-time processing to continue.
以上説明した如く、本発明によれば故障発生時
までの記憶状態をテープ・マークにより正確に検
出することができるためテープ暴走現象を未然に
防止することができる。 As described above, according to the present invention, since the storage state up to the time of failure can be accurately detected using tape marks, tape runaway phenomenon can be prevented.
第1図は本発明によるロギング用磁気テープ・
フアイルが適用されるデータ処理システムの概念
的な構成例、第2図a,b,c,dは従来の磁気
テープ・フアイルの記録方式の一例を説明するた
めの説明図、第3図a,bは本発明の一実施例に
おける主要構成を表わした図を夫々示す。
図中、4はロギング用磁気テープ・フアイル、
5−0,5−1,5−2,5−3はロギング・デ
ータを構成するデータ・ブロツク、7はテープ・
マークを夫々表わす。
Figure 1 shows a logging magnetic tape according to the present invention.
A conceptual configuration example of a data processing system to which the file is applied; FIGS. 2a, b, c, and d are explanatory diagrams for explaining an example of a conventional magnetic tape file recording method; FIGS. 3a, b shows a diagram showing the main configuration in an embodiment of the present invention. In the figure, 4 is a magnetic tape file for logging,
5-0, 5-1, 5-2, 5-3 are data blocks that constitute logging data, and 7 is a tape block.
Each represents a mark.
Claims (1)
を記録するロギング用磁気テープ・フアイルにお
いて、リアルタイム処理開始前にバツチ処理によ
り全記録媒体上にテープ・マークが書込まれ、リ
アルタイム処理時にロギング・データが上記テー
プ・マークに重ねて書込まれるよう構成されたこ
とを特徴とするロギング用磁気テープ・フアイ
ル。1 In the logging magnetic tape file that records logging data in real-time processing, tape marks are written on all recording media by batch processing before the start of real-time processing, and logging data is written to the above tape marks during real-time processing. A magnetic tape file for logging, characterized in that it is configured to be written on top of the file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10460780A JPS5730133A (en) | 1980-07-30 | 1980-07-30 | Magnetic tape file for logging |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10460780A JPS5730133A (en) | 1980-07-30 | 1980-07-30 | Magnetic tape file for logging |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5730133A JPS5730133A (en) | 1982-02-18 |
| JPH0115944B2 true JPH0115944B2 (en) | 1989-03-22 |
Family
ID=14385101
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10460780A Granted JPS5730133A (en) | 1980-07-30 | 1980-07-30 | Magnetic tape file for logging |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5730133A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0738263B2 (en) * | 1986-12-25 | 1995-04-26 | 日本電気株式会社 | Magnetic tape file management device |
-
1980
- 1980-07-30 JP JP10460780A patent/JPS5730133A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5730133A (en) | 1982-02-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5193154A (en) | Buffered peripheral system and method for backing up and retrieving data to and from backup memory device | |
| JPH046017B2 (en) | ||
| JPH0115944B2 (en) | ||
| JPS648848B2 (en) | ||
| JPH10312329A (en) | Data backup / restore device | |
| JPS6299964A (en) | File controlling method when magnetic tape is abnormal | |
| JPS60171677A (en) | Method for processing fault of storing medium | |
| JPS62194557A (en) | File trouble recovery system | |
| JPS6167153A (en) | Partial trouble recovery processing system of direct access storage device | |
| JP2656499B2 (en) | Computer system | |
| JPS59177705A (en) | Data recording system | |
| JPS59157756A (en) | Control system of document file recovery | |
| JPH01264683A (en) | Digital signal recording and reproducing device | |
| JPS6347937Y2 (en) | ||
| JPS6161273A (en) | Control system of memory device | |
| JPS5940309A (en) | Memory controller | |
| JPH04360069A (en) | Method for controlling magnetic tape device | |
| JPH04302321A (en) | Magnetic disk controller | |
| JPH01158677A (en) | How to judge writing errors | |
| JPH0416871B2 (en) | ||
| JPS609289B2 (en) | magnetic tape recording device | |
| JPH0581103A (en) | System for restoring duplexing film | |
| JPH02211557A (en) | Database backup method | |
| JPH022202B2 (en) | ||
| JPS5928247A (en) | Optical disk processor |