JPS58175065A - Processing system of multiplex volume - Google Patents

Processing system of multiplex volume

Info

Publication number
JPS58175065A
JPS58175065A JP57057576A JP5757682A JPS58175065A JP S58175065 A JPS58175065 A JP S58175065A JP 57057576 A JP57057576 A JP 57057576A JP 5757682 A JP5757682 A JP 5757682A JP S58175065 A JPS58175065 A JP S58175065A
Authority
JP
Japan
Prior art keywords
journal
volume
processing
data
volumes
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
JP57057576A
Other languages
Japanese (ja)
Other versions
JPS6326406B2 (en
Inventor
Yukio Nakajima
中嶋 幸雄
Hirobumi Okahata
岡畑 博文
Masaharu Kitaoka
北岡 正治
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 JP57057576A priority Critical patent/JPS58175065A/en
Publication of JPS58175065A publication Critical patent/JPS58175065A/en
Publication of JPS6326406B2 publication Critical patent/JPS6326406B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce the required time and overhead for the equivalence guaranteeing processing, by performing the equivalence guaranteeing processing in the range represented with all journal records on each physical volume. CONSTITUTION:When an input/output request origin program 4 requests a write request to an input/output control program 5, a journal updating display processing 9 displays ''under update'' on a journal recording area on a main storage device (MM). When system-down takes place during the updata of data, the display of ''under updata'' is left in the journal record on the physical volume. Thus, after the system-down and before the use of the said logical volume, an equivalence restoration processing 12 of a system control program 6 checks the journal record on each physical volume and performs the processing of equivalence restoration as to the part of ''under update''.

Description

【発明の詳細な説明】 (イ)発明の技術分野 本発明はデータ処理システムに関し、特に複数の物理的
に机なるボリューム上に同一データを書込み、これらの
複数のボリュームを論理的に1つのボリュームとして扱
うことを可能とする多重化ボリューム機能を有するデー
タ処理システムに関する。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a data processing system, and particularly to a data processing system that writes the same data on a plurality of physical volumes and logically combines these multiple volumes into one volume. The present invention relates to a data processing system having a multiplexed volume function that allows handling of multiple volumes.

(ロ)従来技術と問題点 外部記憶、特に直接アクセス記憶装置(Dム8D)上の
データをボリューム単位GζJ重化することにより、入
出力装置や入出力パスの障害による影春を低減すること
が行なわれている。このためには、複数の物理的に異な
るボリューム上に同一のデータを置き、これらのボリュ
ームを論理的に1つのボリュームとして扱うことを可能
にしなければならない。
(b) Conventional technology and problems It is possible to reduce the impact caused by failures in input/output devices or input/output paths by overlapping data on external storage, especially direct access storage devices (DM8D), in units of volumes. It is being done. For this purpose, it is necessary to place the same data on a plurality of physically different volumes and to make it possible to treat these volumes logically as one volume.

第1図は多重化ボリュームの概念図であり、実線のポリ
、−ムは物理ボリューム、破線のボリュームは論理ボリ
ュームである。図示のように、物理ボリュームのすべて
に同一データ人が格納されている。ユーザの一般プログ
ラムが意識するボリュームは破線で示す論理ボリューム
のみであり、データ人は1つしか見えないようにされて
いる。
FIG. 1 is a conceptual diagram of a multiplexed volume, where solid line polygons are physical volumes and dotted line volumes are logical volumes. As shown, the same data person is stored in all physical volumes. The only volume that the user's general program is aware of is the logical volume indicated by the broken line, and the data person can only see one volume.

第1図に示す物理ボリューム1〜nが論理的に1つのボ
リュームとして見えるようにするためには、全物理ボリ
ュームが同一のデータを持っていなければならない。こ
のように、すべてのボリュームが同一データを持ってい
ることを、「等価性」が保証されているという。
In order for the physical volumes 1 to n shown in FIG. 1 to be logically viewed as one volume, all physical volumes must have the same data. In this way, the fact that all volumes contain the same data is called "equivalence".

この「等価性」は、 ■ データ更新(書込み動作)中のシステムダウン。This "equivalence" is ■ System down during data update (write operation).

■ データ更新中の入出力障害(少なくとも1つahの
物理ボリュームについて発生したとき) により失われる。
■ Lost due to I/O failure during data update (when it occurs for at least one ah physical volume).

この等価性が失われた場合、次のシステム立上げ時やボ
リュームマウント時には、各ボリューム間の等優性保証
処理が必要である。
If this equivalence is lost, it is necessary to perform equidominance guarantee processing between volumes at the next system startup or volume mount.

この方法としては、従来、 ■ ボリューム全体をコピーする方法。Conventionally, this method ■ How to copy the entire volume.

■ ボリュームの内容を比較して異なった部分のみコピ
ーする方法。
■ How to compare the contents of a volume and copy only the parts that differ.

が採用されてきた。しかし、これらの方法は共に所要時
間、オーバヘッドとも大であり、大容鳳ボリューム、多
数の多重化ボリュームを持つシステムには適さない、特
に、システム立上げ時間が大幅に増加する欠点があった
has been adopted. However, both of these methods require a large amount of time and overhead, and are not suitable for systems having large volumes or multiplexed volumes.In particular, these methods have the drawback of significantly increasing system startup time.

(ハ)発明の目的 本発明は多重化ボリュームを有するデータ処理システム
において、等優性保証処理の所要時間、オーバヘッドを
削減してシステム立上げ時間等を短縮することを目的と
している。
(C) Purpose of the Invention The present invention aims to shorten system start-up time by reducing the time required for equality guarantee processing and overhead in a data processing system having multiplexed volumes.

に)発明の構成 上記目的を達成するために本発明は、複数の物理的に異
なるボリューム上に同一データを書込み、これらの複数
のボリュームを論理的に1つのボリュームとして扱うこ
とを可能とする多重化ボリューム機能を有するデータ処
理システムにおいて、上記複数の物理ボリュームの各々
にジャーナルレコード領域をもうけるとともに、を記物
理ボリュームへの書込み要求時、書込み処理が行なわれ
る所定の更新範囲を示す更新範囲情報と更新開数を示す
版数情報とを含むジャーナル情報を作成し、上記w数の
物理ボリュームのジャーナルレコード領域の各々に当該
ジャーナル情報を書込むようにし、システムダウン後の
立上げ時等に際しては上記複数の物理ボリュームのジャ
ーナルレコード領域の内容を参照し、上記更新範囲情報
により更新中状態であったデータ領域を識別し、当該デ
ータ領域についてのデータ内容の等優性保証処理を行な
うようにしたことを特徴とする。
(b) Structure of the Invention In order to achieve the above object, the present invention provides a multiplexing system that enables writing the same data on multiple physically different volumes and treating these multiple volumes logically as one volume. In a data processing system having a storage volume function, a journal record area is provided in each of the plurality of physical volumes, and when a write request is made to the physical volume, update range information indicating a predetermined update range in which write processing is performed is provided. Create journal information that includes version number information indicating the update number, and write the journal information in each journal record area of the physical volume with the above w number. When starting up after a system down, etc., the above The content of the journal record area of multiple physical volumes is referenced, the data area that is in the updating state is identified based on the above update range information, and the equidominance guarantee process for the data content of the data area is performed. Features.

