[go: up one dir, main page]

JPH0580945A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH0580945A
JPH0580945A JP26851491A JP26851491A JPH0580945A JP H0580945 A JPH0580945 A JP H0580945A JP 26851491 A JP26851491 A JP 26851491A JP 26851491 A JP26851491 A JP 26851491A JP H0580945 A JPH0580945 A JP H0580945A
Authority
JP
Japan
Prior art keywords
disk device
control circuit
interface control
writing
data
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
JP26851491A
Other languages
Japanese (ja)
Inventor
Kohei Hosokawa
浩平 細川
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 JP26851491A priority Critical patent/JPH0580945A/en
Publication of JPH0580945A publication Critical patent/JPH0580945A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To increase the processing speed by shortening the mean rotation wait time of the disk device when a mirror disk is constituted by using plural disk devices. CONSTITUTION:The magnetic disk device 100 consists of a high-order interface control circuit 10 which corresponds to a host 200 across a host interface 300, a microcomputer 20 which controls the writing and reading processing of data, a data buffer circuit 30 which fetches write data from the host 200, a low-order interface control circuit 140 which performs the writing and reading processing of the disk device I60 and a disk device II70, and a low-order interface control circuit II150.

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 device used in an information processing system.

【0002】[0002]

【従来の技術】従来、磁気ディスク装置は一つのデータ
を回転同期させた複数のディスクの同じ場所に書き込む
方式であった。
2. Description of the Related Art Conventionally, a magnetic disk drive has been a method of writing one data at the same location on a plurality of disks which are rotationally synchronized.

【0003】[0003]

【発明が解決しようとする問題点】上述した磁気ディス
ク装置の方式では、データの信頼性は高くなるが、平均
回転待ち時間はディスク装置1台の場合と変わらず、処
理速度は向上しないという問題点があった。
In the above-mentioned magnetic disk drive system, the reliability of data is high, but the average rotation waiting time is the same as in the case of one disk drive, and the processing speed is not improved. There was a point.

【0004】本発明は上述の問題点に鑑みてなされたも
のであり、ディスク装置の平均回転待ち時間を短縮し処
理速度を上げる磁気ディスク装置を提供することを目的
としている。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a magnetic disk device which shortens the average rotation waiting time of the disk device and increases the processing speed.

【0005】[0005]

【問題を解決するための手段】本発明の磁気ディスク装
置は、複数の磁気ディスク装置の回転を同期させ、IN
DEXとHEADの相対位置がすべてのディスク装置で
同じにする手段と、それぞれのディスク装置にセクタの
INDEXからの相対位置がディスク装置ごとに異なる
ようにフォーマットする手段と、制御部からの指令でデ
ィスク装置にデータを書き込む時、すべてのディスクに
同じデータを書き込みながら書き込みデータをバッファ
に書き込み、いずれかのディスク装置で書き込みが終了
した時点で前記制御部に書き込みが終了した事を報告
し、書き込みの終了していないディスク装置に対しては
前記バッファのデータを書き込む手段と、前記制御部か
らの指令で前記ディスク装置からデータを読み出す時、
一番最初に目的のセクタに達したディスク装置のデータ
を前記制御部に転送する手段を有する。
A magnetic disk device according to the present invention synchronizes the rotations of a plurality of magnetic disk devices, and
A means to make the relative position of DEX and HEAD the same in all disk devices, a means to format each disk device so that the relative position of the sector from INDEX differs for each disk device, and a disk from a command from the control unit. When writing data to the device, write the write data to the buffer while writing the same data to all the disks, and when the writing is completed in any of the disk devices, report the end of writing to the control unit and A means for writing data in the buffer to the disk device which has not been completed, and a case where data is read from the disk device by a command from the control unit,
It has means for transferring the data of the disk device which has reached the target sector first to the control unit.

【0006】[0006]

【作用】上記の構成によれば、セクタのINDEXから
の相対位置がディスク装置毎に異なるようにフォーマッ
トされてすべてのディスクに同じデータを書き込み、い
ずれかのディスク装置で書き込みが終了すると即書き込
み終了を制御部へ報告して他のディスク装置はバッファ
から書き込みを続行するようにされ、一方データを読み
出す場合には一番最初に目的のセクタに達したディスク
のデータが制御部へ転送されるのでディスク装置の平均
回転待ち時間を短縮できる。
According to the above configuration, the sector is formatted so that the relative position from the INDEX is different for each disk device, the same data is written to all the disks, and the writing ends immediately when the writing is completed by either disk device. Is reported to the control unit and the other disk devices continue writing from the buffer, while when reading data, the data of the disk that reaches the target sector first is transferred to the control unit. The average rotation waiting time of the disk device can be shortened.

