JPH03129515A - Duplication control system for disk device - Google Patents

Duplication control system for disk device

Info

Publication number
JPH03129515A
JPH03129515A JP1268634A JP26863489A JPH03129515A JP H03129515 A JPH03129515 A JP H03129515A JP 1268634 A JP1268634 A JP 1268634A JP 26863489 A JP26863489 A JP 26863489A JP H03129515 A JPH03129515 A JP H03129515A
Authority
JP
Japan
Prior art keywords
disk
data
writing
management information
storage means
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
JP1268634A
Other languages
Japanese (ja)
Inventor
Yasuyuki Higashiura
康之 東浦
Shigeru Hashimoto
繁 橋本
Naoyuki Nishimura
尚幸 西村
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 JP1268634A priority Critical patent/JPH03129515A/en
Publication of JPH03129515A publication Critical patent/JPH03129515A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce labor for changing software by inspecting writing operation in a duplicated disk device by deciding whether written control information is left without being deleted or not. CONSTITUTION:When a write request is inputted, a control information writing means 127 stores control information relating to writing operation in a control information storing means 123 and commands a writing means 125 to write data. The writing means 125 writes data stored in a data storing means 131 in two duplicated disk devices 111, 113 in accordance with the command. When the writing operation is completed, the control information stored in the means 123 prior to the writing operation is deleted by a control information deleting means 129. Thus the writing operation in the duplicated disk devices 111, 113 is inspected by deciding whether the control information written in the means 123 is left without being deleted or not. Thus labor for changing the software can be reduced.

Description

【発明の詳細な説明】 〔概 要〕 信頼性向上のためにディスク装置を二重化するようにし
たディスク装置の二重化制御方式に関し、ソフトウェア
開発の手間の低減及び処理時間の短縮を目的とし、 二重化されたディスク装置とこれらのディスク装置にデ
ータの書き込みを行うディスク制御装置とデータを格納
するデータ格納手段とを有し、ディスク制御装置によっ
てデータ格納手段の格納データを2つのディスク装置に
共に書き込むようにしたディスク装置の二重化制御方式
において、ディスク制御装置は、不揮発性記憶媒体を有
し、データ書き込み動作に関する管理情報を格納する管
理情報格納手段と、データ格納手段の格納データをディ
スク装置の双方に書き込む動作を行う書き込み手段と、
データ書き込みを指示する書き込み要求が入力されたと
きに、書き込み手段に対して動作指示を与えると共に、
管理情報を管理情報格納手段に格納する管理情報書き込
み手段と、書き込み手段による書き込み動作が終了した
ときに、この書き込み動作に先立って管理情報格納手段
に格納した管理情報を削除する管理情報削除手段とを備
えるように構成する。
[Detailed Description of the Invention] [Summary] Regarding a redundant control method for disk devices in which disk devices are duplicated to improve reliability, the present invention relates to a redundant control method for disk devices in which disk devices are duplicated in order to improve reliability. The storage device has a disk device that has been installed, a disk control device that writes data to these disk devices, and a data storage means that stores the data, and the disk control device writes data stored in the data storage device to both the two disk devices. In the redundant control system for disk devices, the disk control device has a nonvolatile storage medium, and has a management information storage means for storing management information related to data writing operations, and writes data stored in the data storage means to both the disk device. a writing means for performing the operation;
When a write request instructing data writing is input, an operation instruction is given to the writing means, and
management information writing means for storing management information in the management information storage means; and management information deletion means for deleting the management information stored in the management information storage means prior to the writing operation when the writing operation by the writing means is completed. The system is configured to have the following.

〔産業上の利用分野〕[Industrial application field]

本発明は、信頼性向上のためにディスク装置を二重化す
るようにしたディスク装置の二重化制御方式に関するも
のである。
The present invention relates to a duplex control method for disk devices in which disk devices are duplicated to improve reliability.

近年、情報処理装置は性能の向上及び製造コストの低減
が著しく、広範囲な分野で利用されている。特に金融機
関等の分野においては、装置全体あるいは各構成部の二
重化を行うことにより信頼性の向上を図っており、例え
ばディスク装置を二重化することによって保存データの
信頼性向上が可能になる。
In recent years, information processing devices have significantly improved performance and reduced manufacturing costs, and are used in a wide range of fields. Particularly in the field of financial institutions, reliability is improved by duplicating the entire device or each component. For example, by duplicating disk devices, it is possible to improve the reliability of stored data.

〔従来の技術〕[Conventional technology]