(ホ)発明の実施例 以下、本発明を図面により説明する。(E) Examples of the invention Hereinafter, the present invention will be explained with reference to the drawings.

ts2図は本発明による実施例のデータ処理システムの
ブロック図、118図は実施例におけるジャーナルレコ
ードの形式を示す図、第4図は等優性回復処理の動作フ
ローを示す図、第5図はボリューム間のデータコピーの
態様を示す図である。
ts2 is a block diagram of the data processing system according to the embodiment of the present invention, FIG. 118 is a diagram showing the format of journal records in the embodiment, FIG. FIG.

WX2図において、1は中央処理装置(CPU)および
主記憶装置(MM)等からなるデータ処理装置、2と8
は直接アクセス記憶装置(DASD)からなるボリュー
ム、4は入出力要求元プログラム、5は入出力制御プロ
グラム、6はシステム制御プログラム、7はジャーナル
レコード領域、8はデータ領域、9はジャーナル更新中
表示処理部、10は入出力制御部、11はジャーナル更
新中表示消去処理部、12は等硫性回復処理部である。
In the WX2 diagram, 1 is a data processing device consisting of a central processing unit (CPU) and a main memory (MM), etc., 2 and 8
is a volume consisting of a direct access storage device (DASD), 4 is an input/output request source program, 5 is an input/output control program, 6 is a system control program, 7 is a journal record area, 8 is a data area, 9 is a journal update display process 10 is an input/output control section, 11 is a journal update display erasure processing section, and 12 is an isosulfuric recovery processing section.

