JPH05181613A - Information processor - Google Patents

Information processor

Info

Publication number
JPH05181613A
JPH05181613A JP3347310A JP34731091A JPH05181613A JP H05181613 A JPH05181613 A JP H05181613A JP 3347310 A JP3347310 A JP 3347310A JP 34731091 A JP34731091 A JP 34731091A JP H05181613 A JPH05181613 A JP H05181613A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
disk device
read
main storage
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
JP3347310A
Other languages
Japanese (ja)
Inventor
Shunichi Oki
沖俊一
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP3347310A priority Critical patent/JPH05181613A/en
Publication of JPH05181613A publication Critical patent/JPH05181613A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To attain the duplex structure of an information processor with no intervention of an OS or a host device by securing a constituion where a magnetic disk control part stores the data in a 1st magnetic disk device and then copying the data contents to a 2nd magnetic disk device. CONSTITUTION:When a write instruction is issued from a CPU 100, a magnetic disk control part 300 carries out a seeking instruction to a magnetic disk device 2 through a control part 1. Then the part 300 transfers the data to a main storage 200 via a common bus 400 and an interface 10. When a writing operation is over, the part 300 reports the end of the operation to the CPU 100 via the bus 400. At the same time, the part 300 transfers data between the magnetic disk devices 2 and 3 via the interface 10 and writes the data written in the device 2 also into the device 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置に利用す
る。特に、磁気ディスク装置に関する。
BACKGROUND OF THE INVENTION The present invention is used in an information processing device. In particular, it relates to a magnetic disk device.

【0002】[0002]

【従来の技術】従来例では、OSや磁気ディスク制御部
によって通常のデータ転送をするのと同様の方法で、も
う一台の磁気ディスク装置にデータを書き込んだり読み
出したりして磁気ディスク装置の二重化を行っている。
2. Description of the Related Art In a conventional example, a magnetic disk device is duplicated by writing / reading data to / from another magnetic disk device by a method similar to normal data transfer by an OS or a magnetic disk controller. It is carried out.

【0003】[0003]

【発明が解決しようとする課題】このような従来例で
は、書き込んだデータをもう一台の磁気ディスク装置に
書き込むとか、もう一台の磁気ディスク装置のデータを
読み出してリカバリのためのデータとして書き込むとい
った磁気ディスク装置の二重化に必要な処理に際して、
OSや上位装置の介入が必要であり、システム全体の処
理時間が増える欠点がある。
In such a conventional example, the written data is written to another magnetic disk device, or the data of the other magnetic disk device is read and written as data for recovery. When processing required for duplication of magnetic disk devices such as
It requires the intervention of the OS and the host device, and has the drawback of increasing the processing time of the entire system.

【0004】本発明は、このような欠点を除去するもの
で、磁気ディスク装置の二重化をOSや上位装置の介入
なしに実現できる手段をもつ情報処理装置を提供するこ
とを目的とする。
The present invention eliminates such drawbacks, and an object of the present invention is to provide an information processing apparatus having means for realizing duplication of a magnetic disk device without intervention of an OS or a host device.

【0005】[0005]

【課題を解決するための手段】本発明は、第一の磁気デ
ィスク装置と、この第一の磁気ディスク装置が接続され
るインタフェースに接続された第二の磁気ディスク装置
と、中央処理装置からの書き込み命令に応じて主記憶装
置からデータを読み出し、また、読み出し命令に応じて
この主記憶装置へデータを格納する磁気ディスク制御部
とを備えた情報処理装置において、上記磁気ディスク制
御部は、上記中央処理装置からの書き込み命令に応じて
上記第一の磁気ディスク装置に上記主記憶装置から読み
出したデータを格納する手段と、この格納処理終了後に
上記第二の磁気ディスク装置に上記第一の磁気ディスク
装置の内容を複写する複写手段を備えたことを特徴とす
る。
According to the present invention, there is provided a first magnetic disk device, a second magnetic disk device connected to an interface to which the first magnetic disk device is connected, and a central processing unit. In an information processing device including a magnetic disk control unit that reads data from a main storage device in response to a write command and stores data in the main storage device in response to a read command, the magnetic disk control unit includes: Means for storing data read from the main storage device in the first magnetic disk device in response to a write command from the central processing unit, and the first magnetic disk device in the second magnetic disk device after the storage process is completed. It is characterized in that it is provided with a copying means for copying the contents of the disk device.