【0007】[0007]

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

【0008】図1は本発明の一実施例を示す磁気ディス
ク装置の概念的構成図である。
FIG. 1 is a conceptual block diagram of a magnetic disk device showing an embodiment of the present invention.

【0009】図1において磁気ディスク装置100は、
ホストコンピュータ200との上位インターフェイス制
御回路10、マイクロコンピュータ20、ディスク装置
書き込みデータを取り込むデータバッファ回路30、各
ディスク装置との下位インターフェイス制御回路I4
0、下位インターフェイス制御回路II50、ディスク装
置I60、ディスク装置II70より構成されている。
In FIG. 1, the magnetic disk device 100 is
Upper interface control circuit 10 with host computer 200, microcomputer 20, data buffer circuit 30 for fetching disk device write data, lower interface control circuit I4 with each disk device
0, a lower interface control circuit II50, a disk device I60, and a disk device II70.

【0010】又、磁気ディスク装置100は、上位イン
ターフェイス300を介してホスト200と接続されて
おり、ディスク装置I60とディスク装置II70は1ト
ラック当たり14セクタであるものとし、回転同期信号
によりINDEXとHEADの相対位置が2台共同じに
なるように回転を同期させるものである。
Further, the magnetic disk device 100 is connected to the host 200 through the host interface 300, the disk device I60 and the disk device II70 have 14 sectors per track, and INDEX and HEAD are provided by a rotation synchronizing signal. The rotation is synchronized so that the relative positions of the two are the same.

【0011】図2は、本発明の磁気ディスク装置におけ
るフォーマット図である。
FIG. 2 is a format diagram of the magnetic disk device of the present invention.

【0012】この様に構成された磁気ディスク装置の動
作は次の通りである。
The operation of the magnetic disk device configured as described above is as follows.

