JPH01128122A - Control system for volume dynamic copying - Google Patents

Control system for volume dynamic copying

Info

Publication number
JPH01128122A
JPH01128122A JP62286848A JP28684887A JPH01128122A JP H01128122 A JPH01128122 A JP H01128122A JP 62286848 A JP62286848 A JP 62286848A JP 28684887 A JP28684887 A JP 28684887A JP H01128122 A JPH01128122 A JP H01128122A
Authority
JP
Japan
Prior art keywords
copy
input
output
volume
address
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
JP62286848A
Other languages
Japanese (ja)
Inventor
Akira Okamoto
明 岡本
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 JP62286848A priority Critical patent/JPH01128122A/en
Publication of JPH01128122A publication Critical patent/JPH01128122A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To carry out a copying process without discontinuing the processes to the input/output requests except for the copy input/output under processing by controlling those processes to said input/output requests after dividing these processes into a copy end area, an under-copy area, and an unfinished copy area respectively. CONSTITUTION:A volume copy process is started to a separated volume 13 from a normal volume 12 so that the volume 13 is incorporated for duplication of a volume. In such a case, a copy start means 1 initializes a copy control table 6 and starts a copy process means 3. The means 3 controls the processes to the input/output requests except the copy input/output under processing against the volume 13 after dividing those processes into a copy end area, an under-copy area, and an unfinished copy area. Thus it is possible to carry out the efficient volume copying process without discontinuing the processes to the input/output requests except the copy input/output under processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はボリューム動的複写制御方式に関し、特にボリ
ューム二重化制御におけるボリューム動的複写制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a volume dynamic copy control system, and particularly to a volume dynamic copy control system in volume duplication control.

〔従来の技術〕[Conventional technology]

従来、ボリューム二重化制御では、2台の磁気ディスク
装置を正のボリュームと副のボリュームとに分け、読取
り動作はどちらかのボリュームに分散して入力を実行し
、書込み動作は両方のボリュームに出力を実行し、これ
により常に正のボリュームと副のボリュームとを一致さ
せながら入出力を行い、どちらか一方のボリュームに障
害が発生した場合には障害となった一方のボリュームま
たは障害箇所を切り離して入出力処理を継続している。
Conventionally, in volume duplication control, two magnetic disk drives are divided into a primary volume and a secondary volume, read operations are distributed to one of the volumes and input is executed, and write operations are output to both volumes. As a result, input/output is performed while always matching the primary volume and secondary volume, and if a failure occurs in one of the volumes, the failed volume or the failed part is disconnected and input/output is performed. Output processing continues.

このようなボリューム二重化制御が行われているときに
障害が発生して切り離された切離しボリュームを組み込
んで再びボリュームを二重化して運用する場合には、障
害が発生していない正常ボリュームのデータを切離しボ
リュームにコピーするボリューム複写処理が必要となる
If you incorporate a detached volume that was detached due to a failure when such volume duplexing control is being performed and operate the volume again by duplicating the volume, detach the data of the normal volume in which no failure has occurred. Volume copy processing is required to copy to the volume.

従来、この種のボリューム複写処理は、コピー入出力以
外の入出力が実行されていない状況で行われていた。
Conventionally, this type of volume copy processing has been performed in a situation where no input/output other than copy input/output is being executed.

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

上述した従来のボリューム複写処理は、コピー入出力以
外の入出力が実行されていない状況で行われる必要があ
ったので、24時間運転システム等では切離しボリュー
ムを再度組み込むためには現在行われている業務を一度
縮小するかまたは停止する必要があるという欠点がある
The conventional volume copying process described above had to be performed in a situation where no input/output other than copying input/output was being executed, so in 24-hour operation systems, etc., it is currently necessary to perform the detached volume in order to reincorporate it. The disadvantage is that operations must be reduced or stopped.

