JPH08171460A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH08171460A
JPH08171460A JP6316930A JP31693094A JPH08171460A JP H08171460 A JPH08171460 A JP H08171460A JP 6316930 A JP6316930 A JP 6316930A JP 31693094 A JP31693094 A JP 31693094A JP H08171460 A JPH08171460 A JP H08171460A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
interface
disk device
read
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
JP6316930A
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 JP6316930A priority Critical patent/JPH08171460A/en
Publication of JPH08171460A publication Critical patent/JPH08171460A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To reduce the duplex processing operation of a magnetic disk device for which an OS is interposed and to improve the throughput of the entire system. CONSTITUTION: The control part 1 of this magnetic disk controller 300 transfers data between the magnetic disk device 3 through an interface 20 and writes the same data as the data written in the magnetic disk device 2 in the magnetic disk device 3 as well. At the time of read, the data are transferred between a main memory unit 200 through the interface 10. Also, when the data of the magnetic disk device 2 can not be normally read, the data of the magnetic disk device 3 are read through the interface 20, the data are transferred to the magnetic disk controller 300 and restoration is performed so as to correctly read the data of the magnetic disk device 2 by using the data. Thus, the burdens of the OS and the magnetic disk controller 300 are reduced and the throughput of the entire system is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は磁気ディスク制御装置に
関し、特に、複数の磁気ディスク装置に接続してデータ
の二重化処理を行う磁気ディスク制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk control device, and more particularly to a magnetic disk control device which is connected to a plurality of magnetic disk devices to perform data duplication processing.

【0002】[0002]

【従来の技術】従来、ミラードディスクと称する磁気デ
ィスク装置によるデータの二重化処理は、OSの制御に
より磁気ディスク制御装置からある磁気ディスク装置に
対して通常のデータ転送を行う場合と同様の方法で、他
の磁気ディスク装置に対しても同じデータを転送するも
のであって、複数の磁気ディスク装置に同一のデータを
格納することにより、データの信頼性を高めるととも
に、データ読み出しの高速化をはかっていた。
2. Description of the Related Art Conventionally, a data duplication process by a magnetic disk device called a mirrored disk is performed in the same manner as a normal data transfer from a magnetic disk control device to a magnetic disk device under the control of an OS. The same data is transferred to other magnetic disk devices. By storing the same data in multiple magnetic disk devices, it is possible to improve the reliability of the data and speed up the data reading. I was there.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来の磁気ディスク装置の二重化処理では、データ
書き込む場合に同じデータを他の磁気ディスク装置にも
書き込む、データが正常に読み出せない場合には、他
の磁気ディスク装置からデータを読み出して、修復ため
のデータとして書き込む、という処理を実行するには、
OSの介入が必要であるため、システム全体として処理
時間が増加するという欠点がある。
However, in the above-described conventional duplication processing of the magnetic disk device, when writing data, the same data is written in another magnetic disk device, and when the data cannot be read normally, To execute the process of reading data from another magnetic disk device and writing it as repair data,
Since the intervention of the OS is required, there is a drawback that the processing time increases as a whole system.

【0004】また、二重化のための磁気ディスク装置間
のデータ転送は、通常のデータ転送に用いるインタフェ
ースを介して行うため、その間は通常のデータ転送がで
きなくなる。すなわち、データ転送に要する時間が長く
なるという欠点がある。
Further, since data transfer between the magnetic disk devices for duplication is performed through an interface used for normal data transfer, normal data transfer cannot be performed during that time. That is, there is a drawback that the time required for data transfer becomes long.

【0005】[0005]

