JPH11212729A - Duplex disk device - Google Patents

Duplex disk device

Info

Publication number
JPH11212729A
JPH11212729A JP10019271A JP1927198A JPH11212729A JP H11212729 A JPH11212729 A JP H11212729A JP 10019271 A JP10019271 A JP 10019271A JP 1927198 A JP1927198 A JP 1927198A JP H11212729 A JPH11212729 A JP H11212729A
Authority
JP
Japan
Prior art keywords
disk
data
backup
duplicated
external
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
JP10019271A
Other languages
Japanese (ja)
Inventor
Tomokazu Rokusha
智一 六車
Noboru Tanaka
昇 田中
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP10019271A priority Critical patent/JPH11212729A/en
Publication of JPH11212729A publication Critical patent/JPH11212729A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To execute the on-line backup of a duplex disk device at a high speed without obstructing the system operation of the duplex disk device. SOLUTION: This duplex disk device is provided with a duplex disk one system 1 for backing up data by an external backup device, the duplex disk one system 2 for which the data of the duplex disk one system 1 are duplexed and a disk I/O control process 5 for temporarily saving remaining data among the data during write to a change data storage part 4 and backing up the data recorded in the duplex disk one system 1 to the backup device in the case that the backup device executes the on-line backup while writing the data to the duplex disk one system 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明はデータを二重化し
て保持する二重化ディスク装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual disk device for storing data in duplicate.

【0002】[0002]

【従来の技術】従来から、24時間稼働するデータベー
スシステムなどは、信頼性を高めるために2つのディス
ク記憶装置に同じ情報を記録する二重化ディスク装置が
使用されている。この二重化ディスク装置は、通常のシ
ステム運用中は、他からの要求に応じて二重化されてい
るディスク両方への情報の書き込み、または読み出し処
理が何時でも可能である。この二重化ディスク装置の2
つのディスクに情報の書き込み、または読み出しができ
る状態はオンライン中と呼ばれる。
2. Description of the Related Art Conventionally, in a database system which operates for 24 hours, a dual disk device for recording the same information in two disk storage devices has been used in order to improve reliability. During normal system operation, this duplex disk device can write or read information to or from both duplexed disks at any time in response to a request from another system. 2 of this duplex disk device
The state in which information can be written to or read from one disk is called online.

【0003】また、この種の二重化ディスク装置では、
情報保全のため、オンライン中に二重化ディスクのうち
片方のディスクの情報を所定時間おきに自動的に外部の
バックアップ装置、例えばテープ装置などへバックアッ
プしている(オンラインバックアップ)。
[0003] In this type of duplex disk drive,
For information preservation, information on one of the duplicated disks is automatically backed up to an external backup device, for example, a tape device, at predetermined time intervals while online (online backup).

【0004】このように、従来の二重化ディスク装置
は、外部のバックアップ装置へのバックアップ対象であ
る第1のディスク片系と、この第1のディスク片系の内
容(情報)が二重化された第2のディスク片系とを有し
ている。第2のディスク片系は外部のバックアップ装置
のバックアップ対象ではないものである。
As described above, in the conventional duplex disk device, the first disk segment system to be backed up to an external backup device and the second disk system in which the contents (information) of the first disk segment system are duplicated. Disk piece system. The second disk segment is not the backup target of the external backup device.

【0005】ところで、この二重化ディスク装置では、
第1のディスク片系へ情報を書き込んでいるとき、また
は情報を読み出しているときに、たまたまオンラインバ
ックアップ処理が開始されると、ディスクI/Oの競合
が発生する。
By the way, in this duplex disk device,
If online backup processing happens to be started while information is being written to or read from the first disk piece system, disk I / O contention occurs.

【0006】ここで、今までの処理を停止できなけれ
ば、ディスクI/Oの競合発生を許した状態で、オンラ
インバックアップの処理と今までの処理とを時分割で平
行して実行するため、それぞれの処理の実行速度が著し
く低化する。
Here, if the conventional processing cannot be stopped, the online backup processing and the conventional processing are executed in a time-sharing manner in parallel with the occurrence of disk I / O contention. The execution speed of each process is significantly reduced.

【0007】[0007]

【発明が解決しようとする課題】このように上述した従
来の二重化ディスク装置では、通常のシステム運用中、
つまりバックアップ処理以外の情報の書き込み、または
情報の読み出し処理中に、オンラインバックアップ処理
が発生すると、ディスクI/Oの競合が発生するため、
この競合を回避するためには、いずれか一方の処理を取
り止める必要があるが、この種の装置では、いずれの処
理も重要であることから処理を停止できず、それぞれの
処理を時分割で平行して実行するようになるためこの際
に処理速度が著しく低下するという問題があった。
As described above, in the above-described conventional dual disk apparatus, during normal system operation,
In other words, if online backup processing occurs during information writing or information reading processing other than backup processing, contention for disk I / O occurs,
In order to avoid this conflict, it is necessary to cancel one of the processes, but in this type of device, the processes cannot be stopped because both processes are important, and each process is performed in a time-division manner. In this case, there is a problem that the processing speed is significantly reduced.

