JPS6160155A - Memory subsystem - Google Patents

Memory subsystem

Info

Publication number
JPS6160155A
JPS6160155A JP59182959A JP18295984A JPS6160155A JP S6160155 A JPS6160155 A JP S6160155A JP 59182959 A JP59182959 A JP 59182959A JP 18295984 A JP18295984 A JP 18295984A JP S6160155 A JPS6160155 A JP S6160155A
Authority
JP
Japan
Prior art keywords
storage device
address
contents
storage
circuit
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
JP59182959A
Other languages
Japanese (ja)
Inventor
Hisao Hashimoto
橋本 久雄
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP59182959A priority Critical patent/JPS6160155A/en
Publication of JPS6160155A publication Critical patent/JPS6160155A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the replacement of data during a copying action by controlling the replacement of data for the 1st and 2nd memories in response to the process of the copying action. CONSTITUTION:An instruction execution circuit 202 sets the address of the data to be written to a replacement address memory circuit 203 by an access request given from a central subsystem 1. The address of the next data to be copied is set to a copy address memory circuit 205 if no access request is given. This action is repeated to perform a copying action to the 2nd memory circuit 212 from the 1st memory 211. An address comparator 204 compares the contents with each other between circuits 203 and 205. Then the writing actions are given to both memories 211 and 212 when the coincidence is obtained between both contents or in the case of 203<205. While the writing action is given to the memory 211 only in the case of 203>205 respectively.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、2つの記憶装置に対する二重書きを行う記憶
サブシステムに係り、特に、一方の記憶装置が故障した
場合の修理後の復旧方法に係る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a storage subsystem that performs dual writing to two storage devices, and particularly relates to a recovery method after repair when one storage device fails. .

従来の技術 2つの記憶装置に対し二重書きを行う記憶サブシステム
において一方の記憶装置が故障した場合には、これを修
理した後、当該記憶装置を記憶サブシステムに組込む前
に対となるもう一方の記憶装置の内容を当該記憶装置に
複写することが必要である。
BACKGROUND ART In a storage subsystem that performs dual writing to two storage devices, if one of the storage devices fails, after repairing it, write the other storage device as a pair before incorporating the storage device into the storage subsystem. It is necessary to copy the contents of one storage device to that storage device.

従来、この種の記憶サブシステムにおいては複写を行っ
ている開封となる記憶装置にアクセスすることが不可能
であυ、従って複写作業中一時的にジョブを中断しなけ
ればならない欠点があった。
Conventionally, this type of storage subsystem has had the disadvantage that it has been impossible to access the storage device that is being used for copying, and therefore the job has to be temporarily interrupted during the copying process.

発明の目的 本発明は対となる記憶装置に曹込みを行う場合、既に複
写済の部分に対しては両方の記憶装置に★込みを行い、
未複写の部分に対しては複写すべき元の情報が記憶され
ている記憶装置に対してのみ誓込みを行うことにより、
複写と並行して対となる記憶装置にアクセスすることを
可能にした記憶サブシステムである。
Purpose of the Invention The present invention, when performing scouring on a pair of storage devices, performs ★ smearing on both storage devices for a portion that has already been copied,
For the uncopied parts, by committing only to the storage device where the original information to be copied is stored,
This is a storage subsystem that makes it possible to access a paired storage device in parallel with copying.

発明の構成 上記目的を達成する為に、本発明に係る記憶サブシステ
人は、情報を記憶する第1記憶装置及び第2記憶装置と
、前記第1記憶装置内の情報を順次的記第2記憶装置に
複写するときに前記第1記憶装置から一定の単位で読取
った情報の内容を一時的に記憶する第1記憶回路及び情
報のアドレスを一時点に記憶する第2記憶回路と、前記
第1記憶装置の内容を更新するときに更新すべき前記第
1記憶装置のアドレスと前記第2記憶回路の内容を比較
するアドレス比較回路とを具備して構成され、咄記第1
記憶装置の内容を前記第2記憶装置に複写する動作に割
込んで前記第1記憶装置の内容を更新するときに前記ア
ドレス比較回路の出力を用いて既に前記第1記憶装置の
内容が前記第2記憶装置に複写されている情報を更新す
る場合にはit前記第1記憶装置及びIII記第2記憶
装置の内容を更新し、複写されていない場合には前記第
1記憶装置の内容のみ更新することを特徴としている。
Structure of the Invention In order to achieve the above object, a storage subsystem according to the present invention includes a first storage device and a second storage device that store information, and a second storage device that sequentially stores information in the first storage device. a first memory circuit that temporarily stores the content of the information read in a fixed unit from the first memory device when copying to the apparatus; a second memory circuit that stores the address of the information at a point in time; an address comparison circuit that compares the address of the first storage device to be updated and the content of the second storage circuit when updating the contents of the storage device;
When updating the contents of the first storage device by interrupting the operation of copying the contents of the storage device to the second storage device, the output of the address comparison circuit is used to compare the contents of the first storage device with the first storage device. When updating the information copied in the second storage device, it updates the contents of the first storage device and the second storage device, and if it is not copied, only the contents of the first storage device are updated. It is characterized by

