JPS6160154A - Control system for access to memory - Google Patents

Control system for access to memory

Info

Publication number
JPS6160154A
JPS6160154A JP59181960A JP18196084A JPS6160154A JP S6160154 A JPS6160154 A JP S6160154A JP 59181960 A JP59181960 A JP 59181960A JP 18196084 A JP18196084 A JP 18196084A JP S6160154 A JPS6160154 A JP S6160154A
Authority
JP
Japan
Prior art keywords
volume
flag
access
online
processing unit
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
JP59181960A
Other languages
Japanese (ja)
Inventor
Rei Takahashi
玲 高橋
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 JP59181960A priority Critical patent/JPS6160154A/en
Publication of JPS6160154A publication Critical patent/JPS6160154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect early the fault of a defective record and also to prevent previously the generation of the head crush, by using plural memories successively and in an on-line system. CONSTITUTION:Both VOL0 and VOL1 are used with switching every fixed period of time. If an error is detected with a reading action out of the VOL1, a fault flag is turned on with an on-volume. Then an on-line switch flag 3 is changed over with an on-line switch change over program. Then the volume turned on the fault flag is formed again with exchange, etc. Thus the volume repeats the normal actions and starts a patrol for detection of faults.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は二重化乃至多重化されている磁気ディスク装置
等の故障発生を早期に発見し得る記憶装置へのアクセス
制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an access control method to a storage device that can detect failures of duplexed or multiplexed magnetic disk devices at an early stage.

情報処理装置で用いられる磁気ディスク装置はその信頼
性を上げるため冗長性が増えることを認めつつそれを二
重化している。この二重化により、その意図するところ
が完全に発揮されるならば何らの問題も生じないのであ
るが、従来の二重化方式では、その当初においては思い
も寄らないような故障を発生せしめてしまう要因が存在
し、二重化の目的が十分に達成されない状況が発生する
ことがある。
In order to increase the reliability of magnetic disk drives used in information processing devices, duplication is implemented, recognizing that redundancy increases. If this redundancy fully achieves its intended purpose, no problems will occur, but with conventional redundancy systems, there are factors that can cause unexpected failures at the beginning. However, situations may arise where the purpose of duplication is not fully achieved.

〔従来の技術〕[Conventional technology]

従来の二重化方式はその一方をオンラインの使用に供し
、他方を予備系として動作させ、オンライン系に故障が
発生したときには、オンライン系と予備系とを切り替え
て故障の影響を少なくしている。このような動作におい
て、オンライン系が正常に動作している場合予備系はそ
こへのアクセスが全く行なわれないか、又は定期的にヘ
ッドシークが行なわれるか若しくは定期的に特定レコー
ドの読み出しが行なわれている。この後者の処置は予備
系の正常な動作の保証を得んがためのものである。
In conventional duplication systems, one of the systems is used online and the other is operated as a backup system, and when a failure occurs in the online system, the online system and the backup system are switched to reduce the effects of the failure. In such an operation, if the online system is operating normally, the backup system will not be accessed at all, or a head seek will be performed periodically, or a specific record will be read periodically. It is. This latter procedure is intended to ensure the normal operation of the backup system.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のような予備系の正常動作保証手段では、im常業
務で使用するレコードまでへのアクセスは行なわれない
から、そのレコードに不良等の故障が発生ずることがあ
ってもその発見が遅れることとなり、オンライン系とし
て使用されるとき重大な障害に発展する可能性が存在す
る。
The normal operation guarantee means of the backup system described above does not access the records used in regular im work, so even if a malfunction such as a defect occurs in the record, its discovery will be delayed. Therefore, there is a possibility that it will develop into a serious problem when used as an online system.