【0008】本発明はこのような課題を解決するために
なされたもので、通常のシステム運用を妨げることな
く、バックアップ処理を高速に実行することのできる二
重化ディスク装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to provide a dual disk device capable of executing backup processing at high speed without interrupting normal system operation. .

【0009】[0009]

【課題を解決するための手段】上記した目的を達成する
ために、請求項1記載の発明の二重化ディスク装置は、
第1のディスク片系と第2のディスク片系とを二重化し
て構成され、前記第1及び第2のディスク片系が他から
の要求に応じてデータの書き込みまたは読み出しを実行
する中で、外部のバックアップ装置が前記第1または第
2のディスク片系いずれかに記録されたデータをバック
アップする二重化ディスク装置において、前記第1及び
第2のディスク片系が共にデータを処理中に、前記外部
のバックアップ装置からバックアップが行われた場合、
処理中のデータを退避する退避手段と、前記退避手段に
より退避されたデータをバックアップ終了後にデータ処
理の途中であった前記第1または第2のディスク片系い
ずれかへ書き込む制御手段とを具備したことを特徴とし
ている。
In order to achieve the above object, a dual disk drive according to the present invention is characterized in that:
The first disk segment system and the second disk segment system are configured to be duplicated, and while the first and second disk segment systems write or read data in response to a request from others, In a duplicated disk device in which an external backup device backs up data recorded on either the first or second disk piece system, the external storage device may store the external data while the first and second disk piece systems are both processing data. If the backup was performed from the backup device of
An evacuation unit for evacuation of the data being processed, and a control unit for writing the data evacuation by the evacuation unit to any one of the first and second disk systems in the middle of the data processing after the backup is completed. It is characterized by:

【0010】請求項2記載の発明の二重化ディスク装置
は、第1のディスク片系と第2のディスク片系とを二重
化して構成され、前記第1及び第2のディスク片系が他
からの要求に応じてデータの書き込みまたは読み出しを
実行する中で、外部のバックアップ装置が前記第1また
は第2のディスク片系いずれかに記録されたデータをバ
ックアップする二重化ディスク装置において、少なくと
も前記第1のディスク片系が他からのデータの書き込み
中に、前記外部のバックアップ装置が前記第1のディス
ク片系のデータをバックアップする場合、前記第1のデ
ィスク片系が書き込み中のデータの残りのデータを退避
する退避手段と、前記退避手段により退避された前記残
りのデータをバックアップ終了後に前記第1のディスク
片系へ書き込む制御手段とを具備したことを特徴として
いる。
The duplicated disk device according to the present invention is constructed by duplicating the first disk piece system and the second disk piece system, and the first and second disk piece systems are connected to each other. In executing a write or read of data in response to a request, an external backup device backs up data recorded on either the first or second disk segment, and at least the first When the external backup device backs up the data of the first disk unit while the disk unit is writing data from another, the remaining data of the data being written by the first disk unit is copied. Saving means for saving, and a system for writing the remaining data saved by the saving means to the first disk system after backup is completed It is characterized by comprising a means.

【0011】請求項3記載の発明の二重化ディスク装置
は、第1のディスク片系と第2のディスク片系とを二重
化して構成され、前記第1及び第2のディスク片系が他
からの要求に応じてデータの書き込みまたは読み出しを
実行する中で、外部のバックアップ装置が前記第1また
は第2のディスク片系いずれかに記録されたデータをバ
ックアップする二重化ディスク装置において、前記外部
のバックアップ装置が前記第1のディスク片系のデータ
をバックアップしているときに、前記第1のディスク片
系に対して他からデータの書き込み要求があった場合、
前記バックアップ中のデータの読み出し対象を前記第2
のディスク片系へ切り替えると共に、前記書き込み要求
のあった他からのデータを前記第1のディスク片系へ書
き込む制御手段とを具備したことを特徴としている。
A duplicated disk device according to a third aspect of the present invention is constructed by duplicating a first disk piece system and a second disk piece system, wherein the first and second disk piece systems are connected to each other. In a duplicate disk device in which an external backup device backs up data recorded on one of the first and second disk systems while writing or reading data in response to a request, the external backup device Is backing up the data of the first disk segment, when there is another data write request to the first disk segment,
The data to be read during the backup is set to the second
Control means for switching to the first disk piece system while switching to the first disk piece system.