【0013】ホスト200より上位インターフェイス3
00を介して磁気ディスク装置100に対してフォーマ
ット命令が入力されるとマイクロコンピュータ20は下
位インターフェイス制御回路I40と下位インターフェ
イス制御回路II50に対してフォーマット命令を発行す
る。下位インターフェイス制御回路I40と下位インタ
ーフェイス制御回路II50はフォーマット命令を受け取
ると図2のようにINDEXに対するセクタ位置が半ト
ラック分ずれるようにそれぞれディスク装置I60とデ
ィスク装置II70のフォーマットを実行する。フォーマ
ットの終了が下位インターフェイス制御部I40と下位
インターフェイス制御部II50から報告されるとマイク
ロコンピュータ20は上位インターフェイス制御回路1
0により上位インターフェイス300を介してホスト2
00にフォーマットの終了を報告する。つぎにホスト2
00より上位インターフェイス300を介して磁気ディ
スク装置100に対して書き込み命令が入力されるとマ
イクロコンピュータ20は下位インターフェイス制御回
路I40と下位インターフェイス制御回路II50が共に
命令の実行を終了するのを待って、上位インターフェイ
ス制御回路10とデータバッファ回路30にホスト20
0から書き込みデータを取り込むように命令後、下位イ
ンターフェイス制御回路I40と下位インターフェイス
制御回路II50に対して書き込み命令を発行する。下位
インターフェイス制御回路I40と下位インターフェイ
ス制御回路II50は書き込み命令を受け取るとそれぞれ
ディスク装置I60とディスク装置II70に対して目的
のセクタをサーチし、目的のセクタを検出するとデータ
バッファ回路30から書き込みデータを受け取り書き込
みを開始する。この時ディスク装置I60がディスク装
置II70より先に書き込みを終了したとすると、下位イ
ンターフェイス制御回路I40はマイクロコンピュータ
20に書き込み命令の終了を通知する。書き込み終了を
通知されるとマイクロコンピュータ20は上位インター
フェイス制御回路10により上位インターフェイス30
0を介してホスト200に書き込みの終了を報告する。
書き込みの終了していないディスク装置II70はデータ
バッファ回路30から書き込みデータを受け取り書き込
みを継続し、書き込みが終了すると下位インターフェイ
ス制御回路II50はマイクロコンピュータ20に書き込
み命令の終了を通知する。同様にディスク装置II70が
ディスク装置I60より先に書き込みを終了したとする
と、下位インターフェイス制御回路II50はマイクロコ
ンピュータ20に書き込み命令の終了を通知する。書き
込み終了を通知されるとマイクロコンピュータ20は上
位インターフェイス制御回路10により上位インターフ
ェイス300を介してホスト200に書き込みの終了を
報告する。書き込みの終了していないディスク装置I6
0はデータバッファ回路30から書き込みデータを受け
取り書き込みを継続し、書き込みが終了すると下位イン
ターフェイス制御回路I40はマイクロコンピュータ2
0に書き込み命令の終了を通知する。
Upper interface 3 from host 200
When a format command is input to the magnetic disk device 100 via 00, the microcomputer 20 issues a format command to the lower interface control circuit I40 and the lower interface control circuit II50. When receiving the format command, the lower interface control circuit I40 and the lower interface control circuit II50 respectively format the disk device I60 and the disk device II70 so that the sector position with respect to INDEX is shifted by a half track as shown in FIG. When the completion of the formatting is reported from the lower interface control unit I40 and the lower interface control unit II50, the microcomputer 20 determines that the upper interface control circuit 1
0 to host 2 via upper interface 300
Report the end of formatting to 00. Host 2
00, when a write command is input to the magnetic disk device 100 through the upper interface 300, the microcomputer 20 waits for both the lower interface control circuit I40 and the lower interface control circuit II50 to finish executing the command. The host 20 is connected to the host interface control circuit 10 and the data buffer circuit 30.
After instructing to write data from 0, a write command is issued to the lower interface control circuit I40 and the lower interface control circuit II50. When the lower interface control circuit I40 and the lower interface control circuit II50 receive the write command, they search the target sector for the disk device I60 and the disk device II70, respectively, and when they detect the target sector, they receive the write data from the data buffer circuit 30. Start writing. At this time, if the disk device I60 finishes writing before the disk device II70, the lower interface control circuit I40 notifies the microcomputer 20 of the end of the write command. When the writing end is notified, the microcomputer 20 causes the upper interface control circuit 10 to
The end of writing is reported to the host 200 via 0.
The disk device II70 which has not completed writing receives the write data from the data buffer circuit 30 and continues writing, and when the writing is completed, the lower interface control circuit II50 notifies the microcomputer 20 of the end of the write command. Similarly, if the disk device II70 finishes writing before the disk device I60, the lower interface control circuit II50 notifies the microcomputer 20 of the end of the write command. When notified of the end of writing, the microcomputer 20 reports the end of writing to the host 200 via the upper interface 300 by the upper interface control circuit 10. Disk device I6 for which writing has not been completed
0 receives write data from the data buffer circuit 30 and continues writing, and when the writing is completed, the lower interface control circuit I40 causes the microcomputer 2 to
0 is notified of the end of the write command.