発明の実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment of the Invention Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
。図において、参照番号1は中央処理サブシステム、2
は本発明に係る記憶サブシステムをそれぞれ示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, reference numeral 1 indicates a central processing subsystem, 2
1 and 2 respectively show storage subsystems according to the present invention.

第1図において第1記憶装置211から第28ピ憶装置
212への複写は以下の手頴で3iの量のデータを単位
としてアドレスの若い方から順に行なわれる。
In FIG. 1, copying from the first storage device 211 to the twenty-eighth memory device 212 is performed in the following order in units of 3i data, starting from the address with the smallest address.

命令実行制御回路202は、第1記憶装置211から読
取るべきデータのアドレスを信号線304を通して複写
アドレス記憶回路205にセットすると共に、信号線3
21を通して第1記憶装置211に読取り動作の指示と
読取るべきデータのアドレスの転送を行う。第1記憶装
置211から読取られたデータは信号線311を通して
データ記憶回路201に格納される。次に命令実行制御
回路202は信号線322を通して第2記憶装置212
に誓込み動作の指示と書込むべきデータのアドレスの転
送を行う。データ記憶回路201内の第1記憶装置21
1から読取られたデータは、信号線312を通して第2
記憶装置212に転送され、指定されたエリアに書込ま
れる。
The instruction execution control circuit 202 sets the address of the data to be read from the first storage device 211 in the copy address storage circuit 205 through the signal line 304, and also sets the address of the data to be read from the first storage device 211 into the copy address storage circuit 205 through the signal line 304.
21, a read operation instruction and an address of data to be read are transferred to the first storage device 211. Data read from the first storage device 211 is stored in the data storage circuit 201 through the signal line 311. Next, the instruction execution control circuit 202 connects the second storage device 212 through the signal line 322.
Instructs the write operation and transfers the address of the data to be written. First storage device 21 in data storage circuit 201
The data read from 1 is passed through signal line 312 to the second
The data is transferred to the storage device 212 and written in a designated area.

次に命令実行制御回路202は、信号線301を通して
中央処理サブシステム1からデータへのアクセス要求が
あるか否か調べ、アクセス要求が無ければ、複写アドレ
ス記憶回路205に複写すべき次のデータのアドレスを
セットし、上記処理を繰返すことにより順次第1記憶装
置211から第2記憶装置212にデータを複写する。
Next, the instruction execution control circuit 202 checks whether there is a data access request from the central processing subsystem 1 through the signal line 301, and if there is no access request, the next data to be copied to the copy address storage circuit 205 is determined. By setting the address and repeating the above process, data is sequentially copied from the first storage device 211 to the second storage device 212.

信号線301を通して中央処理サブシステム1からアク
セス要求があると、命令実行制御回路202は信号線3
01を通して中央処理サブシステム1から命令を受取り
、これがデータの更新命令であれば続いて誓込むべきデ
ータのアドレスを受取り、信号線302を通して更新ア
ドレス記憶回路203にセットする。アドレス比較回路
204は信号線305を通して送られる更新アドレス記
憶回路203の内容と信号線306を通して送られる複
写アドレス記憶回路205の内容とを比較し、比較結果
を信号線303を通して命令実行制御回路202に通知
する。
When an access request is received from the central processing subsystem 1 through the signal line 301, the instruction execution control circuit 202
01 from the central processing subsystem 1, and if the command is a data update command, then the address of the data to be pledged is received and set in the update address storage circuit 203 through the signal line 302. The address comparison circuit 204 compares the contents of the update address storage circuit 203 sent through the signal line 305 and the contents of the copy address storage circuit 205 sent through the signal line 306, and sends the comparison result to the instruction execution control circuit 202 through the signal line 303. Notice.

更新アドレス記憶回路203の内容が複写アドレス記憶
回路205の内容に等しいか又は小さければ、命令実行
制御回路202は信号線321を通して第1記憶装置2
11に書込み動作の指示な誉込むべきデータのアドレス
の転送を行う。続いて中央処理サブシステム1から信号
線301を通して送られるデータは、データ記憶回路2
01に記憶されると同時に、データ記憶回路201、信
号線311を通して第1記憶装置211に転送され、指
定されたエリアに書込まれる。続いて命令実行制御回路
202は第2記憶装置212に誉込み動作の指示と誓込
むべきデータのアドレスの転送を行い、データ記憶回路
201内に格納されている中央処理サブシステム1から
転送されたデータが第2記憶装置212に転送され、指
定されたエリアに書込まれる。
If the contents of the update address storage circuit 203 are equal to or smaller than the contents of the copy address storage circuit 205, the instruction execution control circuit 202 sends the instruction execution control circuit 202 to the first storage device 2 through the signal line 321.
11, the address of the data to be written, which is an instruction for a write operation, is transferred. Subsequently, data sent from the central processing subsystem 1 through the signal line 301 is sent to the data storage circuit 2.
01, the data is simultaneously transferred to the first storage device 211 through the data storage circuit 201 and the signal line 311, and written into the designated area. Subsequently, the instruction execution control circuit 202 transfers an instruction to perform a pledge operation and the address of the data to be pledged to the second storage device 212, and transfers the address of the data to be pledged from the central processing subsystem 1 stored in the data storage circuit 201. The data is transferred to the second storage device 212 and written to the designated area.