【0012】すなわち、請求項1記載の発明では、第1
および第2のディスク片系、つまり両系がデータを処理
中に、外部のバックアップ装置がバックアップを行うと
き、バックアップ対象である第1のディスク片系が処理
中のデータの残りのデータを退避手段へ一旦退避させて
おき、バックアップ終了後に退避させておいた残りのデ
ータを第1のディスク片系へ書き込むので、通常のシス
テム運用を妨げることなく、バックアップ処理を高速に
実行することができる。
That is, in the first aspect of the present invention, the first
When the external backup device performs backup while the second disk segment, that is, both systems are processing data, the first disk segment to be backed up saves the remaining data of the data being processed. The backup data is temporarily saved, and the remaining data saved after the backup is completed is written to the first disk system, so that the backup process can be executed at high speed without interrupting the normal system operation.

【0013】また、請求項2記載の発明では、少なくと
も第1のディスク片系が他からのデータの書き込み中
に、外部のバックアップ装置が第1のディスク片系のデ
ータをバックアップする場合、制御手段は、第1のディ
スク片系が書き込み中のデータの残りのデータを退避手
段に退避させると共に第1のディスク片系のデータを外
部のバックアップ装置へバックアップさせ、バックアッ
プ終了後に退避手段により退避された残りのデータを第
1のディスク片系へ書き込むので、二重化ディスク装置
へのディスクI/Oを妨げることなく、ディスクの競合
を減らし、オンラインバックアップを高速に実行でき
る。
According to the present invention, when the external backup device backs up the data of the first disk system while at least the first disk system is writing data from the other, the control means is provided. Saves the remaining data of the data being written by the first disk fragment system to the save unit and backs up the data of the first disk fragment system to an external backup device, and saves the data by the save unit after the backup is completed. Since the remaining data is written to the first piece of disk, disk contention is reduced and online backup can be performed at high speed without hindering disk I / O to the duplexed disk device.

【0014】さらに、請求項3記載の発明では、外部の
バックアップ装置が第1のディスク片系のデータをバッ
クアップしているときに、第1のディスク片系に対して
他からデータの書き込み要求があった場合、制御手段
は、バックアップ中のデータの読み出し対象をバックア
ップ対象である第1のディスク片系から非バックアップ
対象である第2のディスク片系へ切り替えるので、バッ
クアップ途中のデータが第2のディスク片系からバック
アップされると共に、他から書き込み要求のあったデー
タが第1のディスク片系へ書き込まれる。これにより、
通常のシステム運用を妨げることなく、バックアップ処
理を高速に実行することができる。
Further, according to the third aspect of the present invention, when an external backup device is backing up data of the first disk system, a data write request is issued to the first disk system from another device. If there is, the control unit switches the data to be read during the backup from the first disk system to be backed up to the second disk system to be non-backed up, so that the data being backed up is changed to the second disk system. At the same time as being backed up from the disk system, data for which a write request has been made from another is written to the first disk system. This allows
Backup processing can be executed at high speed without interrupting normal system operation.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0016】図1は本発明に係る一つの実施形態の二重
化ディスク装置の構成を示す図である。
FIG. 1 is a diagram showing the configuration of a duplex disk drive according to one embodiment of the present invention.

