JP3226047B2 - I / O device - Google Patents

I / O device

Info

Publication number
JP3226047B2
JP3226047B2 JP27972391A JP27972391A JP3226047B2 JP 3226047 B2 JP3226047 B2 JP 3226047B2 JP 27972391 A JP27972391 A JP 27972391A JP 27972391 A JP27972391 A JP 27972391A JP 3226047 B2 JP3226047 B2 JP 3226047B2
Authority
JP
Japan
Prior art keywords
update
cylinder
host
update information
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27972391A
Other languages
Japanese (ja)
Other versions
JPH05119927A (en
Inventor
忠志 熊沢
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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、異なるディスクボリュ
ームによりデータの二重管理を行ってデータを保護し、
システムの信頼性を高める入出力装置に関するものであ
り、特にデータの更新中に一方のディスクに障害が発生
したときボリュームの迅速確実な復旧を可能にするもの
である。
BACKGROUND OF THE INVENTION The present invention protects data by performing dual management of data with different disk volumes,
Are those concerning the input and output device to improve the reliability of the system, it is to allow rapid reliable recovery of a volume, especially when the one disk failure during the update of the data.

【0002】[0002]

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

【0003】図5は、このような二重化ボリューム処理
を行う従来の入出力装置の構成例を示したものである。
図中、1はホスト、2はディスク制御装置、3、4はそ
れぞれディスク装置、5、6はそれぞれディスクの更新
情報である。
FIG. 5 shows such a dual volume processing.
1 shows a configuration example of a conventional input / output device for performing the above.
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 an SIO to each of the disk devices 3 and 4 and causes the disk control device 2 to write the same data. After updating the data for each disk, the host 1 records update information such as the number of updates and the write cylinder number.

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

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

【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 data beyond one cylinder.

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

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

【0010】[0010]

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

【0011】[0011]

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

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

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

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

【0015】7は、シリンダ切替え検出機構であり、デ
ィスク制御装置2内に設けられ、デバイスXあるいはデ
バイスYに対する連続するデータ書き込みでシリンダ切
替えが発生した場合にこれを検出する。
Reference numeral 7 denotes a cylinder switching detection mechanism, which is provided in the disk controller 2 and detects when a cylinder switching has occurred in 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 in accordance with an instruction from the host 1, but a part is instructed by the cylinder switching detecting mechanism 7, and when the cylinder switching is detected, the final cylinder address is updated. Is updated.
It should be noted that the host and the disk control device may be single or plural, respectively.

【0017】[0017]

【作用】図1において、ホスト1は、デバイスXとデバ
イスYのディスク装置を用いてボリュームを二重化して
データを管理しており、データ更新を行う場合には、デ
バイスXとデバイスYに対してSIOを発行し、チャネ
ルのコマンドあるいはコマンドチェ−ンを起動して、そ
れぞれのデバイスにデータを書き込む。ホストは、その
際データ更新の回数と更新開始シリンダのアドレスとを
ディスク制御装置2に通知する。ディスク制御装置は、
デバイスへのデータ書き込みが終了すると、更新回数、
更新開始シリンダ、更新終了シリンダからなる更新情報
を更新する。
In FIG. 1, a host 1 manages data by duplicating a volume by using disk devices of a device X and a device Y, and when updating data, the host 1 SIO is issued, a channel command or a command chain is started, and data is written to each device. At this 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 data writing to the device is completed, the number of updates,
The update information including the update start cylinder and the 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 written for one SIO issuance, the host knows the address of the cylinder to be updated, so the update information always indicates the last updated cylinder of the device. In the case where is permitted to write beyond the cylinder boundary for one SIO issuance, the host cannot know the final cylinder only by knowing the write start cylinder. However, in the present invention, the write 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. It is possible to correctly indicate the last cylinder.

【0019】たとえば、1つの二重化ボリュームを構成
するデバイスXとデバイスYのディスクに対して100
回目の更新を行い、まずデバイスXに対して書き込みを
終了し、次にデバイスYに対して書き込みを行う際にシ
ステムが停電した場合を考える。このときデバイスXに
発行されるSIOにより起動されるコマンドチェーンは
次のようなものであるとする。
For example, 100 disks are used for the disks of device X and device Y constituting one duplex volume.
It is assumed that the system is powered off the first time, the writing to the device X is completed first, and then the writing to the device Y is performed. At this time, it is assumed that 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 for instructing a seek, and LR (CCH
H = 0.2.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
Assuming record / one track, cylinder switching occurs at the third WUD, and the cylinder address is changed from 2 to 3
Turns into. When updating the device X, 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 updates the update information 5 with the update count and the update number after the update is completed. The start address and end address of the cylinder are recorded. When updating the device Y, 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
00th time, cylinders 2 to 3 ", but the update information 6 of device Y remains the information at the time of the last update, for example," 99th time, cylinders 4 to 4 ".

【0022】停電復旧後のシステム立上げ時に、二重化
ボリュームが定義されているデバイスX,Yの更新情報
5、6が読み出されて比較される。この場合には、更新
回数の違いからX,Y両系の更新情報の等価性が崩れて
いる事が検出されるので、その差を解析することによ
り、デバイスXのシリンダ2から3の100回目の書き
込みデータをデバイスYに複写すればよいことが判り、
この複写により等価性が回復される。
When the system is started up after the restoration of the power failure, 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, it is detected that the equivalence of the update information of both the X and Y systems has been lost due to the difference in the number of updates, and by analyzing the difference, the 100th cycle of cylinders 2 to 3 of device X is performed. It can be understood that the write data of the above should be copied to the device Y.
This copy restores the equivalence.

【0023】[0023]

【実施例】図2は、本発明実施例による二重化ボリュー
ム処理を行う入出力装置の構成図であり、図2(a) はホ
スト1と、ディスク制御装置2と、デバイス“10
0”、デバイス“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”,“201”で識別されるディスク装置4,
4′を制御するディスク制御装置2′とをそなえ、3つ
のホスト1,1′,1″がそれぞれディスク制御装置
2,2′に接続され、ディスク制御装置2,2′はそれ
ぞれシリンダ切替え検出機構7,7′を有して更新情報
5、6を管理し、デバイス“100”とデバイス“20
0”、あるいはデバイス“101”とデバイス“20
1”の間などで二重化ボリュームが構築される。以下、
図2(b) のシステムを中心に実施例を説明する。
FIG. 2 is a block diagram of an input / output device for performing a dual volume processing according to an embodiment of the present invention. FIG. 2 (a) shows a host 1, a disk control device 2, and a device "10".
0 ”, disk devices 3 and 4 identified by device“ 200 ”, update information 5 and 6, cylinder switching detection mechanism 7
Fig. 2 (b) shows three hosts 1,
1 ', 1 ", two disk controllers 2, 2', at least four disk devices 3, 3 ', 4, 4', update information 5, 6, and a cylinder switching detection mechanism 7 The system shown in FIG. 2A corresponds to the principle configuration shown in FIG. 1 and shows the minimum configuration of an input / output device for performing a duplex volume process. Has a more complicated configuration than the system of (a), and includes a disk controller 2 for controlling the disk devices 3 and 3 'identified by the devices "100" and "101", and a device "200" and "201". Disk unit 4 to be identified
A disk controller 2 'for controlling the disk controller 4', three hosts 1, 1 ', 1 "are connected to the disk controllers 2, 2', respectively. 7, 7 ', and manages the update information 5, 6, and the device "100" and the device "20".
0, or device “101” and device “20”
A duplicate volume is constructed between 1 "and the like.
An embodiment will be described with a focus 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 showing an embodiment of the inside of the disk control device 2 of FIG. 2 (b). Note that the configuration of the disk control device 2 'in FIG. 2B is substantially the same, and a description thereof will be omitted. 3, reference numeral 2 denotes a disk controller, 5 denotes update information, 7 denotes a cylinder switching detection mechanism, 8 denotes a non-volatile memory that stores the update information 5, 9 denotes a command analyzer that analyzes channel commands, and 10 denotes the update information 5. Is an update information management unit that creates Update information 5 is created for each host,
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 use of a duplicated volume when the system is started up, and requests the disk control devices 2, 2' for a host identification number. (2) Each disk The control devices 2 and 2 'include hosts 1, 1',
ID numbers 00 and 0 in response to requests from
Assign 1,02. (3) The host writes SIO to the subsequent devices.
, The following two commands are chained at the head of the CCW to issue the CCW.

【0026】 SELECT HOST BUFFE
R そのホストに割り当てられたホスト識別番号をディスク
制御装置に知らせる。
[0027] SELECT HOST BUFFE
R Notify 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 Requests that the update information created by the host be transferred and stored in the disk controller. The update information includes the number of updates indicating the number of times of writing and the head address of the cylinder to be updated by the SIO. (4) When the command analysis unit 9 in FIG. 3 identifies these commands, it causes the update information management unit 10 to create the update information 5 corresponding to the host identification number and store it in the nonvolatile memory 8. (5) Here, the update information 5 in the disk controllers 2 and 2 '
6 is as shown in FIG. 4A, where the host "00"
In this state, the device “100” and the device “200” have been written 45 times, and the host “01” has been written in the device “100” and device “200” 60 times. Also, device “100”
The start address and the end address of the last updated cylinder of the duplicated volume match between the device and the device “200”. (6) After this, there is a 46th write from the host “00”, and there is a 61st write from the host “01”, and when the update to the device “100” has been completed, the system has lost power. Shall be. (7) The 46th write from the host “00” is 45
Starting from the cylinder “004” following the last cylinder “003” at the time of the first writing, the writing is performed on the next cylinder “005” beyond the cylinder boundary. When this cylinder boundary is exceeded, it is detected by the cylinder switching detection mechanism 7 of 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 for the same start cylinder “006” to end cylinder “008” as in the case of the 60th write. Since these writings are performed only on 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) In this state, if the power outage is restored and the system is started up, the disk controllers 2 and
Update information 5 and 6 are read from 2 'and compared to check for equivalence. From the result, it is found that the writing status of the device “100” is different from the writing status of the device “200”. Therefore, the device “100” is changed to the device “200”, the host “00” is changed from the cylinder “004” to “005”, “01” is the cylinder “006” to “00”
8 ". The contents of the update information 6 are also updated together with this copy, and the equivalence with the update information 5 is guaranteed.

【0028】なお、ディスク制御装置は書き込み制御情
報自体からデバイスごとの更新回数を作成し、また最終
更新シリンダの開始アドレスを取得して管理することが
できるため、(3) で述べたホストからの更新情報の転送
処理を省略しても本発明の実施が可能である。
The disk controller can create the update count for each device from the write control information itself, and can acquire and manage the start address of the last updated cylinder. 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 specify the last updated cylinder. Is detected and stored as update information, it is possible to recover a duplicated volume with a minimum amount of data copying when a failure occurs.

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

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

【図2】本発明実施例における二重化ボリューム処理
行う入出力装置の構成図である。
The [2] duplexing volume processing in the present invention embodiment
It is a block diagram of the input-output device which performs .

【図3】本発明のディスク制御装置の実施例構成図であ
る。
FIG. 3 is a configuration 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 in the embodiment of the present invention.

【図5】従来の二重化ボリューム処理を行う入出力装置
構成図である。
FIG. 5 shows an input / output device that performs conventional duplex volume processing.
It is a block diagram of.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−118921(JP,A) 特開 平3−57047(JP,A) 特開 昭59−168558(JP,A) 特開 昭59−176856(JP,A) 特開 昭61−253676(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-1-118921 (JP, A) JP-A-3-57047 (JP, A) JP-A-59-168558 (JP, A) JP-A-59-168 176856 (JP, A) JP-A-61-253676 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/06

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 論理的に一つの入出力装置として扱われ
るボリュームを各々が含む複数のデバイスと, ホスト及び該複数のデバイスに接続され,前記各々のボ
リュームとホストとの間でデータ転送を行うディスク制
御装置と, からなる入出力装置であって, 前記ディスク制御装置は、 各ボリューム対応の更新情報を更新開始位置情報と更新
終了位置情報とにより記憶する不揮発性記憶媒体と,ボリュームへのデータ書き込み中にシリンダ切替えが発
生したことを検出するシリンダ切替え検出機構と、 ホストから書込み命令を実行する際に更新開始アドレ
スに基づいて前記不揮発性記憶媒体に記憶された当該ボ
リュームに対応する更新情報の更新開始位置情報を更新
し、前記シリンダ切替え検出機構がデータ書き込み中に
シリンダの切替え発生を検出するごとに当該更新情報の
更新終了位置情報を書き替える手段と,を備えることを
特徴とする入出力装置。
1. A plurality of devices each including a volume logically treated as one input / output device, a host and a plurality of devices connected to each other, and performing data transfer between each of the volumes and the host. An I / O device comprising: a disk controller ; and the disk controller updates update information corresponding to each volume with update start position information and update information.
Cylinder switching occurs while writing data to a non-volatile storage medium and volume using the end position information
A cylinder switching detection mechanism that detects the occurrence of an update, and an update start address when a write command is executed from the host.
Based on the scan update the updated start position information of the update information corresponding to the volume stored in the nonvolatile storage medium, the cylinder switch detecting mechanism during data write
Each time cylinder switching is detected, the update information
Output apparatus characterized by comprising: means Ru rewriting the update end position information.
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 JPH05119927A (en) 1993-05-18
JP3226047B2 true 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)

Family Cites Families (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
JPH0616258B2 (en) * 1987-11-02 1994-03-02 株式会社日立製作所 Duplex disk control method
JPH0357047A (en) * 1989-07-25 1991-03-12 Nec Corp Electronic disk subsystem

Also Published As

Publication number Publication date
JPH05119927A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
EP0332210B1 (en) Backup control method and system in data processing system
JPS605023B2 (en) memory system
JPH0264834A (en) Data transfer device in miniature computer system
JP2006164162A (en) Copy control device and method
JPH0833864B2 (en) Data integrity method
JP4713951B2 (en) Virtual tape library system and virtual tape writing method
JP2006338345A5 (en)
US8688938B2 (en) Data copying
JPS627572B2 (en)
JP3226047B2 (en) I / O device
JPH0535415A (en) Information storage device
EP1521169A2 (en) Method and apparatus for increasing storage capacity in a disk array system
JPH0793101A (en) Data backup device
JP2005346212A (en) Disk array controller and information processor
JPH09212425A (en) Write cache backup system
JPH06131123A (en) External storage device for computer
JP3794322B2 (en) Data copy system
JPH0750428B2 (en) Disk double writing controller
JPH05181613A (en) Information processor
JPS6313188A (en) Disk file device
JP5290938B2 (en) Copy control apparatus and method
JPS6374170A (en) Control system for magnetic disk
JPS61208119A (en) Disk controller
JPH04352022A (en) Double writing storage device
JPS59197947A (en) System for updating information of doubled file

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