JPH08263221A - Redundant magnetic disk unit - Google Patents

Redundant magnetic disk unit

Info

Publication number
JPH08263221A
JPH08263221A JP7060954A JP6095495A JPH08263221A JP H08263221 A JPH08263221 A JP H08263221A JP 7060954 A JP7060954 A JP 7060954A JP 6095495 A JP6095495 A JP 6095495A JP H08263221 A JPH08263221 A JP H08263221A
Authority
JP
Japan
Prior art keywords
magnetic disk
control unit
data
buffer memory
systems
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
JP7060954A
Other languages
Japanese (ja)
Inventor
Eiji Furukawa
栄治 古川
Kazuhiko Nakada
和彦 仲田
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.)
Hitachi Ltd
NTT Inc
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone 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 Hitachi Ltd, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP7060954A priority Critical patent/JPH08263221A/en
Publication of JPH08263221A publication Critical patent/JPH08263221A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】二重化磁気ディスク装置において磁気ディスク
装置間のデータコピ−を自律的に行う。 【構成】2台の磁気ディスク装置9、11と磁気ディス
ク制御部3とで、二重化磁気ディスク装置を構成する。
磁気ディスク制御部3の内部制御部14は、上位装置1
から送られたコピ−指示を解析し、0系のデバイス制
御部15に、0系磁気ディスク装置9から0系バッファ
メモリ16ヘデ−タを読出させる。そして、両系のデ
バイス制御部15、18を介して0系バッファメモリ1
6から1系バッファメモリ19にデータを転送し、転
送終了後、1系のデバイス制御部18に1系の磁気ディ
スク装置11に1系のバッファメモリ19に転送された
データ書込ませる。
(57) [Summary] [Purpose] To autonomously copy data between magnetic disk devices in a duplicated magnetic disk device. [Structure] Two magnetic disk devices 9 and 11 and a magnetic disk controller 3 constitute a dual magnetic disk device.
The internal control unit 14 of the magnetic disk control unit 3 uses the host device 1
The copy instruction sent from the device is analyzed, and the 0-system device control unit 15 is made to read the data from the 0-system magnetic disk device 9 to the 0-system buffer memory 16. Then, through the device control units 15 and 18 of both systems, the 0 system buffer memory 1
Data is transferred from 6 to the 1-system buffer memory 19, and after the transfer is completed, the 1-system device control unit 18 is caused to write the data transferred to the 1-system buffer memory 19 to the 1-system magnetic disk device 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、2つの磁気ディスク装
置を二重化した二重化磁気ディスク装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual magnetic disk device in which two magnetic disk devices are dualized.

【0002】[0002]

【従来の技術】従来、たとえば、電話交換機のおけるフ
ァイル記憶用装置としては、2つの磁気ディスク装置を
二重化して用いることによりファイル記憶の信頼性を向
上させることが行われている。
2. Description of the Related Art Conventionally, as a file storage device in a telephone exchange, for example, two magnetic disk devices are used in duplicate to improve the reliability of file storage.

【0003】また、このような、2つの磁気ディスク装
置を二重化した二重化磁気ディスク装置を制御する技術
としては、たとえば、特開昭55−34756号公報記
載の技術が知られている。
Further, as a technique for controlling such a duplicated magnetic disc device in which two magnetic disc devices are duplicated, for example, a technique described in Japanese Patent Laid-Open No. 55-34756 is known.

【0004】この技術では、図6に示すように、2つの
磁気ディスク装置9、11を制御する磁気ディスク制御
部3を設け、この磁気ディスク制御部3が、上位装置1
からインタフェ−ス部4を介して受け取った1回の書込
み命令(コマンド)に応答して、上位装置3からインタ
フェ−ス部4を介して受け取り一旦バッファメモリ6に
格納したデータを、異なる2台の磁気ディスク装置9、
11に、それぞれ書き込み制御部8、10によって重複
して書込むようにしている。また、2台のディスクへの
書き込み制御部8、10による書込みの両方が終了した
時点で書込み終了判定部5が、上位装置に対して1回の
書込み終了報告を行うようにしている。このようにする
ことによって、上位装置1は、1台の磁気ディスク装置
にのみ書き込みを行う場合と同様に、2台の磁気ディス
ク装置への二重書き込みを行うことができる。なお、図
6中のバッファ制御部7は、書き込み制御部8、10か
らの要求に応じてバッファメモリ6からのデータの読み
だしを制御する。
In this technique, as shown in FIG. 6, a magnetic disk control unit 3 for controlling two magnetic disk devices 9 and 11 is provided, and this magnetic disk control unit 3 is used as a host device 1.
In response to one write command (command) received from the host device 3 via the interface unit 4, the data received from the host device 3 via the interface unit 4 and temporarily stored in the buffer memory 6 are stored in two different units. Magnetic disk device 9,
The write control units 8 and 10 are used to write the data in the same area 11. Further, the write end determination unit 5 issues a single write end report to the higher-level device when both the write control units 8 and 10 write to the two disks are completed. By doing so, the higher-level device 1 can perform double writing to two magnetic disk devices, as in the case of writing only to one magnetic disk device. The buffer control unit 7 in FIG. 6 controls the reading of data from the buffer memory 6 in response to a request from the write control units 8 and 10.

【0005】[0005]

【発明が解決しようとする課題】図6に示した特開昭5
5−34756号公報記載の技術によれば、上位装置か
らの1回の書込み命令に対して、磁気ディスク制御部内
3が自律的に同一デ−タを異なる2台の磁気ディスク装
置への重複書込みを行うので、上位装置3のソフトウェ
ア等の処理負担を軽減することができる。
The problem to be solved by the invention is shown in FIG.
According to the technique described in Japanese Patent Laid-Open No. 5-34756, in response to a single write command from a higher-level device, the magnetic disk control unit 3 autonomously writes the same data to two different magnetic disk devices in duplicate. Therefore, it is possible to reduce the processing load of the software or the like of the higher-level device 3.