【課題を解決するための手段】本発明は、デュアルポー
トを有する複数の磁気ディスク装置に接続してデータの
二重化処理を行う磁気ディスク制御装置であって、前記
複数の磁気ディスク装置の第1のポートとの間でデータ
の書き込みおよび読み出しを行う第1のインタフェース
と、前記複数の磁気ディスク装置の第2のポートとの間
で前記データと同じデータの書き込みおよび読み出しを
行う第2のインタフェースと、前記第1および第2のイ
ンタフェースを介して前記複数の磁気ディスク装置から
読み出したデータと照合し前記第1のインタフェースを
介して読み出したデータに誤りがあるとき前記第2のイ
ンタフェースを介して修復する制御部とを備えることを
特徴とする。
SUMMARY OF THE INVENTION The present invention is a magnetic disk controller for connecting to a plurality of magnetic disk devices having dual ports to perform data duplication processing, the first of the plurality of magnetic disk devices. A first interface for writing and reading data to and from a port, and a second interface for writing and reading the same data as the data to and from second ports of the plurality of magnetic disk devices, The data read from the plurality of magnetic disk devices via the first and second interfaces is collated, and when the data read via the first interface has an error, the data is restored via the second interface. And a control unit.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0007】図1は、本発明の一実施例を実現する情報
処理システムの構成を示すブロック図である。この情報
処理システムは、図1に示すように、磁気ディスク制御
装置(DKC)300と、磁気ディスク制御装置300
にデータの読み出し・書き込み命令を発行する中央演算
装置(CPU)100と、主記憶装置(MEM)200
と、それぞれのデータ転送に使用される共通バス400
とを含んで構成される。そして、磁気ディスク制御装置
300の制御部1は、インタフェース10もしくはイン
タフェース20を経由して磁気ディスク装置(DKU)
2および磁気ディスク装置3に対してデータの転送およ
びそれに伴う動作制御を行う。ここで、インタフェース
10は通常のデータ転送に使用され、インタフェース2
0は磁気ディスク装置の二重化を行うためのデータ転送
に使用される。
FIG. 1 is a block diagram showing the configuration of an information processing system for realizing an embodiment of the present invention. As shown in FIG. 1, this information processing system includes a magnetic disk controller (DKC) 300 and a magnetic disk controller 300.
A central processing unit (CPU) 100 for issuing data read / write commands to a main memory unit (MEM) 200
And a common bus 400 used for each data transfer
It is comprised including. Then, the control unit 1 of the magnetic disk control device 300 passes the interface 10 or the interface 20 to the magnetic disk device (DKU).
2 and the magnetic disk device 3 are used to transfer data and control operations associated therewith. Here, the interface 10 is used for normal data transfer, and the interface 2
0 is used for data transfer for duplicating the magnetic disk device.

【0008】なお、本実施例では説明の理解を容易にす
るため、インタフェース10およびインタフェース20
に接続する磁気ディスク装置は、磁気ディスク装置2お
よび磁気ディスク装置3の2つとし、他は省略した。
In the present embodiment, the interface 10 and the interface 20 are provided to facilitate understanding of the description.
There are two magnetic disk devices connected to the magnetic disk device 2 and the magnetic disk device 3, and the others are omitted.

【0009】次に、このように構成された本実施例の動
作について説明する。
Next, the operation of this embodiment thus constructed will be described.

【0010】まず、書き込み処理について説明すると、
磁気ディスク制御装置300は、中央演算装置100か
ら書き込み命令が発行されると、磁気ディスク制御装置
300の制御部1により磁気ディスク装置2に対してシ
ーク命令を実行し、共通バス400およびインタフェー
ス10を経由して主記憶装置200との間でデータ転送
を行う。
First, the write processing will be described.
When the write command is issued from the central processing unit 100, the magnetic disk control device 300 executes a seek command to the magnetic disk device 2 by the control unit 1 of the magnetic disk control device 300, so that the common bus 400 and the interface 10 are connected. Data is transferred to and from the main storage device 200 via.

【0011】また、インタフェース10を経由するデー
タ転送と並行して、制御部1は、インタフェース20を
使用して磁気ディスク装置3との間でデータ転送を行
い、磁気ディスク装置2に書き込まれたデータと同じデ
ータを磁気ディスク装置3にも書き込む。そして、書き
込み終了後、磁気ディスク制御装置300は、共通バス
400を経由して中央演算装置100に対し動作終了の
報告を行う。
Further, in parallel with the data transfer via the interface 10, the control unit 1 uses the interface 20 to transfer data to and from the magnetic disk device 3, and the data written in the magnetic disk device 2 is transferred. The same data as is written in the magnetic disk device 3. After the writing is completed, the magnetic disk control device 300 reports the operation end to the central processing unit 100 via the common bus 400.

