JPH0536197A - Double write magnetic disk sub system - Google Patents
Double write magnetic disk sub systemInfo
- Publication number
- JPH0536197A JPH0536197A JP3212859A JP21285991A JPH0536197A JP H0536197 A JPH0536197 A JP H0536197A JP 3212859 A JP3212859 A JP 3212859A JP 21285991 A JP21285991 A JP 21285991A JP H0536197 A JPH0536197 A JP H0536197A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic disk
- write
- signal line
- read
- control 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
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、二重書き磁気ディスク
サブシステムに関し、特に二重書きされた磁気ディスク
とのDMA転送方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual-write magnetic disk subsystem, and more particularly to a DMA transfer system with a dual-write magnetic disk.
【0002】[0002]
【従来の技術】従来の二重書き磁気ディスクサブシステ
ムとしては、二重書きをソフトウェアにより2台の磁気
ディスク装置に対してそれぞれ同じ情報を順番に書き込
むというものがある。2. Description of the Related Art As a conventional dual-write magnetic disk subsystem, there is a dual-write magnetic disk subsystem in which the same information is sequentially written into two magnetic disk devices by software.
【0003】[0003]
【発明が解決しようとする課題】この従来の二重書き磁
気ディスクサブシステムでは、ソフトウェアが同じ情報
を2台の磁気ディスク装置へ順次書き込みを行うため、
ソフトウェアからの磁気ディスク装置への処理時間が長
くなり、情報処理装置の効率が低下するという問題点が
あった。In this conventional dual-write magnetic disk subsystem, the software sequentially writes the same information to two magnetic disk devices.
There is a problem that the processing time from the software to the magnetic disk device becomes long and the efficiency of the information processing device is lowered.
【0004】本発明の目的は前記課題を解決した二重書
き磁気ディスクサブシステムを提供することにある。An object of the present invention is to provide a dual-write magnetic disk subsystem that solves the above problems.
【0005】[0005]
【課題を解決するための手段】前記目的を達成するた
め、本発明に係る二重書き磁気ディスクサブシステムに
おいては、磁気ディスク制御装置と磁気ディスク装置と
から構成される情報処理システムであって、前記磁気デ
ィスク装置内に、第1及び第2の磁気ディスクと、前記
磁気ディスク制御装置から転送されてきたライトデータ
を格納するライトバッファと、前記磁気ディスク制御装
置から転送されてきたライトデータ、又は該ライトバッ
ファに格納されているライトデータのいずれかを選択し
て前記第1の磁気ディスクに出力する第1のセレクタ
と、前記磁気ディスク制御装置から転送されてきたライ
トデータか、又は前記ライトバッファに格納されている
ライトデータかを選択して前記第2の磁気ディスクに出
力する第2のセレクタと、前記第1の磁気ディスクから
のリードデータ、又は前記第2の磁気ディスクからのリ
ードデータのいずれかを選択して前記磁気ディスク制御
装置へ転送する第3のセレクタと、前記磁気ディスク制
御装置からの命令を受取り、前記第1,第2の磁気ディ
スクへシーク動作及び目的のレコードへの位置決め動作
の指示と前記磁気ディスクのどちらが先にシーク動作及
び目的のレコードへの位置決め動作の終了を報告したか
を判断して前記セレクタの制御及び前記磁気ディスク制
御装置へのシーク動作と目的のレコードへの位置決め動
作の終了報告及び前記ライトバッファへ格納されている
ライトデータの出力指示を行う制御回路と、該制御回路
からの指示により前記第1の磁気ディスクへのリード/
ライト動作を指示するリード/ライト制御回路と、前記
制御回路からの指示により前記第2の磁気ディスクへの
リード/ライト動作を指示するリード/ライト制御回路
とを有するものである。In order to achieve the above object, a dual-write magnetic disk subsystem according to the present invention is an information processing system including a magnetic disk control device and a magnetic disk device. First and second magnetic disks in the magnetic disk device; a write buffer for storing write data transferred from the magnetic disk control device; and write data transferred from the magnetic disk control device, or A first selector for selecting any one of write data stored in the write buffer and outputting the selected write data to the first magnetic disk; write data transferred from the magnetic disk control device; or the write buffer Second selector for selecting whether the write data is stored in the second magnetic disk and outputting it to the second magnetic disk A third selector for selecting either the read data from the first magnetic disk or the read data from the second magnetic disk and transferring the selected read data to the magnetic disk controller; and the magnetic disk controller. Command of the seek operation to the first and second magnetic disks and the positioning operation to the target record, and which one of the magnetic disks reports the end of the seek operation and the positioning operation to the target record first. A control circuit that determines whether or not the selector controls and the seek operation to the magnetic disk control device, the end report of the positioning operation to the target record, and the output instruction of the write data stored in the write buffer, Read / write to the first magnetic disk according to an instruction from the control circuit.
It has a read / write control circuit for instructing a write operation, and a read / write control circuit for instructing a read / write operation to the second magnetic disk in response to an instruction from the control circuit.
【0006】[0006]
【作用】本発明では、ソフトウェアや磁気ディスク制御
装置が二重書きを意識することなく、磁気ディスク制御
装置がシーク動作が早く終了した方の磁気ディスクと常
にアクセスするようにしたものである。According to the present invention, the magnetic disk control device always accesses the magnetic disk whose seek operation is completed earlier, without the software or magnetic disk control device being aware of double writing.
【0007】[0007]
【実施例】次に本発明について図面を参照して説明す
る。The present invention will be described below with reference to the drawings.
【0008】(実施例1)図1は、本発明の実施例1に
係る二重書き磁気ディスクサブシステムを示すブロック
図である。(Embodiment 1) FIG. 1 is a block diagram showing a dual write magnetic disk subsystem according to Embodiment 1 of the present invention.
【0009】図1において、100は磁気ディスク制御
装置(以後DKCとする)、101は命令を転送する信
号ライン、102はライトデータを転送する信号ライ
ン、200は磁気ディスク装置である。In FIG. 1, 100 is a magnetic disk controller (hereinafter referred to as DKC), 101 is a signal line for transferring an instruction, 102 is a signal line for transferring write data, and 200 is a magnetic disk device.
【0010】210は、DKC100からコマンドを受
け取りシーク動作及び目的のレコードへの位置決め動作
(以後、オリエンテーションという)の指示とシーク動
作及びオリエンテーションの終了報告管理とDKC10
0とアクセスする磁気ディスクの切り換えを制御する制
御回路である。Reference numeral 210 denotes a command for receiving a command from the DKC 100, a command for a seek operation and a positioning operation (hereinafter referred to as orientation) to a target record, a seek operation and management of an end report of the orientation, and the DKC 10.
This is a control circuit for controlling switching of 0 and the magnetic disk to be accessed.
【0011】211はセレクタ切り換え指示信号ライ
ン、212はシーク動作とオリエンテーションを指示す
る信号ライン、213はライトバッファ制御信号ライ
ン、214はDKC100へシーク動作及びオリエンテ
ーションの終了を報告する信号ラインである。Reference numeral 211 is a selector switching instruction signal line, 212 is a signal line for instructing seek operation and orientation, 213 is a write buffer control signal line, and 214 is a signal line for reporting the end of seek operation and orientation to the DKC 100.
【0012】220はDKC100からのライトデータ
を格納するライトバッファ、221はライトバッファ2
20が格納したデータを出力する信号ライン、230は
磁気ディスク(以後DKU−Aという)、231はDK
U−A230から出力されるリードデータを転送する信
号ラインである。220 is a write buffer for storing write data from the DKC 100, and 221 is a write buffer 2.
20 is a signal line for outputting the data stored therein, 230 is a magnetic disk (hereinafter referred to as DKU-A), and 231 is DK
It is a signal line for transferring the read data output from the U-A 230.
【0013】232はDKU−A230の状態を報告す
る信号ライン、240は磁気ディスク(以後DKU−B
という)、241はDKU−B240から出力されるリ
ードデータを転送する信号ライン、242はDKU−B
240の状態を報告する信号ライン、250はDKC1
00か又はライトバッファ220からのライトデータを
選択するセレクタである。Reference numeral 232 is a signal line for reporting the state of the DKU-A 230, and 240 is a magnetic disk (hereinafter DKU-B).
, 241 is a signal line for transferring the read data output from the DKU-B240, and 242 is a DKU-B.
Signal line for reporting 240 status, 250 for DKC1
00 or write data from the write buffer 220.
【0014】251はセレクタ250の出力信号ライ
ン、260はDKC100か又はライトバッファ220
からのライトデータを選択するセレクタ、261はセレ
クタ260の出力信号ライン、270はDKU−Aか又
はDKU−Bからのリードデータを選択するセレクタで
ある。251 is an output signal line of the selector 250, 260 is either the DKC 100 or the write buffer 220.
, 261 is an output signal line of the selector 260, and 270 is a selector for selecting read data from the DKU-A or DKU-B.
【0015】271はセレクタ270からの出力信号ラ
イン、280はDKU−Aへのアクセスを制御するリー
ド/ライト制御回路、281はリード,ライトコマンド
情報を送出する信号ライン、290はDKU−Bへのア
クセスを制御するリード/ライト制御回路、291はリ
ード,ライトコマンド情報を送出する信号ラインであ
る。271 is an output signal line from the selector 270, 280 is a read / write control circuit for controlling access to the DKU-A, 281 is a signal line for sending read / write command information, and 290 is a DKU-B. A read / write control circuit for controlling access, and 291 is a signal line for transmitting read / write command information.
【0016】次に動作について説明する。Next, the operation will be described.
【0017】まずライト動作について説明する。First, the write operation will be described.
【0018】DKC100は信号ライン101に目的の
シリンダへのシーク動作と、さらにオリエンテーション
動作のコマンドを出力する。The DKC 100 outputs a command for a seek operation to a target cylinder and an orientation operation command to the signal line 101.
【0019】制御回路210はDKU−A230とDK
U−B240に対して信号ライン212から同時に同じ
シリンダへのシーク動作と同じレコードへのオリエンテ
ーション動作を指示する。The control circuit 210 includes DKU-A230 and DK.
The U-B 240 is instructed from the signal line 212 to simultaneously perform a seek operation to the same cylinder and an orientation operation to the same record.
【0020】DKU−A230とDKU−B240はそ
れぞれシーク,オリエンテーション動作を行い、目的の
レコードへのオリエンテーションまでが終了すると信号
ライン232,242から制御回路210へシーク及び
オリエンテーションの終了報告を行う。The DKU-A 230 and the DKU-B 240 respectively perform seek and orientation operations, and when the orientation to the target record is completed, the signal lines 232 and 242 report the end of seek and orientation to the control circuit 210.
【0021】本例ではDKU−A230の方が早くシー
ク,オリエンテーションの報告があったとする。In this example, it is assumed that the DKU-A230 reported earlier seek and orientation.
【0022】制御回路210は信号ライン232の終了
報告を受け取ると信号ライン214からDKC100に
シーク,オリエンテーションの終了報告を行う。When the control circuit 210 receives the completion report of the signal line 232, it sends a completion report of the seek and orientation to the DKC 100 from the signal line 214.
【0023】DKC100はシーク,オリエンテーショ
ンの終了を認識すると、信号ライン101にライトコマ
ンドを、信号ライン102にはライトデータを送出す
る。When the DKC 100 recognizes the end of seek and orientation, it sends a write command to the signal line 101 and a write data to the signal line 102.
【0024】制御回路210は信号ライン211からセ
レクタ250に対して信号ライン102に出力されるラ
イトデータの選択を指示し、セレクタ260に対しては
信号ライン221に出力されるライトデータの選択を指
示し、さらにリード/ライト制御回路280に対しては
ライト動作を指示する。The control circuit 210 instructs the signal line 211 to the selector 250 to select the write data to be output to the signal line 102, and the selector 260 to instruct the selector 260 to select the write data to be output to the signal line 221. Then, the write operation is instructed to the read / write control circuit 280.
【0025】リード/ライト制御回路280は信号ライ
ン281からDKU−A230へライトコマンドを出力
し、DKU−A230は信号ライン251に出力された
ライトデータを書き込む。The read / write control circuit 280 outputs a write command from the signal line 281 to the DKU-A230, and the DKU-A230 writes the write data output to the signal line 251.
【0026】同時にライトバッファ220は信号ライン
102に出力されているライトデータを格納する。DK
U−B240がシーク,オリエンテーションの終了を信
号ライン242から制御回路210へ報告すると、制御
回路210は信号ライン213からライトバッファ22
0へ、格納しているライトデータの信号ライン221へ
の出力を指示する。At the same time, the write buffer 220 stores the write data output to the signal line 102. DK
When the U-B 240 reports the end of seek and orientation to the control circuit 210 from the signal line 242, the control circuit 210 sends the write buffer 22 from the signal line 213.
0 is instructed to output the stored write data to the signal line 221.
【0027】また、制御回路210はリード/ライト制
御回路290にもライト動作を指示する。DKU−B2
40は信号ライン261に出力されたライトデータの書
き込みを行う。The control circuit 210 also instructs the read / write control circuit 290 to perform a write operation. DKU-B2
Reference numeral 40 writes the write data output to the signal line 261.
【0028】このようにしてDKC100は、シーク,
オリエンテーションが早く終了したDKU−A230に
のみ書き込みを行うだけで、DKU−B240を全く認
識することなく二重書きを実行する。In this way, the DKC 100 seeks,
Writing is performed only to the DKU-A230 whose orientation is completed early, and double writing is performed without recognizing the DKU-B240.
【0029】次にリード動作について説明する。ライト
動作と同様にDKC100は、信号ライン101から目
的のシリンダへのシーク及びオリエンテーションを指示
する。Next, the read operation will be described. Similar to the write operation, the DKC 100 directs seek and orientation from the signal line 101 to the target cylinder.
【0030】制御回路210は信号ライン212からD
KU−A230とDKU−B240に対して同時にシー
ク,オリエンテーションを指示する。The control circuit 210 controls the signal lines 212 to D
Seek and orientation are simultaneously instructed to the KU-A230 and DKU-B240.
【0031】制御回路210は、DKU−A230又は
DKU−B240の先に終了を報告した方のディスクの
リードデータを選択するように信号ライン211からセ
レクタ260を切り換える。The control circuit 210 switches the selector 260 from the signal line 211 so as to select the read data of the disk which has reported the end before the DKU-A230 or DKU-B240.
【0032】さらにセレクタ260で選択された方の磁
気ディスクのリード/ライト制御回路からリード動作を
指示し、信号ライン271にリードデータを出力する。Further, the read operation is instructed from the read / write control circuit of the magnetic disk selected by the selector 260, and the read data is output to the signal line 271.
【0033】このようにして同じシリンダ,トラックに
書き込まれた同じデータを、DKC100はシーク,オ
リエンテーションが早く終了した方の磁気ディスクから
読み取ることができる。In this way, the same data written in the same cylinder and track can be read by the DKC 100 from the magnetic disk whose seek and orientation are completed earlier.
【0034】(実施例2)図2は、本発明の実施例2を
示すブロック図である。(Second Embodiment) FIG. 2 is a block diagram showing a second embodiment of the present invention.
【0035】図2において、本実施例では、実施例1の
構成に加えて、磁気ディスク230,240から制御回
路110へのライト動作終了報告とライト動作中の障害
報告を監視し障害発生時には一重書き動作するようにリ
ード/ライト制御回路280及び290を制御する状態
監視回路2300と、状態監視回路2300で検出した
ライト動作終了報告やライト動作中の障害発生による二
重書きデグレード状態を磁気ディスク制御装置100へ
通知する通知回路2310とを有している。また、23
11は通知回路2310からDKC100へ出力される
通知信号ラインである。In FIG. 2, in addition to the configuration of the first embodiment, in the present embodiment, a write operation end report from the magnetic disks 230 and 240 to the control circuit 110 and a failure report during the write operation are monitored, and a single operation is performed when a failure occurs. A state monitoring circuit 2300 for controlling the read / write control circuits 280 and 290 to perform a write operation, and a write operation completion report detected by the state monitoring circuit 2300 and a double write degraded state due to a failure occurring during the write operation are controlled by a magnetic disk. And a notification circuit 2310 for notifying the device 100. Also, 23
A notification signal line 11 is output from the notification circuit 2310 to the DKC 100.
【0036】実施例1でのライト動作時において、状態
監視回路2300は、制御回路210がDKU−B24
0からライト中の障害報告を検出したかを監視する。In the write operation of the first embodiment, the control circuit 210 of the state monitoring circuit 2300 causes the DKU-B24.
It is monitored whether or not a failure report of writing from 0 is detected.
【0037】通知回路2310は制御回路210がDK
U−A230又はDKU−B240からライト終了報告
を受け取ったか、又はライト中の障害を検出したかを監
視している。In the notification circuit 2310, the control circuit 210 has the DK
It is monitored whether a write end report is received from the U-A230 or DKU-B240 or a failure during writing is detected.
【0038】制御回路210が最初にライト終了報告を
受け取ると(本例ではDKU−A230側とする)、通
知回路2310は信号ライン2311からDKC100
にライト動作終了を報告し、DKU−B240の終了報
告はDKC100に報告しない。When the control circuit 210 first receives the write end report (in this example, the DKU-A 230 side), the notification circuit 2310 sends the signal line 2311 to the DKC 100.
The write operation end is reported to the DKC100, and the end report of the DKU-B240 is not reported to the DKC100.
【0039】制御回路210がDKU−B240のライ
ト中に障害報告を検出した場合、状態監視回路2300
は以後DKU−A230とのみリード,ライトするよう
に信号ライン211からセレクタ250,セレクタ26
0,セレクタ270に指示し、さらにリード/ライト制
御回路にのみ命令の指示を行う。When the control circuit 210 detects a failure report during writing of the DKU-B240, the status monitoring circuit 2300
From the signal line 211 to the selector 250 and the selector 26 so that only the DKU-A230 can read and write thereafter.
0, an instruction is given to the selector 270, and an instruction is given only to the read / write control circuit.
【0040】通知回路2310はDKC100に対して
信号ライン2311から二重書きデグレード状態であり
以後一重書きで処理を実行することを報告する。The notification circuit 2310 reports to the DKC 100 from the signal line 2311 that it is in the double-write degraded state and that the single write operation will be executed thereafter.
【0041】このようにしてDKU100のライト動作
時間を短縮することができ、片方の磁気ディスクで障害
が発生しても一重書きで動作することができる。In this way, the write operation time of the DKU 100 can be shortened, and even if a failure occurs in one of the magnetic disks, it can be operated in single writing.
【0042】本実施例によれば、実施例1の磁気ディス
クサブシステムに対して、さらに書込み動作の終了報告
が先に書込みを終えただけで報告するため、ソフトウェ
アやDKCに対してのライト動作の処理時間が短縮でき
る。According to the present embodiment, the write operation end report is sent to the magnetic disk subsystem of the first embodiment only by the end of the write operation. Therefore, the write operation to the software or the DKC is performed. Processing time can be shortened.
【0043】また、一方の磁気ディスクで障害が発生し
ても、一重書きで処理を続行できるため、磁気ディスク
サブシステムの信頼性向上が図れる。Further, even if a failure occurs in one of the magnetic disks, the processing can be continued by single writing, so that the reliability of the magnetic disk subsystem can be improved.
【0044】(実施例3)図3は、本発明の実施例3を
示すブロック図である。(Third Embodiment) FIG. 3 is a block diagram showing a third embodiment of the present invention.
【0045】図3に示す本実施例では、実施例1の構成
に加えて、磁気ディスク装置200内に、セレクタ27
0から出力されるリードデータを磁気ディスク制御装置
100へ出力し、イネーブル状態か否かを制御回路21
0によって制御されるドライバ3340と、セレクタ2
70から出力されたリードデータか又は磁気ディスク制
御装置100から転送されてきたライトデータを制御回
路210の指示により選択しライトバッファ220へ出
力するセレクタ3320とを有している。3221セレ
クタ3320の出力信号ライン、3215はドライバ3
340へのイネーブル信号ラインである。In the present embodiment shown in FIG. 3, in addition to the configuration of the first embodiment, a selector 27 is provided in the magnetic disk device 200.
The read data output from 0 is output to the magnetic disk control device 100, and the control circuit 21 determines whether the read data is enabled.
Driver 3340 controlled by 0 and selector 2
It has a selector 3320 which selects either the read data output from 70 or the write data transferred from the magnetic disk control device 100 according to an instruction from the control circuit 210 and outputs the selected data to the write buffer 220. An output signal line of the 3221 selector 3320, and a driver 3 3215
Enable signal line to 340.
【0046】実施例1のライト動作において、DKU−
A230又はDKU−B240のどちらかでライト動作
が正常に実行できなかった場合などについて説明する。In the write operation of the first embodiment, DKU-
A case where the write operation cannot be executed normally by either A230 or DKU-B240 will be described.
【0047】本例ではDKU−B240が正常にライト
動作できなかったとする。In this example, it is assumed that the DKU-B240 could not write normally.
【0048】制御回路210はDKU−B240が正常
にライトできなかったシリンダ,レコードへのシーク,
オリエンテーションをDKU−A230,DKU−B2
40に対して実行する。The control circuit 210 causes the DKU-B240 to write normally, seek to a record,
Orientation is DKU-A230, DKU-B2
Execute for 40.
【0049】制御回路210は信号ライン232からシ
ーク,オリエンテーションの終了が報告されると、信号
ライン3215からドライバ3340をイネーブル状態
にし、信号ライン211からセレクタ260に信号ライ
ン221の選択と、セレクタ270に信号ライン231
のリードデータの選択と、セレクタ3320に信号ライ
ン271のリードデータの選択と、リード/ライト制御
回路280にリード動作の指示を行い、信号ライン21
3からライトバッファ220に書き込みの指示を行う。When the end of seek and orientation is reported from the signal line 232, the control circuit 210 enables the driver 3340 from the signal line 3215, selects the signal line 221 from the signal line 211 to the selector 260, and the selector 270. Signal line 231
Read data, the selector 3320 selects read data on the signal line 271, and the read / write control circuit 280 is instructed to perform read operation.
The write command is issued to the write buffer 220 from 3.
【0050】よってDKU−A230からのリードデー
タはライトバッファ220へ格納される。Therefore, the read data from the DKU-A 230 is stored in the write buffer 220.
【0051】次に制御回路210はDKU−B240か
らシーク,オリエンテーションの終了が報告されている
と、リード/ライト制御回路290にライト動作の指示
と、信号ライン213からライトバッファ220に格納
しているデータの信号ライン221への出力を指示す
る。DKU−B240はライトバッファに格納されてい
るデータをセレクタ260を介して書き込むことができ
る。Next, when the DKU-B 240 reports the end of seek and orientation, the control circuit 210 stores a write operation instruction in the read / write control circuit 290 and stores it in the write buffer 220 from the signal line 213. It is instructed to output the data to the signal line 221. The DKU-B240 can write the data stored in the write buffer via the selector 260.
【0052】このようにして磁気ディスクサブシステム
内だけでコピーすることができる。In this way, copying can be performed only within the magnetic disk subsystem.
【0053】本実施例による磁気サブシステムでは、磁
気ディスクサブシステム内でコピーすることができるた
め、ソフトウェアやDKCの処理なしで二重書きとして
の信頼性向上及び書込み時の磁気ディスクの障害に対す
る二重書きの回復機能の向上が図れる。In the magnetic subsystem according to the present embodiment, copying can be performed in the magnetic disk subsystem, so reliability is improved as double writing without the need for software or DKC processing, and there is no problem with a magnetic disk failure during writing. The recovery function of double writing can be improved.
【0054】(実施例4)図4は、本発明の実施例4を
示すブロック図である。(Fourth Embodiment) FIG. 4 is a block diagram showing a fourth embodiment of the present invention.
【0055】図4に示す本実施例では、実施例1の構成
に加えて、制御回路210が磁気ディスク230又は2
40がリード動作を開始したことを検出したか否かを監
視し、さらに磁気ディスク230又は240に対しての
動作中断を制御回路210とリード/ライト制御回路2
80又は290に指示する動作中断部4300を有して
いる。In the present embodiment shown in FIG. 4, in addition to the configuration of the first embodiment, the control circuit 210 has a magnetic disk 230 or 2
It is monitored whether or not the 40 has started the read operation, and further, the control circuit 210 and the read / write control circuit 2 for the interruption of the operation to the magnetic disk 230 or 240.
It has an operation suspending unit 4300 for instructing 80 or 290.
【0056】実施例1のリード動作時において、DKU
−A230の方がシーク,オリエンテーションの終了を
報告し、リード動作を開始する場合について説明する。
制御回路210が信号ライン232からシーク,オリエ
ンテーションの終了の報告を受け取り、リード/ライト
制御回路280にリード動作を指示すると、動作中断部
4300は制御回路210,リード/ライト制御回路2
90に対してシーク,オリエンテーション,リード全て
の動作の中止を指示する。During the read operation of the first embodiment, the DKU
A case where the A230 reports the end of seek and orientation and starts the read operation will be described.
When the control circuit 210 receives a seek / orientation end report from the signal line 232 and instructs the read / write control circuit 280 to perform a read operation, the operation suspending unit 4300 causes the control circuit 210 and the read / write control circuit 2 to operate.
90 is instructed to stop all seek, orientation and read operations.
【0057】DKU−B240はDKC100にアクセ
スされていないため動作を中断しても影響はなく、DK
C100からの次の処理に早くから待機することができ
る。Since the DKU-B240 has not been accessed by the DKC100, suspending the operation has no effect, and the DK-B240 has no effect.
It is possible to wait for the next process from C100 early.
【0058】本実施例によれば、リード動作の開始が遅
かった方の磁気ディスクの処理を中断することができる
ため、次の処理(コマンド)に対して早く待機できる。According to the present embodiment, the processing of the magnetic disk whose read operation has started later can be interrupted, so that it is possible to wait for the next processing (command) earlier.
【0059】したがって、サブシステムに対する一連の
処理を高速化できる効果がある。Therefore, a series of processes for the subsystem can be speeded up.
【0060】(実施例5)図5は、本発明の実施例5を
示すブロック図である。(Fifth Embodiment) FIG. 5 is a block diagram showing a fifth embodiment of the present invention.
【0061】図5に示す本実施例では、実施例1の構成
に加えて、磁気ディスク制御装置100から出力されて
きたライトデータか又はセレクタ270から出力されて
きたリードデータを制御回路210の指示により選択
し、ライトバッファ220へ出力するセレクタ5320
と、セレクタ270から出力されるリードデータとライ
トバッファ220から出力されるデータとを比較し、一
致しているか否かを磁気ディスク制御装置100へ報告
する比較回路5350とを有している。5351は比較
回路5350から出力される信号ラインである。In the present embodiment shown in FIG. 5, in addition to the configuration of the first embodiment, the control circuit 210 is instructed to write data output from the magnetic disk control device 100 or read data output from the selector 270. Selector 5320 for selecting and outputting to write buffer 220
And a comparison circuit 5350 that compares the read data output from the selector 270 with the data output from the write buffer 220 and reports to the magnetic disk control device 100 whether or not they match. Reference numeral 5351 is a signal line output from the comparison circuit 5350.
【0062】実施例1のリード動作時において、DKU
−A230からのリードデータをDKC100へ転送す
る場合について説明する。During the read operation of the first embodiment, the DKU
The case of transferring the read data from the A230 to the DKC 100 will be described.
【0063】制御回路210は信号ライン232から先
にシーク,オリエンテーションの終了報告を検出したの
で、信号ライン211からセレクタ270に対してDK
U−A230からのリードデータの選択を指示し、セレ
クタ5320に対してはセレクタ270から出力される
リードデータの選択を指示する。Since the control circuit 210 detects the seek / orientation end report from the signal line 232 first, the signal line 211 sends the selector 270 a DK signal.
The U-A 230 is instructed to select the read data, and the selector 5320 is instructed to select the read data output from the selector 270.
【0064】さらに制御回路210はリード/ライト制
御回路280にリード動作の指示と、信号ライン213
からライトバッファ22へ信号ライン3321に出力さ
れたデータの格納の指示を行う。Further, the control circuit 210 gives a read / write control circuit 280 an instruction for a read operation and a signal line 213.
To the write buffer 22 to store the data output to the signal line 3321.
【0065】これらの動作によりDKU−A230から
DKC100へのリードデータの転送とライトバッファ
220へのリードデータの格納が行われる。By these operations, the read data is transferred from the DKU-A 230 to the DKC 100 and the read data is stored in the write buffer 220.
【0066】次にDKU−B240がシーク,オリエン
テーションの終了報告を行うと、制御回路210はリー
ド/ライト制御回路290に対してリード動作の指示
と、信号ライン213からライトバッファ220に対し
て格納しているデータの信号ライン221への出力の指
示と、セレクタ270に対してDKU−B240からの
リードデータの選択を指示する。Next, when the DKU-B 240 reports the end of seek and orientation, the control circuit 210 gives a read operation instruction to the read / write control circuit 290 and stores it in the write buffer 220 from the signal line 213. The output of the selected data to the signal line 221 and the selector 270 to select the read data from the DKU-B240.
【0067】比較回路5350は信号ライン271のデ
ータと信号ライン221のデータとの比較を実行し、デ
ータが一致していない場合は、エラーとしてDKC10
0に報告する。The comparison circuit 5350 compares the data on the signal line 271 with the data on the signal line 221, and if the data do not match, an DKC10 error occurs.
Report to 0.
【0068】このように異なるディスクから先にリード
したデータをバッファに格納しておき、他方の後からリ
ードしたディスクのデータと比較することによりリード
データの保障をすることができる。As described above, the data read first from a different disc is stored in the buffer, and the read data can be guaranteed by comparing it with the data of the disc read after the other disc.
【0069】尚、これら機能はDKC100内において
も実現できる。Note that these functions can also be realized in the DKC 100.
【0070】本実施例によれば、リード動作時に2台の
磁気ディスクのデータを比較できるため、リード時のデ
ータを保障する機能の向上が図れる。According to this embodiment, since the data of two magnetic disks can be compared during the read operation, the function of ensuring the data during the read can be improved.
【0071】[0071]
【発明の効果】以上説明したように本発明の二重書き磁
気ディスクサブシステムによれば、磁気ディスク制御装
置やソフトウェアが二重書きを全く意識しないで常にシ
ーク動作が早く終了した磁気ディスクの方とのみ磁気デ
ィスク制御装置がアクセスするだけで、書込み時は二重
書きを行うことができるので、二重書きとしての情報の
信頼性を損なうことなく、ソフトウェアや磁気ディスク
制御装置の負荷を上げないで、さらにシーク動作時間の
短縮ができることにより一定時間内における磁気ディス
クサブシステムの処理の向上が図れるという効果があ
る。As described above, according to the double-write magnetic disk subsystem of the present invention, the magnetic disk controller or software is a magnetic disk whose seek operation is always completed early without paying attention to double-writing. Only by accessing the magnetic disk controller, double writing can be performed at the time of writing, so the reliability of information as double writing is not impaired and the load on software and magnetic disk controller is not increased. Thus, the seek operation time can be further shortened, so that the processing of the magnetic disk subsystem can be improved within a fixed time.
【図1】本発明の実施例1を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【図2】本発明の実施例2を示すブロック図である。FIG. 2 is a block diagram showing a second embodiment of the present invention.
【図3】本発明の実施例3を示すブロック図である。FIG. 3 is a block diagram showing a third embodiment of the present invention.
【図4】本発明の実施例4を示すブロック図である。FIG. 4 is a block diagram showing a fourth embodiment of the present invention.
【図5】本発明の実施例5を示すブロック図である。FIG. 5 is a block diagram showing a fifth embodiment of the present invention.
100 磁気ディスク制御装置 101 信号ライン 102 ライトデータ信号ライン 200 磁気ディスク装置 210 制御回路 211 セレクタ制御信号ライン 212 信号ライン 213 ライトバッファのライトデータ出力を指示する
信号ライン 214 シーク動作オリエンテーション終了を報告する
信号ライン 220 ライトバッファ 221 ライトデータ出力信号ライン 230,240 磁気ディスク 231 リードデータを出力する信号ライン 241 リードデータを出力する信号ライン 250,260,270 セレクタ 251 信号ライン 261 信号ライン 271 信号ライン 280,290 リード/ライト制御回路 281 コマンドを送出する信号ライン 291 コマンドを送出する信号ライン 2300 状態監視回路 2310 通知回路 2311 通知信号ライン 3320,5320 セレクタ 3321,5321 セレクタの出力信号ライン 3340 ドライバ 3215 ドライバイネーブルの信号ライン 4300 動作中断部 5350 比較回路 5351 比較結果を出力する信号ライン100 magnetic disk control device 101 signal line 102 write data signal line 200 magnetic disk device 210 control circuit 211 selector control signal line 212 signal line 213 signal line for instructing write buffer write data output 214 signal line for reporting the end of seek operation orientation 220 write buffer 221 write data output signal line 230, 240 magnetic disk 231 signal line for outputting read data 241 signal line for outputting read data 250, 260, 270 selector 251 signal line 261 signal line 271 signal line 280, 290 read / Write control circuit 281 Signal line for sending a command 291 Signal line for sending a command 2300 Status monitoring circuit 2310 Notification times 2311 notification signal line 3320,5320 selector 3321,5321 selector output signal line 3340 driver 3215 a signal line for outputting a signal line 4300 operating interruptions 5350 comparing circuit 5351 compares the results of the driver enable
Claims (1)
置とから構成される情報処理システムであって、 前記磁気ディスク装置内に、 第1及び第2の磁気ディスクと、 前記磁気ディスク制御装置から転送されてきたライトデ
ータを格納するライトバッファと、 前記磁気ディスク制御装置から転送されてきたライトデ
ータ、又は該ライトバッファに格納されているライトデ
ータのいずれかを選択して前記第1の磁気ディスクに出
力する第1のセレクタと、 前記磁気ディスク制御装置から転送されてきたライトデ
ータか、又は前記ライトバッファに格納されているライ
トデータかを選択して前記第2の磁気ディスクに出力す
る第2のセレクタと、 前記第1の磁気ディスクからのリードデータ、又は前記
第2の磁気ディスクからのリードデータのいずれかを選
択して前記磁気ディスク制御装置へ転送する第3のセレ
クタと、 前記磁気ディスク制御装置からの命令を受取り、前記第
1,第2の磁気ディスクへシーク動作及び目的のレコー
ドへの位置決め動作の指示と前記磁気ディスクのどちら
が先にシーク動作及び目的のレコードへの位置決め動作
の終了を報告したかを判断して前記セレクタの制御及び
前記磁気ディスク制御装置へのシーク動作と目的のレコ
ードへの位置決め動作の終了報告及び前記ライトバッフ
ァへ格納されているライトデータの出力指示を行う制御
回路と、 該制御回路からの指示により前記第1の磁気ディスクへ
のリード/ライト動作を指示するリード/ライト制御回
路と、 前記制御回路からの指示により前記第2の磁気ディスク
へのリード/ライト動作を指示するリード/ライト制御
回路とを有することを特徴とする二重書き磁気ディスク
サブシステム。What is claimed is: 1. An information processing system comprising a magnetic disk control device and a magnetic disk device, wherein the magnetic disk device includes a first magnetic disk, a second magnetic disk, and a magnetic disk. The write buffer for storing the write data transferred from the disk control device, the write data transferred from the magnetic disk control device, or the write data stored in the write buffer is selected to select the write buffer. A first selector for outputting to one magnetic disk, and either the write data transferred from the magnetic disk control device or the write data stored in the write buffer, and selected to the second magnetic disk. Second selector for outputting, read data from the first magnetic disk, or the second magnetic disk A third selector for selecting any one of the read data from the above and transferring it to the magnetic disk controller, and receiving a command from the magnetic disk controller to seek to the first and second magnetic disks and the purpose Control of the selector and seek operation to the magnetic disk controller by judging which of the magnetic disk first has reported the end of the seek operation and the positioning operation to the target record. And a control circuit for reporting the end of the positioning operation to the target record and for instructing the output of the write data stored in the write buffer, and a read / write operation for the first magnetic disk according to the instruction from the control circuit. And a read / write control circuit for instructing read / write to the second magnetic disk according to an instruction from the control circuit. A dual-write magnetic disk subsystem having a read / write control circuit for instructing a write operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3212859A JPH0536197A (en) | 1991-07-30 | 1991-07-30 | Double write magnetic disk sub system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3212859A JPH0536197A (en) | 1991-07-30 | 1991-07-30 | Double write magnetic disk sub system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0536197A true JPH0536197A (en) | 1993-02-12 |
Family
ID=16629489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3212859A Pending JPH0536197A (en) | 1991-07-30 | 1991-07-30 | Double write magnetic disk sub system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0536197A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07271647A (en) * | 1994-03-31 | 1995-10-20 | Nec Corp | Duplex file system |
-
1991
- 1991-07-30 JP JP3212859A patent/JPH0536197A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07271647A (en) * | 1994-03-31 | 1995-10-20 | Nec Corp | Duplex file system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100194295B1 (en) | How to update the status of data processing systems and queues | |
| US5566317A (en) | Method and apparatus for computer disk drive management | |
| JPH09128305A (en) | External storage device | |
| JPH0268639A (en) | Disk cache control system and information processing system | |
| US6389508B1 (en) | Information storing apparatus having a data prewrite unit | |
| JPH07281840A (en) | Dual disk recording device | |
| JP2759920B2 (en) | Method and apparatus for operating a DASD peripheral data storage subsystem | |
| JP3122295B2 (en) | Redundant method of magnetic disk controller | |
| JP3288071B2 (en) | Information conversion processing device and information transfer control method | |
| JP2734865B2 (en) | Continuous write processing method for disk device | |
| KR20010011204A (en) | Method and apparatus for overcoming raid failure by cache mirroring | |
| JPH10269030A (en) | Remote file sharing system and control method thereof | |
| JPS62167679A (en) | Fixed disk protection system | |
| JP2541158B2 (en) | Information processing system | |
| JP2002251332A (en) | Disk controller | |
| JP3459880B2 (en) | Duplex disk controller | |
| JP2892429B2 (en) | Input/Output Control Unit | |
| JP2868003B1 (en) | Magnetic disk drive | |
| JPH0675712A (en) | Double write magnetic disk subsystem | |
| JPH09237163A (en) | Duplex disk storage device | |
| JP2732951B2 (en) | Data transfer control method | |
| JP2000187621A (en) | Scsi controller | |
| JPH0281224A (en) | Backup device for magnetic disk device | |
| JPH05341913A (en) | Magnetic disk controller | |
| JPH07146821A (en) | Disk cache |