【0006】しかし、一方の磁気ディスク装置のデータ
を他方の磁気ディスク装置へコピ−する場合や、2台の
磁気ディスク装置のデ−タのコンペア(デ−タ照合)等
を行う場合には、上位装置1が、それぞれの磁気ディス
ク装置を個別に制御する必要がある。たとえば、一方の
磁気ディスク装置のデータを他方の磁気ディスク装置へ
コピ−する場合には、コピ−元の磁気ディスク装置を制
御して、この磁気ディスク装置のデータを一旦上位装置
に読み込み、その後、コピ−先の磁気ディスク装置を制
御して、このデータを、この磁気ディスク装置に書き込
む必要がある。また、2台の磁気ディスク装置のデータ
のコンペアを行う場合には、各磁気ディスク装置を個別
に制御して、各磁気ディスク装置のデータを、それぞれ
上位装置に読み込み、上位装置において両者を照合する
必要がある。
However, when the data of one magnetic disk device is copied to the other magnetic disk device, or when the data of two magnetic disk devices is compared (data collation), etc. The host device 1 needs to individually control each magnetic disk device. For example, when copying the data of one magnetic disk device to the other magnetic disk device, the copy source magnetic disk device is controlled to read the data of this magnetic disk device once into the host device, and then It is necessary to control the copy destination magnetic disk device to write this data to this magnetic disk device. Further, in the case of performing data comparison of two magnetic disk devices, each magnetic disk device is individually controlled, the data of each magnetic disk device is read into the host device, and both are collated in the host device. There is a need.

【0007】すなわち、データのコピ−やコンペア等の
ように多様な処理を、二重化磁気ディスク装置間で実現
しようとする場合には、上位装置の負担は軽減されず、
上位装置の処理効率を低下させる。また、上位装置と二
重化磁気ディスク装置間のデータやコマンドの転送に用
いられるプロセッサバスのトラヒックが増大してしま
う。そして、たとえば、プロセッサバスが他の装置間の
データ転送等にも共用されトラヒックの余裕が無い場合
等には、このような上位装置と二重化磁気ディスク装置
間のデータ等の転送によるプロセッサバスのトラヒック
の増大によって全体の処理効率が低下してしまうことに
なる。
In other words, when various processes such as copying and comparing data are to be realized between the duplicated magnetic disk devices, the load on the host device is not reduced.
The processing efficiency of the host device is reduced. Further, the traffic of the processor bus used for transferring data and commands between the host device and the duplicated magnetic disk device will increase. Then, for example, when the processor bus is also used for data transfer between other devices and there is no traffic margin, the traffic of the processor bus due to the data transfer between the higher-level device and the duplicated magnetic disk device. Therefore, the overall processing efficiency will be reduced due to the increase of.

【0008】そこで、本発明は、2台の磁気ディスク装
置間で行うデータ処理を自律的に行うことのできる2重
化磁気ディスク装置を提供することを目的とする。
Therefore, an object of the present invention is to provide a dual magnetic disk device capable of autonomously performing data processing between two magnetic disk devices.

【0009】[0009]

【課題を解決するための手段】前記目的達成のために、
本発明は、たとえば、2系統の磁気ディスク装置と、上
位装置と前記2系統の磁気ディスク装置にそれぞれ接続
し、前記2系統の磁気ディスク装置を前記上位装置の指
示に従い制御する磁気ディスク制御部とを備えた二重化
磁気ディスク装置であって、前記磁気ディスク制御部
は、2系統の磁気ディスク装置の各系統に対応して設け
られた対応する系統の磁気ディスク装置を制御する2系
統の磁気ディスク制御系と、前記上位装置の指示に応じ
て前記2系統の磁気ディスク制御系の各々を制御する内
部制御部とを備え、前記各磁気ディスク制御系は、対応
する系統の磁気ディスク装置に書き込むデータを一旦記
憶すると共に対応する系統の磁気ディスク装置から読み
だしたデータを一旦記憶するバッファメモリと、バッフ
ァメモリに記憶されたデータの対応する系統の磁気ディ
スク装置への書き込みと対応する系統の磁気ディスク装
置から前記バッファメモリへのデータの読み出しを制御
するデバイス制御部を有し、前記内部制御部は、前記2
系統の磁気ディスク制御系の2つのバッファメモリ間で
データを転送する転送手段を有することを特徴とする二
重化磁気ディスク装置を提供する。
[Means for Solving the Problems] To achieve the above object,
The present invention is, for example, a two-system magnetic disk device, and a magnetic disk control unit that is connected to a host device and the two-system magnetic disk device, respectively, and controls the two-system magnetic disk device according to instructions from the host device. A dual magnetic disk drive, wherein the magnetic disk control unit controls the magnetic disk drive of a corresponding system provided corresponding to each system of the two systems of magnetic disk drives. System, and an internal control unit for controlling each of the two systems of magnetic disk control systems in accordance with an instruction from the host device, and each magnetic disk control system stores data to be written in the corresponding system magnetic disk device. A buffer memory that temporarily stores the data read from the magnetic disk device of the corresponding system and that is stored in the buffer memory. Has a device control unit for controlling reading data from the magnetic disk device of the system to the buffer memory corresponding to the corresponding write to the magnetic disk device of the system data, the internal control unit, the 2
Provided is a dual magnetic disk device characterized by having a transfer means for transferring data between two buffer memories of a magnetic disk control system of the system.

【0010】[0010]