第8図において、20と21は版数情報保持部、22は
更新中のシリンダをビットマッブ形式で示す更新範囲情
報保持部である。
In FIG. 8, 20 and 21 are version number information holding units, and 22 is an update range information holding unit that indicates the cylinder being updated in bitmap format.

実施例の動作は以下の通りである。The operation of the embodiment is as follows.

まず、入出力要求元プログラム4が書込み要求を入出力
制御プログラム5に依頼すると、ジャーナル更新中表示
処理部9が主記憶装置(MM)上のジャーナルレコード
領域7に「更新中」を表示する。すなわち、第8図図示
の更新範囲情報保持部22において、更新データを含む
シリンダに対応するビットがオン(’1”)とされる。
First, when the input/output request source program 4 requests a write request to the input/output control program 5, the journal updating display processing unit 9 displays "updating" in the journal record area 7 on the main memory (MM). That is, in the update range information holding unit 22 shown in FIG. 8, the bit corresponding to the cylinder containing the update data is turned on ('1').

なお、第8図において、更新範囲情報保持部22の各ビ
ットはそれぞれ特定シリンダに対応してもうけられてい
るものである。この後、入出力制御部10は、各ボリュ
ームへ入出力装置起動命令(8IO命令)を発行する。
In FIG. 8, each bit of the update range information holding section 22 is provided corresponding to a specific cylinder. Thereafter, the input/output control unit 10 issues an input/output device activation command (8IO command) to each volume.

これにより、ジャーナルレコード領域7の内容およびデ
ータ領域8の内容がそれぞれ各ボリュームの対応する領
域へ書込まれる。書込みが終了すると、各ボリュームか
らはI10割込みが送出されてくるので、入出力制御部
10はこれにより入出力要求元プログラム4へ書込み完
了を通知する。
As a result, the contents of the journal record area 7 and the contents of the data area 8 are respectively written to the corresponding areas of each volume. When the writing is completed, an I10 interrupt is sent from each volume, so the input/output control unit 10 notifies the input/output request source program 4 of the completion of writing.

そして、すべての物理ボリューム上でデータの更新が正
常に終了したならば、ジャーナル更新中表示消去処理部
11は、ジャーナルレコード領域7における更新範囲情
報保持部22をクリアする。すなわち、「更新中」の表
示を消去する。その後、後続の入出力要求が発生した場
合、または適当な時間が経過した場合に、この新しいジ
ャーナルレコード領域7の内容が各物理ボリュームに潜
込まれる。
Then, when the data update is successfully completed on all physical volumes, the journal update display deletion processing unit 11 clears the update range information holding unit 22 in the journal record area 7. In other words, the "updating" display is deleted. Thereafter, the contents of this new journal record area 7 are hidden in each physical volume when a subsequent I/O request occurs or when an appropriate amount of time has elapsed.

