JPS61250720A - Magnetic disc controller - Google Patents

Magnetic disc controller

Info

Publication number
JPS61250720A
JPS61250720A JP60091101A JP9110185A JPS61250720A JP S61250720 A JPS61250720 A JP S61250720A JP 60091101 A JP60091101 A JP 60091101A JP 9110185 A JP9110185 A JP 9110185A JP S61250720 A JPS61250720 A JP S61250720A
Authority
JP
Japan
Prior art keywords
state
magnetic disk
holding section
magnetic disc
controller
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
JP60091101A
Other languages
Japanese (ja)
Inventor
Hiroaki Sato
博明 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60091101A priority Critical patent/JPS61250720A/en
Publication of JPS61250720A publication Critical patent/JPS61250720A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain rising of a duplicated system at power failure restoration automatically, safely and surely by providing a state holding section to a mag netic disc controller. CONSTITUTION:A state holding section 24 has a means such as a latch relay or nonvolatile storage and holds the just preceding state even when power interruption takes place. When a magnetic disc device 4 is disconnected from the system and operated singly as the magnetic disc controller 3 and a magnetic disc device 5, the state holding section of a controller 2 holds the 'disconnecting' state as an information bit and the state holding section of the controller 3 holds the state of 'master system'. If power failure takes place in this state and then the power failure is restored, a CPU 1 reads the content of each state holding section of magnetic disc controllers 2, 3 and uses the system holding the master system as the main system again depending on the content and raises the disc.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は2重化された磁気ディスク装置をもつ電子計算
機システムに於ける該磁気ディスク制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a magnetic disk control device in a computer system having dual magnetic disk devices.

〔発明の技術的背景〕[Technical background of the invention]

2重化された磁気ディスク装置をもつシステムの構成例
を示すと第3図のようになる。第3図において(1)は
中央演算制御装置I(以下CPUと略称する)、 (2
)(3)は磁気ディスク制御装置、(4) (5)は磁
気ディスク装置である。従来は、上記の磁気ディスク制
御装置(2) (3)は装置自体としては制御対象とす
る磁気ディスク装!! (4) (5)が第3図の1よ
うに2重化されているかどうかには関わらず、専らCP
Uと磁気ディスク間のデータ転送制御を行う作用が主な
る機能となっていた。
An example of the configuration of a system having dual magnetic disk drives is shown in FIG. In Fig. 3, (1) is a central processing control unit I (hereinafter abbreviated as CPU), (2
)(3) is a magnetic disk control device, and (4) and (5) are magnetic disk devices. Conventionally, the above-mentioned magnetic disk control devices (2) and (3) have been controlled only by the magnetic disk device itself. ! (4) Regardless of whether or not (5) is duplicated as in 1 in Figure 3, it is exclusively used for CP.
Its main function was to control data transfer between the U and the magnetic disk.

〔背景技術の問題点〕[Problems with background technology]

以上のような磁気ディスク制御装置(2) (3)をも
ち第3図のように構成されたシステムにおいては。
In a system having the magnetic disk control devices (2) and (3) as described above and configured as shown in FIG.

(4) (5)のうちの一方の磁気ディスク装置の障害
により他方の磁気ディスク装置のみでシステムを運転中
に停電等の障害が起き、一時的にシステムが停止したと
きに、再びシステムの自動立上げを行なおうとしても、
上記のシステム停止直前の状態(ディスクの接続状態)
は保持されておらず、従って、直前の状態に戻すことが
できなくなる欠点があった。これは停電直前時の障害発
生磁気ディスク装置の障害の要因が磁気ディスクの物理
的な障害によるものでなく磁気ディスク装置のファイル
の論理的な障害によるものであった場合にはこの検知は
ハード的には行なわれないため元の主系であった障害の
磁気ディスク装置が主系として選択されてしまう可能性
があるためであった。
(4) If a failure such as a power outage occurs while the system is operating only with the other magnetic disk unit due to a failure in one of the magnetic disk units listed in (5), and the system is temporarily stopped, the system will restart automatically. Even if you try to start up,
The state immediately before the above system stops (disk connection state)
is not maintained, so there is a drawback that it is impossible to return to the previous state. This is because if the cause of the failure in the magnetic disk device that occurred immediately before a power outage was not due to a physical failure of the magnetic disk but to a logical failure of the file on the magnetic disk device, this detection is performed by the hardware. This is because there is a possibility that the failed magnetic disk device, which was the original main system, may be selected as the main system.

〔発明の目的〕[Purpose of the invention]