本発明の目的は、上述の点に鑑み、切離しボリュームを
組み込んで再びボリュームを二重化して運用する場合の
ボリューム複写処理をコピー入出力以外の入出力の実行
を止めることなく行うことのできるボリューム動的複写
制御方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide a volume operation system that can perform volume copy processing without stopping execution of input/output other than copy input/output when a detached volume is incorporated and the volume is redundantly operated again. The purpose of this invention is to provide a comprehensive copy control system.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のボリューム動的複写制御方式は、2台の磁気デ
ィスク装置を正のボリュームと副のボリュームとに分け
て読取り動作はどちらかのボリュームに分散して入力を
実行し書込み動作は両方のボリュームに出力を実行し常
に正のボリュームと副のボリュームとを一致させながら
入出力を行いどちらか一方のボリュームに障害が発生し
た場合には障害となった一方のボリュームまたは障害と
なった一方のボリュームの障害箇所を切り離して入出力
処理を継続するボリューム二重化制御において、障害が
発生してボリューム自体または障害箇所が切り離された
切離しボリュームを組み込んで再びボリュームを二重化
して運用する場合に障害が発生していない正常ボリュー
ムを前記切離しボリュームにボリューム複写処理するた
めにコピー制御テーブルにコピー中を示すコピー状態表
示とコピーを開始するコピーアドレスとをセットしてコ
ピー開始を宣言するコピー開始手段と、このコピー開始
手段により起動されて前記コピーアドレスが示す前記正
常ボリュームのアドレスから一定量のデータを読み取っ
て前記コピーアドレスが示す前記切離しボリュームのア
ドレスから書き込み前記コピーアドレスをデータが書き
込まれた次の前記切離しボリュームのアドレスに更新し
その時点で前記コピー制御テーブルにコピー待ちが設定
されていればその旨をコピー中入出力手段に通知する処
理を繰り返して前記ボリューム複写処理を行うコピー処
理手段と、前記コピー制御テーブルに前記コピー中を示
すコピー状態表示がセットされているときにコピー入出
力以外の入出力要求についてチェックを行い前記コピー
入出力以外の入出力要求が入力要求であれば前記コピー
入出力以外の入出力要求が入力要求するデータの読取り
を前記正常ボリュームから実行し、前記コピー入出力以
外の入出力要求が出力要求であれば前記コピー入出力以
外の入出力要求が有する書込みアドレスと前記コピーア
ドレスとを比較して前記書込みアドレスが前記コピーア
ドレスよりも小さいときには前記コピー入出力以外の入
出力要求が出力要求するデータの書込みを前記正常ボリ
ュームおよび前記切離しボリュームに対して実行し、前
記書込みアドレスと前記コピーアドレスとが同一アドレ
スのときには前記コピー制御テーブルに前記コピー待ち
を設定して前記コピー処理手段からのコピー待ちが設定
されている旨の通知を受けた後に前記コピー待ちの前記
コピー入出力以外の入出力要求が出力要求するデータの
書込みを前記正常ボリュームおよび前記切離しボリュー
ムに対して実行し、前記書込みアドレスが前記コピーア
ドレスよりも大きいときには前記コピー入出力以外の入
出力要求が出力要求するデータの書込みを前記正常ボリ
ュームに対して実行する前記コピー中入出力手段とを有
する。
The volume dynamic copying control method of the present invention divides two magnetic disk devices into a primary volume and a secondary volume, reads data from one volume, executes input data, and writes data from both volumes. Execute output to the primary volume and always perform input/output while matching the secondary volume. If a failure occurs in either volume, the volume that caused the failure or the volume that caused the failure In volume duplexing control, which continues input/output processing by separating the faulty part of a volume, if a fault occurs and the volume itself or the detached volume from which the faulty part was removed is installed and the volume is redundant and operated again, the fault may occur. Copy start means for declaring the start of copying by setting a copy status display indicating that copying is in progress and a copy address at which copying is to be started in a copy control table in order to perform a volume copying process of a non-occurring normal volume to the detached volume; The copy start means is activated to read a certain amount of data from the address of the normal volume indicated by the copy address, and write a certain amount of data from the address of the detached volume indicated by the copy address. a copy processing means that performs the volume copying process by repeating a process of updating the address of the detached volume and, if copy waiting is set in the copy control table at that time, notifying the copying input/output means to that effect; When the copy status display indicating that copying is in progress is set in the copy control table, a check is made for input/output requests other than copy input/output, and if the input/output requests other than copying input/output are input requests, the copying input/output is performed. If the input/output request other than the copy input/output request is an output request, read the data requested by the input/output request other than the copy input/output from the normal volume. When the write address is smaller than the copy address by comparing with the copy address, writing of data requested to be output by an input/output request other than the copying input/output is executed to the normal volume and the detached volume, and the writing is performed. When the address and the copy address are the same address, the copy wait state is set in the copy control table, and after receiving a notification from the copy processing means that the copy wait state is set, the copy wait state is set. When an I/O request other than output writes the data requested for output to the normal volume and the detached volume, and the write address is larger than the copy address, the I/O request other than the copy I/O request is an output request. and the copying input/output means for writing data to the normal volume.

〔作用〕[Effect]

