JPH05119927A - Duplexed volume processing system - Google Patents

Duplexed volume processing system

Info

Publication number
JPH05119927A
JPH05119927A JP3279723A JP27972391A JPH05119927A JP H05119927 A JPH05119927 A JP H05119927A JP 3279723 A JP3279723 A JP 3279723A JP 27972391 A JP27972391 A JP 27972391A JP H05119927 A JPH05119927 A JP H05119927A
Authority
JP
Japan
Prior art keywords
disk
cylinder
update
update information
data
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
JP3279723A
Other languages
Japanese (ja)
Other versions
JP3226047B2 (en
Inventor
Tadashi Kumazawa
忠志 熊沢
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27972391A priority Critical patent/JP3226047B2/en
Publication of JPH05119927A publication Critical patent/JPH05119927A/en
Application granted granted Critical
Publication of JP3226047B2 publication Critical patent/JP3226047B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To acquire a final write cylinder as updated information by providing a mechanism to detect the switching of a cylinder and to record the detection as updated information at a device to control a disk device constituting duplexed volumes. CONSTITUTION:Updated information 5 and 6 concerning the respective disk devices of devices X and Y is stored in the non-volatile semiconductor memory of the disk controller, for example. A host 1 manages the volumes while duplexing them by using the disk devices of the devices X and Y, issues an SIO (input/output instruction) to the devices X and Y in the case of updating data, activates the command of a channel or a command chain and writes the data in the respective devices. In that case, the host 1 reports the number of times updating the data and the address of the update starting cylinder to the disk controller 2. The disk controller 2 updates the update information composed of the number of times for update and the update starting and ending cylinders after writing the data in the devices.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、異なるディスクボリュ
ームによりデータの二重管理を行ってデータを保護し、
システムの信頼性を高める二重化ボリューム処理システ
ムに関するものであり、特にデータの更新中に一方のデ
ィスクに障害が発生したときボリュームの迅速確実な復
旧を可能にするものである。
BACKGROUND OF THE INVENTION The present invention protects data by performing dual management of data by different disk volumes.
The present invention relates to a dual volume processing system that enhances system reliability, and in particular, enables rapid and reliable recovery of a volume when one disk fails during data update.

【0002】[0002]

【従来の技術】従来の二重化ボリューム処理システムで
は、ホストのデータ管理システム(IOS)の機能によ
り、2つのディスクの各ボリュームにそれぞれ入出力命
令(SIO)を発行して同一データを書き込み、一方の
ディスクに障害が発生しても他方のディスクのボリュー
ムにより業務を続行可能にしている。このデータの書き
込み時に、更新回数や更新したシリンダの番号等の更新
情報を記録しておき、常に最後に更新したシリンダが判
るようにしている。更新情報は、ディスクに特定のトラ
ックを設けたり、不揮発性の半導体メモリを設けるなど
して記録される。
2. Description of the Related Art In a conventional dual volume processing system, the function of a data management system (IOS) of a host issues an input / output command (SIO) to each volume of two disks to write the same data. Even if a disk fails, the volume of the other disk can continue the work. At the time of writing this data, update information such as the number of updates and the updated cylinder number is recorded so that the last updated cylinder can always be known. The update information is recorded by providing a specific track on the disc or providing a nonvolatile semiconductor memory.

【0003】図5は、このような二重化ボリューム処理
システムの構成例を示したものである。図中、1はホス
ト、2はディスク制御装置、3、4はそれぞれディスク
装置、5、6はそれぞれディスクの更新情報である。
FIG. 5 shows an example of the configuration of such a dual volume processing system. In the figure, 1 is a host, 2 is a disk controller, 3 and 4 are disk devices, and 5 and 6 are disk update information.

【0004】ホスト1は、データ更新を行う場合、ディ
スク装置3、4に対してそれぞれSIOを発行し、ディ
スク制御装置2による同一データの書き込みを実行させ
る。ホスト1は、各ディスクに対するデータ更新後にそ
の更新回数と書き込みシリンダ番号等の更新情報の記録
を行う。
When updating data, the host 1 issues SIOs to the disk devices 3 and 4, respectively, and causes the disk control device 2 to write the same data. After updating the data for each disk, the host 1 records the number of updates and update information such as the write cylinder number.

【0005】これにより、この2つのディスクの更新情
報は、更新状況が同じに保たれる。もしどちらかの更新
が失敗した場合には、2つのディスクの更新情報が異な
るため、更新回数の多い方から少ない方のディスクにそ
のシリンダをコピーしてやれば、等価性が保証できる。
As a result, the update information of the two disks is kept in the same update status. If either of the updates fails, the update information of the two disks is different, so equivalence can be guaranteed by copying the cylinder to the disk with the most or least number of updates.

【0006】ところでこの従来方式は、1つのSIOで
更新される領域が1つのシリンダ内に限られている場合
に有効なものであり、シリンダ境界を越える書き込みが
実行できないような、たとえばCKDコマンドセットな
どのチャネルコマンド体系を用いるSIOでのみ成立す
るものである(CKDコマンドセットでは、シリンダ境
界を越える書き込みの場合、次のシリンダへの位置づけ
の指示をCCW(チャネルコマンドワード)の発行によ
り与えなければならない)。
By the way, this conventional method is effective when the area to be updated by one SIO is limited to one cylinder. For example, the CKD command set in which writing beyond the cylinder boundary cannot be executed. This is true only for SIO that uses a channel command system such as (In the CKD command set, in the case of writing across a cylinder boundary, a positioning instruction to the next cylinder must be issued by issuing CCW (channel command word). Not).

【0007】しかし拡張されたチャネルコマンド体であ
るCKD−EXコマンドセットでは、WRITE UP
DATE DATA(データ更新書き込み)コマンドを
幾つかチェーンにした場合、1シリンダを越えてデータ
を更新することが許容されている。
However, in the CKD-EX command set, which is an extended channel command body, WRITE UP
When several DATE DATA (data update write) commands are chained, it is allowed to update the data beyond one cylinder.

【0008】このため前述したCKDコマンドセットで
はCCWの発行元が最終書き込みシリンダを管理可能で
あったものが、CKD−EXコマンドセットでは管理不
能となるので、障害発生時には最終書き込みシリンダが
特定できずに2つのディスクボリュームの等価性が崩れ
た場合、復旧のためには、ディスク全体をコピーする
か、あるいはエクステント(物理的に離れた記憶領域)
単位にデータをコピーする必要があった。
For this reason, although the issuer of CCW can manage the last write cylinder in the CKD command set described above, it cannot manage the last write cylinder in the CKD-EX command set. Therefore, the last write cylinder cannot be specified when a failure occurs. If the equivalence of the two disk volumes is lost, the entire disk must be copied or the extent (physically distant storage area) must be restored for recovery.
It was necessary to copy the data in units.

【0009】その結果データのコピー量が増大して、復
旧に時間がかかるという問題があった。
As a result, there has been a problem that the amount of data copied increases and it takes time to restore the data.

【0010】[0010]

【発明が解決しようとする課題】本発明は、ホストがS
IO発行時に最終書き込みシリンダを特定できない二重
化ボリューム処理システムにおいて、最終書き込みシリ
ンダを更新情報として取得可能にする手段を提供するこ
とを目的としている。
In the present invention, the host is S
It is an object of the present invention to provide means for enabling the final write cylinder to be acquired as update information in a dual volume processing system in which the final write cylinder cannot be specified when issuing IO.

【0011】[0011]

【課題を解決するための手段】本発明は、二重化ボリュ
ームを構築するディスク装置を制御するディスク制御装
置にシリンダの切替えを検出して更新情報として記録す
る機構を設けることによって、前述した課題の解決を図
るものである。
According to the present invention, the above-mentioned problems are solved by providing a disk control device for controlling a disk device forming a duplicated volume with a mechanism for detecting cylinder switching and recording it as update information. Is intended.

【0012】図1は、例示的方法で示した本発明の原理
的構成図である。図1において、1は、二重化ボリュー
ムにより処理を遂行するホストである。
FIG. 1 is a principle block diagram of the present invention shown in an exemplary manner. In FIG. 1, reference numeral 1 is a host that performs processing using a duplicated volume.

【0013】2は、ディスク制御装置である。3、4
は、二重化ボリュームが構築されるディスク装置であ
る。これらのディスク装置は、以後便宜上デバイスX、
デバイスYで表わされる。
Reference numeral 2 is a disk control device. Three and four
Is a disk device in which a duplicated volume is constructed. These disk devices will be referred to as device X,
It is represented by device Y.

【0014】5、6は、デバイスX、デバイスYの各デ
ィスク装置の更新情報であり、たとえばディスク制御装
置の不揮発性半導体メモリに記憶される。更新情報は、
更新回数と最終更新時の開始シリンダおよび終了シリン
ダの各アドレスとを含む。
Reference numerals 5 and 6 are update information of the disk devices of the device X and the device Y, which are stored in, for example, the nonvolatile semiconductor memory of the disk control device. Update information is
It includes the number of updates and each address of the start cylinder and end cylinder at the time of the last update.

【0015】7は、シリンダ切替え検出機構であり、デ
ィスク制御装置2内に設けられ、デバイスXあるいはデ
バイスYに対する連続するデータ書き込みでシリンダ切
替えが発生した場合にこれを検出する。
Reference numeral 7 denotes a cylinder switching detection mechanism, which is provided in the disk control device 2 and detects when cylinder switching occurs due to continuous data writing to the device X or the device Y.

【0016】更新情報5、6は、基本的にホスト1から
の指示によって設定、更新されるが、一部はシリンダ切
替え検出機構7によって指示され、シリンダの切替えが
検出された場合に最終シリンダアドレスが更新される。
なおホストおよびディスク制御装置はそれぞれ単数ある
いは複数であってよい。
The update information 5 and 6 are basically set and updated by an instruction from the host 1, but a part is instructed by the cylinder switching detection mechanism 7, and when cylinder switching is detected, the final cylinder address is set. Will be updated.
It should be noted that the host and the disk control device may each be single or plural.

【0017】[0017]

【作用】図1において、ホスト1は、デバイスXとデバ
イスYのディスク装置を用いてボリュームを二重化して
データを管理しており、データ更新を行う場合には、デ
バイスXとデバイスYに対してSIOを発行し、チャネ
ルのコマンドあるいはコマンドチェ−ンを起動して、そ
れぞれのデバイスにデータを書き込む。ホストは、その
際データ更新の回数と更新開始シリンダのアドレスとを
ディスク制御装置2に通知する。ディスク制御装置は、
デバイスへのデータ書き込みが終了すると、更新回数、
更新開始シリンダ、更新終了シリンダからなる更新情報
を更新する。
In FIG. 1, the host 1 manages the data by duplicating the volume by using the disk device of the device X and the device Y. SIO is issued, a channel command or command chain is activated, and data is written to each device. At that time, the host notifies the disk controller 2 of the number of data updates and the address of the update start cylinder. The disk controller is
When the data writing to the device is completed, the number of updates,
Update information consisting of an update start cylinder and an update end cylinder is updated.

【0018】前述したようにチャネルコマンド体系が1
つのSIO発行について1シリンダ内の書き込みしか認
めないものである場合には、ホストは更新対象のシリン
ダのアドレスを把握しているので、更新情報は常にデバ
イスの最終更新シリンダを示すが、チャネルコマンド体
系が1つのSIO発行についてシリンダ境界を越える書
き込みを許容するものである場合、ホストは書き込み開
始シリンダを知るのみで最終シリンダを把握することが
できない。しかし本発明では、シリンダ境界を越えた書
き込みはディスク制御装置のシリンダ切替え検出機構が
検出し、検出結果に基づき更新情報中の最終シリンダの
アドレスを更新するので、更新情報は常に書き込みの開
始シリンダと最終シリンダとを正しく示すことを可能に
する。
As described above, the channel command system is 1
If only one cylinder is permitted to write for one SIO, the host knows the address of the cylinder to be updated, so the update information always indicates the last updated cylinder of the device. Is to permit writing beyond the cylinder boundary for one SIO issue, the host cannot know the last cylinder but only the writing start cylinder. However, in the present invention, the writing beyond the cylinder boundary is detected by the cylinder switching detection mechanism of the disk controller, and the address of the last cylinder in the update information is updated based on the detection result, so the update information is always the start cylinder of writing. Allows the correct indication of the final cylinder.

【0019】たとえば、1つの二重化ボリュームを構成
するデバイスXとデバイスYのディスクに対して100
回目の更新を行い、まずデバイスXに対して書き込みを
終了し、次にデバイスYに対して書き込みを行う際にシ
ステムが停電した場合を考える。このときデバイスXに
発行されるSIOにより起動されるコマンドチェーンは
次のようなものであるとする。
For example, for the disks of device X and device Y that compose one duplex volume, 100
Consider a case where the system is out of power when the writing is finished for the device X first and then the writing is performed for the device Y after the second update. At this time, the command chain activated by the SIO issued to the device X is as follows.

【0020】DX−LR(CCHH=02.0D)−WU
D−WUD−WUD−WUD ここでDXはシークを指示するコマンド、LR(CCH
H=02.0D)は開始アドレス(シリンダ2、レコード
0D)を指示するコマンド、WUDはデータ更新書き込
み( Write Update Data)を指示するコマンドである。
WUDはレコード単位に書き込みを行い、この場合16
レコード/1トラックとすると、3度目のWUDでシリ
ンダの切替えが発生して、シリンダアドレスは2から3
に変る。シリンダ切替え検出機構7は、デバイスXの更
新の際にはこのシリンダ切替えをトラック上で最終レコ
ードの次に現われるインデックスマークを読取ったこと
により検出して、更新終了後に更新情報5に更新回数と
更新シリンダの開始アドレスおよび終了アドレスを記録
するが、デバイスYの更新の際には、シリンダの更新終
了前に停電になったものとすれば、更新情報6の書き替
えは行われない。
DX-LR (CCHH = 02.0D) -WU
D-WUD-WUD-WUD Here, DX is a command instructing seek, LR (CCH
H = 02.0D is a command for instructing a start address (cylinder 2, record 0D), and WUD is a command for instructing data update writing (Write Update Data).
WUD writes in record units, in this case 16
If record / track is set, cylinder switching occurs at the third WUD, and the cylinder address is 2 to 3
Turns into. When the device X is updated, the cylinder switching detection mechanism 7 detects this cylinder switching by reading the index mark appearing next to the last record on the track, and after the update is completed, the number of updates and the update information 5 are updated. Although the start address and the end address of the cylinder are recorded, when the device Y is updated, if the power failure occurs before the end of the cylinder update, the update information 6 is not rewritten.

【0021】この結果、デバイスXの更新情報5は『1
00回目、シリンダ2から3』となるが、デバイスYの
更新情報6は、たとえば『99回目、シリンダ4から
4』などと、前回更新時の情報のままとなる。
As a result, the update information 5 of the device X is "1".
Although it is "00th time, cylinders 2 to 3", the update information 6 of the device Y is "99th time, cylinders 4 to 4", etc. and remains the information at the time of the previous update.

【0022】停電復旧後のシステム立上げ時に、二重化
ボリュームが定義されているデバイスX,Yの更新情報
5、6が読み出されて比較される。この場合には、更新
回数の違いからX,Y両系の更新情報の等価性が崩れて
いる事が検出されるので、その差を解析することによ
り、デバイスXのシリンダ2から3の100回目の書き
込みデータをデバイスYに複写すればよいことが判り、
この複写により等価性が回復される。
When the system is started up after the power failure is restored, the update information 5 and 6 of the devices X and Y in which the duplicated volumes are defined are read and compared. In this case, the fact that the equivalence of the update information of both X and Y systems is broken is detected from the difference in the number of updates, so by analyzing the difference, the 100th time of cylinders 2 to 3 of device X It turns out that it is sufficient to copy the write data of
Equivalence is restored by this copying.

【0023】[0023]

【実施例】図2は、本発明実施例による二重化ボリュー
ム処理システムの構成図であり、図2(a) はホスト1
と、ディスク制御装置2と、デバイス“100”、デバ
イス“200”で識別されるディスク装置3、4と、更
新情報5、6、シリンダ切替え検出機構7からなるシス
テムであり、図2(b) は3つのホスト1,1′,1”
と、2つのディスク制御装置2,2′と、少なくとも4
つのディスク装置3,3′、4,4′と、更新情報5、
6、シリンダ切替え検出機構7を含むシステムの例であ
る。図2(a) のシステムは、図1に示されている原理的
構成に対応するものであり、二重化ボリューム処理シス
テムの最小構成を示す。図2(b) のシステムは(a) のシ
ステムよりも複雑な構成をもち、デバイス“100”,
“101”で識別されるディスク装置3,3′を制御す
るディスク制御装置2と、デバイス“200”,“20
1”で識別されるディスク装置4,4′を制御するディ
スク制御装置2′とをそなえ、3つのホスト1,1′,
1″がそれぞれディスク制御装置2,2′に接続され、
ディスク制御装置2,2′はそれぞれシリンダ切替え検
出機構7,7′を有して更新情報5、6を管理し、デバ
イス“100”とデバイス“200”、あるいはデバイ
ス“101”とデバイス“201”の間などで二重化ボ
リュームが構築される。以下、図2(b) のシステムを中
心に実施例を説明する。
FIG. 2 is a block diagram of a duplicated volume processing system according to an embodiment of the present invention. FIG.
2B, a disk control device 2, disk devices 3 and 4 identified by the device “100” and device “200”, update information 5 and 6, and a cylinder switching detection mechanism 7. Has three hosts 1, 1 ', 1 "
And two disk controllers 2, 2'and at least 4
One disk device 3, 3 ', 4, 4', and update information 5,
6 is an example of a system including a cylinder switching detection mechanism 7. The system of FIG. 2 (a) corresponds to the principle configuration shown in FIG. 1, and shows the minimum configuration of the duplicated volume processing system. The system of FIG. 2 (b) has a more complicated configuration than the system of (a), and the device "100",
The disk control device 2 for controlling the disk devices 3, 3'identified by "101" and the devices "200", "20"
A disk controller 2'for controlling disk devices 4, 4'identified by 1 ", and three hosts 1, 1 ',
1 ″ is connected to the disk controllers 2 and 2 ′,
The disk control devices 2 and 2'have cylinder switching detection mechanisms 7 and 7 ', respectively, and manage the update information 5 and 6, and the device "100" and device "200" or the device "101" and device "201". A redundant volume is constructed between the two. An embodiment will be described below centering on the system of FIG.

【0024】図3は、図2(b) のディスク制御装置2の
内部の実施例構成図である。なお図2(b) のディスク制
御装置2′の構成もほぼ同様であるので、説明を省略す
る。図3において、2はディスク制御装置、5は更新情
報、7はシリンダ切替え検出機構、8は更新情報5を記
憶する不揮発性メモリ、9はチャネルコマンドを解析す
るコマンド解析部、10は更新情報5を作成する更新情
報管理部である。更新情報5はホストごとに作成され、
管理されている。
FIG. 3 is a block diagram of an embodiment of the inside of the disk controller 2 of FIG. 2 (b). The configuration of the disk control device 2'of FIG. 2 (b) is almost the same, so the explanation is omitted. In FIG. 3, 2 is a disk control device, 5 is update information, 7 is a cylinder switching detection mechanism, 8 is a non-volatile memory for storing update information 5, 9 is a command analysis unit for analyzing channel commands, and 10 is update information 5. Is an update information management unit. Update information 5 is created for each host,
It is managed.

【0025】次に図4(a) および(b) に示す更新情報の
例を用いて、図2(b) および図3に示す実施例の動作を
説明する。 (1) 各ホスト1,1′,1″は、システムの立上げ時に
二重化ボリュームの使用を宣言し、ディスク制御装置
2,2′に対してホストの識別番号を要求する。 (2) 各ディスク制御装置2,2′は、ホスト1,1′,
1″からの要求に対して、それぞれ識別番号00,0
1,02を割り当てる。 (3) ホストは、以降のデバイスに書き込みを行うSIO
において、CCWの先頭に以下の2つのコマンドをチェ
ーンしてCCWを発行する。
Next, the operation of the embodiment shown in FIGS. 2 (b) and 3 will be described using the example of the update information shown in FIGS. 4 (a) and 4 (b). (1) Each host 1, 1 ', 1 "declares the use of a duplicated volume at system startup and requests the host controller's identification number from the disk controllers 2, 2'. (2) Each disk The control devices 2, 2'include the hosts 1, 1 ',
For the request from 1 ″, the identification numbers 00 and 0, respectively
Assign 1,02. (3) The host is an SIO that writes to subsequent devices
In, the CCW is issued by chaining the following two commands at the beginning of the CCW.

【0026】 SELECT HOST BUFFE
R そのホストに割り当てられたホスト識別番号をディスク
制御装置に知らせる。
SELECT HOST BUFFE
R Informs the disk controller of the host identification number assigned to the host.

【0027】 WRITE UPDATE INFO
RMATION ホストが作成した更新情報を転送し、ディスク制御装置
に記憶するよう要求する。更新情報は、書き込みが何度
目かを示す更新回数と、そのSIOで更新するシリンダ
の先頭アドレスとを含む。 (4) 図3のコマンド解析部9は、これらのコマンドを識
別すると更新情報管理部10にホスト識別番号対応の更
新情報5を作成させ、不揮発性メモリ8に記憶させる。 (5) ここでディスク制御装置2,2′内の更新情報5、
6は図4(a) に示すようになっており、ホスト“00”
からデバイス“100”とデバイス“200”に対して
45回の書き込みがあり、ホスト“01”からはデバイ
ス“100”とデバイス“200”に対して60回の書
き込みが行われた状態にある。またデバイス“100”
とデバイス“200”との間で、二重化ボリュームの最
終更新シリンダの開始アドレスと終了アドレスとはそれ
ぞれ一致している。 (6) この後、ホスト“00”から46回目の書き込みが
あり、またホスト“01”からは61回目の書き込みが
あって、それぞれデバイス“100”への更新が終了し
た時点でシステムが停電したものとする。 (7) ホスト“00”からの46回目の書き込みは、45
回目の書き込み時の最終シリンダ“003”に続くシリ
ンダ“004”から始まり、シリンダ境界を越えて次の
シリンダ“005”への書き込みとなる。このシリンダ
境界を越えるとき、図3のシリンダ切替え検出機構7に
よって検出され、更新情報管理部10は、更新情報5の
更新シリンダの終了アドレスを更新する。他方、ホスト
“01”からの61回目の書き込みは、60回目の書き
込みのときと同じ開始シリンダ“006”から終了シリ
ンダ“008”までに対して行われる。これらの書き込
みはデバイス“100”に対してのみ行われるので、図
4(b) に示すように更新情報5は更新されるが、更新情
報6は図4(a) のときと同じである。したがって、更新
情報5と更新情報6との間の等価性は失われる。 (8) この状態で停電が復旧し、システムの立上げが行わ
れると、システムのIPL時にディスク制御装置2,
2′から更新情報5、6を読み出して比較し、等価性を
チェックする。その結果により、デバイス“100”と
デバイス“200”の書き込み状況が違うことが判るの
で、デバイス“100”からデバイス“200”へ、ホ
スト“00”はシリンダ“004”から“005”ま
で、ホスト“01”はシリンダ“006”から“00
8”までをそれぞれ複写する。この複写とともに更新情
報6の内容も更新され、更新情報5との等価性が保証さ
れる。
WRITE UPDATE INFO
RMATION Transfers the update information created by the host and requests the disk controller to store it. The update information includes the number of updates indicating the number of writes and the start address of the cylinder to be updated by the SIO. (4) When the command analysis unit 9 of FIG. 3 identifies these commands, the update information management unit 10 creates the update information 5 corresponding to the host identification number and stores it in the non-volatile memory 8. (5) Here, the update information 5 in the disk controller 2, 2 ',
6 is as shown in FIG. 4 (a), and the host "00"
The device “100” and the device “200” have been written 45 times, and the host “01” has written the device “100” and the device “200” 60 times. Also the device "100"
And the device “200” have the same start address and end address of the last update cylinder of the duplicated volume. (6) After this, the host "00" has written the 46th time, and the host "01" has written the 61st time, and the system has lost power when the update to the device "100" is completed. I shall. (7) 45th write from host “00”
The writing starts from the cylinder "004" following the last cylinder "003" at the time of the writing for the first time, and the writing is performed to the next cylinder "005" across the cylinder boundary. When this cylinder boundary is crossed, it is detected by the cylinder switching detection mechanism 7 in FIG. 3, and the update information management unit 10 updates the end address of the update cylinder of the update information 5. On the other hand, the 61st write from the host “01” is performed from the same start cylinder “006” to end cylinder “008” as in the 60th write. Since these writes are performed only to the device "100", the update information 5 is updated as shown in FIG. 4B, but the update information 6 is the same as that in FIG. 4A. Therefore, the equivalence between the update information 5 and the update information 6 is lost. (8) When the power failure is restored in this state and the system is started up, the disk controller 2, when the system is IPLed.
The update information 5 and 6 are read from 2'and compared, and the equivalence is checked. From the result, it can be seen that the write statuses of the device “100” and the device “200” are different, so the device “100” to the device “200”, the host “00” to the cylinder “004” to “005”, the host "01" is cylinder "006" to "00"
Up to 8 "are copied respectively. With this copying, the contents of the update information 6 are updated, and the equivalence with the update information 5 is guaranteed.

【0028】なお、ディスク制御装置は書き込み制御情
報自体からデバイスごとの更新回数を作成し、また最終
更新シリンダの開始アドレスを取得して管理することが
できるため、(3) で述べたホストからの更新情報の転送
処理を省略しても本発明の実施が可能である。
Since the disk controller can create the number of updates for each device from the write control information itself, and can also acquire and manage the start address of the last updated cylinder, it is possible to manage from the host described in (3). The present invention can be implemented even if the update information transfer process is omitted.

【0029】[0029]

【発明の効果】本発明によれば、CKD−EXコマンド
体系などの拡張チャネルコマンド体系を用いることによ
ってホストが最終更新シリンダを特定できない場合であ
っても、ディスク制御装置側で確実に最終更新シリンダ
を検出し更新情報として記憶しているので、障害発生時
に最小限のデータ複写量で二重化ボリュームの復旧を行
うことが可能となる。
According to the present invention, even when the host cannot specify the last updated cylinder by using the extended channel command system such as the CKD-EX command system, the disk controller can surely make the last updated cylinder. Since it is detected and stored as update information, it is possible to restore the duplicated volume with a minimum amount of data copy when a failure occurs.

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

【図1】本発明の原理的構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明実施例における二重化ボリューム処理シ
ステムの構成図である。
FIG. 2 is a configuration diagram of a duplicated volume processing system according to the embodiment of this invention.

【図3】本発明のディスク制御装置の実施例構成図であ
る。
FIG. 3 is a block diagram of an embodiment of a disk control device of the present invention.

【図4】本発明実施例における更新情報の例の説明図で
ある。
FIG. 4 is an explanatory diagram of an example of update information according to the embodiment of the present invention.

【図5】従来の二重化ボリューム処理システムの構成図
である。
FIG. 5 is a configuration diagram of a conventional dual volume processing system.

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

1 ホスト 2 ディスク制御装置 3、4 ディスク装置 5、6 更新情報 7 シリンダ切替え検出機構 1 host 2 disk controller 3, 4 disk device 5, 6 update information 7 cylinder switching detection mechanism

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2つのディスクのそれぞれのボリューム
に同一データを書き込み、一方のディスクに障害が発生
した場合、他方のディスクのボリュームを使用して業務
を続行する二重化ボリューム処理システムにおいて、 上記2つのディスクのボリュームのそれぞれにおける更
新情報を記憶する不揮発性メモリと、 入出力命令の実行ごとに、更新回数と、上記2つのディ
スクのそれぞれにおける更新開始シリンダのアドレス
と、更新終了シリンダのアドレスとを更新情報として上
記不揮発性メモリに記憶する手段と、ディスクへのデー
タの書き込み中にシリンダ切替えが発生したとき、上記
更新情報中の更新終了シリンダのアドレスを書き替える
手段とをそなえ、 データの更新中に一方のディスクの書き込みに障害が発
生した場合、双方のディスクの更新情報を読み出し、比
較して、更新回数の多いディスクの更新開始シリンダと
最終シリンダとの間のデータを上記障害が発生したディ
スクに複写し、二重化ボリュームの等価性を復旧するこ
とを特徴とする二重化ボリューム処理システム。
1. A dual volume processing system, wherein the same data is written in respective volumes of two disks, and when a failure occurs in one disk, the volume of the other disk is used to continue the work. A non-volatile memory that stores update information in each of the disk volumes, and the number of updates, the update start cylinder address, and the update end cylinder address in each of the above two disks are updated each time an I / O command is executed. A means for storing the information in the nonvolatile memory as described above and a means for rewriting the address of the update end cylinder in the update information when cylinder switching occurs while writing data to the disk, and If writing to one disk fails, both The disk update information is read and compared, and the data between the update start cylinder and the last cylinder of the disk that has been updated many times is copied to the disk where the above failure occurred, and the equivalence of the duplicated volume is restored. Redundant volume processing system.
【請求項2】 請求項1において更新情報はホストごと
に設けることを特徴とする二重化ボリューム処理システ
ム。
2. The dual volume processing system according to claim 1, wherein the update information is provided for each host.
JP27972391A 1991-10-25 1991-10-25 I / O device Expired - Fee Related JP3226047B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27972391A JP3226047B2 (en) 1991-10-25 1991-10-25 I / O device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27972391A JP3226047B2 (en) 1991-10-25 1991-10-25 I / O device

Publications (2)

Publication Number Publication Date
JPH05119927A true JPH05119927A (en) 1993-05-18
JP3226047B2 JP3226047B2 (en) 2001-11-05

Family

ID=17614984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27972391A Expired - Fee Related JP3226047B2 (en) 1991-10-25 1991-10-25 I / O device

Country Status (1)

Country Link
JP (1) JP3226047B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59168558A (en) * 1983-03-15 1984-09-22 Fujitsu Ltd Converting system of address mode
JPH01118921A (en) * 1987-11-02 1989-05-11 Hitachi Ltd Control method for duplex disk
JPH0357047A (en) * 1989-07-25 1991-03-12 Nec Corp Electronic disk subsystem

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59168558A (en) * 1983-03-15 1984-09-22 Fujitsu Ltd Converting system of address mode
JPH01118921A (en) * 1987-11-02 1989-05-11 Hitachi Ltd Control method for duplex disk
JPH0357047A (en) * 1989-07-25 1991-03-12 Nec Corp Electronic disk subsystem

Also Published As

Publication number Publication date
JP3226047B2 (en) 2001-11-05

Similar Documents

Publication Publication Date Title
JPS605023B2 (en) memory system
US5828820A (en) Mirror disk control method and mirror disk device
JP2006164162A (en) Copy control device and method
JPH0237418A (en) Data matchability control system for storage device
US8688938B2 (en) Data copying
JP3226047B2 (en) I / O device
JP2005353046A (en) Recording medium, host device, and data processing method
JPH04311219A (en) Data backup system
JPH10240453A (en) Disk array device
JPH0750428B2 (en) Disk double writing controller
US20050071558A1 (en) Method and apparatus for increasing storage capacity in a disk array system
JPH0793101A (en) Data backup device
JPH06131123A (en) External storage device for computer
JP3139635B2 (en) Duplex file control method
JPH0317130B2 (en)
JPS5834003B2 (en) How to check signal integrity
JPH05181613A (en) Information processor
JPH0635621A (en) Dual disk storage device having dual restoring function
JPH11242567A (en) Information processing system
JPH04352022A (en) Double writing storage device
JPH02113467A (en) Disk control system
JP5290938B2 (en) Copy control apparatus and method
JP2006277355A (en) Path switching system and method for backup system
JPS58171724A (en) Copy controller of magnetic disc tape
JP2003186629A (en) Data copy system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991130

LAPS Cancellation because of no payment of annual fees