【0006】ここで、上記磁気ディスク制御部は、上記
中央処理装置からの読み出し命令に応じて上記第一の磁
気ディスク装置から読み出したデータを上記主記憶装置
へ書き込むデータとする第一読み出し手段と、上記第一
の磁気ディスク装置からのデータ読み出しの異常時に上
記第二の磁気ディスク装置から読み出したデータを上記
主記憶装置へ書き込むデータとする第二読み出し手段と
を備えることが望ましい。
Here, the magnetic disk control unit includes a first read means for making the data read from the first magnetic disk device into data to be written in the main storage device in response to a read command from the central processing unit. It is desirable to provide a second read means for making the data read from the second magnetic disk device the data to be written to the main storage device when the data read from the first magnetic disk device is abnormal.

【0007】また、上記磁気ディスク制御部は、上記第
二読み出し手段の読み出し処理終了後に上記第一の磁気
ディスク装置の内容を上記第二の磁気ディスク装置の内
容に更新する更新手段を備えることが望ましい。
Further, the magnetic disk control unit may include updating means for updating the contents of the first magnetic disk device to the contents of the second magnetic disk device after the reading process of the second reading device is completed. desirable.

【0008】[0008]

【作用】磁気ディスク制御部は、固定セクタフォーマッ
トを有し、上位装置からの命令によりシーク動作を行
い、目的のトラック内の目的のセクタのデータ部に対し
て読み出し書き込み動作を行う。上位装置とのデータ転
送のためのインタフェースを使用して、二台の磁気ディ
スク装置間で自動的にデータ転送を行ってミラーリング
やホットフィックスを行い、上位装置を介さずに磁気デ
ィスク装置の二重化を実現する。
The magnetic disk controller has a fixed sector format, performs a seek operation in response to an instruction from the host device, and performs a read / write operation on the data portion of the target sector in the target track. Using the interface for data transfer with the host device, the data is automatically transferred between the two magnetic disk devices for mirroring and hot-fixing, and the magnetic disk device is duplicated without going through the host device. To do.

【0009】[0009]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。図1はこの実施例の構成を示すブロック
図である。磁気ディスク制御部300と、磁気ディスク
制御部300に読み出し書き込み命令を発行する中央処
理装置100と、主記憶装置200と、各々のデータ転
送に使用される共通バス400とにより構成される。こ
こで、磁気ディスク制御部300は、共通バス400と
のインタフェースおよび磁気ディスク装置2と磁気ディ
スク装置3とのインタフェース10を制御する制御部1
を含む。すなわち、この実施例は、図1に示すように、
磁気ディスク装置2と、この磁気ディスク装置2が接続
されるインタフェース10に接続された磁気ディスク装
置3と、中央処理装置100からの書き込み命令に応じ
て主記憶装置200からデータを読み出し、また、読み
出し命令に応じてこの主記憶装置200へデータを格納
する磁気ディスク制御部300とを備え、さらに、本発
明の特徴とする手段として、磁気ディスク制御部300
は、中央処理装置100からの書き込み命令に応じて磁
気ディスク装置2に主記憶装置200から読み出したデ
ータを格納する手段と、この格納処理終了後に磁気ディ
スク装置3に磁気ディスク装置2の内容を複写する複写
手段と、中央処理装置100からの読み出し命令に応じ
て磁気ディスク装置2から読み出したデータを主記憶装
置200へ書き込むデータとする第一読み出し手段と、
磁気ディスク装置2からのデータ読み出しの異常時に磁
気ディスク装置3から読み出したデータを主記憶装置2
00へ書き込むデータとする第二読み出し手段と、上記
第二読み出し手段の読み出し処理終了後に磁気ディスク
装置2の内容を磁気ディスク装置3の内容に更新する更
新手段を備える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of this embodiment. It is composed of a magnetic disk control unit 300, a central processing unit 100 that issues a read / write command to the magnetic disk control unit 300, a main memory unit 200, and a common bus 400 used for each data transfer. Here, the magnetic disk control unit 300 controls the interface with the common bus 400 and the interface 10 with the magnetic disk device 2 and the magnetic disk device 3.
including. That is, this embodiment, as shown in FIG.
In response to a write command from the magnetic disk device 2, the magnetic disk device 3 connected to the interface 10 to which the magnetic disk device 2 is connected, and the central processing unit 100, data is read from and read from the main memory device 200. A magnetic disk control unit 300 for storing data in the main storage device 200 in response to an instruction, and further, as a feature of the present invention, the magnetic disk control unit 300.
Is a means for storing the data read from the main storage device 200 in the magnetic disk device 2 in response to a write command from the central processing unit 100, and the content of the magnetic disk device 2 is copied to the magnetic disk device 3 after the storage processing is completed. And a first reading unit that uses the data read from the magnetic disk device 2 in response to a read instruction from the central processing unit 100 as data to be written to the main storage device 200.
The data read from the magnetic disk device 3 when the data read from the magnetic disk device 2 is abnormal is stored in the main storage device 2.
The second read means for setting the data to be written to 00 and the update means for updating the content of the magnetic disk device 2 with the content of the magnetic disk device 3 after the read processing of the second read means is completed.