本発明のボリューム動的複写制御方式では、コピー開始
手段が障害が発生してボリューム自体または障害箇所が
切り離された切離しボリュームを組み込んで再びボリュ
ームを二重化して運用する場合に障害が発生していない
正常ボリュームを切離しボリュームにボリューム複写処
理するためにコピー制御テーブルにコピー中を示すコピ
ー状態表示とコピーを開始するコピーアドレスとをセ・
2トしてコピー開始を宣言し、コピー処理手段がコピー
開始手段により起動されてコピーアドレスが示す正常ボ
リュームのアドレスから一定量のデータを読み取ってコ
ピーアドレスが示す切離しボリュームのアドレスから書
き込みコピーアドレスをデータが書き込まれた次の切離
しボリュームのアドレスに更新しその時点でコピー制御
テーブルにコピー待ちが設定されていればその旨をコピ
ー中入出力手段に通知する処理を繰り返してボリューム
複写処理を行い、コピー中入出力手段がコピー制御テー
ブルにコピー中を示すコピー状態表示がセットされてい
るときにコピー入出力以外の入出力要求についてチェッ
クを行いコピー入出力以外の入出力要求が入力要求であ
ればコピー入出力以外の入出力要求が人力要求するデー
タの読取りを正常ボリュームから実行し、コピー入出力
以外の入出力要求が出力要求であればコピー入出力以外
の入出力要求が有する書込みアドレスとコピーアドレス
とを比較して書込みアドレスがコピーアドレスよりも小
さいときにはコピー入出力以外の入出力要求が出力要求
するデータの書込みを正常ボリュームおよび切離しボリ
ュームに対して実行し、書込みアドレスとコピーアドレ
スとが同一アドレスのときにはコピー制御テーブルにコ
ピー待ちを設定してコピー処理手段からのコピー待ちが
設定されている旨の通知を受けた後にコピー待ちのコピ
ー入出力以外の入出力要求が出力要求するデータの書込
みを正常ボリュームおよび切離しボリュームに対して実
行し、書込みアト°レスがコピーアドレスよりも大きい
ときにはコピー入出力以外の入出力要求が出力要求する
データの書込みを正常ボリュームに対して実行する。
In the volume dynamic copy control method of the present invention, when a failure occurs in the copy start means and the volume itself or a detached volume from which the failure part has been separated is installed and the volume is redundant and operated again, no failure occurs. In order to detach a normal volume and copy the volume to the volume, set the copy status display indicating that copying is in progress and the copy address to start copying in the copy control table.
2 to declare the start of copying, the copy processing means is activated by the copy start means, reads a certain amount of data from the address of the normal volume indicated by the copy address, and writes the copy address from the address of the detached volume indicated by the copy address. The volume copying process is performed by updating the address of the next detached volume to which data has been written, and repeating the process of notifying the input/output unit during copying if copy waiting is set in the copy control table at that time. The copying input/output means checks for input/output requests other than copying input/output when the copy status display indicating that copying is in progress is set in the copy control table, and if the input/output request other than copying input/output is an input request. If an input/output request other than copy input/output manually requests reading of data from a normal volume, and if the input/output request other than copy input/output is an output request, the write address and copy that the input/output request other than copy input/output has If the write address is smaller than the copy address, the data requested by the I/O request other than copy I/O is written to the normal volume and the detached volume, and the write address and copy address are the same. In the case of an address, after setting copy waiting in the copy control table and receiving notification from the copy processing means that copy waiting is set, write data that is requested for output by an input/output request other than copy input/output that is waiting for copy. is executed on the normal volume and the detached volume, and when the write address is larger than the copy address, writing of data requested for output by an input/output request other than copy input/output is executed on the normal volume.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例のボリューム動的複写制御
方式の構成を示すブロック図である。本実施例のボリュ
ーム動的複写制御方式は、コピー開始手段1と、コピー
中入出力手段2と、コピー処理手段3と、コピー制御テ
ーブル6と、コピー入出力以外の入出力要求10と、正
常ボリューム12と、切離しボリューム13とから構成
されている。
FIG. 1 is a block diagram showing the configuration of a volume dynamic copy control system according to an embodiment of the present invention. The volume dynamic copy control method of this embodiment includes a copy start means 1, an input/output means 2 during copying, a copy processing means 3, a copy control table 6, an input/output request 10 other than copy input/output, and a normal It consists of a volume 12 and a detached volume 13.

コピー処理手段3は、コピー人力手段4と、コピー出力
手段5とを含んで構成されている。
The copy processing means 3 includes a copy manual means 4 and a copy output means 5.

コピー制御テーブル6は、コピー状態表示領域7と、コ
ピーアドレス領域8と、コピー待ち■10キュー領域9
とから構成されている。
The copy control table 6 includes a copy status display area 7, a copy address area 8, and a copy waiting queue area 9.
It is composed of.

コピー人出力以外の入出力要求10は、入力要求の場合
には読取りアドレス(図示せず)を含み、出力要求の場
合には書込みアドレス11を含んでいる。
An input/output request 10 other than a copyer output includes a read address (not shown) in the case of an input request, and a write address 11 in the case of an output request.

次に、このように構成された本実施例のボリューム動的
複写制御方式の動作について説明する。
Next, the operation of the volume dynamic copy control system of this embodiment configured as described above will be explained.

