JPH0553732A - Dual disk system - Google Patents

Dual disk system

Info

Publication number
JPH0553732A
JPH0553732A JP3216815A JP21681591A JPH0553732A JP H0553732 A JPH0553732 A JP H0553732A JP 3216815 A JP3216815 A JP 3216815A JP 21681591 A JP21681591 A JP 21681591A JP H0553732 A JPH0553732 A JP H0553732A
Authority
JP
Japan
Prior art keywords
disk
data
semiconductor
magnetic
magnetic 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.)
Pending
Application number
JP3216815A
Other languages
Japanese (ja)
Inventor
Akira Katsumata
昭 勝又
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP3216815A priority Critical patent/JPH0553732A/en
Publication of JPH0553732A publication Critical patent/JPH0553732A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To increase the processing speed and to shorten the starting time for operation of a duel disk in a dual disk system by making use of the characteristics of a semiconductor disk and a magnetic disk. CONSTITUTION:A semiconductor disk 6 can write and read the data at a speed higher then a magnetic disk a and also can hold the data with back-up of a battery 7 even with e power failure defined within a specified time. The disk a has the same capacity as the disk 6 and prepares for a case where the data stored in the disk 6 are erased due to a power failure longer than the specified time. A duplex processing part 9 transfers the data between both disks 6 and 8 based on a program. A disk cache processing part 10 stores the data in a disk cache memory 12 and also writes the data in the disk 8. A recovery processing part 11 recovers a duel disk system based on the contents of a recovery map memory 13. Thus the operation of the system is started with the newly exchanged device used as a follower device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータシステムに
おけるデュアルディスクシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual disk system in a computer system.

【0002】[0002]

【従来の技術】コンピュータシステムにおいて、保存す
べきデータは、通常、磁気ディスクへ書込まれる。これ
らのデータが万一不正になった場合を考慮して、同一容
量のディスク装置を2台用意して2重書きするデュアル
ディスクが、データの保全を重要視するシステムにおい
て用いられている。
2. Description of the Related Art In a computer system, data to be stored is usually written on a magnetic disk. In consideration of the case where these data become illegal, a dual disk in which two disk devices of the same capacity are prepared and double-written is used in a system that places importance on data preservation.

【0003】図2はこの種の従来のデュアルディスクシ
ステムを示すもので、同図において、1は一般プログラ
ム部、2は2重化プログラム部、3aは主ディスクであ
る第1の磁気ディスク、3bは従ディスクである第2の
磁気ディスクである。矢印4a〜4cはディスク装置へ
の書込データの流れを示し、矢印5a,5bは第1の磁
気ディスク3aが「主」の場合のディスク装置からの読
込みデータの流れを示す。
FIG. 2 shows a conventional dual disk system of this type. In FIG. 2, 1 is a general program section, 2 is a duplicated program section, 3a is a first magnetic disk which is a main disk, and 3b. Is a second magnetic disk which is a slave disk. Arrows 4a to 4c show the flow of write data to the disk device, and arrows 5a and 5b show the flow of read data from the disk device when the first magnetic disk 3a is "main".

【0004】図2のデュアルディスクシステムにおい
て、一般プログラムは単独ディスク装置に対するものと
全く同様な「書込み」・「読込み」要求を、2重化プロ
グラムに対して発する。2重化プログラムは以下の機能
を有する。
In the dual disk system of FIG. 2, the general program issues the same "write" and "read" requests to the duplicated program as to the single disk device. The duplication program has the following functions.

【0005】(1)2台の磁気ディスク装置に対して
「主」・「従」の認識を持つ。(2)「書込み」要求は
“主”と“従”の磁気ディスクに対して行うが、「読込
み」要求は「主」の磁気ディスクから行う。(3)
「主」のディスクにおいて「書込み」又は「読込み」時
に不正データが検出された場合、もう一方の健全なるデ
ィスクを新しく「主」として運用する。(4)「主」又
は「従」のディスクにおいて重大なるエラーが発生した
場合は、その装置を切離し、単独ディスク装置として運
用する。
(1) The two main magnetic disk devices are recognized as "main" and "subordinate". (2) A "write" request is made to the "main" and "subordinate" magnetic disks, but a "read" request is made from the "main" magnetic disk. (3)
When illegal data is detected in the "writing" or "reading" of the "main" disk, the other healthy disk is newly operated as the "main". (4) When a serious error occurs in the "main" or "subordinate" disk, disconnect the device and operate as a single disk device.