c問題点を解決するための手段〕 本発明は上記問題点を解決し得る記憶装置へのアクセス
制御方式を提供するもので、その手段は中央処理装置へ
接続されてそのアクセスを受け同一記憶内容を記憶する
複数の記憶装置を有する情報処理装置において、前記中
央処理装置がアクセスし得る前記複数の記憶装置のうち
の1つを指示する切替え手段と、前記複数の記1a装置
のうちの1つを予め決められた順序で所定時間の間前記
中央処理装置によるアクセスに供するよう前記切替え手
段を制御する手段を備えて前記複数の記憶装置の故障パ
ト11−ルを行ない得るように構成したものである。
Means for Solving Problem c] The present invention provides an access control method to a storage device that can solve the above problem, and the means is connected to a central processing unit and receives access from the central processing unit so that the same storage content can be stored. In an information processing device having a plurality of storage devices storing , a switching means for instructing one of the plurality of storage devices that can be accessed by the central processing unit, and one of the plurality of devices 1a. The storage device is configured to include means for controlling the switching means so that the storage devices are accessed by the central processing unit in a predetermined order for a predetermined period of time, so as to perform a failure patrol of the plurality of storage devices. be.

〔作用〕[Effect]

本発明方式によれば、複数の記憶装置を予め決められた
順序で一定時間毎に一時には一台中央処理装置に接続さ
せる、つまり複数の記憶装置を順番にオンラインとして
使用するようにしているから、その動作の確認を行ない
得ると共に不良レコード等の故障を早期に発見し、又へ
ソドクラソシュが生ずる可能性を未然に防止し得ること
となる。
According to the method of the present invention, a plurality of storage devices are connected to the central processing unit one at a time at regular intervals in a predetermined order, that is, the plurality of storage devices are sequentially used online. , its operation can be confirmed, and malfunctions such as bad records can be discovered at an early stage, and the possibility of occurrence of a failure can be prevented.

〔実施例〕〔Example〕

以下、添付図面を参照しながら本発明の詳細な説明する
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の一実施例を示す。この図において、■
は中央処理装置(以下、CPUと略称する。)で、これ
にはメインメモリ2が接続されると共にディスクコント
ローラDKCO,DKCIが接続され、そのディスクコ
ントローラには磁気ディスク装置(以下、ボリュームと
略称する。)VOLO,VOLIが接続される。なお、
ディスクコントローラは各ボリュームで共用されてもよ
い。
FIG. 1 shows an embodiment of the invention. In this figure, ■
is a central processing unit (hereinafter abbreviated as CPU), to which the main memory 2 is connected as well as disk controllers DKCO and DKCI, and to this disk controller is a magnetic disk device (hereinafter abbreviated as volume). ) VOLO and VOLI are connected. In addition,
A disk controller may be shared by each volume.

メインメモリ2には、ボリュームv o t、 o又は
VOLIアクセスするためのアクセスプログラム及びオ
ンラインスイッチ切替えプログラムが記憶されるほか、
アクセスプログラムをボリューム■OI、0又はボリュ
ームVOL1へアクセスさせるオンラインスイッチとし
て働くオンラインスイッチフラグ3並びにボリュームV
OLOのための故障フラグ4.及びボリュームV OL
 1のための故障フラグ42のための領域がある。
The main memory 2 stores an access program for accessing volumes vot, o or VOLI, and an online switch switching program.
Online switch flag 3 and volume V act as an online switch that allows the access program to access volume OI, 0 or volume VOL1.
Fault flag for OLO4. and volume VOL
There is an area for a fault flag 42 for 1.

次に、上述構成システムの下における本発明の詳細な説
明する。
Next, a detailed explanation of the present invention under the above-mentioned configuration system will be given.

」二連構成システムにおいて、ボリュームVOLOにも
又ボリュームVOLIにも故障が生ぜず、正常に動作し
ている場合には、第2図に示すオンラインスイッチ切替
えプログラムの処理フローはそのステップS1.S2.
S5を通って所定時間毎にオンラインボリュームをボリ
ュームVOLOとボリュームV OL 1との間で切り
替えて使用している。この場合におけるオンラインスイ
ッチ切替えプログラム、オンラインスイッチフラグ及び
オンラインボリュームの動作シーケンスが第3図に示さ
れている。このような動作中に第3図から明らかなよう
に、オンラインスイッチフラグをCPUIが参照してそ
のフラグの指示に従ってアクセスプログラムがディスク
コントローラDKCO又はDKCIを介してオンライン
ボリュームへのアクセスを行なう。
'' In the dual configuration system, if neither volume VOLO nor volume VOLI has a failure and is operating normally, the processing flow of the online switch changeover program shown in FIG. S2.
Through S5, the online volume is switched between volume VOLO and volume VOL1 at predetermined time intervals. The operation sequence of the online switch switching program, online switch flag, and online volume in this case is shown in FIG. During such operations, as is clear from FIG. 3, the CPU refers to the online switch flag, and the access program accesses the online volume via the disk controller DKCO or DKCI in accordance with the instruction of the flag.