ボリューム二重化制御において、一方のボリュームに障
害が発生して障害が発生したボリュームが切り離され、
障害が発生していない正常ボリューム12のみに対して
入出力が実行されているものとする。
In volume duplication control, if a failure occurs in one of the volumes, the failed volume is separated,
It is assumed that input/output is performed only to the normal volume 12 in which no failure has occurred.

障害の回復したボリュームあるいは障害の発生したボリ
ュームに代替するボリュームである切離しボリューム1
3を組み込んで再びボリュームを二重化して運用するた
めに正常ボリューム12から切離しボリューム13への
ボリューム複写処理を開始するにあたって、コピー開始
手段1は、コピー制御テーブル6のコピー状態表示領域
7にコピー中を示すコピー状態表示を、コピーアドレス
領域8にコピー元の正常ボリューム12のコピ’Ii:
 開始スるアドレス(コピー先の切離しボリューム13
のアドレスも同値)を示すコピーアドレスをそれぞれセ
ットすることにより、コピー制御テーブル6の初期化お
よびコピー開始の宣言を行ってコピー処理手段3を起動
する。
Detached volume 1, which is a volume from which a failure has been recovered or a volume to replace the volume in which a failure has occurred.
When starting the volume copying process from the normal volume 12 to the detached volume 13 in order to incorporate Volume 3 and operate the volume again with duplication, the copy starting means 1 displays the copying status display area 7 of the copy control table 6. A copy status display indicating the copy of the copy source normal volume 12 is displayed in the copy address area 8.
Start address (copy destination detached volume 13)
By setting the copy addresses indicating the same values), the copy control table 6 is initialized and the copy start is declared, and the copy processing means 3 is activated.

コピー開始手段lによってコピー制御テーブル6のコピ
ー状態表示領域7にコピー中を示すコピー状態表示がセ
ットされてコピー開始が宣言されると、以降、コピー中
入出力手段2は、コピー人出力以外の入出力要求10を
全てチェックし、コピー人出力以外の入出力要求10が
出力要求でかつ書込みアドレス11とコピー制御テーブ
ル6のコピーアドレス領域8にセットされているコピー
処理中スとが同一アドレスであれば、コピー人出力以外
の入出力要求10をコピー制御テーブル6のコピー待ち
I10キュー領域9に保留する。
When the copy start means 1 sets a copy status display indicating that copying is in progress in the copy status display area 7 of the copy control table 6 and declares the start of copying, from then on, the copy input/output means 2 outputs data other than output from the copying person. All input/output requests 10 are checked, and if the input/output requests 10 other than the copy person output are output requests, and the write address 11 and the copy processing status set in the copy address area 8 of the copy control table 6 are the same address. If so, the input/output requests 10 other than the copy person's output are held in the copy waiting I10 queue area 9 of the copy control table 6.

一方、コピー開始手段1によって起動されたコピー処理
手段3は、コピー人力手段4に対してコピー人力開始を
指示する。
On the other hand, the copy processing means 3 activated by the copy start means 1 instructs the manual copy means 4 to start manual copying.

コピー処理手段3からコピー人力開始を指示されたコピ
ー人力手段4は、コピー制御テーブル6のコピーアドレ
ス領域8を参照してコピーアドレス領域8にセットされ
ているコピーアドレスが示す正常ボリューム12のアド
レスから一定量のデータを読み取る。
The manual copying means 4, which has been instructed by the copying processing means 3 to manually start copying, refers to the copy address area 8 of the copy control table 6 and starts from the address of the normal volume 12 indicated by the copy address set in the copy address area 8. Read a certain amount of data.

コピー人力手段4が正常ボリューム12から一定量のデ
ータの読取りを終了すると、コピー処理手段3は、コピ
ー出力手段5に対してコピー出力開始を指示する。
When the copy manual means 4 finishes reading a certain amount of data from the normal volume 12, the copy processing means 3 instructs the copy output means 5 to start copy output.

コピー処理手段3からコピー出力開始を指示されたコピ
ー出力手段5は、コピー人力手段4が正常ボリューム1
2から読み取った一定量のデータを正常ボリューム12
のコピー人力を開始したアドレスと同一のアドレスから
切離しボリューム13に書き込む。
The copy output means 5 is instructed to start copy output by the copy processing means 3, and the copy output means 4 outputs the normal volume 1.
A certain amount of data read from volume 2 is transferred to normal volume 12.
The data is written to the detached volume 13 from the same address as the one at which the copy process was started.

コピー出力手段5が切離しボリューム13への一定量の
データの書込みを終了すると、コピー処理手段3は、コ
ピー制御テーブル6のコピーアドレス領域8にセットさ
れていたコピーアドレスをコピー出力手段5によってデ
ータの書込みが終了した切離しボリューム13のアドレ
スの次のアドレスに更新する。
When the copy output means 5 finishes writing a certain amount of data to the detached volume 13, the copy processing means 3 causes the copy output means 5 to transfer the copy address set in the copy address area 8 of the copy control table 6 to the data. The address of the detached volume 13 for which writing has been completed is updated to the next address.