第5図に、ディスク装置を二重化した従来のコンピュー
タシステムの構成を示す。図において、511はCPU
 (中央処理装置)を、521はメモリを、523はO
3(オペレーティングシステム)を、525は利用者プ
ログラムを、531はディスク制御アダプタを、541
.543はディスク装置をそれぞれ示している。
FIG. 5 shows the configuration of a conventional computer system with dual disk devices. In the figure, 511 is the CPU
(central processing unit), 521 is memory, 523 is O
3 (operating system), 525 a user program, 531 a disk control adapter, 541
.. Reference numeral 543 indicates a disk device.

上述したコンピュータシステムは二重化されたディスク
装置541,543を備えており、例えばCPU511
がメモリ521内の利用者プログラム525を実行した
ときにディスク装置へのデータの書き込み要求が発生す
ると、ディスク制御アダプタ531によって二重化され
た2つのディスク装置541,543に対して同一デー
タの書き込みが行われる。従って、これらのディスク装
置541.−543に格納されたデータが同一であるこ
と、すなわちデータの等価性を確認することにより、デ
ータの信頼性を上げることができる。
The computer system described above is equipped with duplicated disk devices 541 and 543, and for example, the CPU 511
When a request to write data to a disk device occurs when the user program 525 in the memory 521 is executed, the same data is written to the two disk devices 541 and 543 duplicated by the disk control adapter 531. be exposed. Therefore, these disk devices 541. By confirming that the data stored in -543 is the same, that is, the data is equivalent, the reliability of the data can be increased.

この等偏性確認に関する動作手順を第6図に示す。因に
おいて、「#0」はディスク装置541に、「#I」は
ディスク装f543にそれぞれ対応している。
FIG. 6 shows the operating procedure regarding this equipartiality confirmation. In the above, "#0" corresponds to the disk device 541, and "#I" corresponds to the disk device f543.

■例えば、利用者プログラム525を実行中にディスク
書き込み要求が発生する。
(2) For example, a disk write request occurs while the user program 525 is being executed.

