JPH01213710A - File controller - Google Patents

File controller

Info

Publication number
JPH01213710A
JPH01213710A JP63037416A JP3741688A JPH01213710A JP H01213710 A JPH01213710 A JP H01213710A JP 63037416 A JP63037416 A JP 63037416A JP 3741688 A JP3741688 A JP 3741688A JP H01213710 A JPH01213710 A JP H01213710A
Authority
JP
Japan
Prior art keywords
data
magnetic tape
host
memory
magnetic disk
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
JP63037416A
Other languages
Japanese (ja)
Inventor
Takashi Nohara
野原 高史
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 JP63037416A priority Critical patent/JPH01213710A/en
Publication of JPH01213710A publication Critical patent/JPH01213710A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of data protection by reading out data at the data transfer speed of the device side while storing data transferred from a host in a memory. CONSTITUTION:An online system consists of a host 1, a file controller 2 connected to the host in online, a magnetic disk device 3, and a magnetic tape device 4. The file controller 2 consists of an interface circuit 21 to the host 1, a command analyzing circuit 22, a magnetic disk control circuit 23, a magnetic tape control circuit 24, a memory 25, and an error detecting circuit 26. At the time of data write to the magnetic disk device 3, data is stored in the memory 25 by the control of the magnetic tape control circuit 24 and data is read out from the memory 25 at the data transfer speed of the magnetic tape device 4 and is written through the controller 24. Thus, data is written simultaneously though respective devices are different in data transfer speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファイル制御装置に関し、特に複数、の制御
の異なる外部記憶装置を用いてファイルデータのバック
アップを行うのに好適なファイル制御装置に関するもの
である。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a file control device, and particularly to a file control device suitable for backing up file data using a plurality of external storage devices that are controlled differently. It is something.

〔従来の技術〕[Conventional technology]

従来、ホストコンピュータ(以下、ホストという)と制
御装置を介して接続された磁気ディスク装置とデータバ
ックアップ用に上記制御装置に磁気テープ装置を接続し
てシステムを構成し、通常の動作時には、制御装置は磁
気ディスク装匝にデータの格納、読出しを行い、日常業
務終了時、制御装置が磁気ディスク装置のデータを磁気
テープ装置に自動的に転送し、データバックアップを取
るものが知られている(特開昭58−144270号公
報参照)。
Conventionally, a system has been constructed by connecting a magnetic disk device to a host computer (hereinafter referred to as host) via a control device, and a magnetic tape device connected to the control device for data backup. It is known that the controller stores and reads data on a magnetic disk, and at the end of daily work, the control device automatically transfers the data in the magnetic disk device to a magnetic tape device to back up the data. (Refer to 1982-144270).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術では、運用中にトラブルがあった場合のデ
ータバックアップについて配慮されておらず、エラー発
生時には、再度ホストに対し、データの再送を要求する
必要があり1回復処理に時間がかかるという課題があっ
た。
The conventional technology described above does not take into consideration data backup in the event of trouble during operation, and when an error occurs, it is necessary to request the host to resend the data again, resulting in the problem that recovery processing takes time. was there.

本発明の目的は、このような従来の問題を解決し、ホス
トからのデータを同時に異なった外部記憶装置に格納し
、運用中にデータのバックアップ可能とし、エラー発生
時の回復処理をデータ再送要求を出力することなく行え
るファイル制御装置を提供することにある。
The purpose of the present invention is to solve such conventional problems, to simultaneously store data from a host in different external storage devices, to enable data backup during operation, and to perform recovery processing in the event of an error by requesting data retransmission. The object of the present invention is to provide a file control device that can perform file control without outputting data.

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