【0014】つぎに、ホスト200より上位インターフ
ェイス300を介して磁気ディスク装置100に対して
読出し命令が入力されるとマイクロコンピュータ20は
下位インターフェイス制御回路I40と下位インターフ
ェイス制御回路II50が共に命令の実行を終了するのを
待って、下位インターフェイス制御回路I40と下位イ
ンターフェイス制御回路II50に対して読出し命令を発
行する。下位インターフェイス制御回路I40と下位イ
ンターフェイス制御回路II50は読出し命令を受け取る
とそれぞれディスク装置I60とディスク装置II70に
対して読み出すデータの最初のセクタをサーチする。下
位インターフェイス制御回路I40が下位インターフェ
イス制御回路II50より先に最初のセクタを発見すると
マイクロコンピュータ20は下位インターフェイス制御
回路II50の読出し命令を直ちに中止させる。下位イン
ターフェイス制御回路I40はデータの読出しを開始
し、上位インターフェイス制御回路10により上位イン
ターフェイス300を介してホスト200に読出しデー
タを受け渡す。もし、読出しデータにエラーが発生した
場合、マイクロコンピュータ20は下位インターフェイ
ス制御回路I40の読出し命令を直ちに中止させ、マイ
クロコンピュータ20は下位インターフェイス制御回路
II50に読出し命令を発行し、下位インターフェイス制
御回路II50はデータの読出し命令を実行して上位イン
ターフェイス制御回路10により上位インターフェイス
300を介してホスト200に読出しデータを受け渡
す。全ての読出しデータの受け渡しが終了するとマイク
ロコンピュータ20は上位インターフェイス制御回路1
0により上位インターフェイス300を介してホスト2
00に読出し命令の終了を報告する。同様に下位インタ
ーフェイス制御回路II50が下位インターフェイス制御
回路I40より先に最初のセクタを発見するとマイクロ
コンピュータ20は下位インターフェイス制御回路I4
0の読出し命令を直ちに中止させる。下位インターフェ
イス制御回路II50はデータの読出しを開始し、上位イ
ンターフェイス制御回路10により上位インターフェイ
ス300を介してホスト200に読出しデータを受け渡
す。もし、読出しデータにエラーが発生した場合、マイ
クロコンピュータ20は下位インターフェイス制御回路
II50の読出し命令を直ちに中止させ、マイクロコンピ
ュータ20は下位インターフェイス制御回路I40に読
出し命令を発行し、下位インターフェイス制御回路I4
0はデータの読出し命令を実行して上位インターフェイ
ス制御回路10により上位インターフェイス300を介
してホスト200に読出しデータを受け渡す。全ての読
出しデータの受け渡しが終了するとマイクロコンピュー
タ20は上位インターフェイス制御回路10により上位
インターフェイス300を介してホスト200に読出し
命令の終了を報告する。
Next, when a read command is input from the host 200 to the magnetic disk device 100 via the upper interface 300, the microcomputer 20 causes the lower interface control circuit I40 and the lower interface control circuit II50 to execute the command. After waiting for the completion, a read command is issued to the lower interface control circuit I40 and the lower interface control circuit II50. When the lower interface control circuit I40 and the lower interface control circuit II50 receive the read command, they search the first sector of the data to be read to the disk device I60 and the disk device II70, respectively. When the lower interface control circuit I40 finds the first sector before the lower interface control circuit II50, the microcomputer 20 immediately cancels the read command of the lower interface control circuit II50. The lower interface control circuit I40 starts reading data, and the upper interface control circuit 10 transfers the read data to the host 200 via the upper interface 300. If an error occurs in the read data, the microcomputer 20 immediately cancels the read command of the lower interface control circuit I40, and the microcomputer 20 causes the lower interface control circuit I40 to stop.
The read command is issued to the II 50, the lower interface control circuit II 50 executes the data read command, and the upper interface control circuit 10 passes the read data to the host 200 via the upper interface 300. When the transfer of all the read data is completed, the microcomputer 20 sets the upper interface control circuit 1
0 to host 2 via upper interface 300
The end of the read command is reported to 00. Similarly, when the lower-order interface control circuit II50 finds the first sector before the lower-order interface control circuit I40, the microcomputer 20 determines the lower-order interface control circuit I4.
Immediately abort the read instruction of 0. The lower interface control circuit II50 starts reading data, and the upper interface control circuit 10 passes the read data to the host 200 via the upper interface 300. If an error occurs in the read data, the microcomputer 20 determines the lower interface control circuit.
Immediately stop the read command of II50, the microcomputer 20 issues a read command to the lower interface control circuit I40, and the lower interface control circuit I4
0 executes a data read command and passes the read data to the host 200 via the upper interface 300 by the upper interface control circuit 10. When the transfer of all the read data is completed, the microcomputer 20 reports the completion of the read command to the host 200 via the upper interface 300 by the upper interface control circuit 10.

【0015】本実施例に於いてはディスク装置が2台の
場合について述べたがディスク装置の台数をN(N=
3,4,5・・・)台にした場合も同様である。
In this embodiment, the case where there are two disk devices has been described, but the number of disk devices is N (N =
The same applies to the case of 3, 4, 5) units.

【0016】[0016]

【発明の効果】以上に説明したように本発明の磁気ディ
スク装置を採用する事により、データの信頼性を高める
と共に平均回転待ち時間をディスク装置台数分の1に短
縮できる効果がある。
As described above, by adopting the magnetic disk device of the present invention, it is possible to improve the reliability of data and reduce the average rotation waiting time to one-tenth of the number of disk devices.

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