【0017】同図において、符号1はデータを二重化し
て記録した複数のディスク装置のうちの一方の二重化デ
ィスク片系、つまり第1のディスク片系であり、他のバ
ックアップ装置、例えばテープ装置などの記録媒体へデ
ータをオンラインでバックアップする対象のディスク装
置である。符号2は他方の二重化ディスク片系、つまり
第2のディスク片系であり、通常のシステム運用設定と
しては外部のテープ装置のバックアップ対象ではない
(非バックアップ対象の)ディスク装置である。この二
重化ディスク片系2には、二重化ディスク片系1の情報
(データ)が所定時間おき、または二重化ディスク片系
1の内容が更新される毎にコピーされ、データの2重化
構造が構築される。符号3はディスクI/O制御部であ
り、データの処理状況に応じてデータの入出力先を切り
替える切替手段である。符号4は退避手段としての変更
データ記憶部であり、例えばFIFO形式でデータを記
録する大容量のバッファメモリなどである。つまりこの
変更データ記憶部4はFIFOキューの構造をとり、最
初に格納されたデータが最初に出力されるものである。
この変更データ記憶部4には、二重化ディスク片系1へ
通常のシステム運用動作でデータが書き込まれていると
きに外部のテープ装置からオンラインバックアップが開
始された場合に書き込み途中の残りのデータを退避(記
憶)するようになるため、変更データ記憶部4として
は、二重化ディスク片系1へ書き込むデータを最低限保
存可能な程度の記憶容量のものを利用することが好まし
い。なお、オンラインバックアップ終了後に、変更デー
タ記憶部4に退避させておいたデータが二重化ディスク
片系1へ書き込まれる。符合5はディスクI/O制御プ
ロセスであり、外部のバックアップ装置やそれ以外の装
置、例えば情報処理装置などからの要求に応じて上記デ
ィスクI/O制御部3を制御して二重化ディスク片系
1、2および変更データ記憶部4へのデータを振り分け
る制御を行う制御手段である。 以下、図2〜図5を参
照してこの二重化ディスク装置の動作を説明する。
In FIG. 1, reference numeral 1 denotes one of a plurality of disk devices in which data is duplicated and recorded, that is, a first disk system, and another backup device such as a tape device. This is a disk device for which data is backed up online to a recording medium. Reference numeral 2 denotes the other duplex disk system, that is, the second disk system, which is a disk device that is not a backup target (non-backup target) of an external tape device as a normal system operation setting. The information (data) of the duplicated disk unit 1 is copied to the duplicated disk unit 2 at predetermined time intervals or every time the contents of the duplicated disk unit 1 are updated, thereby constructing a data duplicated structure. You. Reference numeral 3 denotes a disk I / O control unit, which is a switching unit that switches an input / output destination of data according to a data processing status. Reference numeral 4 denotes a changed data storage unit as a save unit, for example, a large-capacity buffer memory for recording data in a FIFO format. That is, the changed data storage unit 4 has a FIFO queue structure, and the data stored first is output first.
When the online backup is started from an external tape device while data is being written to the duplicated disk single system 1 by the normal system operation, the changed data storage unit 4 saves the remaining data being written. Therefore, it is preferable to use, as the change data storage unit 4, a storage unit having a storage capacity that can at least store data to be written to the dual disk unit 1 at a minimum. After the online backup is completed, the data saved in the changed data storage unit 4 is written to the dual disk unit 1. Reference numeral 5 denotes a disk I / O control process, which controls the disk I / O control unit 3 in response to a request from an external backup device or another device, for example, an information processing device, etc. 2 and a control means for controlling the distribution of data to the changed data storage unit 4. Hereinafter, the operation of this duplex disk device will be described with reference to FIGS.

【0018】まず、図2を用いて、この二重化ディスク
装置の通常の運用動作について説明する。
First, a normal operation of the duplex disk device will be described with reference to FIG.

【0019】この二重化ディスク装置では、通常のシス
テム運用時、つまりオンラインバックアップが行われな
いときは、外部の情報処理装置などからの要求で二重化
ディスク片系1へのデータの書き込みおよびデータの読
み出しと二重化ディスク片系2へのデータの読み出しが
可能であり、ディスクI/O制御プロセス5によりこれ
ら二重化ディスク片系1、2は以下のように制御され
る。
In this duplex disk device, during normal system operation, that is, when online backup is not performed, writing and reading of data to and from the duplex disk single system 1 are performed at the request of an external information processing device or the like. Data can be read out to the duplicate disk system 2 and the disk system 1 and 2 are controlled by the disk I / O control process 5 as follows.

【0020】すなわち、図2に示すように、通常のシス
テム運用中、ディスクI/O制御プロセス5は、外部か
らのデータの書き込みおよびデータの読み出しの各要求
があると、ディスクI/O制御部3を制御して、二重化
ディスク片系1、2および変更データ記憶部へのデータ
の入出力を切り替える。
That is, as shown in FIG. 2, during a normal system operation, the disk I / O control process 5 receives an external data write request and a data read request from the disk I / O control unit. 3 is switched between input and output of data to and from the duplicate disk units 1 and 2 and the changed data storage unit.

【0021】例えば情報処理装置などからデータの書き
込み要求があると、ディスクI/O制御部3は二重化デ
ィスク片系1側へ書き込みデータを流し、これにより、
二重化ディスク片系1内にデータが書き込まれる。
For example, when there is a data write request from an information processing device or the like, the disk I / O control unit 3 sends the write data to the side of the dual disk unit 1, whereby
Data is written in the dual disk system 1.

【0022】二重化ディスク片系1にデータが書き込ま
れた後、つまり二重化ディスク片系1の記録内容が更新
されると、ディスクI/O制御部3はディスクI/O制
御プロセス5により制御されて、二重化ディスク片系1
から二重化ディスク片系2へデータ伝送経路を形成す
る。そして、ディスクI/O制御プロセス5がデータの
コピーを指示し、二重化ディスク片系1から二重化ディ
スク片系2へデータがコピーされる。
After data has been written to the duplexed disk system 1, that is, when the recorded contents of the duplexed disk system 1 are updated, the disk I / O control unit 3 is controlled by the disk I / O control process 5. , Duplex disk single system 1
, A data transmission path is formed to the duplicate disk system 2. Then, the disk I / O control process 5 instructs the data copy, and the data is copied from the duplicate disk system 1 to the duplicate disk system 2.