次に、コピー処理手段3は、コピー制御テーブル6のコ
ピー待ちI10キュー領域9を参照してコピー人出力以
外の入出力要求10が保留されているか否かのチェック
を行い、保留中のコピー人出力以外の入出力要求10が
あればコピー中入出力手段2にその旨を通知した後にコ
ピー人出力手段4にコピー人力開始を指示し、保留中の
コピー人出力以外の入出力要求10がなければ引き続き
コピー人力手段4にコピー人力開始を指示する。
Next, the copy processing means 3 refers to the copy waiting I10 queue area 9 of the copy control table 6 to check whether or not an input/output request 10 other than the copy person output is pending. If there is an input/output request 10 other than output, it notifies the input/output means 2 during copying to that effect, and then instructs the copying person output means 4 to start copying manually, and if there is no pending input/output request 10 other than copying person output. Then, the manual copying means 4 is instructed to start manual copying.

次に、コピー処理手段3がコピー処理中(コピー制御テ
ーブル6のコピー状態表示領域7にコピ−中を示すコピ
ー状態表示がセットされているとき)におけるコピー中
入出力手段2のコピー入出力以外の入出力要求10に対
する制御について説明する。
Next, other than the copy input/output of the copy input/output means 2 while the copy processing means 3 is performing copy processing (when the copy status display indicating that copying is in progress is set in the copy status display area 7 of the copy control table 6). The control for the input/output request 10 will be explained.

コピー制御テーブル6のコピー状態表示領域7にコピー
中を示すコピー状態表示がセットされているときには、
コピー中入出力手段2は、コピー入出力以外の入出力要
求lOを全てチェックする。
When the copy status display indicating that copying is in progress is set in the copy status display area 7 of the copy control table 6,
The copying input/output means 2 checks all input/output requests IO other than copy input/output.

コピー入出力以外の入出力要求10が入力要求であれば
、コピー中入出力手段2は、コピー処理手段3によるコ
ピー処理に関係なく、コピー入出力以外の入出力要求1
0の読取リアドレスが示す正常ボリューム12のアドレ
スからデータを読み取る。
If the input/output request 10 other than copy input/output is an input request, the copying input/output means 2 will respond to the input/output request 1 other than copy input/output regardless of the copy processing by the copy processing means 3.
Data is read from the address of the normal volume 12 indicated by the read read address of 0.

コピー入出力以外の入出力要求10が出力要求であれば
、コピー中入出力手段2は、コピー制御テーブル6のコ
ピーアドレス領域8を参照して、コピー入出力以外の入
出力要求10が有する書込みアドレス11とコピーアド
レス領域8にセットされているコピーアドレスとを比較
する。
If the input/output request 10 other than copy input/output is an output request, the copying input/output means 2 refers to the copy address area 8 of the copy control table 6 and writes the input/output request 10 other than copy input/output. The address 11 is compared with the copy address set in the copy address area 8.

書込みアドレス11がコピーアドレスより小さい場合に
は、正常ボリューム12から切離しボリューム13への
データのコピー処理がすでに完了したコピー完了領域内
のアドレスに対してデータの書込みを要求する出力要求
であるから、コピー中入出力手段2は、第2図に示すよ
うに、コピー入出力以外の入出力要求10の書込みアド
レス11が示す正常ボリューム12および切離しボリュ
ーム13のアドレスにデータを書き込む。
If the write address 11 is smaller than the copy address, this is an output request to write data to an address within the copy completion area where the data copy process from the normal volume 12 to the detached volume 13 has already been completed. As shown in FIG. 2, the copying input/output means 2 writes data to the addresses of the normal volume 12 and detached volume 13 indicated by the write address 11 of the input/output request 10 other than copy input/output.

書込みアドレス11がコピーアドレスと同一のアドレス
の場合には、コピー処理を現在実行中のアドレスに対し
てデータの書込みを要求する出力要求であるから、コピ
ー中入出力手段2は、第3図に示すように、コピー入出
力以外の入出力要求10をコピー制御テーブル6のコピ
ー待ちI10キュー領域9に保留する。
If the write address 11 is the same address as the copy address, this is an output request requesting to write data to the address where the copy process is currently being executed. As shown, input/output requests 10 other than copy input/output are held in the copy waiting I10 queue area 9 of the copy control table 6.