このようなアクセスが、例えばボリュームVOLOから
の読み出しにあって、しかもその読み出し中にエラーが
生じたとすると(第5図のステップS2のY)(書込み
も同様、第6図参照)、オンラインボリューム故障フラ
グ(この場合、フラグ41)をオンにする(第5図のス
テップS3)。
If such an access occurs, for example, when reading from volume VOLO, and an error occurs during reading (Y in step S2 in Figure 5) (same for writing, see Figure 6), online volume failure occurs. A flag (in this case, flag 41) is turned on (step S3 in FIG. 5).

そうすると、次のオンラインスイッチ切替えプログラム
処理フローにおいて、第2図のステップS2の判定は肯
定になり(ステップS2のY)、予備ボリューム故障フ
ラグがオンにあるか否かが第2図のステップS3で判定
される。この場合に予備ボリューム故障フラグがオフに
あるとすると、オンラインスイッチフラグ3を切り替え
て予備ボリュームをオンラインに切り替える(第5図の
ステップS4)。そして、オンラインスイッチ切替えプ
ログラムが実行されるステップS1において、再びオン
ラインスイッチフラグ3の切替えを生せしめるが、第2
図のステップS4においてフラグ3は動作上支障を来さ
ない短時間のうちにオンラインとして予備ボリュームを
使用すべき旨を表示する状態に切り替えられる。このよ
うな動作シーケンスを示すのが第4図である。
Then, in the next online switch switching program processing flow, the determination in step S2 in FIG. 2 becomes affirmative (Y in step S2), and it is determined in step S3 in FIG. 2 whether or not the spare volume failure flag is on. It will be judged. In this case, if the spare volume failure flag is off, the online switch flag 3 is switched to switch the spare volume online (step S4 in FIG. 5). Then, in step S1 in which the online switch switching program is executed, the online switch flag 3 is switched again, but the second
At step S4 in the figure, flag 3 is switched to a state indicating that the spare volume should be used online within a short time without causing any operational problems. FIG. 4 shows such an operation sequence.

故障フラグをオンにしたボリュームが交換等により、ボ
リュームの二重化が再び構築されると、上述正常な動作
を繰り返すようになり、いずれかのボリュームで生ずる
であろう故障のパトロールが開始されることになる。
When volume duplication is re-established by replacing the volume with the failure flag turned on, the normal operation described above will be repeated, and a patrol will be started for failures that may occur in any of the volumes. Become.

」二記実施例においては二重化の場合について説明した
が、これに限られるものではない。
In the second embodiment, a case of duplication has been described, but the invention is not limited to this.

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

以上説明したように、本発明によれば、■予備系記憶装
置の故障の早期発見を為し、それから惹起される重大な
障害への発展を最小限に留め得る、 ■又、ヘッドクラッシュの発生可能性を未然に防止し得
る、等の効果が得られる。
As explained above, according to the present invention, it is possible to (1) detect failures in standby storage devices at an early stage and minimize the development of serious failures caused by such failures; (2) also cause head crashes to occur. Effects such as being able to prevent such problems from occurring can be obtained.

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