【0023】一方、情報処理装置からこの二重化ディス
ク装置の片系ディスクI/O制御部3に、二重化ディス
ク片系1へのデータ読み出し要求があると、ディスクI
/O制御部3はディスクI/O制御プロセス5により制
御されて、情報処理装置から二重化ディスク片系1への
データ伝送経路を形成する。そして、情報処理装置のデ
ータ読み出し要求に応じたデータが二重化ディスク片系
1から読み出されてディスクI/O制御部3を通じて外
部の情報処理装置へ出力される。
On the other hand, when the information processing apparatus requests the single-system disk I / O control unit 3 of the duplex disk apparatus to read data from the dual-disk system 1, the disk I
The I / O control unit 3 is controlled by the disk I / O control process 5 to form a data transmission path from the information processing device to the duplex disk system 1. Then, data corresponding to the data read request of the information processing apparatus is read from the duplex disk unit 1 and output to the external information processing apparatus through the disk I / O control unit 3.

【0024】続いて、この二重化ディスク装置に複数の
処理が同時に発生した場合について説明する。
Next, a case where a plurality of processes occur simultaneously in the duplicate disk device will be described.

【0025】例えば情報処理装置からのデータを二重化
ディスク片系1が書き込み中に、外部のテープ装置がこ
の二重化ディスク装置のデータのオンラインバックアッ
プ処理を実行する場合、外部のテープ装置からのオンラ
インバックアップ処理の要求がディスクI/O制御プロ
セス5に発生する。
For example, when an external tape device executes an online backup process of data of the duplicated disk device while the duplicated disk device 1 is writing data from the information processing device, an online backup process from the external tape device is performed. Is generated in the disk I / O control process 5.

【0026】すると、ディスクI/O制御プロセス5に
よってディスクI/O制御部3が制御されて、データの
入出力先が切り替えられる。
Then, the disk I / O control unit 3 is controlled by the disk I / O control process 5 to switch the data input / output destination.

【0027】そして、図3に示すように、バックアップ
対象である二重化ディスク片系1に今まで送られていた
書き込みデータが変更データ記憶部4に送られるように
なり、書き込み中の残りのデータが変更データ記憶部4
に蓄積(一時退避)される。
Then, as shown in FIG. 3, the write data that has been sent so far to the dual disk unit 1 to be backed up is now sent to the modified data storage unit 4, and the remaining data being written is Change data storage unit 4
Is stored (temporarily saved).

【0028】このデータ伝送経路の変更により、書き込
み状態から解放された二重化ディスク片系1からオンラ
インバックアップ用のデータが外部のテープ装置へ送ら
れてデータがバックアップされる。
Due to the change of the data transmission path, the data for online backup is sent from the duplex disk system 1 released from the write state to the external tape device, and the data is backed up.

【0029】次に、オンラインバックアップ直後の動作
について説明する。
Next, the operation immediately after the online backup will be described.

【0030】二重化ディスク片系1のデータのオンライ
ンバックアップが終了すると、ディスクI/O制御プロ
セス5は、ディスクI/O制御部3を制御して、データ
の入出力先を切り替える。
When the online backup of the data of the dual disk system 1 is completed, the disk I / O control process 5 controls the disk I / O control unit 3 to switch the data input / output destination.

【0031】そして、図4に示すように、変更データ記
憶部4に一時退避された残りのデータを二重化ディスク
片系1へ書き込む。
Then, as shown in FIG. 4, the remaining data temporarily saved in the changed data storage unit 4 is written to the dual disk unit 1.

【0032】変更データ記憶部4からのデータを二重化
ディスク片系1へ書き込み中に、外部の情報処理装置な
どからディスクI/O制御部3に二重化ディスク片系1
に対するデータの読み出し要求が発生すると、二重化デ
ィスク片系1が既にデータの書き込み処理中であるた
め、ディスクI/O制御部3は、読み出し要求に対して
データI/Oを非バックアップ対象である二重化ディス
ク片系2へ切り替え、二重化ディスク片系2からデータ
を読み出す。なお、初めから二重化ディスク片系2に対
するデータの読み出し要求であれば、その通りに二重化
ディスク片系2からデータを読み出す。また、二重化デ
ィスク片系2に対するデータの書き込み要求であれば、
その通りに二重化ディスク片系2にデータが書き込まれ
る。
While the data from the changed data storage unit 4 is being written to the duplexed disk unit 1, the disk I / O control unit 3 sends it to the disk I / O control unit 3 from an external information processing device or the like.
When the data read request is issued, the disk I / O control unit 3 responds to the read request, and the disk I / O control unit 3 sets the data I / O to a non-backup target Switch to the disk system 2 and read data from the duplicated disk system 2. If a data read request is issued to the duplicate disk system 2 from the beginning, the data is read from the duplicate disk system 2 as it is. In addition, if the request is for writing data to the dual disk system 2,
Data is written to the duplex disk system 2 as it is.