コピー待ちI10キュー領域9に保留されたコピー入出
力以外の入出力要求10に対する処理は、上述したよう
に現在実行中のコピー処理が次のアドレスに切り換わり
、コピー処理手段3によってコピー待ちI10キュー領
域9にコピー人出力板外の入出力要求10が保留されて
いる旨を通知されたときにコピー中入出力手段2によっ
て実行される。コピー処理手段3からコピー待ちI10
キュー領域9にコピー入出力以外の入出力要求IOが保
留されている旨を通知された時点ではコピー待ちI10
キュー領域9に保留されているコピー入出力以外の入出
力要求10が有する書込みアドレス11はコピー完了領
域内のアドレスとなっているので、コピー中入出力手段
2は、第2図で説明したコピー完了領域内のアドレスに
対するデータの書込みを実行した場合と同様にしてコピ
ー入出力以外の入出力要求]Oを実行する。
Processing for the input/output request 10 other than the copy input/output held in the copy waiting I10 queue area 9 is performed by switching the currently executing copy process to the next address as described above, and transferring the processing to the copy waiting I10 queue by the copy processing means 3. This is executed by the copying input/output means 2 when the area 9 is notified that the input/output request 10 outside the copy person output board is pending. Waiting for copy I10 from copy processing means 3
When it is notified that an input/output request other than copy input/output is pending in the queue area 9, the copy waiting I10
Since the write address 11 of the input/output request 10 other than the copy input/output pending in the queue area 9 is an address within the copy completion area, the copying input/output means 2 can perform the copy operation described in FIG. An input/output request other than copy input/output]O is executed in the same way as when writing data to an address in the completion area.

書込みアドレス11がコピーアドレスより大きい場合に
は、コピー処理が完了していないコピー未完了領域内の
アドレスに対してデータの書込みを要求するコピー入出
力以外の入出力要求10であるから、コピー中入出力手
段2は、第4図に示すように、コピー入出力以外の入出
力要求10の書込みアドレス11が示す正常ボリューム
12のアドレスにデータを書き込む。
If the write address 11 is larger than the copy address, it is an input/output request 10 other than copy input/output that requests writing of data to an address in the uncompleted copy area where the copy process has not been completed, so the copying is in progress. As shown in FIG. 4, the input/output means 2 writes data to the address of the normal volume 12 indicated by the write address 11 of the input/output request 10 other than copy input/output.

書込みアドレス11が複数でコピーアドレスより小さい
ものとコピーアドレスより大きいものとの両方がある場
合には、コピー中入出力手段2は、第5図に示すように
、書込みアドレス11がコピーアドレスより小さいもの
については第2図で説明した場合と同様に正常ボリュー
ム12および切離しボリューム13に対してデータを書
き込み、書込みアドレス11がコピーアドレスよりも大
きいものについては第4図で説明した場合と同様に正常
ボリューム12のみに対してデータを書き込む。
If there are multiple write addresses 11, one smaller than the copy address and the other larger than the copy address, the input/output means 2 during copying is configured so that the write address 11 is smaller than the copy address, as shown in FIG. Data is written to the normal volume 12 and detached volume 13 in the same way as explained in FIG. Data is written only to volume 12.

コピー処理手段3によるコピー処理が繰り返され、コピ
ー処理が正常ボリューム12および切離しボリューム1
3の最後のアドレスまで実行されると、コピー処理手段
3は、コピー制御テーブル6のコピー状態表示領域7に
コピー終了を示すコピー状態表示を宣言してボリューム
複写処理を完了する。
The copy processing by the copy processing means 3 is repeated, and the copy processing is performed on the normal volume 12 and the detached volume 1.
When the volume copy processing has been executed up to the last address of No. 3, the copy processing means 3 declares a copy state display indicating the completion of copying in the copy state display area 7 of the copy control table 6, and completes the volume copy processing.

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

以上説明したように本発明は、ボリュームを再び二重化
するために正常ボリュームから切離しボリュームへのコ
ピー処理中のコピー入出力以外の入出力要求に対する処
理をコピー完了領域、コピー中の領域およびコピー未完
了領域に分けて制御することにより、コピー処理中にコ
ピー人出力以外の入出力要求に対する処理を止めること
なくかつ効率的にボリューム複写処理を実行することが
できるという効果がある。
As explained above, the present invention provides processing for input/output requests other than copy input/output during copy processing from a normal volume to a detached volume in order to duplicate a volume again. By controlling the areas separately, there is an effect that the volume copying process can be executed efficiently without stopping processing for input/output requests other than the copying person's output during the copying process.

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

