JPS6374170A - Control system for magnetic disk - Google Patents

Control system for magnetic disk

Info

Publication number
JPS6374170A
JPS6374170A JP61220157A JP22015786A JPS6374170A JP S6374170 A JPS6374170 A JP S6374170A JP 61220157 A JP61220157 A JP 61220157A JP 22015786 A JP22015786 A JP 22015786A JP S6374170 A JPS6374170 A JP S6374170A
Authority
JP
Japan
Prior art keywords
magnetic disk
disk device
copying
fault
host
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
JP61220157A
Other languages
Japanese (ja)
Inventor
Jun Kanatsu
金津 潤
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 JP61220157A priority Critical patent/JPS6374170A/en
Publication of JPS6374170A publication Critical patent/JPS6374170A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To perform a copying action at a high speed when a fault of a duplex file is restored by copying the contents of a magnetic disk device designated by the stored write address information to another magnetic disk device that restored the fault. CONSTITUTION:A magnetic disk device to be paired with another magnetic disk device 5 to be written double is separated from a system owing to a fault and then incorporated again to the system after the fault is recovered. Thus an under-copying indication is given to a disk controller 1 from a host for the device 5 via an interface line 11. Then the host reads data out of the device 5 and copies them to the magnetic disk device after its fault is recovered. If a write indication is received from the host to the device 5 during a copying action, the relevant address is stored in a rewrite address memory 4. When a reading action is through to the device 5 for copying, the address stored in the memory 4 is read out through the device 5 and copies to the magnetic disk device after its fault is recovered.

Description

【発明の詳細な説明】 技術分野 本発明は磁気ディスク制御方式に関し、特にソフトウェ
アによりファイルの全面コピーを行う二重化ファイルシ
ステムにおける磁気ディスク制御方式に関する。
TECHNICAL FIELD The present invention relates to a magnetic disk control system, and more particularly to a magnetic disk control system in a dual file system that performs full file copying using software.

従来技術 従来、この種の二重化ファイルシステムでは、二重化フ
ァイルの障害復旧時にソフトウェアによりコピー終了ま
でそのファイルへの書込みを禁止して、そのファイルの
全面コピーを行っていた。
BACKGROUND ART Conventionally, in this type of duplex file system, when recovering from a failure of a duplex file, software prohibits writing to the file until the copy is completed, and the entire file is copied.

このような従来の二重化ファイルシステムでは、ファイ
ルの全面コピーを行っている間、ソフトウェアによって
そのファイルへの書込みをソフト的に禁止していたので
、その間のファイルへの書込みアクセスが全面的に待た
され、そのためにジョブの大幅なレスポンス遅れをIB
 <という欠点があった。
In conventional duplex file systems like this, while the entire file is being copied, the software prohibits writing to the file, so any write access to the file during that time is forced to wait. , which results in a significant response delay for the job.
There was a drawback.

また、ファイルがマルチcpu <中央処理装置)によ
り共用されている場合には、そのファイルへの書込みア
クセスが禁止されていることを通知するCPU間におけ
る報告などの煩雑な処理が多くなり、システム全体のス
ループットの大幅な低下を招くという欠点があった。
In addition, if a file is shared by multiple CPUs (central processing units), there will be many complicated processes such as reporting between CPUs to notify that write access to the file is prohibited, and the entire system will be The disadvantage was that it caused a significant decrease in throughput.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、二重化ファイルの障害復旧時におけるコ
ピー動作を高速化することができ、コピー動作時の書込
アクセスの待合せをなくすことができ、システム全体の
スルーブツトを向上させることができる磁気ディスク制
御方式の提供を目的とする。
Purpose of the Invention The present invention has been made to eliminate the drawbacks of the conventional methods as described above, and is capable of speeding up the copying operation when recovering a duplexed file from a failure, and eliminating the need to wait for write access during the copying operation. The purpose of the present invention is to provide a magnetic disk control method that can improve the throughput of the entire system.