【0033】また、変更データ記憶部4から残りのデー
タを二重化ディスク片系1へ書き込み中に、外部のテー
プ装置からディスクI/O制御部3に二重化ディスク片
系1に対するデータのバックアップ要求があると、二重
化ディスク片系1が処理中であるため、ディスクI/O
制御プロセス5はディスクI/O制御部3を制御してF
IFO機能を有する変更データ記憶部4に順次データを
流し、これにより、変更データ記憶部4は、残りのデー
タを二重化ディスク片系1へ読み出しながら、新たに入
力されたデータを自身に書き込む。
Further, while the remaining data is being written from the changed data storage unit 4 to the duplexed disk unit 1, there is a request from the external tape device to the disk I / O control unit 3 for data backup to the duplexed disk unit 1. And the disk I / O because the dual disk 1 is being processed.
The control process 5 controls the disk I / O control unit 3 to
The data is sequentially passed to the changed data storage unit 4 having the IFO function, whereby the changed data storage unit 4 writes the newly input data to itself while reading the remaining data to the dual disk unit 1.

【0034】つまり、図5に示すように、変更データ記
憶部4には、オンラインバックアップ中の書き込み要求
データが符号Aの位置にFIFOキューの形で格納さ
れ、またバックアップ後の書き込み要求データが符号B
の位置にFIFOキューの追加格納の形で格納される。
That is, as shown in FIG. 5, in the changed data storage unit 4, the write request data during online backup is stored in the form of a FIFO queue at the position of code A, and the write request data after backup is stored in code. B
Is stored in the form of additional storage in the FIFO queue.

【0035】そして、残りのデータが二重化ディスク片
系1へすべて読み出されると、ディスクI/O制御プロ
セス5によりディスクI/O制御部5が制御されて入出
力先がバックアップ以前の入出力先に戻されて、データ
の流れは図2のようになり、元の状態でシステムの運用
が続けられる。
When all of the remaining data has been read out to the duplicated disk unit 1, the disk I / O control unit 5 controls the disk I / O control unit 5 so that the input / output destination becomes the input / output destination before the backup. Returning, the data flow becomes as shown in FIG. 2, and the operation of the system is continued in the original state.

【0036】つまり、オンラインバックアップ処理中で
は、バックアップ対象である二重化ディスク片系1への
書き込みデータは変更データ記憶部4にFIFOキュー
の形で蓄積(一時退避)される。また、二重化ディスク
片系1に対するデータの読み出し要求については、外部
のテープ装置からバックアップされるデータのみが読み
出し許可され、それ以外の読み出し要求は非バックアッ
プ対象である二重化ディスク片系2で処理される。な
お、二重化ディスク片系2へのデータの読み出しおよび
書き込み要求は通常通り処理される。
That is, during the online backup processing, the data to be written to the dual disk system 1 to be backed up is accumulated (temporarily saved) in the changed data storage unit 4 in the form of a FIFO queue. As for a data read request to the dual disk unit 1, only data that is backed up from an external tape device is permitted to be read, and other read requests are processed by the non-backup target disk unit 2. . Note that data read and write requests to the dual disk system 2 are processed normally.

【0037】このようにこの実施形態の二重化ディスク
装置によれば、外部の情報処理装置からデータを二重化
ディスク片系1が書き込み中に、外部のテープ装置がこ
の二重化ディスク片系1のデータをオンラインバックア
ップするときは、書き込み中の残りのデータを変更デー
タ記憶部4に退避させて、オンラインバックアップ終了
後に、退避させた残りのデータを二重化ディスク片系1
へ書き込むので、二重化ディスク片系1への書き込みお
よび読み出しを停止または妨げることなく、かつディス
クI/Oの競合を発生させることなく、高速にオンライ
ンバックアップを実施することができ、バックアップ時
間を短縮できる。また、オンラインバックアップ終了後
に、バックアップ中の変更データ差分のみをバックアッ
プ対象の二重化ディスク片系1へ書き込むので、バック
アップ対象を高速に復元できる。一方、外部のテープ装
置が二重化ディスク片系1のデータをオンラインバック
アップ中に、外部の情報処理装置からデータの読み出し
要求があると、そのデータは二重化ディスク片系2から
読み出される。また同様にオンラインバックアップ中
に、外部の情報処理装置からデータの書き込み要求があ
ると、書き込み要求のあったデータは変更データ記憶部
4に蓄積されると共に、オンラインバックアップ終了後
に変更データ記憶部4から二重化ディスク片系1へデー
タが書き込まれる。
As described above, according to the duplexed disk device of this embodiment, while the data is being written from the external information processing device to the duplexed disk system 1, the external tape device sends the data of the duplexed disk system 1 online. When backing up, the remaining data being written is backed up to the changed data storage unit 4, and after the online backup is completed, the backed up remaining data is transferred to the dual disk unit 1
Therefore, online backup can be performed at high speed without stopping or hindering writing and reading to and from the dual disk unit system 1 and without causing disk I / O contention, and the backup time can be reduced. . Further, after the online backup is completed, only the changed data difference during the backup is written to the dual disk unit 1 to be backed up, so that the backed up object can be restored at high speed. On the other hand, when an external tape device makes a data read request from an external information processing device during online backup of data of the dual disk system 1, the data is read from the dual disk system 2. Similarly, if there is a data write request from an external information processing device during an online backup, the data requested to be written is stored in the changed data storage unit 4 and, after the online backup, the changed data storage unit 4 Data is written to the duplex disk system 1.