【0006】[0006]

【発明が解決しようとする課題】従来のデュアルディス
クシステムにおいては、一般プログラムからみた場合、
「書込み」,「読込み」に要する時間が、単独ディスク
装置に比べて遅くなっていた。その原因は、2重化プロ
グラムが存在しているための遅れと「書込み」を2つの
ディスク装置に対して行っているための遅れによるもの
である。
In the conventional dual disk system, when viewed from a general program,
The time required for "writing" and "reading" was slower than that of a single disk device. The cause is due to the delay due to the existence of the duplication program and the delay due to "writing" to the two disk devices.

【0007】また、1台の磁気ディスク装置が異常とな
り予備装置と交換する場合、健全なもう1台のディスク
装置から予備であったディスク装置へ全データをコピー
しなければならず、デュアルディスクとして運用を再開
する迄に時間がかかっていた。
Further, when one magnetic disk device becomes abnormal and is replaced with a spare device, all data must be copied from another healthy disk device to the spare disk device. It took time to resume operation.

【0008】本発明は上述の問題点に鑑みてなされたも
ので、その目的は、処理の高速化と2重化ディスク運用
開始時間の短縮ができるデュアルディスクシステムを提
供することである。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a dual disk system capable of speeding up the processing and shortening the operation start time of the dual disk.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
するために、デュアルディスクシステムを、バッテリー
バックアップ付きの半導体ディスクと、この半導体ディ
スクに並設された磁気ディスクと、これらの半導体ディ
スクと磁気ディスクに対して設定されたプログラムに従
ってデータの授受を行う2重化処理部と、前記磁気ディ
スクにデータの書込処理を行うディスクキャッシュ処理
部と、このディスクキャッシュ処理部からのデータを記
憶して前記磁気ディスクに入力するディスクキャッシュ
メモリと、前記半導体ディスク又は磁気ディスクの異常
時にリカバリー処理するリカバリーマップメモリ及びリ
カバリー処理部によって構成する。
In order to achieve the above object, the present invention provides a dual disk system including a semiconductor disk with a battery backup, magnetic disks arranged in parallel with the semiconductor disk, and these semiconductor disks. A duplication processing unit that sends and receives data according to a program set for a magnetic disk, a disk cache processing unit that writes data to the magnetic disk, and stores data from this disk cache processing unit. A disk cache memory for inputting to the magnetic disk, a recovery map memory for performing recovery processing when the semiconductor disk or the magnetic disk is abnormal, and a recovery processing unit.

【0010】[0010]

【作用】プログラムに従って2重化処理部は半導体ディ
スクおよび磁気ディスクとの間でデータの授受を行い、
ディスクキャッシュ処理部はデータをディスクキャッシ
ュメモリに格納すると共に磁気ディスクに書込む。リカ
バリー処理部はリカバリーマップメモリの内容に従って
システムのリカバリーを行う。
According to the program, the duplication processing section exchanges data with the semiconductor disk and the magnetic disk,
The disk cache processing unit stores the data in the disk cache memory and writes the data in the magnetic disk. The recovery processing unit recovers the system according to the contents of the recovery map memory.

【0011】[0011]

【実施例】以下本発明の実施例を図面を参照しながら説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1において、6は主ディスクである半導
体ディスク、7はバックアップ電源であるバッテリー、
8は従ディスクである磁気ディスク、9は2重化処理
部、10はディスクキャッシュ処理部、11はリカバリ
ー処理部、12はディスクキャッシュメモリ、13はリ
カバリーマップメモリである。
In FIG. 1, 6 is a semiconductor disk which is a main disk, 7 is a battery which is a backup power source,
Reference numeral 8 is a magnetic disk which is a slave disk, 9 is a duplication processing unit, 10 is a disk cache processing unit, 11 is a recovery processing unit, 12 is a disk cache memory, and 13 is a recovery map memory.