次に、データの更新中にシステムダウンした場合の動作
は以下の通りである。
Next, the operation when the system goes down while updating data is as follows.

データの更新中にシステムダウンした場合には、物理ボ
リュームLのジャーナルレコードに1更新中」の表示が
残されている。そのため、システムダウン後、当該論理
ボリュームを使用する前に、システム制御プログラム6
の等優性回復処理部12は、各物理ボIJ、−ム上のジ
ャーナルレコードを調べて、r更新中」である部分につ
いて等画性回復処理を行なう。
If the system goes down while data is being updated, a message "Updating 1" is left in the journal record of physical volume L. Therefore, after the system goes down, before using the relevant logical volume, the system control program 6.
The isodominance recovery processing unit 12 examines the journal records on each physical volume IJ, -, and performs isodominance recovery processing on the portion that is "r updating".

その回復処理手順は、第4図に示す通りである。The recovery processing procedure is as shown in FIG.

■ まず、各物理ボリュームからジャーナルレコードを
読出す。
■ First, read the journal records from each physical volume.

■ 次に、各物理ポリニーム毎の最新ジャーナルを、ジ
ャーナルレコード中の版数情報保持部20.21の内容
にもとづいて決定する。なお、該保持部20と21の内
容が等しければ当該レコードは正しいものとみなされる
(2) Next, the latest journal for each physical polyneme is determined based on the contents of the version number information holding section 20.21 in the journal record. Note that if the contents of the holding units 20 and 21 are equal, the record is considered to be correct.

■ その後、論理ボリュームとしてのジャーナルを決定
する。この決定方法は、ジャーナルの取り方によって異
なるようにされる。
■ Then determine the journal as a logical volume. This determination method differs depending on how the journal is taken.

■ そして、論理ボリュームとしてのジャーナル上で「
更新中」である部分を他ボリュームヘコピーする。
■ And on the journal as a logical volume:
Copy the part that is "updating" to another volume.

■ 以上により、等紙性回復処理が終了し、現行のボリ
ュームのマウント処理が行なわれる。
(2) With the above steps, the equal paperness recovery process is completed, and the current volume is mounted.

jl15sは、ジャーナルレコード中、Illの立って
いるビット位置(「更新中」)に対応するシリンダ部分
について、任意の正常物理ボリュームから他の物理ボリ
ュームに対してデータがコピーされる様子を示すもので
ある。
jl15s indicates how data is copied from any normal physical volume to another physical volume for the cylinder part corresponding to the bit position where Ill is set ("updating") in the journal record. be.

上記最新ジャーナルの決定方法としては、各種の方法が
採用可能である。
Various methods can be used to determine the latest journal.

まず、ジャーナルレコードは1つだけではなく、処理の
高速化のためにトラック上に複数個のレコードが存在す
るように構成することができる。さらに、信頼性の観点
から複数トラックをサイクリックに使用するようにし、
ジャーナル更新中にエラーが発生しても殻新のものが残
るように構成することもできる。
First, instead of only one journal record, it is possible to configure a track so that a plurality of records exist on the track in order to speed up processing. Furthermore, from the viewpoint of reliability, multiple tracks are used cyclically,
It can also be configured so that even if an error occurs while updating the journal, a new version remains.

この場合、最新ジャーナルを決定するには、ジャーナル
レコードが存在する全トラックを読み、版数が最大であ
るレコードを求めればよい。
In this case, to determine the latest journal, it is sufficient to read all tracks containing journal records and find the record with the maximum version number.

次に、論理ボリュームとしてのジャーナルの決定におい
ては、各物理ボリュームの最新ボリュームの最新ジャー
ナルから論理ボリュームとしてのジャーナルを定めるよ
うにする。
Next, in determining a journal as a logical volume, the journal as a logical volume is determined from the latest journal of the latest volume of each physical volume.