第1図は本発明の一実施例を示す図、第2図はオンライ
ンスイッチ切替えプログラムのフローチャート、第3図
は正常な動作におけるオンラインスイッチ切替えプログ
ラム、オンラインスイッチフラグ及びオンラインボリュ
ームの動作シーケンスを示す図、第4図は読み出しエラ
ーが生じた場合におけるオンラインスイッチ切替えプロ
グラム。 オンラインスイッチフラグ、オンラインボリューム、ア
クセスプログラム及び故障フラグの動作シーケンスを示
す図、第5図は読み出しの場合のボリュームアクセスプ
ログラムのフローチャート、第6図は書込みの場合のボ
リュームアクセスプログラムのフローチャートである。 図中、1はCPU、2はメインメモリ、3はオンライン
スイッチフラグ、41.42は故障フラグ、DKCO,
DKCIはディスクコントローラ、VOLO,VOLl
は磁気ディスク装置である。 第5図 第6図 n0
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a flowchart of an online switch switching program, and FIG. 3 is a diagram showing the operation sequence of the online switch switching program, online switch flag, and online volume in normal operation. , FIG. 4 is an online switch changeover program when a read error occurs. FIG. 5 is a flowchart of the volume access program for reading, and FIG. 6 is a flowchart of the volume access program for writing. In the figure, 1 is the CPU, 2 is the main memory, 3 is the online switch flag, 41.42 is the failure flag, DKCO,
DKCI is a disk controller, VOLO, VOLl
is a magnetic disk device. Figure 5 Figure 6 n0

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置へ接続されてそのアクセスを受け同一記憶
内容を記憶する複数の記憶装置を有する情報処理装置に
おいて、前記中央処理装置がアクセスし得る前記複数の
記憶装置のうちの1つを指示する切替え手段と、前記複
数の記憶装置のうちの1つを予め決められた順序で所定
時間の間前記中央処理装置によるアクセスに供するよう
前記切替え手段を制御する手段とを備えて前記記憶装置
の故障パトロールを行ない得るように構成したことを特
徴とする記憶装置へのアクセス制御方式。
In an information processing device having a plurality of storage devices that are connected to a central processing unit and receive access from the central processing unit and store the same storage contents, switching that instructs one of the plurality of storage devices that the central processing unit can access. and means for controlling the switching means to make one of the plurality of storage devices available for access by the central processing unit in a predetermined order and for a predetermined period of time. 1. A method for controlling access to a storage device, characterized in that the method is configured to perform the following.
JP59181960A 1984-08-31 1984-08-31 Control system for access to memory Pending JPS6160154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59181960A JPS6160154A (en) 1984-08-31 1984-08-31 Control system for access to memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59181960A JPS6160154A (en) 1984-08-31 1984-08-31 Control system for access to memory

Publications (1)

Publication Number Publication Date
JPS6160154A true JPS6160154A (en) 1986-03-27

Family

ID=16109875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59181960A Pending JPS6160154A (en) 1984-08-31 1984-08-31 Control system for access to memory

Country Status (1)

Country Link
JP (1) JPS6160154A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298191A (en) * 1992-04-16 1993-11-12 Kofu Nippon Denki Kk Autoamtic cash depositing and dispensing machine
US5332449A (en) * 1991-10-28 1994-07-26 Heraeus Electro-Nite International N.V. Immersion sensor for molten metals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5332449A (en) * 1991-10-28 1994-07-26 Heraeus Electro-Nite International N.V. Immersion sensor for molten metals
JPH05298191A (en) * 1992-04-16 1993-11-12 Kofu Nippon Denki Kk Autoamtic cash depositing and dispensing machine

Similar Documents

Publication Publication Date Title
US5889938A (en) Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs
JPH1195933A (en) Disk array system
JPS6160154A (en) Control system for access to memory
JP3120769B2 (en) Disk array device and control method therefor
JP2630263B2 (en) Electronic exchange
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JPH10133926A (en) Mirror disk restoring method and restoring system
JP4098400B2 (en) Semiconductor disk device
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JP2735183B2 (en) Storage control method of computer system
JPH01130243A (en) Fault recovering system for storage device
JP2624106B2 (en) Automatic verification method of backup file in exchange system
JPH03271923A (en) Magnetic disk device with measures for fault control
JPH0588988A (en) Disk array device and method for restoring data
JPH0667816A (en) Method for reducing memory fault in semiconductor disk device
JPH0651918A (en) Semiconductor disk device
JP2868003B1 (en) Magnetic disk drive
JPH04111032A (en) Multiplexed storage device
JPH05108277A (en) Data restoring means for disk array subsystem
JPS60112171A (en) Duplex processing system
JPH04155673A (en) Mirrored disk device
JPS61272824A (en) Control part duplexing circuit
JPS6269342A (en) Semiconductor disk device
JPH08190460A (en) Disk array system
JPS6374177A (en) Magnetic disk controller