【0013】図1のシステムにおいて、半導体ディスク
6は磁気ディスク8に比べて格段に速い「書込み」,
「読込み」処理が可能である。また、バッテリー7によ
るバックアップにより、特定時間内の停電でもデータ保
有が可能である。磁気ディスク8は通常のディスク装置
であり、半導体ディスク6と同一容量を有し、半導体デ
ィスク6のデータが特定時間以上の停電によって消失し
た場合に備える。
In the system of FIG. 1, the semiconductor disk 6 is much faster than the magnetic disk 8 in “writing”.
A "read" process is possible. Further, the backup by the battery 7 enables the data to be retained even during a power failure within a specific time. The magnetic disk 8 is a normal disk device, has the same capacity as the semiconductor disk 6, and is provided in case the data of the semiconductor disk 6 is lost due to a power failure for a specific time or longer.

【0014】2重化処理部9は2重化プログラムと同等
の機能を有する。ディスクキャッシュメモリ12とディ
スクキャッシュ処理部10は、磁気ディスク8に対応
し、「書込み」要求に対しては要求データをディスクキ
ャッシュメモリ12に書込んだ段階で要求完了する。そ
の後の空時間にバックグランド処理としてディスクキャ
ッシュメモリ12上の書込み要求データを磁気データ8
へ書込む。「書込み」要求時に、ディスクキャッシュメ
モリ12に空がない場合のみ、そのまま磁気ディスク8
へ書込みに行く。
The duplication processing section 9 has a function equivalent to that of the duplication program. The disk cache memory 12 and the disk cache processing unit 10 correspond to the magnetic disk 8 and complete the request for the “write” request when the requested data is written in the disk cache memory 12. In the idle time thereafter, the write request data on the disk cache memory 12 is transferred to the magnetic data 8 as background processing.
Write to. Only when the disk cache memory 12 is empty when the "write" request is made, the magnetic disk 8 is directly used.
Go to write to.

【0015】磁気ディスク装置8が「主」となって「読
込み」要求が来た場合、ディスクキャッシュメモリ12
上に該当データが存在しているならば、そのデータを転
送する。存在しない場合は、磁気ディスク8へ該当デー
タを読みに行く。このようにして磁気データ8に対する
「書込み」,「読込み」要求が高速化される。
When the magnetic disk device 8 becomes the "main" and a "read" request is received, the disk cache memory 12
If the relevant data exists above, that data is transferred. If it does not exist, the corresponding data is read to the magnetic disk 8. In this way, the "write" and "read" requests for the magnetic data 8 are speeded up.

【0016】リカバリーマップメモリ13とリカバリー
処理部11は半導体ディスク6または磁気ディスク8が
異常となり予備装置と交換した際に機能する。
The recovery map memory 13 and the recovery processor 11 function when the semiconductor disk 6 or the magnetic disk 8 becomes abnormal and is replaced with a spare device.

【0017】従来のデュアル・ディスクにおいては健全
ディスクから交換した予備装置へ全データをコピーした
後に、2重化ディスクとしての運用が再開されていた
が、本発明のシステムにおいては、装置交換後に新たに
設置された装置は「従」として即運転を開始する。
In the conventional dual disk, the operation as a duplicated disk was restarted after copying all the data from the sound disk to the spare device that was replaced, but in the system of the present invention, it is newly added after the device replacement. The device installed at will immediately start operating as a "servant".

【0018】その後、以下のような処理が実行される。After that, the following processing is executed.

【0019】(イ)リカバリーマップメモリの全フラグ
を「0」にする。(ロ)「書込み」要求により「従」デ
ィスク装置にデータが書かれる毎に、書込まれたデータ
領域に対応するリカバリーマップメモリのフラグを
「1」にする。(ハ)ディスク装置に対する処理の空き
時間に(バックグランド処理として)、リカバリーマッ
プメモリ上で「0」のままのフラグに該当するデータ
を、「主」ディスク装置から「従」ディスク装置へコピ
ーする。そして該当フラグを「1」にする。この処理
を、「0」状態のフラグが無くなる迄、バックグランド
処理として繰り返す。
(A) All flags in the recovery map memory are set to "0". (B) Every time data is written to the "slave" disk device by the "write" request, the flag of the recovery map memory corresponding to the written data area is set to "1". (C) Copying the data corresponding to the flag that remains "0" on the recovery map memory from the "main" disk device to the "slave" disk device in the idle time of the process for the disk device (as background processing). .. Then, the corresponding flag is set to "1". This process is repeated as the background process until the "0" state flag disappears.