【図1】本発明の一実施例を示す磁気ディスク装置の構
成図である。
FIG. 1 is a configuration diagram of a magnetic disk device showing an embodiment of the present invention.

【図2】本発明の磁気ディスク装置におけるフォーマッ
トである。
FIG. 2 is a format in the magnetic disk device of the present invention.

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

10 上位インターフェイス制御回路 20 マイクロコンピュータ 30 データバッファ回路 40 下位インターフェイス制御回路I 50 下位インターフェイス制御回路II 60 ディスク装置I 70 ディスク装置II 100 磁気ディスク装置 200 ホスト 300 上位インターフェイス 10 Upper Interface Control Circuit 20 Microcomputer 30 Data Buffer Circuit 40 Lower Interface Control Circuit I 50 Lower Interface Control Circuit II 60 Disk Device I 70 Disk Device II 100 Magnetic Disk Device 200 Host 300 Upper Interface

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の磁気ディスク装置の回転を同期さ
せ、INDEXとHEADの相対位置がすべてのディス
ク装置で同じにする手段と、前記それぞれのディスク装
置にセクタのINDEXからの相対位置がディスク装置
ごとに異なるようにフォーマットする手段と、制御部か
らの指令で前記ディスク装置にデータを書き込む時、す
べてのディスクに同じデータを書き込みながら書き込み
データをバッファに書き込み、いずれかのディスク装置
で書き込みが終了した時点で前記制御部に書き込みが終
了した事を報告し、書き込みの終了していないディスク
装置に対しては前記バッファのデータを書き込む手段
と、前記制御部からの指令で前記ディスク装置からデー
タを読み出す時、一番最初に目的のセクタに達したディ
スク装置のデータを前記制御部に転送する手段を有する
ことを特徴とする磁気ディスク装置。
1. A means for synchronizing the rotations of a plurality of magnetic disk devices so that the relative positions of INDEX and HEAD are the same in all the disk devices, and the relative position of the sector of each disk device from the INDEX is the disk device. When writing data to the disk device in response to a command from the control unit and a format to be different for each, write data is written to the buffer while writing the same data to all disks, and the writing is completed in either disk device At the time of writing, it reports to the control unit that writing has been completed, and for a disk device that has not completed writing, means for writing the data in the buffer, and a command from the control unit to send data from the disk device. When reading, the data of the disk device that reached the target sector first is A magnetic disk drive having means for transferring to the control unit.
JP26851491A 1991-09-20 1991-09-20 Magnetic disk device Pending JPH0580945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26851491A JPH0580945A (en) 1991-09-20 1991-09-20 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26851491A JPH0580945A (en) 1991-09-20 1991-09-20 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH0580945A true JPH0580945A (en) 1993-04-02

Family

ID=17459573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26851491A Pending JPH0580945A (en) 1991-09-20 1991-09-20 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH0580945A (en)

Similar Documents

Publication Publication Date Title
US5128810A (en) Single disk emulation interface for an array of synchronous spindle disk drives
JPH0756688A (en) Data storage
JPS63216122A (en) Multiple copy recording of data
JPH04288615A (en) Cash-equipped dasd subsystem for controlling rotating position of disk and its executing method
US5422763A (en) Split field zone data recording
US5887128A (en) Method and apparatus for redundant disk storage system with offset
JP2759920B2 (en) Method and apparatus for operating a DASD peripheral data storage subsystem
JPH0580945A (en) Magnetic disk device
US5155811A (en) Read/write head buffer
JPH05210914A (en) Method and device for adaptive clock control for disc-file
JPH04503126A (en) read-write head buffer
WO1990001737A1 (en) Single disk emulation for synchronous disk array
JPS6095762A (en) magnetic disk controller
JP3615250B2 (en) Disk array device
JPH09305323A (en) Disk storage system
JPH03214463A (en) Magnetic disk system
JP2605588B2 (en) CD-ROM device with high-speed access mechanism
US7441050B2 (en) Data processing system, data processing method, computer-readable storage medium, and disk drive
JPH02280221A (en) System for controlling disk
JPS58221458A (en) Data transfer control method
JPS623321A (en) Optical disk controller
JPH03164843A (en) Optical disk processing device
JPH03194766A (en) Disk access control system
JPH0421888B2 (en)
JPH10334587A (en) Read / write head separated disk unit