【0010】次に、この実施例の動作を説明する。図2
は、この動作を示すフローチャートである。
Next, the operation of this embodiment will be described. Figure 2
Is a flowchart showing this operation.

【0011】磁気ディスク制御部300は、中央処理装
置100から書き込み命令が発行されると、制御部1に
より磁気ディスク装置2にシーク命令を実行し、磁気デ
ィスク装置2のシーク動作が終了後に書き込み動作を実
行し、共通バス400とインタフェース10を経由して
主記憶装置200との間でデータ転送を行う。そして、
書き込み動作終了後に、磁気ディスク制御部300は共
通バス400を経由して中央処理装置100に対して動
作終了の報告を行う。磁気ディスク制御部300の終了
動作報告と並行して、磁気ディスク装置2は磁気ディス
ク装置3との間でインタフェース10を使用してデータ
転送を行い、先ほど磁気ディスク制御部300よりイン
タフェース10を介して磁気ディスク装置2に書き込ま
れたデータを磁気ディスク装置3にも書き込む。
When a write command is issued from the central processing unit 100, the magnetic disk control unit 300 executes a seek command to the magnetic disk device 2 by the control unit 1 and a write operation after the seek operation of the magnetic disk device 2 is completed. Then, the data is transferred between the main storage device 200 via the common bus 400 and the interface 10. And
After the write operation is completed, the magnetic disk control unit 300 reports the operation end to the central processing unit 100 via the common bus 400. In parallel with the end operation report of the magnetic disk control unit 300, the magnetic disk device 2 transfers data to and from the magnetic disk device 3 using the interface 10, and the magnetic disk control unit 300 sends the data via the interface 10 earlier. The data written in the magnetic disk device 2 is also written in the magnetic disk device 3.