【作用】前述した二重化磁気ディスク装置によれば、た
とえば、前記内部制御部が、前記2系統の磁気ディスク
制御系のうちの一方の磁気ディスク制御系のデバイス制
御部に、対応する系統の磁気ディスク装置からデータを
当該デバイス制御部と同じ磁気ディスク制御系のバッフ
ァメモリに読みださせ、前記転送手段によって前記一方
の磁気ディスク制御系のバッファメモリに読みだされた
データを他方の磁気ディスク制御系のバッファメモリに
データを転送させ、前記他方の磁気ディスク制御系のデ
バイス制御部に、それぞれ当該デバイス制御部と同じ磁
気ディスク制御系のバッファメモリに前記転送手段によ
って転送されたデータを対応する系統の磁気ディスク装
置に書き込ませることによって、2台の磁気ディスク装
置間のデータのコピ−を、二重化磁気ディスク装置上で
自律的に行うことができる。
According to the above-mentioned dual magnetic disk device, for example, the internal control unit corresponds to the device control unit of the magnetic disk control system of one of the two systems of magnetic disk control systems. Data is read from the device into a buffer memory of the same magnetic disk control system as the device control unit, and the data read by the transfer means into the buffer memory of the one magnetic disk control system is read from the other magnetic disk control system. The data is transferred to the buffer memory, and the device control unit of the other magnetic disk control system transfers the data transferred by the transfer unit to the buffer memory of the same magnetic disk control system as the device control unit. By writing to the disk device, the data between two magnetic disk devices can be copied. - and it can be autonomously performed on dual magnetic disk device.

【0011】[0011]

【実施例】以下、本発明に係る二重化磁気ディスク装置
の実施例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the dual magnetic disk drive according to the present invention will be described below.

【0012】図1に、本実施例に係る二重化磁気ディス
ク装置の構成を示す。
FIG. 1 shows the configuration of a dual magnetic disk drive according to this embodiment.

【0013】図示するように、本実施例に係る二重化磁
気ディスク装置は、上位装置1にプロセッサバス2を介
して接続する磁気ディスク制御部3と2系統の磁気ディ
スク装置9、11より構成される。
As shown in the figure, the duplicated magnetic disk device according to this embodiment comprises a magnetic disk controller 3 connected to a host device 1 via a processor bus 2 and two systems of magnetic disk devices 9 and 11. .

【0014】また、図示するように、磁気ディスク制御
部3は、プロセッサバス2との間の入出力を制御するプ
ロセッサバスインタフェ−ス部12と、内部制御部14
と、内部プロセッサバス13を備えている。また、2系
統の磁気ディスク装置9、11に対応して、書込み、読
出し兼用のバッファメモリ16、19と、デバイス制御
部15、18と、磁気ディスク装置バス制御部17、2
0を2系統備えている。各系統において、デバイス制御
部15、18は、内部制御部14の制御下で磁気ディス
ク装置9、11のデ−タの読出し、書込みの制御を、磁
気ディスク装置バス制御部17、20を介して行う。磁
気ディスク装置バス制御部17、20は、磁気ディスク
装置9、11が接続されたバスが採用するバスインタフ
ェ−ス、例えばSCSI(Small Computer System Inte
rface)に従って当該バスとの間の入出力を制御し、磁
気ディスク装置9、11とデバイス制御部15、18と
の間のデータやコマンドを中継する。バッファメモリ1
6、19は、デバイス制御部15、18が磁気ディスク
装置9、11に書き込むデータおよびデバイス制御部1
5、18が磁気ディスク装置9、11から読みだしたデ
ータを一旦格納するためのバッフメモリである。
Further, as shown in the figure, the magnetic disk control unit 3 includes a processor bus interface unit 12 for controlling input / output with the processor bus 2 and an internal control unit 14.
And an internal processor bus 13. Further, corresponding to the two systems of magnetic disk devices 9 and 11, buffer memories 16 and 19 for both writing and reading, device control units 15 and 18, and magnetic disk device bus control units 17 and 2 are provided.
It has two 0s. In each system, the device control units 15 and 18 control the reading and writing of data of the magnetic disk devices 9 and 11 under the control of the internal control unit 14 via the magnetic disk device bus control units 17 and 20, respectively. To do. The magnetic disk device bus control units 17 and 20 are bus interfaces adopted by a bus to which the magnetic disk devices 9 and 11 are connected, for example, SCSI (Small Computer System Inte).
rface) to control input / output to / from the bus, and relay data and commands between the magnetic disk devices 9 and 11 and the device control units 15 and 18. Buffer memory 1
Reference numerals 6 and 19 denote data written to the magnetic disk devices 9 and 11 by the device control units 15 and 18, and the device control unit 1.
Numerals 5 and 18 are buffer memories for temporarily storing the data read from the magnetic disk devices 9 and 11.

【0015】本実施例では、このような構成により、片
方の磁気ディスク装置のデ−タを読出して、他方の磁気
ディスク装置に書込むコピ−動作や、両方の磁気ディス
ク装置9、11のデ−タを同時に読出して照合を行なう
コンペア動作など、二重化磁気ディスク装置の多彩な機
能を上位装置1を介さずに行なう。また、バッファメモ
リを書込み、読出し兼用な構成とすることにより、バッ
ファメモリ間のデ−タ転送が最小限で済むようにしてい
る。
In this embodiment, with such a configuration, the copy operation of reading the data of one magnetic disk device and writing it in the other magnetic disk device, and the data of both magnetic disk devices 9 and 11 are copied. -The various functions of the dual magnetic disk device, such as a compare operation for simultaneously reading and verifying the data, are performed without going through the host device 1. Further, the buffer memory is configured to be used for both writing and reading, so that data transfer between the buffer memories can be minimized.

【0016】さて、本実施例では、磁気ディスク制御部
3が自律的に行う2台の磁気ディスク間のデータ処理と
して以下の3つの処理を行う。
In the present embodiment, the magnetic disk controller 3 autonomously performs the following three processes as data processing between two magnetic disks.