【0012】続いて、読み出し処理について説明する。
磁気ディスク制御装置300は、中央演算装置100か
ら読み出し命令が発行されると、制御部1により磁気デ
ィスク装置2に対してシーク命令を実行し、磁気ディス
ク装置2のシーク動作が終了後に読み出し動作を実行
し、共通バス400およびインタフェース10を経由し
て主記憶装置200との間でデータ転送を行う。
Next, the reading process will be described.
When the read command is issued from the central processing unit 100, the magnetic disk control device 300 executes a seek command to the magnetic disk device 2 by the control unit 1, and executes the read operation after the seek operation of the magnetic disk device 2 is completed. Then, the data is transferred to and from the main storage device 200 via the common bus 400 and the interface 10.

【0013】また、読み出し動作において、磁気ディス
ク装置2のデータが正常に読み出せない場合、制御部1
は、インタフェース20を経由して磁気ディスク装置3
からデータを読み出し、磁気ディスク装置3からインタ
フェース20を経由して磁気ディスク制御装置300へ
という経路でデータ転送を実行する。そして、読み出し
動作終了後、磁気ディスク制御装置300は、共通バス
400を経由して中央演算装置100に対し動作終了の
報告を行う。
In the read operation, if the data in the magnetic disk device 2 cannot be read normally, the control unit 1
Is the magnetic disk device 3 via the interface 20.
Data is read from the magnetic disk device 3 and the data is transferred from the magnetic disk device 3 via the interface 20 to the magnetic disk control device 300. Then, after the read operation is completed, the magnetic disk control device 300 reports the operation end to the central processing unit 100 via the common bus 400.

【0014】続いて、制御部1は、磁気ディスク制御装
置300の動作終了の報告と並行して、インタフェース
20を使用して磁気ディスク装置3から読み出したデー
タを使用し、正常に読み出せなかった磁気ディスク装置
2のデータを正しく読み出せるように修復しておく。そ
して、磁気ディスク制御装置300は、中央演算装置1
00から発行された命令による全データの読み出し・書
き込み動作が終了し、共通バス400を経由して中央演
算装置100に対して動作終了の報告を行った後は、中
央演算装置100からの次の命令を受け付ける。
Subsequently, the control unit 1 uses the data read from the magnetic disk device 3 by using the interface 20 in parallel with the report of the end of the operation of the magnetic disk control device 300, and cannot read normally. The data of the magnetic disk device 2 is restored so that it can be read correctly. The magnetic disk control device 300 is the central processing unit 1
After the read / write operation of all data by the command issued from 00 is completed and the operation completion is reported to the central processing unit 100 via the common bus 400, the next processing from the central processing unit 100 is performed. Accept orders.

【0015】[0015]

【発明の効果】以上説明したように、本発明の磁気ディ
スク制御装置は、データ部の読み出し・書き込みが終了
後、書き込んだデータを他の磁気ディスク装置に書き込
む、もしくは他の磁気ディスク装置からデータを読み出
して修復のためのデータとして書き込む、という磁気デ
ィスク装置の二重化に必要な処理において、OSの介入
が不必要となるため、システム全体の処理能力が向上す
るという効果がある。
As described above, the magnetic disk control device of the present invention writes the written data to another magnetic disk device or reads data from another magnetic disk device after the reading / writing of the data portion is completed. Since there is no need for the OS to intervene in the processing required for the duplication of the magnetic disk device, such as reading and writing the data as data for repair, there is an effect that the processing capacity of the entire system is improved.