【0012】磁気ディスク制御部300は、中央処理装
置100から読み出し命令が発行されると、制御部1に
より磁気ディスク制御部2にシーク命令を実行し、磁気
ディスク装置2のシーク動作が終了後に読み出し動作を
実行し、共通バス400とインタフェース10を経由し
て主記憶装置200との間でデータ転送を行う。読み出
し動作実行時に磁気ディスク装置2のデータが正常に読
み出せなかった場合には、磁気ディスク装置2はインタ
フェース10を使用して磁気ディスク装置3からデータ
を読み出し、磁気ディスク装置2−インタフェース10
−磁気ディスク制御部300という経路でデータ転送を
実行する。そして、読み出し動作終了後に、磁気ディス
ク制御部300は共通バス400を経由して中央処理装
置100に対して動作終了の報告を行う。磁気ディスク
制御部300の動作終了後と並行して、磁気ディスク装
置2はインタフェース10を使用して磁気ディスク装置
3から読み出したデータを使用し、正常に読み出せなか
ったデータを正しく読み出せるようにリカバリしてお
く。そして、磁気ディスク制御部300は、中央処理装
置100から発行された命令により全データの読み出し
書き込み動作が終了して共通バス400を経由して中央
処理装置100に対して動作終了の報告を行ったあと
は、中央処理装置100からの次の命令を受け付け直ち
に実行する。
When a read command is issued from the central processing unit 100, the magnetic disk control unit 300 executes a seek command to the magnetic disk control unit 2 by the control unit 1 and reads after the seek operation of the magnetic disk device 2 is completed. The operation is executed, and data is transferred between the main storage device 200 via the common bus 400 and the interface 10. If the data in the magnetic disk device 2 cannot be read normally during the read operation, the magnetic disk device 2 uses the interface 10 to read the data from the magnetic disk device 3, and the magnetic disk device 2-interface 10
-Execute data transfer through the path of the magnetic disk control unit 300. After the read operation is completed, the magnetic disk controller 300 reports the operation completion to the central processing unit 100 via the common bus 400. In parallel with the end of the operation of the magnetic disk controller 300, the magnetic disk device 2 uses the data read from the magnetic disk device 3 by using the interface 10 so that the data that cannot be read normally can be read correctly. Recover it. Then, the magnetic disk control unit 300 reports the end of the operation to the central processing unit 100 via the common bus 400 after the read / write operation of all data ends according to the command issued from the central processing unit 100. After that, the next command from the central processing unit 100 is accepted and immediately executed.

【0013】[0013]

【発明の効果】本発明は、以上説明したように、データ
部の読み出し書き込みが終了後に、書き込んだデータを
もう一台の磁気ディスク装置に書き込むとかもう一台の
磁気ディスク装置のデータを読み出してリカバリのため
のデータとして書き込むといった磁気ディスク装置の二
重化に必要な処理に際して、OSや上位装置の介入が必
要なくなるので、システム全体の処理能力を向上できる
効果がある。
As described above, according to the present invention, after the reading and writing of the data portion is completed, the written data is written to the other magnetic disk device or the data of the other magnetic disk device is read. Since there is no need for the OS or higher-level device to intervene in processing required for duplication of the magnetic disk device, such as writing as data for recovery, there is an effect that the processing capacity of the entire system can be improved.

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

【図1】本発明実施例の構成を示すブロック構成図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例の動作を示すフローチャート。FIG. 2 is a flowchart showing the operation of the embodiment of the present invention.

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