【0017】(1)コピ−:片方の磁気ディスク装置の
デ−タを他方の磁気ディスク装置へ複写する。
(1) Copy: Copy the data of one magnetic disk device to the other magnetic disk device.

【0018】(2)コンペア:両方の磁気ディスク装置
のデ−タを読出しデ−タを照合する。
(2) Compare: The data of both magnetic disk devices is read and the data is compared.

【0019】(3)ベリファイ:磁気ディスク装置の書
込みデ−タの信頼度向上の為、両系書込み時は、両系書
込み直後に読出し、両方のバッファメモリの内容を照合
することによりデ−タの正常性を確認する。また、片系
書込み時は、片系書込み直後にその系のデ−タを読出
し、書込みがない系のバッファメモリの内容と照合する
ことによりデ−タの正常性を確認する。
(3) Verify: In order to improve the reliability of the write data of the magnetic disk device, at the time of writing to both systems, the data is read immediately after writing to both systems and the contents of both buffer memories are collated to verify the data. Check the normality of. In the case of single-system writing, the normality of the data is confirmed by reading the data of that system immediately after the single-system writing and collating it with the contents of the buffer memory of the non-written system.

【0020】以下、各処理を実現する動作について説明
する。
The operation for realizing each process will be described below.

【0021】なお、以下の説明では、磁気ディスク装置
9、バッファメモリ16、、デバイス制御部15と、磁
気ディスク装置バス制御部17の系統を0系、磁気ディ
スク装置11、バッファメモリ19、デバイス制御部1
8、磁気ディスク装置バス制御部20の系統を1系と呼
ぶこととする。
In the following description, the system of the magnetic disk device 9, the buffer memory 16, the device control unit 15, and the magnetic disk device bus control unit 17 will be referred to as system 0, the magnetic disk device 11, the buffer memory 19, and the device control. Part 1
8. The system of the magnetic disk device bus control unit 20 will be referred to as 1 system.

【0022】まず最初に、図2を用いて、コピ−処理に
ついて説明する(ここでは、0系磁気ディスク装置9か
ら1系磁気ディスク装置11へデータをコピ−する場合
について説明する)。
First, the copy process will be described with reference to FIG. 2 (here, the case of copying data from the 0-system magnetic disk device 9 to the 1-system magnetic disk device 11 will be described).

【0023】この処理ではまず、上位装置1からプロ
セッサバス2、プロセッサバスインタフェ−ス部12を
介して送られたコピ−指示(コマンド発行)を受けた、
内部制御部14は、本指示を解析し、次のように動作す
る。
In this process, first, a copy instruction (command issuance) sent from the host device 1 via the processor bus 2 and the processor bus interface unit 12 is received.
The internal control unit 14 analyzes this instruction and operates as follows.

【0024】すなわち、0系のデバイス制御部15を
制御し、0系磁気ディスク装置9から0系バッファメモ
リ16ヘデ−タを読出させる。そして、両系のデバイ
ス制御部15、18を介して0系バッファメモリ16か
ら1系バッファメモリ19にデータを転送する。そし
て、転送終了後、1系のデバイス制御部18に1系の
磁気ディスク装置11に1系のバッファメモリ19に転
送されたデータ書込ませる。
That is, the 0-system device controller 15 is controlled to read the data from the 0-system magnetic disk device 9 to the 0-system buffer memory 16. Then, the data is transferred from the 0-system buffer memory 16 to the 1-system buffer memory 19 via the device control units 15 and 18 of both systems. After the transfer is completed, the 1-system device control unit 18 causes the 1-system magnetic disk device 11 to write the transferred data to the 1-system buffer memory 19.

【0025】そして、内部制御部14は、これらの動作
終了後、プロセッサインタフェ−ス部12を介してステ
−タス情報等により、コピ−指示に対する終了報告を上
位装置1に行なう。
After these operations are completed, the internal control unit 14 reports the completion of the copy instruction to the higher-level device 1 through the processor interface unit 12 based on the status information and the like.

【0026】次に、図3を用いて、コンペア処理につい
て説明する。
Next, the compare process will be described with reference to FIG.

【0027】この処理ではまず、上位装置1からプロ
セッサバス2、プロセッサバスインタフェ−ス部12を
介して送られたコンペア指示(コマンド発行)を受け
た、内部制御部14は、本指示を解析し、次のように動
作する。
In this process, first, the internal control unit 14, which receives a compare instruction (command issuance) sent from the host device 1 via the processor bus 2 and the processor bus interface unit 12, analyzes this instruction. , Works as follows:

【0028】すなわち、0系のデバイス制御部15に
0系磁気ディスク装置9から0系バッファメモリ16ヘ
デ−タを読出させ、同時に1系のデバイス制御部18に
1系磁気ディスク装置11から1系バッファメモリ19
ヘデ−タを読出させる。
That is, the 0-system device control unit 15 is caused to read data from the 0-system magnetic disk device 9 to the 0-system buffer memory 16 and at the same time, the 1-system device control unit 18 is read from the 1-system magnetic disk device 11 to 1. System buffer memory 19
Read the data.

【0029】そして、の読出し終了後、内部制御部
14に、両系のデバイス制御部15、18を介してバッ
ファメモリ16、19の内容を読みだし、これらを照合
し、プロセッサバスインタフェ−ス部12を介して、照
合の結果を、ステ−タス情報等によりコンペア指示に対
する終了報告を上位装置1に行う。
After completion of the reading, the contents of the buffer memories 16 and 19 are read out to the internal control unit 14 via the device control units 15 and 18 of both systems, collated with each other, and the processor bus interface unit is read. The result of the collation is reported to the upper level device 1 via 12 via the status information or the like in response to the compare instruction.