■03523は、このディスク書き込み要求に応じて、
先ずディスク装置541(#O)に対して等偏性管理情
報(例えばデータの書き込み位置とデータ書き込み中を
示すフラグからなっている)の書き込みを行う。035
23は、ディスク装置541に関する等偏性管理情報を
ディスク制御アダプタ531に送り、更にディスク制御
アダプタ531はこの等偏性管理情報をディスク装置5
41の所定位置に格納する。
■03523 responds to this disk write request by
First, isotropic management information (for example, consisting of a data writing position and a flag indicating that data is being written) is written to the disk device 541 (#O). 035
23 sends the homogeneous management information regarding the disk device 541 to the disk control adapter 531, and the disk control adapter 531 further sends this homogeneous management information to the disk device 5.
41 at a predetermined location.

同様に、ディスク装置543(#1)に対して等偏性管
理情報の書き込みを行う。
Similarly, homobiased management information is written to the disk device 543 (#1).

■次に、○5523は、利用者プログラム525から書
き込み要求のあったデータの書き込みを行う。
■Next, ○5523 writes the data requested to be written by the user program 525.

ディスク装置541に対してデータの書き込みを行うと
共に、ディスク装置543に対して同一データの書き込
みを行う。
Data is written to the disk device 541 and the same data is written to the disk device 543.

■データ書き込みが終了すると、上述した■でディスク
装置541,543のそれぞれに書き込んだ等偏性管理
情報を削除する。
(2) When data writing is completed, the homogeneous management information written in each of the disk devices 541 and 543 in (2) above is deleted.

このように、ディスク装置541,543へのデータ書
き込みの前後に等偏性管理情報の書き込み、削除を行っ
ている。従って、例えばデータ書き込み中に電源が瞬断
された場合には、等偏性管理情報が削除されていないこ
とにより等価性が保証されないことを次の電源投入時に
認識することができ、ディスクのコピーまたは再オペレ
ーションにより等偏性を保証できる。
In this way, the isotropic management information is written and deleted before and after data is written to the disk devices 541 and 543. Therefore, for example, if the power is momentarily cut off while data is being written, it will be possible to recognize that equivalence is not guaranteed because the homogeneity management information has not been deleted the next time the power is turned on, and copy the disk. Alternatively, equality can be guaranteed by reoperation.

また、上述した従来例においては、03523が二重化
を意識してディスク装置541.543へのアクセスを
行うようにしたが、ディスク制御アダプタ531が二重
化を意識するような別従来例も考えられる。この場合に
は、03523は二重化を意識しないで一方のディスク
装置に対してデータの書き込みを行う。ディスク制御ア
ダプタ531は、このデータを2つのディスク装置54
1.543に書き込むと共に、その前後においてディス
ク装置541,543の各所定領域に対する。上述した
等個性管理情報の書き込み、削除を行うようにする。
Further, in the conventional example described above, 03523 accesses the disk devices 541 and 543 with duplication in mind, but another conventional example is also conceivable in which the disk control adapter 531 is aware of duplication. In this case, 03523 writes data to one disk device without being aware of duplication. The disk control adapter 531 transfers this data to two disk devices 54.
1.543, and to each predetermined area of the disk devices 541 and 543 before and after that. Write and delete the individuality management information as described above.

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

ところで、上述した従来方式にあっては、データに先立
って書き込む等個性管理情報の格納領域としてディスク
装置541,543の格納領域を使用していたため、0
5523等は格納領域を意識しておく必要があり、ソフ
トウェアを変更する必要があった。
By the way, in the conventional method described above, since the storage area of the disk devices 541 and 543 is used as the storage area of individuality management information such as writing before data,
5523 etc., it was necessary to be aware of the storage area, and it was necessary to change the software.

また、等個性管理情報の書き込み、削除の都度ディスク
装置541,543をアクセスする必要があり、このデ
ィスクアクセスは機械的動作を伴うため処理時間がかか
るという問題点があった。
In addition, it is necessary to access the disk devices 541 and 543 each time the individuality management information is written or deleted, and since this disk access involves mechanical operation, there is a problem that processing time is required.

本発明は、このような点にかんがみて創作されたもので
あり、ソフトウェア変更の手間の低減及び処理時間の短
縮が可能なディスク装置の二重化制御方式を提供するこ
とを目的としている。
The present invention was created in view of the above points, and an object of the present invention is to provide a redundant control system for disk devices that can reduce the effort of changing software and shorten processing time.

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

第1図は、本発明のディスク装置の二重化制御方式の原
理ブロック図である。
FIG. 1 is a principle block diagram of a duplex control system for a disk device according to the present invention.

図において、本発明のディスク装置の二重化制御方式は
、二重化されたディスク装置111,113とこれらの
ディスク装置111,113にデータの書き込みを行う
ディスク制御装置121とデータを格納するデータ格納
手段131とを有し、ディスク制御装置121によって
データ格納手段131の格納データを2つのディスク装
!111゜113に共に書き込むように構成されている
In the figure, the disk drive duplex control method of the present invention includes duplex disk drives 111 and 113, a disk control device 121 that writes data to these disk drives 111 and 113, and a data storage means 131 that stores data. The data stored in the data storage means 131 is transferred to two disk drives by the disk control device 121! 111° and 113.

また、ディスク制御装置121は、不揮発性記憶媒体を
有し、データ書き込み動作に関する管理情報を格納する
管理情報格納手段123と、データ格納手段131の格
納データをディスク装置111.113の双方に書き込
む動作を行う書き込み手段125と、データ書き込みを
指示する書き込み要求が入力されたときに、書き込み手
段125に対して動作指示を与えると共に、管理情報を
管理情報格納手段123に格納する管理情報書き込み手
段127と、書き込み手段125による書き込み動作が
終了したときに、この書き込み動作に先立って管理情報
格納手段123に格納した管理情報を削除する管理情報
削除手段129とを備えるように構成されている。
Further, the disk control device 121 has a non-volatile storage medium, and has a management information storage means 123 that stores management information related to data writing operations, and an operation that writes data stored in the data storage means 131 to both the disk devices 111 and 113. and management information writing means 127 that gives an operation instruction to the writing means 125 and stores management information in the management information storage means 123 when a write request instructing data writing is input. , and management information deletion means 129 for deleting the management information stored in the management information storage means 123 prior to the writing operation when the writing operation by the writing means 125 is completed.

〔作 用〕 書き込み要求が入力されると、管理情報書き込み手段1
27は、書き込み動作に関する管理情報を管理情報格納
手段123に格納すると共に、書き込み手段125にデ
ータ書き込みを指示する。
[Operation] When a write request is input, the management information writing means 1
27 stores management information regarding the write operation in the management information storage means 123 and instructs the writing means 125 to write data.

書き込み手段125では、データ格納手段131に格納
されているデータを、この指示に応じて二重化された2
つのディスク装置111.113に共に書き込む動作を
行う。書き込み動作が終了すると、書き込み動作に先立
って管理情報格納手段123に格納しておいた管理情報
を、管理情報削除手段129によって削除する。
The writing means 125 converts the data stored in the data storage means 131 into two duplicates according to this instruction.
A writing operation is performed on both disk devices 111 and 113. When the write operation is completed, the management information stored in the management information storage means 123 prior to the write operation is deleted by the management information deletion means 129.

本発明にあっては、ディスク制御装置121内の管理情
報格納手段123に書き込んだ管理情報が削除されずに
残っているか否かによって、二重化されたディスク装置
111,113への書き込み動作を検証することができ
る。従って、この検証のためにディスク装置111.1
13をアクセスする必要がない。
In the present invention, the writing operation to the duplicated disk devices 111 and 113 is verified depending on whether the management information written to the management information storage means 123 in the disk control device 121 remains without being deleted. be able to. Therefore, for this verification, the disk device 111.1
There is no need to access 13.

〔実施例〕〔Example〕

以下、同面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the same aspects.

第2図は、本発明のディスク装置の二重化制御方式を適
用した一実施例におけるコンピュータシステムの構成を
示す。
FIG. 2 shows the configuration of a computer system in an embodiment to which the disk device duplication control method of the present invention is applied.

ここで、本発明の実施例と第1図との対応関係を示して
おく。
Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

ディスク装置111□ 113は、ディスク装置211
.213に相当する。
Disk device 111□ 113 is disk device 211
.. Corresponds to 213.

ディスク制御装置121は、ディスクIII御アダプタ
221に相当する。
The disk control device 121 corresponds to the disk III control adapter 221.

管理情報格納手段123は、不揮発性メモリ255に相
当する。
The management information storage means 123 corresponds to the nonvolatile memory 255.

書き込み手段125は、MPU (マイクロプロセッサ
)251.メモリ253.ディスクコントローラ257
.)ランシーバ259に相当する。
The writing means 125 includes an MPU (microprocessor) 251. Memory 253. Disk controller 257
.. ) Corresponds to the transceiver 259.

管理情報書き込み手段127は、MPU251゜メモリ
253に相当する。
The management information writing means 127 corresponds to the MPU 251° memory 253.

管理情報削除手段129は、MPU251.メモリ25
3に相当する。
The management information deletion means 129 includes the MPU 251. memory 25
Corresponds to 3.

データ格納手段131は、メモリ231に相当する。Data storage means 131 corresponds to memory 231.

以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.

第2図において、210はCPUを、211゜213は
ディスク装置を、221はディスク制御アダプタを、2
31はメモリをそれぞれ示している。CPU210.デ
ィスク制御アダプタ221゜メモリ231はシステムバ
スを介ξ7て接続されており、更にディスク制御アダプ
タ221には2つのディスク装置211,213が接続
されている。
In FIG. 2, 210 is a CPU, 211, 213 is a disk device, 221 is a disk control adapter, 2
31 each indicate a memory. CPU210. A disk control adapter 221 and a memory 231 are connected via a system bus ξ7, and two disk devices 211 and 213 are further connected to the disk control adapter 221.

CPU210はコンピュータシステム全体の制御及び演
算処理等を実行するためのものである。
The CPU 210 is for controlling the entire computer system and performing calculation processing.

また、ディスク制御アダプタ221は、二重化された2
つのディスク装置211.213を対象とした入出力制
御を行っている。ディスク制御アダプタ221内にあっ
て、251はMPUを、253はメモリを、255は不
揮発性メモリを、257はディスクコントローラを、2
59はトランシーバをそれぞれ示している。これらの各
構成部は内部バスを介して接続されている。
In addition, the disk control adapter 221 has two
Input/output control is performed for two disk devices 211 and 213. Inside the disk control adapter 221, 251 is an MPU, 253 is a memory, 255 is a non-volatile memory, 257 is a disk controller, 2
Reference numeral 59 indicates a transceiver. Each of these components is connected via an internal bus.

MPU251はディスク制御アダプタ221の全体を制
御するものであり、メモリ253はその動作プログラム
を格納する。不揮発性メモリ255は、ディスク制御ア
ダプタ221による書き込み動作によってディスク装置
211,213に格納されたデータが同一であることす
なわちデータの等偏性を確認するための二重化書き込み
生情報を格納するためのものである。また、ディスクコ
ントローラ257は、ディスク装置211.213が接
続されたケーブルを収容して信号の授受を制御するため
のものである。トランシーバ259は、バスドライバ及
びバスレシーバから戊っており、コンピュータシステム
のシステムバスとディスク制御アダプタ221内の内部
バスとの間の信号の授受を制御している。
The MPU 251 controls the entire disk control adapter 221, and the memory 253 stores its operating program. The nonvolatile memory 255 is for storing redundant write raw information for confirming that the data stored in the disk devices 211 and 213 by the write operation by the disk control adapter 221 is the same, that is, that the data is homogeneous. It is. Further, the disk controller 257 is for accommodating cables to which the disk devices 211 and 213 are connected, and for controlling the transmission and reception of signals. The transceiver 259 is separated from the bus driver and bus receiver, and controls the transmission and reception of signals between the system bus of the computer system and the internal bus within the disk control adapter 221.

更に、メモリ231はCPU210の動作プログラム等
を格納するものである。具体的には、利用者プログラム
233.専用プログラム235゜O3(オペレーティン
グシステム)23’7.チャネルコマンドワード(CC
W)239.書き込みデータ241等が格納されている
Furthermore, the memory 231 stores operating programs for the CPU 210 and the like. Specifically, the user program 233. Dedicated program 235°O3 (operating system) 23'7. Channel command word (CC
W) 239. Write data 241 and the like are stored.

次に、1述した本発明実施例の動作を説明する。Next, the operation of the first embodiment of the present invention will be explained.

第3図に、実施例のディスク制御アダプタ221の動作
手順を示す。図において、「#0」はディスク装置21
1に、「#1」はディスク装置213にそれぞれ対応し
ている。また、閏に示した■、■等の各符号は、以下の
説明に使用した各符号に対応している。
FIG. 3 shows the operating procedure of the disk control adapter 221 of the embodiment. In the figure, "#0" is the disk device 21
1 and “#1” correspond to the disk device 213, respectively. Further, each symbol such as ■, ■, etc. shown on the leap line corresponds to each symbol used in the following explanation.

■先ず、二重化されたディスク装置211.213に対
する書き込み要求が発生し、ディスク制御アダプタ22
1に入力される。
■First, a write request to the duplicated disk devices 211 and 213 occurs, and the disk control adapter 22
1 is input.

例えば、CPU210が利用者プログラム233を実行
しているときにディスクの起動命令が実行されると、0
3237からディスク制御アダプタ221に対してこの
起動命令に応じた起動指示が送られる。起動指示が人力
されると、ディスク$1 御アダプタ221ではメモリ
231内の2亥当するCCW239を読み込んで解析す
る。解析の結果、ディスク装置211,213に対する
書き込み要求と判定されると、以後の制御動作が開始さ
れる。
For example, if a disk startup command is executed while the CPU 210 is executing the user program 233, the 0
3237 sends a startup instruction to the disk control adapter 221 in accordance with this startup command. When a startup instruction is given manually, the disk $1 control adapter 221 reads and analyzes the second CCW 239 in the memory 231. As a result of the analysis, if it is determined that it is a write request to the disk devices 211, 213, subsequent control operations are started.

なお、上述した起動命令及び起動指示は二重化を意識す
る必要がなく、CCW239を解析したディスク制御ア
ダプタ221によって自律的に二重化に対応した入出力
制御が開始される。
Note that the above-mentioned startup command and startup instruction do not need to be aware of duplication, and the disk control adapter 221 that has analyzed the CCW 239 autonomously starts input/output control compatible with duplication.

■次に、MPU251は、二重化の等価性を管理するた
めの情報を不揮発性メモリ255内に書き込む。この情
報は、ディスク装置211.213への書き込み動作中
であることを示す二重化書き込み生情報であり、書き込
み中を示すフラグと書き込みアドレス情報等(先頭セク
タ番号とセクタ数)からなっている。
(2) Next, the MPU 251 writes information for managing duplex equivalence into the nonvolatile memory 255. This information is duplex write raw information indicating that writing to the disk device 211, 213 is in progress, and includes a flag indicating that writing is in progress, write address information, etc. (first sector number and number of sectors).

■二重化書き込み生情報の書き込みが終了すると、次に
MPU251は、書き込み要求があったデータをディス
ク装置211,213に書き込む。
(2) Duplicated writing When writing of the raw information is completed, the MPU 251 then writes the data requested to be written to the disk devices 211 and 213.

書き込むデータそのものはメモリ231内の所定領域に
書き込みデータ241として格納されており、MPU2
51はこの書き込みデータ241を読み出して、ディス
クコントローラ257を介してディスク装置211,2
13の双方に書き込む。
The data to be written is stored in a predetermined area in the memory 231 as write data 241, and the MPU 2
51 reads this write data 241 and sends it to the disk devices 211 and 2 via the disk controller 257.
Write on both sides of 13.

■2つのディスク装置211,213へのデータの書き
込みが正常に終了すると、MPU251はデータの書き
込み動作に先立って不揮発性メモリ255に格納した二
重化書き込み生情報を削除して、データ書き込みに関す
る制御動作を終了する。
■When the writing of data to the two disk devices 211 and 213 is completed normally, the MPU 251 deletes the redundant write raw information stored in the nonvolatile memory 255 prior to the data writing operation, and performs control operations related to data writing. finish.

次に、不揮発性メモリ255内の二重化書き込み生情報
の有無に基づいてデータの等価性検証を行う場合の動作
を説明する。第4図に、等価性検証の動作手順を示す。
Next, a description will be given of the operation when data equivalence is verified based on the presence or absence of duplex write raw information in the nonvolatile memory 255. FIG. 4 shows the operational procedure for equivalence verification.

例えば、第2図に示したコンピュータシステムの電源投
入時に、CPU210は、03237゜利用者プログラ
ム233等の実行に先立って等価性検証の専用プログラ
ム235を実行する。
For example, when the computer system shown in FIG. 2 is powered on, the CPU 210 executes the dedicated equivalence verification program 235 before executing the 03237° user program 233 and the like.

先ず、専用プログラム235を実行したCPU210は
、不揮発性メモリ255内の二重化書き込み生情報の読
み出しを行う(ステップ411)。
First, the CPU 210 that has executed the dedicated program 235 reads out the duplex write raw information in the nonvolatile memory 255 (step 411).

次に、CPU210はディスク装置211,213に格
納されている二重化データが等価であるか否かを判定す
る(ステップ412)。読み出す二重化書き込み生情報
が存在しない場合(二重化書き込み生情報が削除されて
いる場合)は、二重化書き込み動作が正常に終了した場
合でありデータが等価であるものと判断する。この場合
はステップ412で肯定判断し、03237を起動する
等のシステム起動を実行する(ステップ413)。
Next, the CPU 210 determines whether the duplicated data stored in the disk devices 211 and 213 are equivalent (step 412). If there is no duplex write raw information to be read (if the duplex write raw information has been deleted), it is determined that the duplex write operation has ended normally and the data are equivalent. In this case, an affirmative determination is made in step 412, and system startup such as starting 03237 is executed (step 413).

また、不揮発性メモリ255内に二重化書き込み生情報
が存在する場合は、二重化データの書き込み中に動作が
中断した場合であり、CPU210はステップ412の
判定(等価か否か)で否定判断する。この場合は、例え
ば二重化書き込み生情報で格納位置が指定されたディス
ク装置211内のデータをディスク装置213の対応す
る領域に複写して(ステップ414)、データの等価性
を確保してからステップ413のシステム起動を行う。
Furthermore, if the duplexed write raw information exists in the nonvolatile memory 255, this means that the operation is interrupted while writing the duplexed data, and the CPU 210 makes a negative determination in step 412 (whether or not they are equivalent). In this case, for example, the data in the disk device 211 whose storage location is specified by the duplex write raw information is copied to the corresponding area of the disk device 213 (step 414), data equivalence is ensured, and then step 413 Start the system.

このように、ディスク装2211,213へのデータの
書き込み動作に先立って不揮発性メモリ255に二重化
書き込み生情報を書き込んで、書き込み動作終了後にこ
の二重化書き込み生情報を削除するようにする。従って
、データの書き込み動作中に電源が瞬断されたような場
合には、不揮発性メモリ255内に二重化書き込み生情
報が残っているため、この二重化書き込み生情報の有無
を調べることによりデータの等価性の検証が可能になる
In this way, the duplex write raw information is written into the nonvolatile memory 255 prior to the data write operation to the disk units 2211 and 213, and the duplex write raw information is deleted after the write operation is completed. Therefore, if the power is momentarily cut off during a data write operation, the redundant write raw information remains in the non-volatile memory 255, and by checking the presence or absence of this redundant write raw information, data equivalence can be determined. Verification of gender becomes possible.

また、この二重化書き込み生情報は、ディスク制御アダ
プタ221内の不揮発性メモリ255に書き込むことに
しているため、ディスク装置211.213の格納領域
を利用者プログラム233等が自由に使用することがで
きるようになり、ソフトウェア作成に際して二重化書き
込み生情報のための書き込み領域を設ける必要がなくな
り、従来のソフトウェアを使用することができる。
Furthermore, since this redundant written raw information is written to the nonvolatile memory 255 in the disk control adapter 221, the storage area of the disk devices 211 and 213 can be freely used by the user program 233, etc. Therefore, when creating software, there is no need to provide a write area for duplicated write raw information, and conventional software can be used.

更に、この二重化書き込み生情報のためにデイ7、り装
2211. 213をアクセスする必要がなくなること
から、処理時間の短縮も可能となる。
Furthermore, for this redundant written raw information, on day 7, the redundant 2211. Since there is no need to access 213, processing time can also be shortened.

なお、本発明の実施例にあっては、ディスク制御アダプ
タ221によってディスク装置211゜213へのデー
タの書き込みを制御するようにしたが、このディスク制
御アダプタ221はディスク制御装置、チャネル装置等
と称されるものを包含したものであり、また小規模シス
テムではCPU210の直接的な制御によって実現する
ものであってもよい。
In the embodiment of the present invention, writing of data to the disk devices 211 and 213 is controlled by the disk control adapter 221, but this disk control adapter 221 is also called a disk control device, a channel device, etc. In a small-scale system, it may be realized by direct control of the CPU 210.

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

上述したように、本発明によれば、ディスク制御装置内
の管理情報格納手段に書き込んだ管理情報が削除されず
に残っているか否かによって、二重化されたディスク装
置への書き込み動作を検証することができ、この検証の
ためにディスク装置をアクセスする必要がなくなる。従
って、このアクセスに使用するディスク装置の格納領域
が不要となり意識しないでよくなるためソフトウェア変
更の手間を低減することができると共に、処理時間を短
縮することができるので、実用的には極めて有用である
As described above, according to the present invention, it is possible to verify a write operation to a duplicated disk device based on whether or not the management information written to the management information storage means in the disk control device remains without being deleted. This eliminates the need to access the disk device for this verification. Therefore, the storage area of the disk device used for this access is no longer required, so you don't need to be aware of it, which reduces the effort required to change software and reduces processing time, which is extremely useful in practice. .

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

第1図は本発明のディスク装置の二重化制御方式の原理
ブロック図、 第2図は本発明の一実施例の構成図、 第3図は実施例動作の説明図、 第4図は実施例の等偏性確認の動作説明図、第5図は従
来例の構成図、 第6図は従来例動作の説明図である。 図において、 111.113はディスク装置、 121はディスク制御装置、 123は管理情報格納手段、 125は書き込み手段、 127は管理情報書き込み手段、 129は管理情報削除手段、 131はデータ格納手段、 210はCPU。 211.213はディスク装置、 221はディスク制御アダプタ、 231.253はメモリ、 233は利用者プログラム、 235は専用プログラム、 237はO3(オペレーティングシステム)239はC
CW(チャネルコマンドワード)241は書き込みデー
タ、 251はMPU (マイクロプロセッサ)、255は不
揮発性メモリ、 257はディスクコントローラ、 259はトランシーバである。 第 4 図
Fig. 1 is a principle block diagram of the duplex control system for a disk device of the present invention, Fig. 2 is a configuration diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of the operation of the embodiment, and Fig. 4 is a diagram of the embodiment. FIG. 5 is a configuration diagram of the conventional example, and FIG. 6 is an explanatory diagram of the operation of the conventional example. In the figure, 111 and 113 are disk devices, 121 is a disk control device, 123 is a management information storage means, 125 is a writing means, 127 is a management information writing means, 129 is a management information deletion means, 131 is a data storage means, and 210 is a data storage means. CPU. 211.213 is a disk device, 221 is a disk control adapter, 231.253 is a memory, 233 is a user program, 235 is a dedicated program, 237 is O3 (operating system), 239 is C
CW (channel command word) 241 is write data, 251 is an MPU (microprocessor), 255 is a nonvolatile memory, 257 is a disk controller, and 259 is a transceiver. Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)二重化されたディスク装置(111、113)と
これらのディスク装置(111、113)にデータの書
き込みを行うディスク制御装置(121)とデータを格
納するデータ格納手段(131)とを有し、前記ディス
ク制御装置(121)によって前記データ格納手段(1
31)の格納データを2つのディスク装置(111、1
13)に共に書き込むようにしたディスク装置の二重化
制御方式において、 前記ディスク制御装置(121)は、 不揮発性記憶媒体を有し、データ書き込み動作に関する
管理情報を格納する管理情報格納手段(123)と、 前記データ格納手段(131)の格納データを前記ディ
スク装置(111、113)の双方に書き込む動作を行
う書き込み手段(125)と、データ書き込みを指示す
る書き込み要求が入力されたときに、前記書き込み手段
(125)に対して動作指示を与えると共に、前記管理
情報を前記管理情報格納手段(123)に格納する管理
情報書き込み手段(127)と、 前記書き込み手段(125)による書き込み動作が終了
したときに、この書き込み動作に先立って前記管理情報
格納手段(123)に格納した管理情報を削除する管理
情報削除手段(129)と、を備えるように構成したこ
とを特徴とするディスク装置の二重化制御方式。
(1) It has dual disk devices (111, 113), a disk control device (121) that writes data to these disk devices (111, 113), and a data storage means (131) that stores data. , the data storage means (1) is controlled by the disk controller (121).
31) is stored on two disk devices (111, 1).
13) In a dual control system for a disk device, the disk control device (121) includes: a management information storage means (123) having a non-volatile storage medium and storing management information related to data writing operations; , a writing means (125) that performs an operation of writing data stored in the data storage means (131) to both of the disk devices (111, 113); management information writing means (127) for giving operation instructions to the means (125) and storing the management information in the management information storage means (123); and when the writing operation by the writing means (125) is completed; and a management information deletion means (129) for deleting the management information stored in the management information storage means (123) prior to the write operation. .
JP1268634A 1989-10-16 1989-10-16 Duplication control system for disk device Pending JPH03129515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1268634A JPH03129515A (en) 1989-10-16 1989-10-16 Duplication control system for disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1268634A JPH03129515A (en) 1989-10-16 1989-10-16 Duplication control system for disk device