【0020】[0020]

【発明の効果】半導体ディスクは、磁気ディスクと比べ
処理速度は格段に速いが、データの長時間に渡る保存が
不可能でるため、一時的に使用する(長時間保存する必
要のない)データに対してのみ使用されてきた。本発明
では、「バッテリーバックアップ」及び「磁気ディスク
との2重化」を採用することにより、半導体ディスク装
置の長所である高速処理を生かしつつ、短所であるデー
タの長期間保存も可能にしている。また、磁気ディスク
に対して、ディスクキャッシュ処理方式を採用したこと
により、磁気ディスク単独の場合に比べて、「書込み」
「読込み」要求が短時間で完了する。ディスクキャッシ
ュメモリの容量にもよるが、少容量のデータをランダム
な時間間隔で頻繁に書込む様な場合、特に効果が大き
い。従って、「書込み」,「読込み」時間の高速化が図
られる。
Although the processing speed of the semiconductor disk is much faster than that of the magnetic disk, it is impossible to store the data for a long time, so that the data can be temporarily used (the data does not need to be stored for a long time). It has only been used for. In the present invention, by adopting "battery backup" and "duplication with magnetic disk", while utilizing the high speed processing which is an advantage of the semiconductor disk device, it is possible to store data which is a disadvantage for a long period of time. .. In addition, by adopting the disk cache processing method for magnetic disks, "writing" is possible compared to the case of using only magnetic disks.
The "read" request is completed in a short time. Although it depends on the capacity of the disk cache memory, it is particularly effective when a small amount of data is frequently written at random time intervals. Therefore, the "write" and "read" times can be shortened.

【0021】さらに、従来の方式では、ディスク装置を
交換した場合、新しく設置された装置へ全データをコピ
ーしてから後でなければ2重化ディスクとしての運用が
再開できず、この間相当の待ち時間を要した。本発明で
は、この待ち時間が全く不要となり、新しく装置が設置
された後即2重化ディスクとしての運用が可能となる。
また新装置へのデータリカバーも、通常は「書込み」要
求を優先し、バックグランド処理としてその他のデータ
のコピーを行うので、リカバー処理による一般書込み要
求への影響が少い。それ故に、ディスク装置交換後の2
重化ディスク運用開始時間の短縮が図られる。
Further, in the conventional system, when the disk device is replaced, the operation as a duplicated disk cannot be resumed until after copying all the data to the newly installed device, and during this period, a considerable waiting time is required. It took time. In the present invention, this waiting time is completely unnecessary, and it becomes possible to operate as a duplicated disk immediately after a new device is installed.
In data recovery to a new device, the "write" request is usually prioritized, and other data is copied as background processing, so the recovery processing has little effect on the general write request. Therefore, 2 after the disk device replacement
The start-up time of the duplicated disk can be shortened.

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

【図1】本発明の実施例によるデュアルディスクシステ
ムのブロック図。
FIG. 1 is a block diagram of a dual disk system according to an embodiment of the present invention.

【図2】従来のデュアルディスクシステムのブロック
図。
FIG. 2 is a block diagram of a conventional dual disk system.

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