上記課題を解決するため、本発明のファイル制御装置は
、上位装置からのデータの転送を制御し、磁気ディスク
装置へのデータ書込みまたは前記上位装置へのデータ読
出しを制御し、かつデータバックアップ用の磁気テープ
装置へのデータ書込み・読出し制御を行うファイル制御
装置において、前記磁気ディスク装置と磁気テープ装置
のデータ転送速度の差を吸収するためのメモリと、これ
らの装置対応にデータのエラーを検出するエラー検出回
路とを設け、前記上位装置からのデータを磁気ディスク
装置に格納すると同時に前記メモリに格納し、該メモリ
に格納されたデータを磁気テープ装置の転送速度でバッ
クアップを取り、データエラーが発生した場合、正常に
データを格納した装置からデータを読出し、データの回
復処理を行うことに特徴がある。
In order to solve the above problems, a file control device of the present invention controls data transfer from a host device, controls data writing to a magnetic disk device or data reading to the host device, and controls a data backup device for data backup. A file control device that controls data writing and reading from a magnetic tape device includes a memory for absorbing the difference in data transfer speed between the magnetic disk device and the magnetic tape device, and a method for detecting data errors corresponding to these devices. An error detection circuit is provided, the data from the host device is stored in the magnetic disk device and at the same time stored in the memory, and the data stored in the memory is backed up at the transfer speed of the magnetic tape device, so that a data error occurs. In this case, the data is read from the device that normally stored the data and data recovery processing is performed.

〔作用〕[Effect]

本発明においては、メモリは、上位装置(ホスト)から
転送されるデータを格納しながら同時に装置側のデータ
転送速度で読み出すように動作するのでデータ転送速度
の相違によるデータ抜は等の誤動作はない。また、エラ
ー検出回路は、装置対応で動作し、かつエラー発生場所
も検出するので回復処理時に間違ったデータを格納する
ことはない。
In the present invention, the memory operates to store data transferred from the host device and read it at the data transfer speed of the device at the same time, so there is no malfunction such as data loss due to differences in data transfer speeds. . Further, since the error detection circuit operates in accordance with the device and also detects the location where an error occurs, erroneous data will not be stored during recovery processing.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面により詳細に説明する
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第2図は、本発明を適用したオンラインシステムの構成
図である。
FIG. 2 is a configuration diagram of an online system to which the present invention is applied.

第2図において、1はホスト、2はホストlにオンライ
ン接続されたファイル制御装置、3はファイル制御装置
2の制御によりデータの格納、読み出しを行う磁気ディ
スク装置、4はデータバックアップ用の磁気テープ装置
である。本実施例では、ファイル制御装置2の制御によ
りシステム運用中にデータバックアップを取得している
ので、エラー発生時の回復処理等は、ホスト1へのデー
タ転送要求を発生させることなく、行うことができる。
In FIG. 2, 1 is a host, 2 is a file control device connected online to host 1, 3 is a magnetic disk device that stores and reads data under the control of file control device 2, and 4 is a magnetic tape for data backup. It is a device. In this embodiment, data backup is acquired during system operation under the control of the file control device 2, so recovery processing when an error occurs can be performed without issuing a data transfer request to the host 1. can.

第1図は、本発明の一実施例を示すファイル制御装置の
構成図である。これは、第2図におけるファイル制御装
置2の詳細構成例を示している。
FIG. 1 is a configuration diagram of a file control device showing an embodiment of the present invention. This shows a detailed configuration example of the file control device 2 in FIG. 2.

第1図において、21はホスト1とのインタフェースを
取るためのインタフェース回路、22は各種コマンドの
解析を行うコマンド解析回路、23は磁気ディスク装置
3の制御を行う磁気ディスク制御回路、24は磁気テー
プ装置24の制御を行う磁気テープ制御回路、25はデ
ータ転送速度の差を吸収するためのメモリ、26は装置
対応にエラー検出を行うエラー検出回路である。以下、
本実施例の動作を説明する。
In FIG. 1, 21 is an interface circuit for interfacing with the host 1, 22 is a command analysis circuit for analyzing various commands, 23 is a magnetic disk control circuit for controlling the magnetic disk device 3, and 24 is a magnetic tape. A magnetic tape control circuit controls the device 24, 25 is a memory for absorbing differences in data transfer speeds, and 26 is an error detection circuit that detects errors depending on the device. below,
The operation of this embodiment will be explained.