発明の構成 本発明による磁気ディスク制御方式は、二重化ファイル
の障害復旧時に磁気ディスク装置から障害復旧を行った
磁気ディスク装置ヘソフトウエアによってファイルのコ
ピーを行う二重化ファイルシステムの磁気ディスク制御
方式であって、前記コピー時に上位装置から前記磁気デ
ィスク装置へ書込み指示があったときの書込みアドレス
情報を格納する格納手段を設け、前記コピー終了後に前
記格納手段に格納された前記書込みアドレス情報により
指定される前記磁気ディスク装置の内容を前記障害復旧
を行った磁気ディスク装置ヘコピーするようにしたこと
を特徴とする。
Composition of the Invention The magnetic disk control method according to the present invention is a magnetic disk control method for a duplexed file system in which a file is copied by software from a magnetic disk device to a magnetic disk device that performed failure recovery when a duplexed file is recovered from a failure. , a storage means is provided for storing write address information when a write instruction is given from a host device to the magnetic disk device during the copying, and the address information specified by the write address information stored in the storage means after the copying is completed is provided. The present invention is characterized in that the contents of the magnetic disk device are copied to the magnetic disk device in which the failure recovery has been performed.

1豊3 次に、本発明の一実施例について図面を参照して説明す
る。
1 Yutaka 3 Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
において、本発明の一実施例は、ディスク制御装置1と
、制御部2と、二重書きの磁気ディスク装置5がコピー
中であることを示すコピー中インディケータ3と、コピ
ー動作中にコピーを実行している磁気ディスク装置5へ
書込みアクセスがあった場合にその書込み動作を行った
アドレス(シリンダ番号、トラック番号)を記憶する再
書込みアドレスメモリ4と、ソフトウェアによる二重書
込対象となっている磁気ディスク装置5と、図示せぬホ
ストとディスク制御装置1との間で種々の命令やデータ
または、ステータスなどの転送を行うホストインタフェ
ース線11と、磁気ディスク装買5とディスク制御装置
1との間にあって種々の命令やデータ、または、ステー
タスなどの転送を行うデバイスインタフェース線12と
により構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, one embodiment of the present invention includes a disk control device 1, a control unit 2, a copying indicator 3 indicating that a dual-write magnetic disk device 5 is in the process of copying, and When there is a write access to the magnetic disk device 5 being executed, there is a rewrite address memory 4 that stores the address (cylinder number, track number) at which the write operation was performed, and a rewrite address memory 4 that is subject to double writing by software. A host interface line 11 that transfers various commands, data, status, etc. between a host (not shown) and the disk control device 1, and a magnetic disk device 5 and the disk control device 1. It is comprised of a device interface line 12 between which transfers various commands, data, status, and the like.

ソフトウェアによる二重書き対象の磁気ディス装置5と
対になる図示せぬ磁気ディスク装置が障害のためシステ
ムより切り離され、障害復旧後にシステムに組込まれる
と、ホストよりホストインタフェース線11を介してデ
ィスク制御装置1へ磁気ディスク装置5へのコピー中指
示が出される。
When a magnetic disk device (not shown) paired with the magnetic disk device 5 to be dual-written by software is disconnected from the system due to a failure and is incorporated into the system after recovery from the failure, the host controls the disk via the host interface line 11. A copying instruction to the magnetic disk device 5 is issued to the device 1.

ディスク制御装置1はこの指示により制御部2を使用し
てコピー中インディケータ3をオンにする。
In response to this instruction, the disk control device 1 uses the control unit 2 to turn on the copying indicator 3.

この後、ホストはソフトウェアにより磁気ディスク装置
5からデータを読出し、障害復旧後の磁気ディスク装置
へこの読出したデータを書込んでいくコピー動作を行う
。このコピー動作は磁気ディスク装置5をシステムから
切離さずに行われる。
Thereafter, the host uses software to perform a copy operation of reading data from the magnetic disk device 5 and writing the read data to the magnetic disk device after the failure has been recovered. This copy operation is performed without disconnecting the magnetic disk device 5 from the system.