【0038】これにより、二重化ディスク装置へのディ
スクI/Oを妨げることなく、ディスクの競合を減ら
し、オンラインバックアップを高速に実行できる。
As a result, the contention of the disks can be reduced and the online backup can be executed at high speed without interrupting the disk I / O to the duplicated disk device.

【0039】[0039]

【発明の効果】以上説明したように本発明によれば、デ
ータを一時的に退避させておく退避手段を設け、バック
アップ対象の第1のディスク片系と非バックアップ対象
の第2のディスク片系と退避手段との機能の違いでデー
タの流れを変えることにより、システム運用中に外部の
バックアップ装置からバックアップが行われるときやそ
の逆のときなどに、二重化ディスク装置の通常のシステ
ム運用を妨げることなく、バックアップ処理を高速に実
行することができる。
As described above, according to the present invention, a saving means for temporarily saving data is provided, and a first disk piece system to be backed up and a second disk piece system not to be backed up are provided. By changing the flow of data by the difference between the function of the backup disk and the backup unit, the normal system operation of the redundant disk unit is prevented when backup is performed from an external backup device during system operation or vice versa. And the backup process can be executed at high speed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一つの実施形態の二重化ディスク装置
の構成を示す図。
FIG. 1 is a diagram showing a configuration of a duplex disk device according to one embodiment of the present invention.

【図2】この二重化ディスク装置において通常の運用動
作を示す図。
FIG. 2 is a diagram showing a normal operation operation in the duplex disk device.

【図3】この二重化ディスク装置においてオンラインバ
ックアップ中の動作を示す図。
FIG. 3 is a diagram showing an operation during online backup in the redundant disk device.

【図4】この二重化ディスク装置においてバックアップ
直後の動作を示す図。
FIG. 4 is a diagram showing an operation immediately after backup in the duplex disk device.

【図5】この二重化ディスク装置の変更データ記憶部の
データ格納状況を示す図。
FIG. 5 is a diagram showing a data storage state of a changed data storage unit of the duplex disk device.

【符号の説明】[Explanation of symbols]