Publications (1)

Publication Number Publication Date
JPH03129515A true JPH03129515A (en) 1991-06-03

Family

ID=17461272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1268634A Pending JPH03129515A (en) 1989-10-16 1989-10-16 Duplication control system for disk device

Country Status (1)

Country Link
JP (1) JPH03129515A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644009A (en) * 1992-07-01 1994-02-18 Nec Corp Fault restoration control system for extension storage mechanism
US5734859A (en) * 1993-10-14 1998-03-31 Fujitsu Limited Disk cache apparatus having selectable performance modes

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221460A (en) * 1982-06-17 1983-12-23 Mitsubishi Electric Corp Device for controlling magnetic disc

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221460A (en) * 1982-06-17 1983-12-23 Mitsubishi Electric Corp Device for controlling magnetic disc

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644009A (en) * 1992-07-01 1994-02-18 Nec Corp Fault restoration control system for extension storage mechanism
US5734859A (en) * 1993-10-14 1998-03-31 Fujitsu Limited Disk cache apparatus having selectable performance modes
US5835940A (en) * 1993-10-14 1998-11-10 Fujitsu Limited disk apparatus with multiple raid operating modes

Similar Documents

Publication Publication Date Title
US7325112B2 (en) High-speed snapshot method
US7334097B2 (en) Method for controlling storage device controller, storage device controller, and program
JP3606797B2 (en) Copy processing method between data areas of storage device, storage system, and storage medium thereof
JPH03160534A (en) Access control system for shared file
JPH03129515A (en) Duplication control system for disk device
JP2000242437A (en) Storage device system for preparing copy of data
JP2004062663A (en) Method and device for rewriting program execution in disk storage device
JP2005353046A (en) Recording medium, host device, and data processing method
JP4669027B2 (en) Storage system
JPS59197947A (en) System for updating information of doubled file
JPH0232652B2 (en)
JPH07295761A (en) Mirroring magnetic disk device
JPH05181613A (en) Information processor
JPH034315A (en) Disk formatting system
JPH05242605A (en) Disk control device
JPH02278418A (en) Volume duplication system for magnetic disk
JPH07104945A (en) Copy processing method
JPH07271518A (en) Magnetic disk device
JPS6069759A (en) Control system for disk cache memory
JPS58171724A (en) Copy controller of magnetic disc tape
JP2001101051A (en) Magnetic disk device
JPH0667809A (en) Multiplexed disk control device
JPH09128291A (en) Cache memory managing method
JP2004171597A (en) Storage device system of preparing copy of data
JPH0644012A (en) Data transfer system using pseudo magnetic disk device