【0030】次に、図4を用いて両系書込み時のベリフ
ァイ処理について説明する。
Next, the verify process at the time of writing in both systems will be described with reference to FIG.

【0031】この処理ではまず、上位装置1からプロ
セッサバス2、プロセッサバスインタフェ−ス部12を
介して送られたベリファイ付両系書込み指示(コマンド
発行)を受けた、内部制御部14は、本指示を解析し、
次のように動作する。
In this process, first, the internal control unit 14, which receives the write-instruction-with-verify write command (command issuance) sent from the host device 1 via the processor bus 2 and the processor bus interface unit 12, Parse the instructions,
It works as follows.

【0032】すなわち、プロセッサバスインタフェ−
ス部12に、プロセッサバスインタフェ−ス部12が取
り込んだ、上位装置1からプロセッサバス2を介して送
られた書き込みデータを、両系デバイス制御部15、1
8を介して、両系のバッファメモリ16、19に格納さ
せる。
That is, the processor bus interface
The write data sent from the higher-level device 1 via the processor bus 2 captured by the processor bus interface unit 12 to the interface unit 12 is transferred to the device control units 15 and 1 of both systems.
8 to store them in the buffer memories 16 and 19 of both systems.

【0033】そして、両系のデバイス制御部15、1
8に、それぞれバッファメモリ16、19に格納された
デ−タを、両系の磁気ディスク装置9、11に、並行し
て、それぞれ書込ませる。そして、磁気ディスク装置
9、11書込み終了後、両系の磁気ディスク装置9、1
1に、磁気ディスク装置9、11から書込み指示のあっ
た両系の同一領域のデ−タを各々のバッファメモリ1
6、19に読取らせる。
Then, the device control units 15 and 1 of both systems
The data stored in the buffer memories 16 and 19 are written in parallel to the magnetic disk devices 9 and 11 of both systems. Then, after the writing of the magnetic disk devices 9 and 11 is completed, the magnetic disk devices 9 and 1 of both systems are
1 stores data in the same area of both systems, which has been instructed to write by the magnetic disk devices 9 and 11, in the buffer memory 1 of each.
Make 6 and 19 read.

【0034】そして、読取り終了後、内部制御部14
に、両系のデバイス制御部15、18を介してバッファ
メモリ16、19の内容を読みだし、これらを照合し、
プロセッサバスインタフェ−ス部12を介して、照合の
結果を、ステ−タス情報等によりベリファイ付両系書込
み指示に対する終了報告を上位装置1に行う。
After the reading is completed, the internal control unit 14
Then, the contents of the buffer memories 16 and 19 are read out through the device control units 15 and 18 of both systems, and these are collated,
Through the processor bus interface section 12, the result of the collation is reported to the upper-level device 1 by the status information or the like for the write instruction with both systems with verification.

【0035】次に、図5を用いて片系書込み時のベリフ
ァイ処理について説明する。
Next, the verify process at the time of one-sided writing will be described with reference to FIG.

【0036】この処理ではまず、上位装置1からプロ
セッサバス2、プロセッサバスインタフェ−ス部12を
介して送られた、ベリファイ付片系書込み指示(コマン
ド発行)を受けた、内部制御部14は、本指示を解析
し、次のように動作する。ここでは、上位装置1から送
られた指示は、0系へのベリファイ付片系書込み指示で
あるものとして説明する。
In this process, first, the internal control unit 14 which receives the verifying one-sided write instruction (command issuance) sent from the higher-level device 1 via the processor bus 2 and the processor bus interface unit 12, This instruction is analyzed and it operates as follows. Here, it is assumed that the instruction sent from the higher-level device 1 is a verify-attached one-system write instruction to the 0-system.

【0037】すなわち、プロセッサバスインタフェ−
ス部12に、プロセッサバスインタフェ−ス部12が取
り込んだ、上位装置1からプロセッサバス2を介して送
られた書き込みデータを、両系デバイス制御部15、1
8を介して、両系のバッファメモリ16、19に格納さ
せる。そして、上位装置1より指示された0系のデバ
イス制御部15に0系のバッファメモリ16に格納され
たデータを0系の磁気ディスク装置9に書込ませる。そ
して、0系の磁気ディスク装置9書込み終了後、0系
のデバイス制御部15に、当該0系の磁気ディスク装置
9から書込み指示のあったデ−タを0系のバッファメモ
リ16に読取らせる。
That is, the processor bus interface
The write data sent from the higher-level device 1 via the processor bus 2 captured by the processor bus interface unit 12 to the interface unit 12 is transferred to the device control units 15 and 1 of both systems.
8 to store them in the buffer memories 16 and 19 of both systems. Then, the 0-system device control unit 15 instructed by the higher-level device 1 writes the data stored in the 0-system buffer memory 16 into the 0-system magnetic disk device 9. After the writing of the 0-system magnetic disk device 9, the 0-system device controller 15 is made to read the data instructed by the 0-system magnetic disk device 9 into the 0-system buffer memory 16. .

【0038】そして、読取り終了後、内部制御部14
に、両系のデバイス制御部15、18を介してバッファ
メモリ16、19の内容を読みだし、これらを照合し、
プロセッサバスインタフェ−ス部12を介して、照合の
結果を、ステ−タス情報等によりベリファイ付片系書込
み指示に対する終了報告を上位装置1に行う。
After the reading is completed, the internal control unit 14
Then, the contents of the buffer memories 16 and 19 are read out through the device control units 15 and 18 of both systems, and these are collated,
Through the processor bus interface unit 12, the host device 1 is informed of the result of the collation and the completion report for the verifying one-sided write instruction by the status information or the like.