1…バックアップ対象の二重化ディスク片系、2…非バ
ックアップ対象の二重化ディスク片系、3…ディスクI
/O制御部、4…変更データ記憶部、5…ディスクI/
O制御プロセス。
1. Duplicated disk single system to be backed up 2: Duplicated disk single system not to be backed up 3: Disk I
/ O control unit, 4 ... change data storage unit, 5 ... disk I /
O control process.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1のディスク片系と第2のディスク片
系とを二重化して構成され、前記第1及び第2のディス
ク片系が他からの要求に応じてデータの書き込みまたは
読み出しを実行する中で、外部のバックアップ装置が前
記第1または第2のディスク片系いずれかに記録された
データをバックアップする二重化ディスク装置におい
て、 前記第1及び第2のディスク片系が共にデータを処理中
に、前記外部のバックアップ装置からバックアップが行
われた場合、処理中のデータを退避する退避手段と、 前記退避手段により退避されたデータをバックアップ終
了後にデータ処理の途中であった前記第1または第2の
ディスク片系いずれかへ書き込む制御手段とを具備した
ことを特徴とする二重化ディスク装置。
1. A system in which a first disk segment and a second disk segment are duplicated, and the first and second disk segments write or read data according to a request from another. During execution, in a duplicated disk device in which an external backup device backs up data recorded on either the first or second disk fragment, the first and second disk fragments both process data. During the backup from the external backup device during the backup, the evacuation means for evacuation of the data being processed, and the first or And a control unit for writing data to any one of the second disk segments.
【請求項2】 第1のディスク片系と第2のディスク片
系とを二重化して構成され、前記第1及び第2のディス
ク片系が他からの要求に応じてデータの書き込みまたは
読み出しを実行する中で、外部のバックアップ装置が前
記第1または第2のディスク片系いずれかに記録された
データをバックアップする二重化ディスク装置におい
て、 少なくとも前記第1のディスク片系が他からのデータの
書き込み中に、前記外部のバックアップ装置が前記第1
のディスク片系のデータをバックアップする場合、前記
第1のディスク片系が書き込み中のデータの残りのデー
タを退避する退避手段と、 前記退避手段により退避された前記残りのデータをバッ
クアップ終了後に前記第1のディスク片系へ書き込む制
御手段とを具備したことを特徴とする二重化ディスク装
置。
2. A system in which a first disk system and a second disk system are duplicated, and the first and second disk systems write or read data according to a request from another. During execution, in a duplicated disk device in which an external backup device backs up data recorded on either the first or second disk device, at least the first disk device writes data from another device. In the meantime, the external backup device is connected to the first
When backing up data of the disk fragment system, the first disk fragment system saves the remaining data of the data being written, and saves the remaining data saved by the saving device after the backup is completed. And a control means for writing data to the first disk piece system.
【請求項3】 第1のディスク片系と第2のディスク片
系とを二重化して構成され、前記第1及び第2のディス
ク片系が他からの要求に応じてデータの書き込みまたは
読み出しを実行する中で、外部のバックアップ装置が前
記第1または第2のディスク片系いずれかに記録された
データをバックアップする二重化ディスク装置におい
て、 前記外部のバックアップ装置が前記第1のディスク片系
のデータをバックアップしているときに、前記第1のデ
ィスク片系に対して他からデータの書き込み要求があっ
た場合、前記バックアップ中のデータの読み出し対象を
前記第2のディスク片系へ切り替えると共に、前記書き
込み要求のあった他からのデータを前記第1のディスク
片系へ書き込む制御手段とを具備したことを特徴とする
二重化ディスク装置。
3. A system in which a first disk system and a second disk system are duplicated, and the first and second disk systems write or read data according to a request from another. In execution, in a duplicated disk device in which an external backup device backs up data recorded on one of the first and second disk pieces, the external backup device may store the data of the first disk piece. If there is another data write request to the first disk segment while backing up, the data to be read during the backup is switched to the second disk segment and Control means for writing data from the other disk which has received a write request to the first disk system. Location.
JP10019271A 1998-01-30 1998-01-30 Duplex disk device Pending JPH11212729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10019271A JPH11212729A (en) 1998-01-30 1998-01-30 Duplex disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10019271A JPH11212729A (en) 1998-01-30 1998-01-30 Duplex disk device

Publications (1)

Publication Number Publication Date
JPH11212729A true JPH11212729A (en) 1999-08-06

Family

ID=11994792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10019271A Pending JPH11212729A (en) 1998-01-30 1998-01-30 Duplex disk device

Country Status (1)

Country Link
JP (1) JPH11212729A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220472A (en) * 2003-01-17 2004-08-05 Hitachi Ltd Data recovery method and device of external storage device
JP2006048122A (en) * 2004-07-30 2006-02-16 Ntt Docomo Inc Communication system
JP2010176512A (en) * 2009-01-30 2010-08-12 Fujitsu Ltd Storage device, storage device control method, and storage device control program
JP2013012258A (en) * 2012-10-19 2013-01-17 Fujitsu Ltd Storage device, storage device control method, and storage device control program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220472A (en) * 2003-01-17 2004-08-05 Hitachi Ltd Data recovery method and device of external storage device
JP2006048122A (en) * 2004-07-30 2006-02-16 Ntt Docomo Inc Communication system
JP2010176512A (en) * 2009-01-30 2010-08-12 Fujitsu Ltd Storage device, storage device control method, and storage device control program
JP2013012258A (en) * 2012-10-19 2013-01-17 Fujitsu Ltd Storage device, storage device control method, and storage device control program

Similar Documents

Publication Publication Date Title
JP3694273B2 (en) Data processing system having multipath I / O request mechanism
JPH10198607A (en) Data multiplexing system
JP2710195B2 (en) Storage controller
JP2000187608A (en) Storage device sub-system
JPH0452743A (en) Control system for duplex external storage
JPH11212729A (en) Duplex disk device
JPH0667811A (en) Multiplexed disk control device
JPH07121310A (en) Hard disk storage device
JPH04311219A (en) Data backup system
JP3411451B2 (en) Disk array device
JP2001014112A (en) Disk subsystem and remote copying method
JPH07281933A (en) Computer system
JP2005316697A (en) Disk array system and method for data backup
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JP2701739B2 (en) Processor switching method
JPH10293656A (en) Disk storage system and duplexing method applied to the storage system
JPH09265359A (en) Disk array system and its control method
JP2000099274A (en) Buffering system
JPH11175261A (en) Control method for disk
JPH07168673A (en) Dual system device
JP3463696B2 (en) Online garbage collection processing method
JP2004164171A (en) Path redundancy device and method
JPH0635621A (en) Dual disk storage device having dual restoring function
JP2002222063A (en) Disk array device and its data restoring method
JP2001175422A (en) Disk array device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080812