更新アドレス記憶回路203の内容が複写アドレス記憶
回路205の内容よりも大きければ、上記と同様の方法
で第1記憶装置211にのみ書込みを行う。
If the contents of the update address storage circuit 203 are larger than the contents of the copy address storage circuit 205, writing is performed only to the first storage device 211 in the same manner as described above.

中央処理サブシステム1からの命令により指定された書
込み動作が終了すると、再び元の複写動作に戻り、第1
記憶装置211の内容がすべて第2記憶装置212に複
写されるまで繰返えされる。
When the write operation specified by the command from the central processing subsystem 1 is completed, the original copying operation is resumed and the first
This process is repeated until all the contents of the storage device 211 are copied to the second storage device 212.

発明の効果 本発明は、以上説明した様に5複写動作の進行状態に従
って第1記憶装置、第2記憶装置に対するデータの更新
を制御する様に構成することによって、複写動作中のデ
ータ更新を可能圧する効果がある。
Effects of the Invention As explained above, the present invention is configured to control the updating of data in the first storage device and the second storage device according to the progress state of the five copying operations, thereby making it possible to update data during the copying operation. It has a pressing effect.

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

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 情報を記憶する第1記憶装置及び第2記憶装置と、前記
第1記憶装置内の情報を順次前記第2記憶装置に複写す
るとき前記第1記憶装置から一定の単位で読取つた情報
の内容を一時的に記憶する第1記憶回路及び情報のアド
レスを一時的に記憶する第2記憶回路と、前記第1記憶
装置の内容を更新するときに更新すべき第1記憶装置の
アドレスと前記第2記憶回路の内容を比較するアドレス
比較回路とを具備し、前記第1記憶装置の内容を前記第
2記憶装置に複写する動作に割込んで前記第1記憶装置
の内容を更新するとき、前記アドレス比較回路の出力を
用いて既に前記第1記憶装置の内容が前記第2記憶装置
に複写されている情報を更新する場合には前記第1記憶
装置及び前記第2記憶装置の内容を更新し、複写されて
いない場合には前記第1記憶装置の内容のみ更新するこ
とを特徴とする記憶サブシステム。
A first storage device and a second storage device that store information, and when the information in the first storage device is sequentially copied to the second storage device, the content of the information read from the first storage device in a fixed unit. a first memory circuit for temporarily storing information, a second memory circuit for temporarily storing an address of information, an address of the first memory device to be updated when updating the contents of the first memory device, and the second memory circuit; an address comparison circuit that compares the contents of the storage circuit, and when updating the contents of the first storage device by interrupting the operation of copying the contents of the first storage device to the second storage device, the address comparison circuit compares the contents of the storage circuit. When updating information in which the contents of the first storage device have already been copied to the second storage device using the output of the comparison circuit, update the contents of the first storage device and the second storage device; A storage subsystem characterized in that only the contents of the first storage device are updated if the contents have not been copied.
JP59182959A 1984-08-31 1984-08-31 Memory subsystem Pending JPS6160155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59182959A JPS6160155A (en) 1984-08-31 1984-08-31 Memory subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59182959A JPS6160155A (en) 1984-08-31 1984-08-31 Memory subsystem

Publications (1)

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

Family

ID=16127327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59182959A Pending JPS6160155A (en) 1984-08-31 1984-08-31 Memory subsystem

Country Status (1)

Country Link
JP (1) JPS6160155A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system

Similar Documents

Publication Publication Date Title
JP4422016B2 (en) Method and apparatus for creating a virtual data copy
JPS605024B2 (en) Information processing method
JP2001216185A (en) Data restoration method for information procession system and disk sub-system
US7093087B2 (en) Method for controlling storage device controller, storage device controller, and program
JPS6160155A (en) Memory subsystem
JPH01303529A (en) Invalidation system for retrial point
IE911094A1 (en) A Data Processing Method
JPS62269256A (en) Data storage system for semiconductor file
JP2001175422A (en) Disk array device
JPH03256145A (en) Duplexed file system
JPH05181613A (en) Information processor
JPS61208119A (en) Disk controller
JPH07319720A (en) System switching method for processor
JPH0330033A (en) File copying processor
JP3009168B2 (en) Data processing device
JPH03280143A (en) Electronic disk subsystem
JPS62270068A (en) Input/output controller
JPS59168528A (en) Initial program loading system
JPS6220045A (en) Current/stand-by switching system for memory device
JPH0440542A (en) Memory control system
JPH0580950A (en) Defective disk block substitution system for exchange system
JPH03245399A (en) Rom writer
JPH02125303A (en) Programmable controller
JPH0196734A (en) Stack control system
JPS6229828B2 (en)