【0039】つまり、片系書込み時のベリファイ処理の
場合は、磁気ディスク装置への書込みがない系のバッフ
ァメモリに書込んだデ−タが、実際に一度磁気ディスク
装置に書込んだ上でバッファメモリに読取ったデ−タと
照合されることになるわけである。
That is, in the case of the verify process at the time of one-sided writing, the data written in the buffer memory of the system in which there is no writing in the magnetic disk device is actually once written in the magnetic disk device and then the buffer is written. The data will be collated with the data read in the memory.

【0040】以上のように、本実施例によれば、二重化
磁気ディスク装置において、2系統の磁気ディスク装置
のデ−タ転送を個別に自律制御が可能となる為、二重化
書込みは元より、2系統の磁気デイスク装置を利用した
コピ−、コンペア及びベリファイ等の多彩な動作を自律
的に実現することができ、上位装置のソフトウェア等の
処理負担を軽減し、かつ、プロセッサバスの使用効率を
高めることができる。
As described above, according to this embodiment, in the duplicated magnetic disk device, it is possible to independently control the data transfer of the magnetic disk devices of the two systems. Various operations such as copy, compare and verify using the magnetic disk device of the system can be autonomously realized, the processing load of the software of the host device can be reduced, and the processor bus usage efficiency can be improved. be able to.

【0041】[0041]

【発明の効果】以上のように、本発明によれば、2台の
磁気ディスク装置間で行うデータ処理を自律的に行うこ
とのできる2重化磁気ディスク装置を提供することがで
きる。
As described above, according to the present invention, it is possible to provide a dual magnetic disk device capable of autonomously performing data processing between two magnetic disk devices.

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

【図1】本発明の実施例に係る二重化磁気ディスク装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a dual magnetic disk drive according to an embodiment of the present invention.

【図2】本発明の実施例に係る二重化磁気ディスク装置
のコピ−処理を示す図である。
FIG. 2 is a diagram showing a copy process of the dual magnetic disk drive according to the embodiment of the present invention.

【図3】本発明の実施例に係る二重化磁気ディスク装置
のコンペア処理を示す図である。
FIG. 3 is a diagram showing a compare process of the dual magnetic disk drive according to the embodiment of the present invention.

【図4】本発明の実施例に係る二重化磁気ディスク装置
の両系書き込み時のベリファイ処理を示す図である。
FIG. 4 is a diagram showing a verify process at the time of both-system writing of the dual magnetic disk drive according to the embodiment of the present invention.

【図5】本発明の実施例に係る二重化磁気ディスク装置
の片系書き込み時のベリファイ処理を示す図である。
FIG. 5 is a diagram showing a verify process at the time of single-sided writing of the dual magnetic disk drive according to the embodiment of the present invention.

【図6】従来の二重化磁気ディスク装置の構成を示すブ
ロック図である。
FIG. 6 is a block diagram showing a configuration of a conventional dual magnetic disk device.

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