このコピー動作中に、ホストよりホストインタフェース
11を介してディスク制tII装置1に対し磁気ディス
ク装置5に対する占込み指示があると、制御部2はその
書込み指示のあったアドレス(シリンダ番号、トラック
番号)を再書込みアドレスメモリ4に格納する。
During this copy operation, when the host issues an instruction to the disk-based tII device 1 to write to the magnetic disk device 5 via the host interface 11, the control unit 2 receives the address (cylinder number, track number) where the write instruction was made. ) is stored in the rewrite address memory 4.

ソフトウェアは磁気ディスク装置5に対するコピーのた
めの読出し動作が終了すると、再書込みアドレスメモリ
4の内容を見て、コピー動作中に磁気ディスク装置5へ
害込みがなされたアドレスが登録されていると、再度そ
のアドレスの内容を磁気ディスク装置5から読出して障
害復旧後の磁気ディスク装買ヘコピーする。
When the read operation for copying to the magnetic disk device 5 is completed, the software checks the contents of the rewrite address memory 4, and if the address where the damage was done to the magnetic disk device 5 during the copy operation is registered, The contents of that address are read again from the magnetic disk device 5 and copied to the magnetic disk device after the failure has been recovered.

このように、磁気ディスク装置5から障害復旧後の磁気
ディスク装置へのコピー動作中に、ホストから磁気ディ
スク装置5へ内込み指示が送られて書込み動作を行った
書込みアドレスを再書込みアドレスメモリ4へ格納して
おき、コピー終了後にソフトウェアがホストインタフェ
ース線11を介して再書込みアドレスメモリ4に格納さ
れている占込みアドレスに対応する磁気ディスク装d5
のデータを障害復旧後の磁気ディスク装置へコピーする
ようにすることによって、二重化ファイルの障害復旧時
におけるコピー動作を高速化することができ、さらにコ
ピー動作時の書込みアクヒスの待合せをなくすことがで
き、システム全体のスルーブツトを向上させることがで
きる。
In this way, during a copy operation from the magnetic disk device 5 to the magnetic disk device after recovery from a failure, a write instruction is sent from the host to the magnetic disk device 5, and the write address at which the write operation was performed is rewritten to the address memory 4. After the copy is completed, the software rewrites the magnetic disk drive d5 corresponding to the special address stored in the address memory 4 via the host interface line 11.
By copying the data to the magnetic disk device after recovery from a failure, it is possible to speed up the copy operation when recovering a duplex file from a failure, and it is also possible to eliminate the waiting period for write access during copy operation. , the throughput of the entire system can be improved.

発明の詳細 な説明したように本発明によれば、磁気ディスク装置か
ら障害復旧された磁気ディスク装置への全面コピーが行
われている間に、上位装置から磁気ディスク装置への書
込み指示があると、その書込み指示による書込み動作が
行われた書込みアドレス情報を格納しておき、コピー終
了後にその格納された書込みアドレス情報に対応する磁
気ディスク装置の内容を障害復旧された磁気ディスク装
置にコピーするようにすることによって、二重化ファイ
ルのr;IJ害復旧時におけるコピー動作を高速化する
ことができ、コピー動作時の書込みアクセスの待合せを
なくすことができ、システム全体のスルーブツトを向上
させることができるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, when a write instruction is received from a host device to a magnetic disk device while a full copy is being performed from a magnetic disk device to a magnetic disk device that has been recovered from a failure, , the write address information for which the write operation was performed according to the write instruction is stored, and after the copy is completed, the contents of the magnetic disk device corresponding to the stored write address information are copied to the magnetic disk device that has been recovered from the failure. By doing so, it is possible to speed up the copy operation when recovering a duplicated file from an IJ damage, eliminate the waiting period for write access during a copy operation, and improve the throughput of the entire system. effective.

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

第1図は本発明の一実施例を示すブロック図である。 主要部分の符号の説明 2・・・・・・制御部 FIG. 1 is a block diagram showing one embodiment of the present invention. Explanation of symbols of main parts 2...Control unit