ホスト1より磁気ディスク装置3にデータライトコマン
ドが発行されると、インタフェース回路21を経由して
コマンド解析回路22で解析して磁気ディスク制御回路
23と磁気テープ制御回路24にデータライト起動する
。この起動により、磁気ディスク制御回路23からイン
タフェース回路21を経由してホスト1にデータ転送要
求をし、データをホスト1からインタフェース回路21
゜磁気ディスク制御回路23を経由して磁気ディスク装
置3にデータライトする。このとき、同時に磁気テープ
制御回路24の制御によりメモリ25にデータを格納し
、磁気テープ装置4のデータ・転送速度でメモリ25か
らデータを読み出して磁気テープ制御回路24を経由し
て磁気テープ装置4にデータライトする。これは、ホス
ト1から送られてくるデータの転送速度は磁気ディスク
装置3に準じているため、磁気テープ装置4のデータ転
送速度より速く、そのままでは転送できない。従って、
−担メモリ25にデータを格納し、磁気テープ装置4の
データ転送速度でメモリ25を磁気テープ制御回路24
が制御して磁気テープ装置4にデータを格納する。これ
により、各装置間でデータ転送速度に相違があっても同
時にデータがライトできる。
When a data write command is issued from the host 1 to the magnetic disk device 3, it is analyzed by the command analysis circuit 22 via the interface circuit 21, and the data write is started in the magnetic disk control circuit 23 and the magnetic tape control circuit 24. By this activation, a data transfer request is made from the magnetic disk control circuit 23 to the host 1 via the interface circuit 21, and the data is transferred from the host 1 to the interface circuit 21.
Data is written to the magnetic disk device 3 via the magnetic disk control circuit 23. At this time, data is simultaneously stored in the memory 25 under the control of the magnetic tape control circuit 24, read out from the memory 25 at the data transfer speed of the magnetic tape device 4, and transferred to the magnetic tape device 4 via the magnetic tape control circuit 24. Write data to. This is because the data transfer speed sent from the host 1 is similar to that of the magnetic disk device 3, so it is faster than the data transfer speed of the magnetic tape device 4 and cannot be transferred as is. Therefore,
- Store data in the carrier memory 25, and transfer the memory 25 to the magnetic tape control circuit 24 at the data transfer speed of the magnetic tape device 4.
stores data in the magnetic tape device 4 under control. This allows data to be written at the same time even if there are differences in data transfer speed between devices.

また、磁気ディスク装置3にデータライト後のリードチ
エツクにて磁気ディスク制御回路23を経由しエラー検
出回路26でエラーを検出すると、エラー検出回路26
はコマンド解析回路22にエラー発生指示をする。次に
コマンド解析回路22から磁気テープ制御回路24に対
して磁気テープ装置4に格納されているデータを読み出
す。このとき、磁気ディスク装置3のエラー発生場所が
エラー検出回路26で検出されているので、コマンド解
析回路22で磁気テープ装置4のデータライト場所を解
析して同一データを読み出して、メモリ25に格納する
。このメモリ25にデータを格納終了したならば、磁気
ディスク制御回路23からメモリ25のデータを読み出
して磁気ディスク装置3のエラー発生場所にデータをラ
イトして回復処理を行う。これにより、ファイル制御装
置2はホスト1にデータ転送要求を出さなくとも、デ、
−夕回復を行うことができる。
Furthermore, when an error is detected by the error detection circuit 26 via the magnetic disk control circuit 23 during a read check after writing data to the magnetic disk device 3, the error detection circuit 26
instructs the command analysis circuit 22 to generate an error. Next, data stored in the magnetic tape device 4 is read from the command analysis circuit 22 to the magnetic tape control circuit 24 . At this time, since the error detection circuit 26 has detected the location of the error in the magnetic disk device 3, the command analysis circuit 22 analyzes the data write location of the magnetic tape device 4, reads out the same data, and stores it in the memory 25. do. When the data has been stored in the memory 25, the data in the memory 25 is read out from the magnetic disk control circuit 23, and the data is written to the location where the error occurred in the magnetic disk device 3 to perform recovery processing. As a result, the file control device 2 can transfer data without issuing a data transfer request to the host 1.
-Can perform evening recovery.

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

以上説明したように、本発明によれば、ホストからのデ
ータを転送速度の異なる2つの外部記憶装置に同時に格
納できるので、運用中にデータバックアップが行えるよ
うになる。ホストを介さなくてエラー回復処理ができる
ので、データ保護の信頼性が向上する。
As described above, according to the present invention, data from a host can be stored simultaneously in two external storage devices with different transfer speeds, so data backup can be performed during operation. Since error recovery processing can be performed without going through the host, reliability of data protection is improved.

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