1…一般プログラム部、4a〜4c…ディスク装置への
書込データの流れ、5a,5b…ディスク装置からの読
込データの流れ、6…半導体ディスク、7…バックアッ
プバッテリ、8…磁気ディスク、9…2重化処理部、1
0…ディスクキャッシュ処理部、11…リカバリー処理
部、12…ディスクキャッシュメモリ、13…リカバリ
ーマップメモリ。
1. General program section, 4a to 4c ... Flow of write data to disk device, 5a, 5b ... Flow of read data from disk device, 6 ... Semiconductor disk, 7 ... Backup battery, 8 ... Magnetic disk, 9 ... Duplication processing unit, 1
0 ... Disk cache processing unit, 11 ... Recovery processing unit, 12 ... Disk cache memory, 13 ... Recovery map memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バッテリーバックアップ付きの半導体デ
ィスクと、この半導体ディスクに並設された磁気ディス
クと、これらの半導体ディスクと磁気ディスクに対して
設定されたプログラムに従ってデータの授受を行う2重
化処理部と、前記磁気ディスクにデータの書込処理を行
うディスクキャッシュ処理部と、このディスクキャッシ
ュ処理部からのデータを記憶して前記磁気ディスクに入
力するディスクキャッシュメモリと、前記半導体ディス
ク又は磁気ディスクの異常時にリカバリー処理するリカ
バリーマップメモリ及びリカバリー処理部によって構成
したことを特徴とするデュアルディスクシステム。
1. A semiconductor disk with a battery backup, a magnetic disk arranged in parallel with this semiconductor disk, and a duplication processing unit for exchanging data according to a program set for these semiconductor disk and magnetic disk. A disk cache processing unit that writes data to the magnetic disk, a disk cache memory that stores data from the disk cache processing unit and inputs the data to the magnetic disk, and an abnormality of the semiconductor disk or the magnetic disk. A dual disk system characterized by a recovery map memory for performing recovery processing and a recovery processing section at times.
JP3216815A 1991-08-28 1991-08-28 Dual disk system Pending JPH0553732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3216815A JPH0553732A (en) 1991-08-28 1991-08-28 Dual disk system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3216815A JPH0553732A (en) 1991-08-28 1991-08-28 Dual disk system

Publications (1)

Publication Number Publication Date
JPH0553732A true JPH0553732A (en) 1993-03-05

Family

ID=16694327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3216815A Pending JPH0553732A (en) 1991-08-28 1991-08-28 Dual disk system

Country Status (1)

Country Link
JP (1) JPH0553732A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223355A (en) * 2008-03-13 2009-10-01 Hitachi Software Eng Co Ltd Disk control system for performing mirroring of hard disk and silicon disk
JP2010244573A (en) * 2003-07-07 2010-10-28 Hitachi Ulsi Systems Co Ltd Storage device and storage system
JP2011159150A (en) * 2010-02-02 2011-08-18 Nec Corp Disk array device and data control method
JP2012174037A (en) * 2011-02-22 2012-09-10 Nec Corp Disk array device and control method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244573A (en) * 2003-07-07 2010-10-28 Hitachi Ulsi Systems Co Ltd Storage device and storage system
US8291149B2 (en) 2003-07-07 2012-10-16 Hitachi Ulsi Systems Co., Ltd. Storage device and storage system having a hard disk drive and flash memory
JP2009223355A (en) * 2008-03-13 2009-10-01 Hitachi Software Eng Co Ltd Disk control system for performing mirroring of hard disk and silicon disk
JP2011159150A (en) * 2010-02-02 2011-08-18 Nec Corp Disk array device and data control method
JP2012174037A (en) * 2011-02-22 2012-09-10 Nec Corp Disk array device and control method thereof

Similar Documents

Publication Publication Date Title
JP3197382B2 (en) Method and system for incremental time zero backup copy of data
JP4199993B2 (en) How to get a snapshot
JP3868708B2 (en) Snapshot management method and computer system
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
JP2557172B2 (en) Method and system for secondary file status polling in a time zero backup copy process
US20060047926A1 (en) Managing multiple snapshot copies of data
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
JP2003223287A (en) Storage device, backup method of the same, and program therefor
JP2003085018A (en) Online data changing method and system by remote copy
JP2007183763A (en) System, server device, and format conversion method for snapshot
JPH0291749A (en) Nonvolatile type semiconductor memory device
JPWO2009069326A1 (en) Network boot system
JP2006268139A (en) Data reproduction device, method and program and storing system
JP2014137711A (en) Storage device, backup program and backup method
US8108637B2 (en) Information processing system, controlling method in information processing system, and managing apparatus to manage remote copy in consideration of saving power
JP2005055947A (en) Computer system
JP4915365B2 (en) Data storage method and apparatus, duplicate data storage method and apparatus, and control program thereof
JPH0553732A (en) Dual disk system
US20070271311A1 (en) Disk array device and data management method for managing master data and replication data replicated from master data
JP6292796B2 (en) Information processing apparatus, information processing method, and program
JPH04311219A (en) Data backup system
JP2001290713A (en) Storage device system and method for acquiring its backup
JPS6326406B2 (en)
JPH0973372A (en) Method and device for storage control
JPH07319637A (en) Controller and control method for disk device