すなわち、 (1)データの更新の度にジャーナルを記録していれば
、物理ボリューム毎のジャーナルの中で版数が最大であ
るもの、 (it)  物理ボリューム上で更新される部分が前回
の更新部分と異なる場合に新しいジャーナルを書込むの
であれば、各物理ボリュームの最新ジャーナルをマージ
したもの、が論理ボリュームのジャーナルとなる。
In other words, (1) If a journal is recorded every time data is updated, the journal with the highest version number among the journals for each physical volume, (it) The part updated on the physical volume is the one that was updated last time. If a new journal is to be written when the new journal is different from the previous journal, the logical volume's journal will be the merged version of the latest journals of each physical volume.

L記実流側においては、シリンダを1つの更新範囲の単
位としたが、本発明はこれに限定されるものではなく、
トラックあるいは物理ブロック等を1つの更新範囲単位
とすることもできる。
In the actual flow side of L, the cylinder is used as a unit of one update range, but the present invention is not limited to this.
It is also possible to use a track, a physical block, or the like as one update range unit.

(へ)発明の詳細 な説明したように本発明によれば、システムダウン時に
更新中であった範囲を明確にし、システム立上げ時や、
ボリュームマウント時に、各物理ボリューム上の全ジャ
ーナルレコードを読込んで、最新のジャーナル情報を求
め(版数が最大であれば、最新である)、このジャーナ
ル上に示された範囲の等優性保証処理を行なうようにし
たので、等優性保証処理の所要時間、オーバヘッドが大
幅に削減できる。
(f) Detailed Description of the Invention According to the present invention, the range that was being updated when the system goes down is clarified, and when the system is started up,
When mounting a volume, all journal records on each physical volume are read, the latest journal information is obtained (if the version number is the maximum, it is the latest), and equality guarantee processing is performed for the range indicated on this journal. Since this is done, the time required and overhead for the homodominance guarantee process can be significantly reduced.

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

111図は多重化ボリュームの概念図、第2図は本発明
による実施例のデータ処理システムのブロック図、第8
図は実施例におけるジャーナルレコードの形式を示す図
、第4図は等優性回復処理の動作フローを示す図、第5
図はボリューム間のデータコピーの耀様を示す図である
。 82図において、1はデータ処理装置、2゜8はボリュ
ーム、7はジャーナルレコード領域、8はデータ領域、
9はジャーナル更新中表示処理部、11はジャーナル更
新中表示消去処理部である。
FIG. 111 is a conceptual diagram of a multiplexed volume, FIG. 2 is a block diagram of a data processing system according to an embodiment of the present invention, and FIG.
The figures are diagrams showing the format of journal records in the embodiment, Figure 4 is a diagram showing the operation flow of isodominant recovery processing, and Figure 5 is a diagram showing the operation flow of the isodominant recovery process.
The figure shows how data is copied between volumes. In Figure 82, 1 is a data processing device, 2.8 is a volume, 7 is a journal record area, 8 is a data area,
9 is a journal update display processing section, and 11 is a journal update display deletion processing section.

Claims (1)