本発明は前記の欠点を解消し、停電復旧後の2重化磁気
ディスク装置の立上げを停電直前の状態に戻って行なえ
るようにすることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to enable a duplex magnetic disk drive to be started up after a power failure, returning to the state immediately before the power failure.

〔発明の概要〕[Summary of the invention]

本発明は磁気ディスク制御装置に、その制御部との間で
情報のやりとりを行いラッチ形リレーまたは不揮発性記
憶等の手段を有する状態保持部を設けておき、立上げに
際しCPUがこれを読み出すことにより上記目的を達成
できるようにしたものである。
The present invention provides a magnetic disk control device with a state holding section that exchanges information with the control section and has means such as a latch type relay or non-volatile memory, and the CPU reads this out at startup. This makes it possible to achieve the above objectives.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明の一実施例の内部構成を示すブロック図
である。第1図において、 (21)はCPUインター
フェイス、(22)は制御部、(23)は磁気ディスク
装置(駆動部を含む)インターフェイス、(24)は状
態保持部でありラッチ形リレーまたは不揮発生記憶等の
手段を有して電源断が発生してもその直前の状態を保持
している部分である。(25)は磁気ディスク装置への
書込み/読出しデータを、(26)〜(30)は(21
)〜(24)の各々の間でやりとりされる制御信号を表
わしている。
FIG. 1 is a block diagram showing the internal configuration of an embodiment of the present invention. In Fig. 1, (21) is a CPU interface, (22) is a control unit, (23) is a magnetic disk device (including a drive unit) interface, and (24) is a state holding unit, which is a latch type relay or non-volatile memory. This is a part that maintains the state immediately before the power is cut off even if the power is cut off. (25) is the write/read data to the magnetic disk device, (26) to (30) are (21)
) to (24) respectively.

次に動作を説明する。−膜構成を示す第3図において、
磁気ディスク制御装置(2)と磁気ディスク装置(4)
とからなる部分を主系、磁気ディスク制御装置(3)と
磁気ディスク装置(5)とからなる部分を従系とすると
、各基へのCPU(1)よりのデータの書込みは通常時
には主系、従系ともに行われ、CPU(1)への読出し
は主系のみから行われる。この通常時の動作は第1図の
制御装置においてはCPυインターフェイス部(21)
と磁気ディスクインターフェイス部(23)を介し制御
部(22)の制御によって行われる。制御部(24) 
((242)又は(243))は自らが主系か従系かを
示す情報ビットを保持しており。
Next, the operation will be explained. - In Figure 3 showing the membrane configuration,
Magnetic disk control device (2) and magnetic disk device (4)
Assuming that the part consisting of the above is the main system, and the part consisting of the magnetic disk control unit (3) and the magnetic disk unit (5) is the slave system, writing of data from the CPU (1) to each unit is normally done by the main system. , and the slave system, and reading to the CPU (1) is performed only from the main system. This normal operation is performed by the CPυ interface section (21) in the control device shown in Figure 1.
This is performed under the control of the control section (22) via the magnetic disk interface section (23). Control unit (24)
((242) or (243)) holds an information bit indicating whether it is the main system or the slave system.

この情報はCPU(1)よりの要求によってのみ書込み
(更新)、読出しが行えるものとなっており、且つこの
制御装置への電源の供給が断たれてもこの情報ビット状
態は保持される。
This information can be written (updated) or read only by a request from the CPU (1), and even if the power supply to this control device is cut off, this information bit state is maintained.

令弟3図の磁気ディスク装置(4)に障害が発生し、そ
のため磁気ディスク装置(4)をシステムより切離し、
磁気ディスク制御装置(3)と磁気ディスク装置(5)
の単独系(主系のみ)で運用を行っていたとすると、制
御装置(2)の状態保持部(242)は″切離し″状態
を情報ビットとして保持しており磁気ディスク制御装置
(3)の状態保持部(243)は“主系”の状態を保持
している。
A failure occurred in the magnetic disk drive (4) of younger brother 3, so the magnetic disk drive (4) was disconnected from the system.
Magnetic disk control device (3) and magnetic disk device (5)
If the operation is performed as a standalone system (main system only), the state holding unit (242) of the control device (2) holds the "disconnected" state as an information bit, and the state of the magnetic disk control device (3) The holding unit (243) holds the "main system" state.

この状態で停電が発生し、その後停電復旧した場合、第
3図において、cpu(1)は磁気ディスク制御装置(
2)及び(3)に対して状態保持部(242) (24
3)に保持されている上記情報ビットの読出しを行う。
If a power outage occurs in this state and then the power is restored, the CPU (1) will be replaced by the magnetic disk controller (
2) and (3), the state holding unit (242) (24
3) The information bits held in the above information bits are read out.