1・・・・上位装置 2・・・・プロセッサバス 3・・・・磁気ディスク制御部 4・・・・インタフェ−ス部 5・・・・書込み終了判定部 6・・・・バッファメモリ 7・・・・バッファ制御部 8・・・・0系書込み制御部 9・・・・0系磁気ディスク装置 10・・・・1系書込み制御部 11・・・・1系磁気ディスク装置 12・・・・プロセッサバスインタフェ−ス部 13・・・・内部プロセッサバス 14・・・・内部制御部 15・・・・0系デバイス制御部 16・・・・0系バッファメモリ 17・・・・0系磁気ディスク装置バス制御部 18・・・・1系デバイス制御部 19・・・・1系バッファメモリ 20・・・・1系磁気ディスク装置バス制御部 1 ... Higher-order device 2 ... Processor bus 3 ... Magnetic disk control unit 4 ... Interface unit 5 ... Write end determination unit 6 ... Buffer memory 7 ... ... Buffer control unit 8 ... 0 system write control unit 9 ... 0 system magnetic disk device 10 ... 1 system write control unit 11 ... 1 system magnetic disk device 12 ...・ Processor bus interface unit 13 ・ ・ ・ Internal processor bus 14 ・ ・ ・ ・ Internal control unit 15 ・ ・ ・ ・ 0 system device control unit 16 ・ ・ ・ ・ ・ ・ 0 system buffer memory 17 ・ ・ ・ ・ ・ ・ 0 system magnetism Disk device bus control unit 18 ... 1 system device control unit 19 ... 1 system buffer memory 20 ... 1 system magnetic disk device bus control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】2系統の磁気ディスク装置と、上位装置と
前記2系統の磁気ディスク装置にそれぞれ接続し、前記
2系統の磁気ディスク装置を前記上位装置の指示に従い
制御する磁気ディスク制御部とを備えた二重化磁気ディ
スク装置であって、 前記磁気ディスク制御部は、2系統の磁気ディスク装置
の各系統に対応して設けられた対応する系統の磁気ディ
スク装置を制御する2系統の磁気ディスク制御系と、前
記上位装置の指示に応じて前記2系統の磁気ディスク制
御系の各々を制御する内部制御部とを備え、 前記各磁気ディスク制御系は、対応する系統の磁気ディ
スク装置に書き込むデータを一旦記憶すると共に対応す
る系統の磁気ディスク装置から読みだしたデータを一旦
記憶するバッファメモリと、バッファメモリに記憶され
たデータの対応する系統の磁気ディスク装置への書き込
みと対応する系統の磁気ディスク装置から前記バッファ
メモリへのデータの読み出しを制御するデバイス制御部
を有し、 前記内部制御部は、前記2系統の磁気ディスク制御系の
2つのバッファメモリ間でデータを転送する転送手段を
有することを特徴とする二重化磁気ディスク装置。
1. A two-system magnetic disk device, and a magnetic disk control unit which is connected to a host device and the two-system magnetic disk device, respectively, and controls the two-system magnetic disk device in accordance with instructions from the host device. A dual magnetic disk drive system, wherein the magnetic disk control unit controls two magnetic disk devices of two systems, which are provided corresponding to each system of the two magnetic disk devices. And an internal control unit for controlling each of the magnetic disk control systems of the two systems in accordance with an instruction from the host device, and each magnetic disk control system temporarily writes data to be written to the magnetic disk device of the corresponding system. The buffer memory that stores and temporarily stores the data read from the magnetic disk device of the corresponding system, and the data stored in the buffer memory. Of the magnetic disk device of the corresponding system, and a device control unit for controlling reading of data from the magnetic disk device of the corresponding system to the buffer memory, wherein the internal control unit includes the magnetic disk of the two systems. A dual magnetic disk device comprising a transfer means for transferring data between two buffer memories of a control system.
【請求項2】2系統の磁気ディスク装置と、上位装置と
前記2系統の磁気ディスク装置にそれぞれ接続し、前記
2系統の磁気ディスク装置を前記上位装置の指示に従い
制御する磁気ディスク制御部とを備えた二重化磁気ディ
スク装置であって、 前記磁気ディスク制御部は、2系統の磁気ディスク装置
の各系統に対応して設けられた対応する系統の磁気ディ
スク装置を制御する2系統の磁気ディスク制御系と、前
記上位装置の指示に応じて前記2系統の磁気ディスク制
御系の各々を制御する内部制御部とを備え、 前記各磁気ディスク制御系は、対応する系統の磁気ディ
スク装置に書き込むデータを一旦記憶すると共に対応す
る系統の磁気ディスク装置から読みだしたデータを一旦
記憶するバッファメモリと、バッファメモリに記憶され
たデータの対応する系統の磁気ディスク装置への書き込
みと対応する系統の磁気ディスク装置から前記バッファ
メモリへのデータの読み出しを制御するデバイス制御部
を有し、 前記内部制御部は、前記2系統の磁気ディスク制御系の
2つのバッファメモリに記憶されているデータを照合す
る照合手段を有することを特徴とする二重化磁気ディス
ク装置。
2. A two-system magnetic disk device, and a magnetic disk control unit which is connected to a host device and the two-system magnetic disk device, respectively, and controls the two-system magnetic disk device in accordance with instructions from the host device. A dual magnetic disk drive system, wherein the magnetic disk control unit controls two magnetic disk devices of two systems, which are provided corresponding to each system of the two magnetic disk devices. And an internal control unit for controlling each of the magnetic disk control systems of the two systems in accordance with an instruction from the host device, and each magnetic disk control system temporarily writes data to be written to the magnetic disk device of the corresponding system. The buffer memory that stores and temporarily stores the data read from the magnetic disk device of the corresponding system, and the data stored in the buffer memory. Of the magnetic disk device of the corresponding system, and a device control unit for controlling reading of data from the magnetic disk device of the corresponding system to the buffer memory, wherein the internal control unit includes the magnetic disk of the two systems. A duplicated magnetic disk device comprising a collating means for collating data stored in two buffer memories of a control system.
【請求項3】請求項1記載の二重化磁気ディスク装置で
あって、 前記内部制御部は、前記上位装置の指示に応じて、前記
2系統の磁気ディスク制御系のうちの一方の磁気ディス
ク制御系のデバイス制御部に、対応する系統の磁気ディ
スク装置からデータを当該デバイス制御部と同じ磁気デ
ィスク制御系のバッファメモリに読みださせ、前記転送
手段によって前記一方の磁気ディスク制御系のバッファ
メモリに読みだされたデータを他方の磁気ディスク制御
系のバッファメモリにデータを転送させ、前記他方の磁
気ディスク制御系のデバイス制御部に、それぞれ当該デ
バイス制御部と同じ磁気ディスク制御系のバッファメモ
リに前記転送手段によって転送されたデータを対応する
系統の磁気ディスク装置に書き込ませることを特徴とす
る二重化磁気ディスク装置。
3. The dual magnetic disk device according to claim 1, wherein the internal control unit is one of the two magnetic disk control systems in response to an instruction from the host device. Of the magnetic disk device of the corresponding system to read the data into the buffer memory of the same magnetic disk control system as the device control unit, and the transfer means reads the data into the buffer memory of the one magnetic disk control system. The transferred data is transferred to the buffer memory of the other magnetic disk control system, and the device control unit of the other magnetic disk control system is transferred to the same buffer memory of the magnetic disk control system as the device control unit. Duplication characterized by causing the data transferred by the means to be written to the magnetic disk device of the corresponding system Magnetic disk drive.
【請求項4】請求項2記載の二重化磁気ディスク装置で
あって、 前記内部制御部は、前記上位装置の指示に応じて、前記
2系統の磁気ディスク制御系の2つのデバイス制御部
に、並行して、対応する系統の磁気ディスク装置のデー
タを当該デバイス制御部と同じ磁気ディスク制御系のバ
ッファメモリに読みださせ、前記照合手段で前記2系統
の磁気ディスク制御系の2つのバッファメモリに記憶さ
れているデータを照合し、照合結果を前記上位装置に報
告することを特徴とする二重化磁気ディスク装置。
4. The dual magnetic disk drive according to claim 2, wherein the internal control unit is configured to operate in parallel with two device control units of the two magnetic disk control systems in accordance with an instruction from the host device. Then, the data of the magnetic disk device of the corresponding system is read into the same buffer memory of the magnetic disk control system as the device control unit, and stored in the two buffer memories of the two systems of magnetic disk control system by the collating means. A duplicated magnetic disk device for collating the stored data and reporting the collation result to the higher-level device.
【請求項5】請求項2記載の二重化磁気ディスク装置で
あって、 前記内部制御部は、前記上位装置の指示に応じて、前記
2系統の磁気ディスク制御系の2つのバッファメモリ
に、上位装置より送られたデータを各々記憶し、前記2
系統の磁気ディスク制御系の2つのデバイス制御部に、
並行して、当該デバイス制御部と同じ磁気ディスク制御
系のバッファメモリに記憶されたデータを対応する系統
の磁気ディスク装置に書き込ませると共に、書き込んだ
データを対応する系統の磁気ディスク装置から当該デバ
イス制御部と同じ磁気ディスク制御系のバッファメモリ
に読みださせ、前記照合手段で前記2系統の磁気ディス
ク制御系の2つのバッファメモリに記憶されているデー
タを照合し、照合結果を前記上位装置に報告することを
特徴とする二重化磁気ディスク装置。
5. The duplicated magnetic disk device according to claim 2, wherein the internal control unit is provided in two buffer memories of the two systems of magnetic disk control systems in accordance with an instruction from the host device. Each of the data sent from
In the two device control units of the system magnetic disk control system,
At the same time, the data stored in the buffer memory of the same magnetic disk control system as the device control unit is written to the magnetic disk device of the corresponding system, and the written data is controlled by the magnetic disk device of the corresponding system. Part to be read into the same buffer memory of the magnetic disk control system as that of the unit, and the verification means verifies the data stored in the two buffer memories of the magnetic disk control system of the two systems, and reports the verification result to the host device. A dual magnetic disk drive characterized by the following.
【請求項6】請求項2記載の二重化磁気ディスク装置で
あって、 前記内部制御部は、前記上位装置の指示に応じて、前記
2系統の磁気ディスク制御系の2つのバッファメモリ
に、上位装置より送られたデータを各々記憶し、前記2
系統の磁気ディスク制御系のうちの一方の磁気ディスク
制御系のデバイス制御部のみに、当該デバイス制御部と
同じ磁気ディスク制御系のバッファメモリに記憶された
データを対応する系統の磁気ディスク装置に書き込ませ
ると共に、書き込んだデータを対応する系統の磁気ディ
スク装置から当該デバイス制御部と同じ磁気ディスク制
御系のバッファメモリに読みださせ、前記照合手段で前
記2系統の磁気ディスク制御系の2つのバッファメモリ
に記憶されているデータを照合し、照合結果を前記上位
装置に報告することを特徴とする二重化磁気ディスク装
置。
6. The dual magnetic disk drive according to claim 2, wherein the internal control unit is provided in two buffer memories of the two magnetic disk control systems in response to an instruction from the higher-level device. Each of the data sent from
Write the data stored in the buffer memory of the same magnetic disk control system as the device control unit to the magnetic disk device of the corresponding system only to the device control unit of one of the magnetic disk control systems of the system In addition, the written data is read from the corresponding magnetic disk device into the buffer memory of the same magnetic disk control system as the device control unit, and the two buffer memories of the two magnetic disk control systems are used by the collating means. A duplicated magnetic disk device characterized by collating the data stored in, and reporting the collation result to the host device.
JP7060954A 1995-03-20 1995-03-20 Redundant magnetic disk unit Pending JPH08263221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7060954A JPH08263221A (en) 1995-03-20 1995-03-20 Redundant magnetic disk unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7060954A JPH08263221A (en) 1995-03-20 1995-03-20 Redundant magnetic disk unit