【特許請求の範囲】[Claims] 複数の物理的に異なるボリューム上に同一データを書込
み、これらの複数のボリュームを論理的に1つのボリュ
ームとして扱うことを可能とする多重化ボリューム機能
を有するデータ処理システムにおいて、上記複数の物理
ボリュームの各々にジャーナルレコード領域をもうける
とともに、上記物理ボリュームへの書込み要求時、書込
み処理が行なわれる所定の更新範囲を示す更新範囲情報
と更新度数を示す版数情報とを含むジャーナル情報を作
成し、上記複数の物理ボリュームのジャーナルレコード
領域の各々に当該ジャーナル情報を書込むようにし、シ
ステムダウン後の立上げ時等に際しては上記複数の物理
ボリュームのジャーナルレコード領域の内容を参照し、
上記更新範囲情報により更新中状部であったデータ領域
を議罰し、当該データ領域についてのデータ内容の等優
性保証処理を行なうようにしたことを特徴とする多重化
ボリューム処理方式。
In a data processing system having a multiplex volume function that allows writing the same data on multiple physically different volumes and treating these multiple volumes as one logical volume, A journal record area is provided for each, and when a write request is made to the physical volume, journal information is created that includes update range information indicating a predetermined update range in which write processing is performed and version information indicating the update frequency. The journal information is written to each of the journal record areas of multiple physical volumes, and when the system is started up after going down, etc., the contents of the journal record areas of the multiple physical volumes are referenced.
A multiplexed volume processing method characterized in that a data area that is a mid-update portion is judged based on the update range information, and equidominance guarantee processing is performed on the data contents of the data area.
JP57057576A 1982-04-07 1982-04-07 Processing system of multiplex volume Granted JPS58175065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57057576A JPS58175065A (en) 1982-04-07 1982-04-07 Processing system of multiplex volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57057576A JPS58175065A (en) 1982-04-07 1982-04-07 Processing system of multiplex volume

Publications (2)

Publication Number Publication Date
JPS58175065A true JPS58175065A (en) 1983-10-14
JPS6326406B2 JPS6326406B2 (en) 1988-05-30

Family

ID=13059671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57057576A Granted JPS58175065A (en) 1982-04-07 1982-04-07 Processing system of multiplex volume

Country Status (1)

Country Link
JP (1) JPS58175065A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01118921A (en) * 1987-11-02 1989-05-11 Hitachi Ltd Control method for duplex disk
JPH01140220A (en) * 1987-11-26 1989-06-01 Hitachi Ltd Double disc controller
JPH01166232A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Data recovery system
JP2002024072A (en) * 2000-07-04 2002-01-25 Honda Motor Co Ltd Electronic file management system with shared data base

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5362441A (en) * 1976-11-17 1978-06-03 Hitachi Ltd File recovery method by back up copy

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5362441A (en) * 1976-11-17 1978-06-03 Hitachi Ltd File recovery method by back up copy

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01118921A (en) * 1987-11-02 1989-05-11 Hitachi Ltd Control method for duplex disk
JPH01140220A (en) * 1987-11-26 1989-06-01 Hitachi Ltd Double disc controller
JPH01166232A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Data recovery system
JP2002024072A (en) * 2000-07-04 2002-01-25 Honda Motor Co Ltd Electronic file management system with shared data base

Also Published As

Publication number Publication date
JPS6326406B2 (en) 1988-05-30

Similar Documents

Publication Publication Date Title
JP3058743B2 (en) Disk array controller
US5043871A (en) Method and apparatus for database update/recovery
JP2001216185A (en) Data restoration method for information procession system and disk sub-system
JP2002278819A (en) Generation management method for snap shot image, storage medium and generation management system
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPH0877074A (en) Storage device system using flash memory
JPS58175065A (en) Processing system of multiplex volume
US6854038B2 (en) Global status journaling in NVS
JP3043662B2 (en) Data backup method
JPH10312329A (en) Data backup and restoring device
JP3090182B2 (en) Alternative sector registration method
JPS60229149A (en) File update system
JPH07319637A (en) Controller and control method for disk device
JPS58107976A (en) Protecting method for volume managing information
JPS6326407B2 (en)
JPH0553732A (en) Dual disk system
JPH10240620A (en) Computer system and check point image preservation method in the system
JP2861846B2 (en) Magnetic disk control system
JP3463696B2 (en) Online garbage collection processing method
JPH0973372A (en) Method and device for storage control
JPH06131123A (en) External storage device for computer
JPH0235537A (en) Multiple volume update control system
JP2001175422A (en) Disk array device
JP2003186629A (en) Data copy system
JPS63262737A (en) Data base updating and recording processing method