その内容により主系を保持している方の系を再び主系と
してディスクの立上げを行う。
Depending on the contents, the disk is started up again with the system holding the main system as the main system.

停電復旧時の動作をまとめて流れ図で示したものが第2
図である。
The second flowchart summarizes the operations during power outage recovery.
It is a diagram.

以上は磁気ディスク制御装置について述べたが本発明は
本装置に限らず磁気ドラム等の外部記憶装置についても
適用できるものである。
Although the magnetic disk control device has been described above, the present invention is applicable not only to this device but also to external storage devices such as magnetic drums.

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

本発明は以上のようになるものであって、2重化システ
ムに於ける停電復旧時の立上げを自動的に安全かつ確実
に行うことができる効果が得られる。
The present invention is as described above, and has the effect of automatically and safely and reliably starting up a duplex system upon recovery from a power outage.

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

第1図は本発明の一実施例の内部構成を示すブロック図
、第2図は停電復帰時の動1作の流れ図、第3図は2重
化された磁気ディスク装置をもつシステムの構成例を示
すブロック図である。 1:中央演算制御装置、 2.3:磁気ディスク装置、 4.5:磁気ディスク装置、 21.23:インターフェイス。 22:制御部、 24:状態保持部。
Fig. 1 is a block diagram showing the internal configuration of an embodiment of the present invention, Fig. 2 is a flowchart of one operation when recovering from a power outage, and Fig. 3 is an example of the configuration of a system with dual magnetic disk drives. FIG. 1: Central processing control unit, 2.3: Magnetic disk device, 4.5: Magnetic disk device, 21.23: Interface. 22: Control unit, 24: State holding unit.

Claims (1)

【特許請求の範囲】[Claims] 中央演算制御装置と磁気ディスク制御装置との間に介在
し、制御部と、この制御部の状態保持部と、前記制御部
と前記中央演算制御装置及び磁気ディスク装置との間に
介在する各インターフェイス部とを具備することを特徴
とする磁気ディスク制御装置。
A control unit interposed between the central processing control unit and the magnetic disk control unit, a state holding unit of the control unit, and each interface interposed between the control unit and the central processing control unit and the magnetic disk unit. A magnetic disk control device comprising:
JP60091101A 1985-04-30 1985-04-30 Magnetic disc controller Pending JPS61250720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60091101A JPS61250720A (en) 1985-04-30 1985-04-30 Magnetic disc controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60091101A JPS61250720A (en) 1985-04-30 1985-04-30 Magnetic disc controller

Publications (1)

Publication Number Publication Date
JPS61250720A true JPS61250720A (en) 1986-11-07

Family

ID=14017130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60091101A Pending JPS61250720A (en) 1985-04-30 1985-04-30 Magnetic disc controller

Country Status (1)

Country Link
JP (1) JPS61250720A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03119236U (en) * 1990-03-20 1991-12-09

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03119236U (en) * 1990-03-20 1991-12-09

Similar Documents

Publication Publication Date Title
US7724643B2 (en) Recovery of duplex data system after power failure
US7293068B2 (en) Method and system for storing duplicate data
JPS5975349A (en) File recovering system in double write storing system
JPH1195933A (en) Disk array system
JP3937878B2 (en) Magnetic tape device, control method thereof, and program for controlling magnetic tape device
JP2006260141A (en) Control method for storage system, storage system, storage control device, control program for storage system, and information processing system
JPS61250720A (en) Magnetic disc controller
JPH10133926A (en) Mirror disk restoring method and restoring system
JPH0293721A (en) Copying and transferring system for magnetic disk device
JPH0793101A (en) Data backup device
JPS6217299B2 (en)
JPH09212425A (en) Write cache backup system
KR20010011204A (en) Method and apparatus for overcoming raid failure by cache mirroring
JPS63280357A (en) Data save/restore system
JPH0656604B2 (en) Information processing equipment
JPH01102658A (en) File write back-up system
JP2656499B2 (en) Computer system
JPS61210453A (en) Data memory device
JPH07168673A (en) Dual system device
JPH0317130B2 (en)
JP2810265B2 (en) Data storage device and information processing system
JP2001084179A (en) Automatic backup system and recording medium recording automatic backup program
JPS63140357A (en) Disk input and output control system
JPH02239353A (en) Data storage sub system
JPH0424823A (en) Magnetic disk device and its control system