【0016】また、二重化処理のための磁気ディスク装
置間のデータ転送を、通常のデータ転送の際に用いるイ
ンタフェースではなく、別の専用のインタフェースを使
用して行うため、その間も通常のデータ転送が実行可能
となり、通常のデータ転送が短時間で済むという効果が
ある。
Further, since the data transfer between the magnetic disk devices for the duplication processing is performed not by the interface used for the normal data transfer but by another dedicated interface, the normal data transfer can be performed during that time. Execution becomes possible and there is an effect that normal data transfer can be completed in a short time.

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

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

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

1 制御部 2,3 磁気ディスク装置(DKU) 10,20 インタフェイス 100 中央処理装置(CPU) 200 主記憶装置(MEM) 300 磁気ディスク制御装置(DKC) 400 共通バス 1 Control Unit 2, 3 Magnetic Disk Unit (DKU) 10, 20 Interface 100 Central Processing Unit (CPU) 200 Main Memory Unit (MEM) 300 Magnetic Disk Controller (DKC) 400 Common Bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 デュアルポートを有する複数の磁気ディ
スク装置に接続してデータの二重化処理を行う磁気ディ
スク制御装置であって、前記複数の磁気ディスク装置の
第1のポートとの間でデータの書き込みおよび読み出し
を行う第1のインタフェースと、前記複数の磁気ディス
ク装置の第2のポートとの間で前記データと同じデータ
の書き込みおよび読み出しを行う第2のインタフェース
と、前記第1および第2のインタフェースを介して前記
複数の磁気ディスク装置から読み出したデータと照合し
前記第1のインタフェースを介して読み出したデータに
誤りがあるとき前記第2のインタフェースを介して修復
する制御部とを備えることを特徴とする磁気ディスク制
御装置。
1. A magnetic disk control device for connecting to a plurality of magnetic disk devices having dual ports to perform data duplication processing, and writing data to and from a first port of the plurality of magnetic disk devices. And a first interface for reading and writing, and a second interface for writing and reading the same data as the data between the second ports of the plurality of magnetic disk devices, and the first and second interfaces A control unit for collating the data read from the plurality of magnetic disk devices via the second interface and repairing the data read via the first interface if there is an error. And a magnetic disk controller.
JP6316930A 1994-12-20 1994-12-20 Magnetic disk controller Pending JPH08171460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6316930A JPH08171460A (en) 1994-12-20 1994-12-20 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6316930A JPH08171460A (en) 1994-12-20 1994-12-20 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH08171460A true JPH08171460A (en) 1996-07-02

Family

ID=18082515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6316930A Pending JPH08171460A (en) 1994-12-20 1994-12-20 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH08171460A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04311219A (en) * 1991-04-09 1992-11-04 Nec Corp Data backup system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04311219A (en) * 1991-04-09 1992-11-04 Nec Corp Data backup system

Similar Documents

Publication Publication Date Title
US6604171B1 (en) Managing a cache memory
US6961818B1 (en) Method, system and computer program product for managing data in a mirrored cache using an access balancing technique
JP2561398B2 (en) Redundant disk controller
JPH07281840A (en) Dual-disk recording device
JP2000187608A (en) Storage device sub-system
JPS627572B2 (en)
JPH08171460A (en) Magnetic disk controller
JPH04311219A (en) Data backup system
JPH0293721A (en) Copying and transferring system for magnetic disk device
JPH07121310A (en) Hard disk storage device
JPH08263221A (en) Duplex magnetic disk device
JPH0793101A (en) Data backup device
JPH05181613A (en) Information processor
JP2004164171A (en) Path redundancy device and method
JPS58125128A (en) Computer system
JPH04291618A (en) Duplexed disk control system
JP3226047B2 (en) I / O device
JPS63140357A (en) Disk input and output control system
JPH0721748B2 (en) Magnetic disk controller
JPH10293656A (en) Disk storage system and duplexing method applied to the storage system
JPS6374170A (en) Control system for magnetic disk
JPS61208119A (en) Disk controller
JPH0132535B2 (en)
JPS58171724A (en) Copy controller of magnetic disc tape
JPS6061843A (en) Data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960910