Publications (1)

Publication Number Publication Date
JPH08263221A true JPH08263221A (en) 1996-10-11

Family

ID=13157303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7060954A Pending JPH08263221A (en) 1995-03-20 1995-03-20 Redundant magnetic disk unit

Country Status (1)

Country Link
JP (1) JPH08263221A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091897A (en) * 2000-09-13 2002-03-29 Nec Corp Data recording method and program recording medium recording data copying program
US7069467B2 (en) 2004-01-07 2006-06-27 Hitachi, Ltd. System and method for data multiplexing
JP2015518203A (en) * 2012-03-23 2015-06-25 ディ・エス・エス・ディ・インコーポレイテッドDssd, Inc. Storage system with multicast DMA and integrated address space

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091897A (en) * 2000-09-13 2002-03-29 Nec Corp Data recording method and program recording medium recording data copying program
US7069467B2 (en) 2004-01-07 2006-06-27 Hitachi, Ltd. System and method for data multiplexing
US7672224B2 (en) 2004-01-07 2010-03-02 Hitachi, Ltd. System and method for data multiplexing
JP2015518203A (en) * 2012-03-23 2015-06-25 ディ・エス・エス・ディ・インコーポレイテッドDssd, Inc. Storage system with multicast DMA and integrated address space

Similar Documents

Publication Publication Date Title
JP3686457B2 (en) Disk array subsystem
EP0986000B1 (en) Disk array subsystem
JP2002049511A (en) Address allocation change method and external storage subsystem using the same
JPH07281840A (en) Dual disk recording device
JP2000187608A (en) Storage subsystem
JPS627572B2 (en)
JPH08263221A (en) Redundant magnetic disk unit
JPS62274448A (en) Control system for input/output device
JP3411451B2 (en) Disk array device
JPH08234928A (en) Information storage controller
JP4025032B2 (en) Disk control device and data access method thereof
JP4708669B2 (en) Path redundancy apparatus and method
JPH11175261A (en) Control method for disk
JP3794322B2 (en) Data copy system
JP2000215005A (en) Duplex magnetic disk unit
JPH06242888A (en) Disk array device, computer system and data storage device
JPH08171460A (en) Magnetic disk controller
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JPS61208119A (en) Disk controller
JPH10293656A (en) Disk storage system and duplex method applied to the system
JP2868003B1 (en) Magnetic disk drive
JP3226047B2 (en) Input/Output Devices
JPH05181613A (en) Information processor
JPH0721748B2 (en) Magnetic disk controller
JPS6374170A (en) Control system for magnetic disk