JPS63158624A - Test system for file backup device - Google Patents

Test system for file backup device

Info

Publication number
JPS63158624A
JPS63158624A JP61314883A JP31488386A JPS63158624A JP S63158624 A JPS63158624 A JP S63158624A JP 61314883 A JP61314883 A JP 61314883A JP 31488386 A JP31488386 A JP 31488386A JP S63158624 A JPS63158624 A JP S63158624A
Authority
JP
Japan
Prior art keywords
data
file backup
medium
date
backup device
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.)
Granted
Application number
JP61314883A
Other languages
Japanese (ja)
Other versions
JPH07113878B2 (en
Inventor
Tetsuya Hamahira
浜平 哲哉
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 JP61314883A priority Critical patent/JPH07113878B2/en
Publication of JPS63158624A publication Critical patent/JPS63158624A/en
Publication of JPH07113878B2 publication Critical patent/JPH07113878B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To securely detect a fault by causing a test pattern to contain data which changes every prescribed period. CONSTITUTION:For writing test data in a backup medium, the date of that day is written in a date YYMMDD. If the date YYMMDD which has been read agrees with the date of that day on reading test data from the backup medium, it is judged that normal operation has been executed. Consequently, the fault that writing is not executed in the medium of the file backup device can securely be detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、固定ディスク付データ処理装置等に設けられ
たファイルバックアップ装置の故障を早期に検出すため
のファイルバックアップ装置試験方式である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a file backup device testing method for early detection of a failure in a file backup device installed in a data processing device with a fixed disk or the like.

〔従来の技術〕[Conventional technology]

固定ディスクを用いたデータ処理装置に於ては、業務上
頻繁に利用するデータはこの固定ディスクに格納されて
いるのが一般的である。ところが、何らかの原因で固定
ディスク装置が故障した場合、このデータが消失してし
まう恐れがある。この様な非常時のデータ復旧対策用と
して用いられるのがカートリッジ磁気テープ装置あるい
はストリーミング方式磁気テープ装置等に代表されるフ
ァイルバックアップ用装置である。
In a data processing device using a fixed disk, data that is frequently used in business is generally stored on the fixed disk. However, if the fixed disk device fails for some reason, this data may be lost. A file backup device such as a cartridge magnetic tape device or a streaming type magnetic tape device is used as a data recovery measure in such an emergency.

不測の事態で固定ディスク装置内のデータが破壊され、
格納されていた重要データが消滅してしまう事は重大な
問題となる場合も多く、このファイルバックアップにつ
いてはシステム運用上、予め考慮すべき重要な事項であ
る。この様な重要なファイルバックアップ装置は、いざ
という時に確実にデータを退避してくれる必要があり、
ファイルバックアップの信頼性は非常に重要である。
The data in the fixed disk device is destroyed due to unforeseen circumstances.
The loss of stored important data is often a serious problem, and file backup is an important matter that should be considered in advance for system operation. Such an important file backup device needs to be able to reliably save data in case of an emergency.
Reliability of file backup is very important.

一方、ディスク装置が故障しない限り、ファイルバック
アップ装置に退避されたデータは全く使用されていない
為、またファイルバックアップ装置が故障した場合でも
ディスク装置の故障以前にファイルバックアップ装置の
修理を終了すれば問題に至らずに済むという特徴もある
為、ファイルバックアップ装置の故障を早期に検出する
という事が信頼性を高める上で非常に有効である。
On the other hand, unless the disk device fails, the data saved in the file backup device is not used at all, so even if the file backup device fails, there is no problem if the file backup device is repaired before the disk device fails. Detecting failures of file backup devices at an early stage is extremely effective in increasing reliability.

ファイルバックアップ装置が故障していてもディスク装
置が故障しない限り、見かけ上ファイルバックアップ装
置が故障していない場合と全く同じ動きを示し、エラー
も報告されない為、故障状態がそのまま長期間見過され
、実際にディスク障害が発生した時点で大きな問題とな
ってしまうことがある。システム運用者が診断プログラ
ムを定期的に実施すればこの問題は解決するのであるが
、特別の操作が必要な為、短期間にまた確実に行うとい
う事は全く期待できるものではない。
Even if the file backup device is out of order, as long as the disk device does not break down, the behavior will appear to be exactly the same as if the file backup device was not out of order, and no errors will be reported, so the failure condition can be overlooked for a long time. When a disk failure actually occurs, it can become a big problem. This problem can be solved if the system operator runs the diagnostic program regularly, but since it requires special operations, it cannot be expected to be done reliably in a short period of time.

従って、従来次の様なファイルバックアップ装置試験方
式が採られている。実際のファイルバックアップ装置へ
のデータ退避を開始するに先立って、実際にこれから使
用するバックアップ用の媒体上にテストパターンデータ
を一旦書き込んだ後、読み出し照合してみる事により、
書き込み及び読み出しの双方の動作が正しく機能する事
を確認する。もし、動作の異常が検出された場合、その
異常を通知し、退避動作は行わず、正常に動作する場合
のみ実際のデータ退避を実施するというものである。
Therefore, the following file backup device testing method has conventionally been adopted. Before starting data backup to the actual file backup device, write the test pattern data on the backup medium that will actually be used from now on, and then read it and compare it.
Verify that both write and read operations function correctly. If an abnormality in operation is detected, the abnormality is notified and no evacuation operation is performed, and actual data evacuation is performed only if the operation is normal.

このファイルバックアップ装置の自動試験方式により、
ファイルタ退避の時点で必ず故障の有無が試験される事
となり、信頼性は大幅に向上する事になった。
The automatic test method of this file backup device allows
The presence or absence of failures was always tested at the time of saving the file data, greatly improving reliability.

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

しかしなから、上述した自動試験方式には次の様な欠点
がある。この次に示す欠点は、テストパターンデータに
毎回同一のものが使用される事、及びバックアップ用媒
体は同じものをくりがえし使用される事の2点に起因し
ている。
However, the automatic testing method described above has the following drawbacks. The following drawbacks are caused by two points: the same test pattern data is used every time, and the same backup medium is used repeatedly.

即ち、ファイルバックアップ装置の媒体への書き込み機
能が全く停止する様な故障が発生した場合、ファイルバ
ックアップ装置の試験の最初の書き込み動作が全く行わ
れなかった場合に於ても、その媒体が以前に使用された
媒体であれば、以前のテストパターンデータが残ってい
る為、読み出し時のチェックで比較結果が正常となり、
故障のない装置として動作してしまい異常報告が行なわ
れない事となってしまう。
In other words, if a failure occurs that causes the file backup device to completely stop writing to the medium, even if the first write operation of the file backup device test was not performed, the medium may If the medium was used, the previous test pattern data remains, so the comparison result will be normal when checking when reading.
The device will operate as if there is no failure, and no abnormality report will be made.

これを解決する方法として、読み出しチェック後に全て
のテストパターンデータを消却しておくという方法があ
るが、媒体がカートリッジテープの様にテープ媒体の場
合には巻き戻しの為の余分の時間を要することになるば
かりでなく、その巻き戻し部分の媒体使用回数が増加す
る為、媒体寿命を縮める結果となり実用的な方法ではな
い。
One way to solve this problem is to delete all test pattern data after checking the reading, but if the medium is a tape medium such as a cartridge tape, extra time is required for rewinding. Not only this, but also the number of times the medium is used in the unwinding portion increases, which results in shortening the life of the medium, which is not a practical method.

〔問題点を解決するたbの手段〕[Means b for solving the problem]

本発明は、ファイルバックアップ用の媒体にテストデー
タを書き込んだ後に前記媒体から前記テストデータを読
み出し、書き込んだ内容と読み出した内容を照合するフ
ァイルバックアップ装置試験方式において、前記テスト
データに所定の期間毎に変化するデータが含まれている
ことを特徴とする。
The present invention provides a file backup device test method in which test data is written to a file backup medium, and then the test data is read from the medium, and the written contents and read contents are compared. It is characterized by containing data that changes.

〔実施例〕〔Example〕

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

第2図は本発明の一実施例に於けるファイルデータ退避
時の一連の動きを示した流れ図で、第2図に示すデータ
処理装置1に接続された固定ディスク装置2と、そのデ
ータ復旧用、すなわちファイルバックアップ装置として
のカートリッジ磁気テープ装置3とから構成されたシス
テムに於けるファイルバックアップ装置試験方式の処理
の流れを示したものである。
FIG. 2 is a flowchart showing a series of operations when saving file data in an embodiment of the present invention. That is, it shows the processing flow of a file backup device test method in a system configured with a cartridge magnetic tape device 3 as a file backup device.

第1図に示される様に、固定ディスク装置2内のデータ
退避を行なおうとする時はカートリッジ磁気テープ装置
3にバックアップ用媒体をセットした後、実際に使用す
る媒体へのテストデータの書き込みを一旦行った後、媒
体のテープを巻き戻し、書き込んだデータを読み出して
正常動作しているかどうかをチェックする。正常動作し
ていれば固定ディスク装置2のデータを退避させ、動作
が異常であった場合は装置貴書の報告を出力させる。
As shown in FIG. 1, when attempting to save data in the fixed disk device 2, after setting a backup medium in the cartridge magnetic tape device 3, write test data to the medium that will actually be used. Once this is done, rewind the media tape and read the written data to check if it is working properly. If the fixed disk device 2 is operating normally, the data in the fixed disk device 2 is saved, and if the operation is abnormal, a report on the device information is output.

この時、使用するテストデータ例を第3図(a)及び(
b)に示す。第3図(a)は簡易的テストデータであり
、各ビット毎のON10 F F試験ができる様に構成
されている。第3図(b)のテストデータは256通り
の全データの組合せを試験する事となり、どちらか一方
を選択すれば良い(なお、実際のカートリッジ磁気テー
プ装置の場合のデータは、ビットシリアルな配列のなっ
ているが、ここでは説明上の便宜の為、1バイト毎の表
現としである)。
At this time, examples of test data used are shown in Figure 3 (a) and (
Shown in b). FIG. 3(a) shows simple test data, which is configured so that an ON10 FF test can be performed for each bit. The test data in Figure 3(b) tests all 256 combinations of data, and you only have to select one of them (in the case of an actual cartridge magnetic tape device, the data is arranged in a bit serial format) (However, for convenience of explanation, it is expressed in units of bytes.)

上記いづれかの場合に於てもテストデータの末尾にYY
MMDDで示した年月日情報が含まれており、前日以前
のテストデータとの識別が可能のなっている。これによ
り書き込み機能が全く損われた場合の試験が可能となっ
ている。すなわち、バックアップ用媒体にテストデータ
を書き込む時に年月日YYMMDDに当日の年月日を書
き込み、バックアップ用媒体からテストデータを読み込
む時に、読み込んだ年月日YYMMDDが当日の年月日
と一致していれば正常な動作が行われていたと判断する
。ただし、日の変わり目、即ち23時59分〜00時付
近の時間に本試験が行われた場合に書き込み時の日付と
読み出し時の日付が事ってくる為、バックアップ用媒体
に書き込んだ年月日YYMMDDを記憶しておき読み出
し時のチェックの時はそのデータと比較する等の手段が
必要である。
In any of the above cases, YY at the end of the test data
The date information shown in MMDD is included, making it possible to distinguish it from test data from the previous day. This allows testing in the case where the writing function is completely impaired. In other words, when writing test data to the backup medium, write the current date in YYMMDD, and when reading test data from the backup medium, make sure that the read date YYMMDD matches the current date. If so, it is determined that normal operation was performed. However, if the main test is conducted at the turn of the day, that is, from 23:59 to 00:00, the writing date and reading date will be different, so the date and month of writing to the backup medium will be different. It is necessary to memorize the date YYMMDD and compare it with the data when checking when reading.

本発明の実施例に於ては日々変化するデータとして年月
日YYMMDDを用いたが年月日を基本に何らかの加工
をしたもの、あるいは時刻を入れたもの、あるいは単わ
なる連続番号等、色々なデータによっても本発明の実施
は可能である。
In the embodiment of the present invention, the year, month, and day YYMMDD are used as data that changes daily, but there are various other data such as data that has been processed in some way based on the year, month, and day, or that has the time added, or simply a continuous number. The present invention can also be implemented using such data.

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

以上説明したように本発明は、テストパターンに所定の
期間毎に変化するデータを含むことにより、ファイルバ
ックアップ装置の媒体への書き込みが行われないような
故障も確実に検出できるという効果がある。
As described above, the present invention has the advantage that by including data that changes every predetermined period in the test pattern, it is possible to reliably detect failures in which writing to the medium of the file backup device is not performed.

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

第1図は本発明の一実施例を実施したデータ処理装置に
於けるディスクデータ退避時の流れ図、第2図は第1図
に示す実施例が適用されるシステムの構成図、第3図は
第1図に示す実施例に用いるテストデータの例を示す模
式図である。 1・・・データ処理装置、2・・・固定ディスク装置、
3・・・カートリッジ磁気テープ装置。
FIG. 1 is a flowchart when saving disk data in a data processing device implementing an embodiment of the present invention, FIG. 2 is a configuration diagram of a system to which the embodiment shown in FIG. 1 is applied, and FIG. 2 is a schematic diagram showing an example of test data used in the example shown in FIG. 1. FIG. 1... Data processing device, 2... Fixed disk device,
3... Cartridge magnetic tape device.

Claims (1)

【特許請求の範囲】[Claims] ファイルバックアップ用の媒体にテストデータを書き込
んだ後に前記媒体から前記テストデータを読み出し、書
き込んだ内容と読み出した内容を照合するファイルバッ
クアップ装置試験方式において、前記テストデータに所
定の期間毎に変化するデータが含まれていることを特徴
とするファイルバックアップ装置試験方式。
In a file backup device test method in which test data is written to a file backup medium, the test data is read from the medium, and the written content and read content are compared, the test data includes data that changes every predetermined period. A file backup device test method characterized by comprising:
JP61314883A 1986-12-23 1986-12-23 File backup device test method Expired - Lifetime JPH07113878B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61314883A JPH07113878B2 (en) 1986-12-23 1986-12-23 File backup device test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61314883A JPH07113878B2 (en) 1986-12-23 1986-12-23 File backup device test method

Publications (2)

Publication Number Publication Date
JPS63158624A true JPS63158624A (en) 1988-07-01
JPH07113878B2 JPH07113878B2 (en) 1995-12-06

Family

ID=18058771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61314883A Expired - Lifetime JPH07113878B2 (en) 1986-12-23 1986-12-23 File backup device test method

Country Status (1)

Country Link
JP (1) JPH07113878B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54161851A (en) * 1978-05-30 1979-12-21 Xerox Corp Method of and device for transferring data
JPS56111115A (en) * 1980-01-22 1981-09-02 Thomson Csf Tester for high speed multiitrack digital recorder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54161851A (en) * 1978-05-30 1979-12-21 Xerox Corp Method of and device for transferring data
JPS56111115A (en) * 1980-01-22 1981-09-02 Thomson Csf Tester for high speed multiitrack digital recorder

Also Published As

Publication number Publication date
JPH07113878B2 (en) 1995-12-06

Similar Documents

Publication Publication Date Title
US4549295A (en) System for identifying defective media in magnetic tape storage systems
US7206151B2 (en) System, method and computer program product for tape failure detection
JPS58118008A (en) Data processor
JPH09274541A (en) Storage device, control method for the same, storage system and control method for the same
US6195767B1 (en) Data corruption detection apparatus and method
JPS63158624A (en) Test system for file backup device
JPH03116506A (en) System for preventing unauthorized copying
JPS6344375A (en) Magnetic memory control device
JPH0573435A (en) Storage element monitoring/protecting device
JPS6043265A (en) Reading and writing system of data
KR890000354B1 (en) Document device of mistaken information in controller
JPS6299964A (en) File controlling method when magnetic tape is abnormal
KR0121094B1 (en) The method of memory system
JPH0252290B2 (en)
JPH11212731A (en) File device testing method
JPH02207356A (en) Information processor monitoring mechanism
JPS62113241A (en) Fault recovery device
JPH04630A (en) Storage controller
JPH0724154B2 (en) Data copying method
JPS63133385A (en) File access method for magnetic tape
JPH06139112A (en) Method and device for preparing flag code
JPH04106628A (en) Memory error detecting system
JPS58177506A (en) Magnetic tape controller
JPS626347A (en) Back-up control method for fault information
JPH0222726A (en) Magnetic disk controller