1 制御部 2、3 磁気ディスク装置 10 インタフェース 100 中央処理装置 200 主記憶装置 300 磁気ディスク制御部 400 共通バス 1 Control Unit 2, 3 Magnetic Disk Unit 10 Interface 100 Central Processing Unit 200 Main Storage Unit 300 Magnetic Disk Control Unit 400 Common Bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第一の磁気ディスク装置と、この第一の
磁気ディスク装置が接続されるインタフェースに接続さ
れた第二の磁気ディスク装置と、中央処理装置からの書
き込み命令に応じて主記憶装置からデータを読み出し、
また、読み出し命令に応じてこの主記憶装置へデータを
格納する磁気ディスク制御部とを備えた情報処理装置に
おいて、 上記磁気ディスク制御部は、上記中央処理装置からの書
き込み命令に応じて上記第一の磁気ディスク装置に上記
主記憶装置から読み出したデータを格納する手段と、こ
の格納処理終了後に上記第二の磁気ディスク装置に上記
第一の磁気ディスク装置の内容を複写する複写手段とを
備えたことを特徴とする情報処理装置。
1. A first magnetic disk device, a second magnetic disk device connected to an interface to which the first magnetic disk device is connected, and a main storage device in response to a write command from a central processing unit. Read the data from
Further, in an information processing device including a magnetic disk control unit for storing data in the main storage device in response to a read command, the magnetic disk control unit is configured to operate the first disk in response to a write command from the central processing unit. Means for storing the data read from the main storage device in the magnetic disk device, and copying means for copying the contents of the first magnetic disk device in the second magnetic disk device after the storage processing is completed. An information processing device characterized by the above.
【請求項2】 上記磁気ディスク制御部は、上記中央処
理装置からの読み出し命令に応じて上記第一の磁気ディ
スク装置から読み出したデータを上記主記憶装置へ書き
込むデータとする第一読み出し手段と、上記第一の磁気
ディスク装置からのデータ読み出しの異常時に上記第二
の磁気ディスク装置から読み出したデータを上記主記憶
装置へ書き込むデータとする第二読み出し手段とを備え
た請求項1記載の情報処理装置。
2. The magnetic disk control unit includes a first reading unit that uses data read from the first magnetic disk device as data to be written to the main storage device in response to a read command from the central processing unit. The information processing apparatus according to claim 1, further comprising: a second reading unit that uses data read from the second magnetic disk device as data to be written in the main storage device when data reading from the first magnetic disk device is abnormal. apparatus.
【請求項3】 上記磁気ディスク制御部は、上記第二読
み出し手段の読み出し処理終了後に上記第一の磁気ディ
スク装置の内容を上記第二の磁気ディスク装置の内容に
更新する更新手段を備えた請求項2記載の情報処理装
置。
3. The magnetic disk controller comprises updating means for updating the contents of the first magnetic disk device to the contents of the second magnetic disk device after the reading process of the second reading device is completed. Item 2. The information processing device according to item 2.
JP3347310A 1991-12-27 1991-12-27 Information processor Pending JPH05181613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3347310A JPH05181613A (en) 1991-12-27 1991-12-27 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3347310A JPH05181613A (en) 1991-12-27 1991-12-27 Information processor

Publications (1)

Publication Number Publication Date
JPH05181613A true JPH05181613A (en) 1993-07-23

Family

ID=18389356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3347310A Pending JPH05181613A (en) 1991-12-27 1991-12-27 Information processor

Country Status (1)

Country Link
JP (1) JPH05181613A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295874A (en) * 1994-04-27 1995-11-10 Nec Corp Cad system
JP2000200153A (en) * 1999-01-07 2000-07-18 Nec Corp Data transfer system and data transfer method
JP2001195202A (en) * 2000-01-14 2001-07-19 Nec Corp Duplex storage device and duplex storage method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295874A (en) * 1994-04-27 1995-11-10 Nec Corp Cad system
JP2000200153A (en) * 1999-01-07 2000-07-18 Nec Corp Data transfer system and data transfer method
JP2001195202A (en) * 2000-01-14 2001-07-19 Nec Corp Duplex storage device and duplex storage method

Similar Documents

Publication Publication Date Title
JP2561398B2 (en) Redundant disk controller
JPH07281840A (en) Dual-disk recording device
JPH05181613A (en) Information processor
JPS648848B2 (en)
JPH0293721A (en) Copying and transferring system for magnetic disk device
JPH0793101A (en) Data backup device
JPS61127026A (en) Optical disk controller
JPH0750428B2 (en) Disk double writing controller
JPS61208119A (en) Disk controller
JPS6374170A (en) Control system for magnetic disk
JPS59197947A (en) System for updating information of doubled file
JP2001175422A (en) Disk array device
JP3226047B2 (en) I / O device
JPS6161273A (en) Control system of memory device
JPS58171724A (en) Copy controller of magnetic disc tape
JPH0944317A (en) Registering system for alternate sector
JPH0684283A (en) Transfer method for magneto-optical disk data
JPS622335A (en) Back-up processing system for file device
JP2656499B2 (en) Computer system
JPS6398722A (en) Magnetic disk controller
JPH04336620A (en) Magnetic disk sub-system
JP2000112669A (en) File controller
JPH0470922A (en) Channel processing system
JPH0743673B2 (en) Writing control method to auxiliary storage device
JPH02307117A (en) Storage controller