Claims (1)

【特許請求の範囲】[Claims] 二重化ファイルの障害復旧時に磁気ディスク装置から障
害復旧を行つた磁気ディスク装置へソフトウェアによっ
てファイルのコピーを行う二重化ファイルシステムの磁
気ディスク制御方式であって、前記コピー時に上位装置
から前記磁気ディスク装置へ書込み指示があったときの
書込みアドレス情報を格納する格納手段を設け、前記コ
ピー終了後に前記格納手段に格納された前記書込みアド
レス情報により指定される前記磁気ディスク装置の内容
を前記障害復旧を行つた磁気ディスク装置へコピーする
ようにしたことを特徴とする磁気ディスク制御方式。
A magnetic disk control method for a duplex file system in which a file is copied by software from a magnetic disk device to a magnetic disk device that performed failure recovery when a duplex file is recovered from a failure, and the method includes writing from a host device to the magnetic disk device at the time of copying. A storage means is provided for storing write address information when an instruction is given, and after the copying is completed, the contents of the magnetic disk device designated by the write address information stored in the storage means are stored in a magnetic disk drive that performs the failure recovery. A magnetic disk control method characterized by copying to a disk device.
JP61220157A 1986-09-18 1986-09-18 Control system for magnetic disk Pending JPS6374170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61220157A JPS6374170A (en) 1986-09-18 1986-09-18 Control system for magnetic disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61220157A JPS6374170A (en) 1986-09-18 1986-09-18 Control system for magnetic disk

Publications (1)

Publication Number Publication Date
JPS6374170A true JPS6374170A (en) 1988-04-04

Family

ID=16746780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61220157A Pending JPS6374170A (en) 1986-09-18 1986-09-18 Control system for magnetic disk

Country Status (1)

Country Link
JP (1) JPS6374170A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5388623A (en) * 1991-12-17 1995-02-14 Homma Science Corporation Elastic wheels and a pair of skis provided with the elastic wheels
JPH07334313A (en) * 1994-06-03 1995-12-22 Nec Corp Copying method for magnetic disk device
JPH08147205A (en) * 1994-11-18 1996-06-07 Nec Corp Disk sharing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5388623A (en) * 1991-12-17 1995-02-14 Homma Science Corporation Elastic wheels and a pair of skis provided with the elastic wheels
US5538057A (en) * 1991-12-17 1996-07-23 Homma Science Corporation Elastic wheels and a pair of skis provided with the elastic wheels
JPH07334313A (en) * 1994-06-03 1995-12-22 Nec Corp Copying method for magnetic disk device
JPH08147205A (en) * 1994-11-18 1996-06-07 Nec Corp Disk sharing system

Similar Documents

Publication Publication Date Title
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPS6374170A (en) Control system for magnetic disk
JPS58151660A (en) Magnetic disk control device
JPH0535415A (en) Information storage device
JPH0293721A (en) Copying and transferring system for magnetic disk device
JPS61208119A (en) Disk controller
JPH0793101A (en) Data backup device
JPH05181613A (en) Information processor
JPH0388018A (en) Disk controller
JP3090182B2 (en) Alternative sector registration method
JP2001175422A (en) Disk array device
JP4858779B2 (en) Device for reducing failure analysis file of distributed parallel program, method and program thereof
JP3226047B2 (en) I / O device
JP2000259775A (en) Copying method of card-type storage medium
JPH0535419A (en) Multiple optical disk device, electronic filing system, and optical disk copying device
JPH0635621A (en) Dual disk storage device having dual restoring function
JPH0317130B2 (en)
JP3009168B2 (en) Data processing device
JPH05265789A (en) Memory copy system
JPS6332642A (en) Information processor
JP3456234B2 (en) Target device
JPH10207783A (en) Volume copy system and method therefor, and computer readable recording medium recorded with volume copy program
JPS63119070A (en) File data storage system
JPS58171724A (en) Copy controller of magnetic disc tape
JPH039449A (en) Electronic disk subsystem