第1図は本発明の一実施例のボリューム動的複写制御方
式の構成を示すブロック図、 第2図は第1図中のコピー中入出力手段におけるコピー
完了領域のアドレスを示すコピー人出力以外の出力要求
に対する処理を説明するための図、第3図は第1図中の
コピー中入出力手段におけるコピー中の領域のアドレス
を示すコピー人出力以外の出力要求に対する処理を説明
するための図、第4図は第1図中のコピー中入出力手段
におけるコピー未完了領域のアドレスを示すコピー人出
力以外の出力要求に対する処理を説明するための図、 第5図は第1図中のコピー中入出力手段におけるコピー
完了領域およびコピー未完了領域のアドレスを示すコピ
ー人出力以外の出力要求に対する処理を説明するための
図である。 図において、 1・・・コピー開始手段、 2・・・コピー中入出力手段、 3・・・コピー処理手段、 4・・・コピー人力手段、 5・・・コピー出力手段、 6・・・コピー制御テーブル、 7・・・コピー状態表示領域、 8・・・コピーアドレス領域、 9・・・コピー待ちI10キュー領域、10・・・コピ
ー人出力以外の入出力要求、11・・・書込みアドレス
、 12・・・正常ボリューム、 13・・・切離しボリュームである。
FIG. 1 is a block diagram showing the configuration of a volume dynamic copy control system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the address of the copy completion area in the copying input/output means shown in FIG. FIG. 3 is a diagram for explaining the processing for output requests other than the copying person output, which shows the address of the area being copied in the copying input/output means in FIG. 1. , FIG. 4 is a diagram for explaining the processing for an output request other than the copy person output indicating the address of the uncompleted area of the copying input/output means in the copying input/output means in FIG. 1, and FIG. FIG. 6 is a diagram for explaining processing for an output request other than a copy person output indicating addresses of a copy completed area and a copy unfinished area in an intermediate input/output unit. In the figure, 1... Copy start means, 2... Copy input/output means, 3... Copy processing means, 4... Manual copy means, 5... Copy output means, 6... Copy Control table, 7... Copy status display area, 8... Copy address area, 9... Copy waiting I10 queue area, 10... Input/output requests other than copy person output, 11... Write address, 12... Normal volume, 13... Detached volume.

Claims (1)

【特許請求の範囲】 2台の磁気ディスク装置を正のボリュームと副のボリュ
ームとに分けて読取り動作はどちらかのボリュームに分
散して入力を実行し書込み動作は両方のボリュームに出
力を実行し常に正のボリュームと副のボリュームとを一
致させながら入出力を行いどちらか一方のボリュームに
障害が発生した場合には障害となった一方のボリューム
または障害となった一方のボリュームの障害箇所を切り
離して入出力処理を継続するボリューム二重化制御にお
いて、 障害が発生してボリューム自体または障害箇所が切り離
された切離しボリュームを組み込んで再びボリュームを
二重化して運用する場合に障害が発生していない正常ボ
リュームを前記切離しボリュームにボリューム複写処理
するためにコピー制御テーブルにコピー中を示すコピー
状態表示とコピーを開始するコピーアドレスとをセット
してコピー開始を宣言するコピー開始手段と、 このコピー開始手段により起動されて前記コピーアドレ
スが示す前記正常ボリュームのアドレスから一定量のデ
ータを読み取って前記コピーアドレスが示す前記切離し
ボリュームのアドレスから書き込み前記コピーアドレス
をデータが書き込まれた次の前記切離しボリュームのア
ドレスに更新しその時点で前記コピー制御テーブルにコ
ピー待ちが設定されていればその旨をコピー中入出力手
段に通知する処理を繰り返して前記ボリューム複写処理
を行うコピー処理手段と、 前記コピー制御テーブルに前記コピー中を示すコピー状
態表示がセットされているときにコピー入出力以外の入
出力要求についてチェックを行い前記コピー入出力以外
の入出力要求が入力要求であれば前記コピー入出力以外
の入出力要求が入力要求するデータの読取りを前記正常
ボリュームから実行し、前記コピー入出力以外の入出力
要求が出力要求であれば前記コピー入出力以外の入出力
要求が有する書込みアドレスと前記コピーアドレスとを
比較して前記書込みアドレスが前記コピーアドレスより
も小さいときには前記コピー入出力以外の入出力要求が
出力要求するデータの書込みを前記正常ボリュームおよ
び前記切離しボリュームに対して実行し、前記書込みア
ドレスと前記コピーアドレスとが同一アドレスのときに
は前記コピー制御テーブルに前記コピー待ちを設定して
前記コピー処理手段からのコピー待ちが設定されている
旨の通知を受けた後に前記コピー待ちの前記コピー入出
力以外の入出力要求が出力要求するデータの書込みを前
記正常ボリュームおよび前記切離しボリュームに対して
実行し、前記書込みアドレスが前記コピーアドレスより
も大きいときには前記コピー入出力以外の入出力要求が
出力要求するデータの書込みを前記正常ボリュームに対
して実行する前記コピー中入出力手段と、 を有することを特徴とするボリューム動的複写制御方式
[Claims] Two magnetic disk devices are divided into a primary volume and a secondary volume, read operations are distributed to either volume and input is executed, and write operations are output to both volumes. Always perform input/output while matching the primary volume and secondary volume, and if a failure occurs in one of the volumes, disconnect the failed volume or the failed part of the failed volume. In volume duplexing control that continues input/output processing after a failure occurs, the volume itself or the failed part is detached and the detached volume is incorporated and the volume is duplexed again for operation. a copy start means for declaring the start of copying by setting a copy status display indicating that copying is in progress and a copy address at which copying is to be started in a copy control table in order to copy the volume to the detached volume; When activated, a certain amount of data is read from the address of the normal volume indicated by the copy address, and written from the address of the detached volume indicated by the copy address, and the copy address is set to the next address of the detached volume to which data is written. a copy processing unit that performs the volume copying process by repeating a process of updating and notifying a copying input/output unit of this if copy waiting is set in the copy control table at that time; When the copy status display indicating that copying is in progress is set, check is made for input/output requests other than copy input/output, and if the input/output request other than copying input/output is an input request, the input/output request other than the copying input/output is processed. reads the data requested for input from the normal volume, and if the input/output request other than the copy input/output is an output request, compare the write address possessed by the input/output request other than the copying input/output with the copy address. When the write address is smaller than the copy address, writing of data requested for output by an input/output request other than the copy input/output is executed to the normal volume and the detached volume, and the write address and the copy address are written. and are the same address, set the copy wait in the copy control table, and after receiving a notification from the copy processing means that the copy wait is set, input/output other than the copy input/output waiting for copy. Execute writing of the data requested for output by the request to the normal volume and the detached volume, and when the write address is larger than the copy address, write the data requested to be output by an input/output request other than the copy input/output. A volume dynamic copying control method, comprising: the copying input/output means executed on the normal volume.
JP62286848A 1987-11-13 1987-11-13 Control system for volume dynamic copying Pending JPH01128122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62286848A JPH01128122A (en) 1987-11-13 1987-11-13 Control system for volume dynamic copying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62286848A JPH01128122A (en) 1987-11-13 1987-11-13 Control system for volume dynamic copying