第1図は本発明の一実施例を示すファイル制御装置の構
成図、第2図は本発明を適用したオンラインシステムの
構成図である。 1:ホスト、2:ファイル制御装置、3:磁気ディスク
装置、4:磁気テープ装置、21:インタフェース回路
、22:コマンド解析回路、23:磁気ディスク制御回
路、24:磁気テープ制御回路、25:メモリ、26:
エラー検出回路。 第   1   図
FIG. 1 is a block diagram of a file control device showing an embodiment of the present invention, and FIG. 2 is a block diagram of an online system to which the present invention is applied. 1: host, 2: file control device, 3: magnetic disk device, 4: magnetic tape device, 21: interface circuit, 22: command analysis circuit, 23: magnetic disk control circuit, 24: magnetic tape control circuit, 25: memory , 26:
Error detection circuit. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 1、上位装置からのデータの転送を制御し、磁気ディス
ク装置へのデータ書込みまたは前記上位装置へのデータ
読出しを制御し、かつデータバックアップ用の磁気テー
プ装置へのデータ書込み・読出し制御を行うファイル制
御装置において、前記磁気ディスク装置と磁気テープ装
置のデータ転送速度の差を吸収するためのメモリと、こ
れらの装置対応にデータのエラーを検出するエラー検出
回路とを設け、前記上位装置からのデータを磁気ディス
ク装置に格納すると同時に前記メモリに格納し、該メモ
リに格納されたデータを磁気テープ装置の転送速度でバ
ックアップを取り、データエラーが発生した場合、正常
にデータを格納した装置からデータを読出し、データの
回復処理を行うことを特徴とするファイル制御装置。
1. A file that controls data transfer from a host device, controls writing data to a magnetic disk device or reading data to the host device, and controls data writing and reading from a magnetic tape device for data backup. The control device is provided with a memory for absorbing the difference in data transfer speed between the magnetic disk device and the magnetic tape device, and an error detection circuit for detecting data errors corresponding to these devices. is stored in the magnetic disk device and in the memory at the same time, the data stored in the memory is backed up at the transfer speed of the magnetic tape device, and if a data error occurs, the data can be retrieved from the device that normally stored the data. A file control device characterized by performing reading and data recovery processing.
JP63037416A 1988-02-22 1988-02-22 File controller Pending JPH01213710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63037416A JPH01213710A (en) 1988-02-22 1988-02-22 File controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63037416A JPH01213710A (en) 1988-02-22 1988-02-22 File controller

Publications (1)

Publication Number Publication Date
JPH01213710A true JPH01213710A (en) 1989-08-28

Family

ID=12496916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63037416A Pending JPH01213710A (en) 1988-02-22 1988-02-22 File controller

Country Status (1)

Country Link
JP (1) JPH01213710A (en)

Similar Documents

Publication Publication Date Title
JP2855019B2 (en) External storage device data guarantee method and external storage device
JPH01213710A (en) File controller
JPH04311219A (en) Data backup system
JPH0793101A (en) Data backup device
JPS5917653A (en) Method for transferring data of magnetic disc controlling device
JPH04239355A (en) Electronic disk device
JP3484707B2 (en) Asynchronous data transfer controller
JPS6332642A (en) Information processor
JPS62166451A (en) History analyzing device for logical unit
JPH03214227A (en) Input/output controller
JPS58114152A (en) Back up device for magnetic disc
JPH02161515A (en) Magnetic disk device
JPH0480860A (en) Program loading system
JPH04167120A (en) Magnetic disk subsystem
JPH02176949A (en) Acquisition system for journal data
JPH04105137A (en) Check system for input/output function of computer
JPH0731639B2 (en) Magnetic disk controller
JPS62235662A (en) Magnetic disk controller
JPS59112353A (en) Data reading out system from recording medium
JPS62188068A (en) Magnetic tape device control system
JPH02210672A (en) Data writing error detector
JPH0291716A (en) File server
JPH03240122A (en) Magnetic disk device
JPH02121048A (en) Peripheral controller
JPH0358119A (en) Dual system of external storage device