Publications (1)

Publication Number Publication Date
JPH01128122A true JPH01128122A (en) 1989-05-19

Family

ID=17709814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62286848A Pending JPH01128122A (en) 1987-11-13 1987-11-13 Control system for volume dynamic copying

Country Status (1)

Country Link
JP (1) JPH01128122A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204733A (en) * 1990-01-08 1991-09-06 Fujitsu Ltd Error countermeasure processing system for dual constitution
JPH04184639A (en) * 1990-11-20 1992-07-01 Nec Corp Dynamic copy control system for duplex file
JPH06348420A (en) * 1993-06-10 1994-12-22 Nec Corp System for restoring fault in duplex file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57141763A (en) * 1981-02-25 1982-09-02 Fuji Facom Corp Copy controlling system for multiplex volume
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system
JPS605329A (en) * 1983-06-23 1985-01-11 Fujitsu Ltd Managing system of duplex disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57141763A (en) * 1981-02-25 1982-09-02 Fuji Facom Corp Copy controlling system for multiplex volume
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system
JPS605329A (en) * 1983-06-23 1985-01-11 Fujitsu Ltd Managing system of duplex disk

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204733A (en) * 1990-01-08 1991-09-06 Fujitsu Ltd Error countermeasure processing system for dual constitution
JPH04184639A (en) * 1990-11-20 1992-07-01 Nec Corp Dynamic copy control system for duplex file
JPH06348420A (en) * 1993-06-10 1994-12-22 Nec Corp System for restoring fault in duplex file

Similar Documents

Publication Publication Date Title
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
JPH07306844A (en) Multiprocessor system and its nonstop program modifying method, and disk controller and its nonstop program modifying method
JPH05233162A (en) Data saving system and data processing system provided with maintenance function
JPH0452743A (en) Control system for duplex external storage
JPH01128122A (en) Control system for volume dynamic copying
JPH07121315A (en) Disk array
JPH01303529A (en) Invalidation system for retrial point
JPH0616258B2 (en) Duplex disk control method
JPH02266457A (en) Method for controlling execution of processing
JPH07281933A (en) Computer system
JP2650134B2 (en) Duplication volume recovery processor
JP2666426B2 (en) Duplex auxiliary storage device
JPH05204880A (en) Dual computer system
JP2004070456A (en) Data backup method, data backup device, and information processing unit
JP2664197B2 (en) Synchronization assurance processing method for duplicated volumes
JPS61208119A (en) Disk controller
JPH06139028A (en) Disk control system
JP2712819B2 (en) Dynamic copy control method for duplicated files
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JP2001229042A (en) Disk controller
JP3463696B2 (en) Online garbage collection processing method
JP2003345524A (en) Method for controlling storage controller and storage controller
JP2001175422A (en) Disk array device
JPH0635621A (en) Dual disk storage device having dual restoring function
JPH0433030A (en) Data storing system