JPH07334312A - Disk storage device - Google Patents

Disk storage device

Info

Publication number
JPH07334312A
JPH07334312A JP6123380A JP12338094A JPH07334312A JP H07334312 A JPH07334312 A JP H07334312A JP 6123380 A JP6123380 A JP 6123380A JP 12338094 A JP12338094 A JP 12338094A JP H07334312 A JPH07334312 A JP H07334312A
Authority
JP
Japan
Prior art keywords
hdd
sector
data
write
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.)
Withdrawn
Application number
JP6123380A
Other languages
Japanese (ja)
Inventor
Toyoyuki Kotegawa
豊行 小手川
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP6123380A priority Critical patent/JPH07334312A/en
Publication of JPH07334312A publication Critical patent/JPH07334312A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To shorten the processing time by enabling data to be transferred to a host from the HDD which gets ready for data transfer when a read instruction is executed for sectors other than a write bad sector even if the write bad sector is generated on the HDD. CONSTITUTION:A sector information recording circuit 8 monitors instruction/ execution result signal lines 101 and 102, generates sector management information from the write result of a write instruction, the start sector address of its writing, and the number of written sectors when the write instruction is executed, and records the sector management information in recording areas provided in a sector information recording part 7 by the sectors of HDDs 4 and 5. An HDD selecting circuit 9 decides whether the HDDs 4 and 5 are 'usable' or 'inhibited from being used' at the time of the read instruction execution by referring to the sector information recording part 7, and sends the decision result back to an interface control circuit 1. The interface control circuit 1 controls the issue of read instructions to HDD interface circuits 2 and 3 on the basis of the decision result of the HDD selecting circuit 9.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディスク記憶装置に関
し、特に2台のディスクドライブを使用するディスク記
憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk storage device, and more particularly to a disk storage device using two disk drives.

【0002】[0002]

【従来の技術】従来、この種のディスク記憶装置におい
ては、図5及び図6に示すように、ハードディスクドラ
イブ(以下、HDDとする)4,5へのデータの書込み
が正常終了したか、あるいは異常終了したかを示すHD
D情報記録部10のHDD管理情報を基にHDD4,5
からデータの読出しを行っている。
2. Description of the Related Art Conventionally, in a disk storage device of this type, as shown in FIGS. 5 and 6, writing of data to hard disk drives (hereinafter referred to as HDDs) 4 and 5 is normally completed, or HD indicating whether the process has terminated abnormally
Based on the HDD management information of the D information recording unit 10, the HDDs 4, 5
Data is being read from.

【0003】図5において、従来のディスク記憶装置は
インタフェース制御回路1と、HDDインタフェース回
路2,3と、HDD4,5と、データパスセレクタ6
と、HDD情報記録部10と、HDD情報記録回路11
と、HDD選択回路12とから構成されている。
Referring to FIG. 5, the conventional disk storage device includes an interface control circuit 1, HDD interface circuits 2 and 3, HDDs 4 and 5, and a data path selector 6.
HDD information recording unit 10 and HDD information recording circuit 11
And an HDD selection circuit 12.

【0004】インタフェース制御回路1はホストデータ
パス100を介して図示せぬホストからの命令の受信
と、上記のディスク記憶装置内の命令実行制御と、ホス
トとの間のデータ送受信及び実行結果の報告とを行う。
The interface control circuit 1 receives commands from a host (not shown) via the host data path 100, controls command execution in the disk storage device, transmits / receives data to / from the host, and reports execution results. And do.

【0005】このインタフェース制御回路1はデータ書
込み命令実行時にホストから受信したデータを夫々HD
D4,5に書込むよう制御し、またデータ読出し命令実
行時にHDD4,5のうちいずれか早くデータ転送可能
となったHDDからのデータをホストに転送するよう制
御する。
The interface control circuit 1 receives the data received from the host at the time of executing the data write command from the HD.
Control is performed so that the data is written to D4 and D5, and that the data from the HDD, whichever of the HDDs 4 and 5 is ready for data transfer, is transferred to the host when the data read command is executed.

【0006】HDDインタフェース回路2,3は命令/
実行結果信号線101,102を介してインタフェース
制御回路1からの命令を受信し、その命令のHDD4,
5への発行及び詳細なインタフェース動作を実行する。
The HDD interface circuits 2 and 3 are commands / commands.
The command from the interface control circuit 1 is received via the execution result signal lines 101 and 102, and the HDD 4 of the command is received.
Issue 5 and perform detailed interface operations.

【0007】また、HDDインタフェース回路2,3は
インタフェース制御回路1からのデータ読出し命令を受
信した場合、HDD4,5がデータ読出し命令の実行に
よるデータ転送準備を完了すると、データパスセレクタ
6にデータ転送準備完了信号107,108を送出す
る。
Further, when the HDD interface circuits 2 and 3 receive the data read command from the interface control circuit 1, when the HDDs 4 and 5 complete the data transfer preparation by executing the data read command, the data transfer to the data path selector 6 is performed. The ready signals 107 and 108 are transmitted.

【0008】データパスセレクタ6はデータ書込み命令
実行時にインタフェース制御回路1との間のデータパス
111をHDDインタフェース回路2,3との間のデー
タパス109,110に夫々接続する。
The data path selector 6 connects the data path 111 with the interface control circuit 1 to the data paths 109, 110 with the HDD interface circuits 2, 3 when executing a data write command, respectively.

【0009】また、データパスセレクタ6はデータ読出
し命令実行時にHDDインタフェース回路2,3からの
データ転送準備完了信号107,108を受信し、これ
らの信号のうちいずれか早くアクティブとなった方のデ
ータパス109,110をデータパス111に接続す
る。
Further, the data path selector 6 receives the data transfer preparation completion signals 107 and 108 from the HDD interface circuits 2 and 3 at the time of executing the data read command, and the data of which of these signals becomes active earlier, The paths 109 and 110 are connected to the data path 111.

【0010】HDD情報記録部10は信号・データ線1
15を介してHDD情報記録回路11からアドレス及び
データが送られてくると、このアドレスに対応するHD
D4,5のHDD管理情報領域にそのデータを書込み、
以後そのデータを保持する。
The HDD information recording unit 10 includes a signal / data line 1
When an address and data are sent from the HDD information recording circuit 11 via 15, the HD corresponding to this address
Write the data to the HDD management information area of D4, 5,
After that, the data is retained.

【0011】このHDD情報記録部10においては、図
6に示すように、HDD4,5各々に対応するHDD管
理情報領域のアドレスを示すメモリアドレスに夫々HD
D4,5のHDD管理情報を格納する。
In the HDD information recording unit 10, as shown in FIG. 6, the memory addresses indicating the addresses of the HDD management information areas corresponding to the HDDs 4 and 5 are respectively HD-addressed.
The HDD management information of D4 and D5 is stored.

【0012】図6において、メモリアドレス‘100
0’(‘ ’は16進数であることを示している)はH
DD4のHDD管理情報領域のアドレスを示し、メモリ
アドレス‘1001’はHDD5のHDD管理情報領域
のアドレスを示している。
In FIG. 6, memory address' 100
0 '(' indicates that it is a hexadecimal number) is H
The address of the HDD management information area of the DD 4 is shown, and the memory address “1001” shows the address of the HDD management information area of the HDD 5.

【0013】また、HDD管理情報の‘00’は以前の
データ書込み命令でデータの書込みが正常終了したこと
を示し、HDD管理情報の‘01’は以前のデータ書込
み命令でデータの書込みが異常終了したことを示してい
る。
Further, "00" of the HDD management information indicates that the data writing is completed normally by the previous data write command, and "01" of the HDD management information is abnormally completed by the previous data write command. It shows that it did.

【0014】HDD情報記録回路11はインタフェース
制御回路1からの命令がデータ書込み命令の場合、その
データ書込み命令によるHDD4,5への書込みが正常
終了したかあるいは異常終了したかを示す実行結果をH
DD管理情報として対応するHDD4,5のHDD管理
情報領域に夫々記録する。
When the command from the interface control circuit 1 is a data write command, the HDD information recording circuit 11 outputs H as an execution result indicating whether the data write command is normally or abnormally written to the HDDs 4, 5.
The DD management information is recorded in the HDD management information areas of the corresponding HDDs 4 and 5, respectively.

【0015】HDD選択回路12はインタフェース制御
回路1からのHDD選択指示信号117を受取ると、H
DD情報記録部10からHDD管理情報を読出す。HD
D選択回路12はHDD情報記録部10から読出したH
DD管理情報を基に、それ以前に行われたHDD4,5
へのデータの書込みにおける異常終了の有無を判別し、
その判別結果をHDD選択情報118としてインタフェ
ース制御回路1に返送する。
When the HDD selection circuit 12 receives the HDD selection instruction signal 117 from the interface control circuit 1, it goes high.
The HDD management information is read from the DD information recording unit 10. HD
The D selection circuit 12 reads H read from the HDD information recording unit 10.
Based on the DD management information, HDDs 4 and 5 that were performed before that
Determine whether there is an abnormal end in writing data to
The determination result is returned to the interface control circuit 1 as HDD selection information 118.

【0016】上記のディスク記憶装置において、ホスト
からのデータ書込み命令を受信した場合、インタフェー
ス制御回路1はHDDインタフェース回路2,3に夫々
データ書込み命令を発行する。
In the above disk storage device, when the data write command is received from the host, the interface control circuit 1 issues the data write command to the HDD interface circuits 2 and 3, respectively.

【0017】このとき、インタフェース制御回路1はデ
ータパスセレクタ6にデータパスコネクト信号114を
出力するので、データパスセレクタ6はインタフェース
制御回路1との間のデータパス111をHDDインタフ
ェース回路2,3との間のデータパス109,110に
夫々接続する。
At this time, the interface control circuit 1 outputs the data path connect signal 114 to the data path selector 6, so that the data path selector 6 connects the data path 111 with the interface control circuit 1 to the HDD interface circuits 2 and 3. The data paths 109 and 110 are connected to each other.

【0018】これによって、HDD4,5にはHDDイ
ンタフェース回路2,3及びデータパス109,110
を介して夫々供給されるホストからの同一の書込みデー
タが書込まれる。
As a result, the HDD interface circuits 2 and 3 and the data paths 109 and 110 are provided in the HDDs 4 and 5.
The same write data is written from the host respectively supplied via the.

【0019】今、HDD4に対するホストからの書込み
データの書込みが正常終了し、HDD5に対するホスト
からの書込みデータの書込みが異常終了した場合、HD
D情報記録回路11はHDD4,5に対するデータ書込
み命令の実行結果を命令/実行結果信号線101,10
2から得る。
If the writing of write data from the host to the HDD 4 ends normally and the writing of write data from the host to the HDD 5 ends abnormally, the HD
The D information recording circuit 11 outputs the execution result of the data write command to the HDDs 4 and 5 to the command / execution result signal lines 101 and 10.
Get from 2.

【0020】このとき、HDD情報記録回路11はHD
D4に割当てられたメモリアドレス‘1000’のHD
D管理情報を一旦読出して‘00’(正常終了)である
ことを確認する。
At this time, the HDD information recording circuit 11 is HD
HD with memory address '1000' assigned to D4
D management information is read once and it is confirmed that it is '00' (normal end).

【0021】HDD情報記録回路11はHDD4に対応
するHDD管理情報の確認後、HDD4のHDD管理情
報領域にHDD管理情報として‘00’(正常終了)を
書込む。
After confirming the HDD management information corresponding to the HDD 4, the HDD information recording circuit 11 writes "00" (normal end) as HDD management information in the HDD management information area of the HDD 4.

【0022】また、HDD情報記録回路11はHDD5
に対するデータの書込みが異常終了しているため、HD
D5に割当てられたメモリアドレス‘1001’のHD
D管理情報の確認を行わずに、HDD4のHDD管理情
報領域に‘01’(異常終了)を書込む。
Further, the HDD information recording circuit 11 includes the HDD 5
Since the data writing to the
HD with memory address '1001' assigned to D5
Write "01" (abnormal end) in the HDD management information area of the HDD 4 without confirming the D management information.

【0023】また、HDD4,5のHDD管理情報領域
のHDD管理情報が既に‘01’(異常終了)であった
場合、最新のデータ書込み命令の実行結果が正常終了の
場合でも、HDD4,5のHDD管理情報領域の更新は
行わない。
If the HDD management information in the HDD management information areas of the HDDs 4 and 5 is already "01" (abnormal termination), even if the execution result of the latest data write command is normal termination, The HDD management information area is not updated.

【0024】上述の如く、HDD4,5の管理を行いか
つHDD情報記録回路11の内容が図6に示すような内
容のディスク記憶装置において、インタフェース制御回
路1はホストからデータ読出し命令を受信すると、その
データ読出し命令の実行に先立ってHDD4,5からの
データ読出しが可能かどうかを調べるため、HDD選択
回路12への選択開始指示信号117をアクティブにす
る。
As described above, in the disk storage device that manages the HDDs 4 and 5 and the contents of the HDD information recording circuit 11 are as shown in FIG. 6, when the interface control circuit 1 receives a data read command from the host, Prior to the execution of the data read command, the selection start instruction signal 117 to the HDD selection circuit 12 is activated in order to check whether the data can be read from the HDDs 4 and 5.

【0025】HDD選択回路12はHDD情報記録回路
11のメモリアドレス‘1000’,‘1001’のH
DD管理情報を読出し、HDD管理情報が‘00’(正
常終了)となっているHDD4を「使用可」、HDD管
理情報が‘01’(異常終了)となっているHDD5を
「使用禁止」とするHDD選択情報118をインタフェ
ース制御回路1に返送する。
The HDD selection circuit 12 uses the H of the memory addresses "1000" and "1001" of the HDD information recording circuit 11.
The DD management information is read, and the HDD 4 whose HDD management information is “00” (normal termination) is “usable”, and the HDD 5 whose HDD management information is “01” (abnormal termination) is “prohibited”. The HDD selection information 118 to be returned is returned to the interface control circuit 1.

【0026】インタフェース制御回路1はHDD選択回
路12からHDD選択情報118を受取ると、データ読
出し命令をHDDインタフェース回路2及びデータパス
109を経由してHDD4に発行する。
When the interface control circuit 1 receives the HDD selection information 118 from the HDD selection circuit 12, it issues a data read command to the HDD 4 via the HDD interface circuit 2 and the data path 109.

【0027】HDDインタフェース回路2はHDD4の
データ転送準備が完了すると、データパスセレクタ6へ
のデータ転送準備完了信号107をアクティブにする。
When the HDD 4 is ready for data transfer, the HDD interface circuit 2 activates the data transfer ready signal 107 to the data path selector 6.

【0028】データパスセレクタ6はデータ転送準備完
了信号107がアクティブとなったことを検出すると、
データパス109とデータパス111とを接続し、HD
D4のデータがデータパス109,111を介してイン
タフェース制御回路1に流れるようにする。これによっ
て、HDD4のデータはインタフェース制御回路1を経
由してホストに送出される。
When the data path selector 6 detects that the data transfer preparation completion signal 107 has become active,
The data path 109 and the data path 111 are connected, and HD
The data of D4 is made to flow to the interface control circuit 1 via the data paths 109 and 111. As a result, the data in the HDD 4 is sent to the host via the interface control circuit 1.

【0029】上述したように、ホストからのデータ読出
し命令の実行において、ホストからの要求セクタアドレ
スが過去に書込み異常を起こしたHDDかを検査し、過
去に書込み異常を起こしていないHDDに対してのみデ
ータ読出し命令を発行するよう制御している。
As described above, in the execution of the data read command from the host, it is checked whether the sector address requested by the host has an abnormal write in the past, and the HDD which has no abnormal write in the past is checked. Only the data read command is controlled to be issued.

【0030】上記の技術に関連して、特開昭63−21
7411号公報には書込みが正常に終了していないディ
スク装置の使用を禁止する技術が開示されている。
In connection with the above technology, Japanese Patent Laid-Open No. 63-21
Japanese Patent No. 7411 discloses a technique of prohibiting the use of a disk device in which writing has not been normally completed.

【0031】[0031]

【発明が解決しようとする課題】上述した従来のディス
ク記憶装置では、HDD単位にHDD管理情報を記録し
ておき、このHDD管理情報を基に使用の可否を判断
し、使用可能なHDDに対してのみデータ読出し命令を
発行している。
In the above-mentioned conventional disk storage device, HDD management information is recorded for each HDD, and it is judged whether or not the HDD can be used based on this HDD management information. Issue a data read command only.

【0032】このため、一方のHDDに一旦書込み異常
が発生すると、データ読出し命令実行時にいずれか早く
データ転送可能となったHDDからのデータをホストに
転送するという本来の機能が働かなくなり、処理時間の
短縮を図ることができなくなる。
Therefore, once a write error occurs in one of the HDDs, the original function of transferring data from the HDD, which is ready for data transfer to the host when the data read command is executed, to the host, and the processing time is lost. Cannot be shortened.

【0033】そこで、本発明の目的は上記の問題点を解
消し、HDDに書込み不良セクタが発生しても、その書
込み不良セクタ以外のセクタに対してはデータ読出し命
令実行時にいずれか早くデータ転送可能となったHDD
からのデータをホストに転送することができ、処理時間
の短縮を図ることができるディスク記憶装置を提供する
ことにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, and even if a defective writing sector occurs in the HDD, data is transferred to a sector other than the defective writing sector earlier when the data read instruction is executed. HDD enabled
Another object of the present invention is to provide a disk storage device capable of transferring data from a disk to a host and shortening the processing time.

【0034】[0034]

【課題を解決するための手段】本発明によるディスク記
憶装置は、書込み命令により同一データが夫々書込まれ
る第1及び第2のディスク記憶媒体を含むディスク記憶
装置であって、前記第1及び第2のディスク記憶媒体各
々のセクタ毎に前記書込み命令によるデータの書込み結
果を保持する保持手段と、読出し命令実行時に前記保持
手段の内容を基に前記読出し命令を発行すべきディスク
記憶媒体を決定する決定手段とを備えている。
DISCLOSURE OF THE INVENTION A disk storage device according to the present invention is a disk storage device including first and second disk storage media in which the same data is written by a write command, respectively. Holding means for holding the data write result by the write command for each sector of each of the two disk storage media, and a disk storage medium to which the read command is issued based on the contents of the holding means when the read command is executed. And a determining means.

【0035】本発明による他のディスク記憶装置は、上
記の構成のほかに、前記決定手段で前記読出し命令を発
行すべきディスク記憶媒体として決定されたディスク記
憶媒体に前記読出し命令を発行する手段と、前記読出し
命令に応答して前記ディスク媒体から最先に読出された
データを読出しデータとして選択する手段とを具備して
いる。
Another disk storage device according to the present invention is, in addition to the above configuration, means for issuing the read command to the disk storage medium determined as the disk storage medium to which the read command should be issued by the determination means. In response to the read command, the first read data from the disk medium is selected as read data.

【0036】[0036]

【作用】データ書込み命令が実行される場合、そのデー
タ書込み命令によるデータ書込み結果とデータ書込み命
令に含まれる開始セクタアドレス及び書込み実行セクタ
数とからセクタ管理情報を生成し、そのセクタ管理情報
を記録しておく。
When the data write command is executed, sector management information is generated from the data write result by the data write command, the start sector address and the write execution sector number included in the data write command, and the sector management information is recorded. I'll do it.

【0037】データ読出し命令が実行される時、そのデ
ータ読出し命令のセクタアドレス情報に対応するセクタ
管理情報を基にHDDの「使用可」または「使用禁止」
を判別し、その判別結果を元にデータ読出し命令を発行
するHDDを決定する。
When a data read command is executed, the HDD is "enabled" or "disabled" based on the sector management information corresponding to the sector address information of the data read command.
Is determined, and the HDD for issuing the data read command is determined based on the determination result.

【0038】これによって、書込み不良セクタを除くセ
クタを対象とするデータ読出し命令に対しては2台のH
DDの使用が可能となる。
As a result, two H's are issued for a data read command targeting a sector other than a defective write sector.
It becomes possible to use DD.

【0039】したがって、HDDに書込み不良セクタが
発生しても、その書込み不良セクタ以外のセクタに対し
てはデータ読出し命令実行時にいずれか早くデータ転送
可能となったHDDからのデータをホストに転送可能と
なり、処理時間が短縮可能となる。
Therefore, even if a bad-writing sector occurs in the HDD, the data from the HDD that has become capable of data transfer to the host other than the bad-writing sector can be transferred to the host sooner when the data read command is executed. Therefore, the processing time can be shortened.

【0040】[0040]

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

【0041】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例によるデ
ィスク記憶装置はインタフェース制御回路1と、HDD
インタフェース回路2,3と、HDD4,5と、データ
パスセレクタ6と、セクタ情報記録部7と、セクタ情報
記録回路8と、HDD選択回路9とから構成されてい
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, a disk storage device according to an embodiment of the present invention includes an interface control circuit 1 and an HDD.
It is composed of interface circuits 2 and 3, HDDs 4 and 5, a data path selector 6, a sector information recording unit 7, a sector information recording circuit 8 and an HDD selection circuit 9.

【0042】インタフェース制御回路1は図示せぬホス
トとのインタフェース機能と、HDDインタフェース回
路2,3に対する命令の発行及び実行結果受取りの制御
機能とを有している。
The interface control circuit 1 has an interface function with a host (not shown) and a control function for issuing commands to the HDD interface circuits 2 and 3 and receiving execution results.

【0043】また、インタフェース制御回路1はホスト
からのデータ読出し命令の実行に先立ってHDD選択回
路9へのアクセスアドレス情報103と選択開始指示信
号106との送出及びHDD選択回路9からのHDD選
択情報112の受取り、このHDD選択情報112に基
づいたHDDインタフェース回路2,3へのデータ読出
し命令発行を夫々制御する機能を有する。
The interface control circuit 1 sends the access address information 103 and the selection start instruction signal 106 to the HDD selection circuit 9 and executes the HDD selection information from the HDD selection circuit 9 prior to the execution of the data read command from the host. It has a function of receiving 112 and controlling the issuing of a data read command to the HDD interface circuits 2 and 3 based on the HDD selection information 112.

【0044】さらに、インタフェース制御回路1は必要
に応じてデータパスセレクタ6に対して一旦設定したデ
ータパス接続を解除するデータパス接続クリア信号11
3、及びデータパス111とデータパス109,110
との接続を指示するデータパスコネクト信号114を夫
々出力する機能を有する。
The interface control circuit 1 further releases the data path connection clear signal 11 for releasing the data path connection once set to the data path selector 6 as necessary.
3, and the data path 111 and the data paths 109 and 110
It has a function of outputting the data path connect signal 114 for instructing the connection with each.

【0045】HDDインタフェース回路2,3はHDD
4,5に対してインタフェース制御回路1から送られて
くる命令を受取り、その命令に応じてHDD4,5との
間の詳細インタフェース動作を夫々実行する。
The HDD interface circuits 2 and 3 are HDDs.
It receives an instruction sent from the interface control circuit 1 to the HDDs 4 and 5, and executes a detailed interface operation with the HDDs 4 and 5 in response to the instruction.

【0046】また、HDDインタフェース回路2,3は
データパスセレクタ6との間で書込みデータ及び読出し
データの授受を行い、データ読出し命令実行時にHDD
4,5からの読出しデータの転送が可能になると、デー
タパスセレクタ6へのデータ転送準備完了信号107,
108をアクティブにする。
Further, the HDD interface circuits 2 and 3 exchange write data and read data with the data path selector 6, and when the data read command is executed, the HDD interface circuits
When it becomes possible to transfer the read data from 4, 5, the data transfer preparation completion signal 107 to the data path selector 6,
Activate 108.

【0047】HDD4,5は夫々HDDインタフェース
回路2,3に夫々接続され、HDDインタフェース回路
2,3との間で命令(セクタアドレスを含む)やデー
タ、及び実行結果の授受を行う。
The HDDs 4 and 5 are connected to the HDD interface circuits 2 and 3, respectively, and exchange commands (including sector addresses), data, and execution results with the HDD interface circuits 2 and 3.

【0048】データパスセレクタ6はインタフェース制
御回路1とHDDインタフェース回路2,3とを接続す
るために、データパス109,110とデータパス11
1との接続を夫々行う。
The data path selector 6 connects the interface control circuit 1 and the HDD interface circuits 2 and 3 to the data paths 109 and 110 and the data path 11 respectively.
1 is connected to each.

【0049】また、データパスセレクタ6はデータ読出
し命令実行時にHDDインタフェース回路2,3からの
データ転送準備完了信号107,108を受信し、これ
らの信号のうちいずれか早くアクティブとなった方のデ
ータパス109,110をデータパス111に接続す
る。
Further, the data path selector 6 receives the data transfer preparation completion signals 107 and 108 from the HDD interface circuits 2 and 3 at the time of executing the data read command, and the data of which of these signals becomes active earlier, The paths 109 and 110 are connected to the data path 111.

【0050】これらデータパス109,110とデータ
パス111との接続は、インタフェース制御回路1から
のデータパス接続クリア信号113によって解除される
まで継続される。
The connection between the data paths 109 and 110 and the data path 111 is continued until it is released by the data path connection clear signal 113 from the interface control circuit 1.

【0051】セクタ情報記録部7はHDD4,5各々の
セクタ毎に設けられた記録領域に夫々セクタ管理情報を
記録する不揮発性メモリ回路であり、信号・データ線1
04を介してセクタ情報記録回路8から送られてくるセ
クタ管理情報を記録領域に書込み、以後そのセクタ管理
情報を保持する。
The sector information recording section 7 is a non-volatile memory circuit for recording sector management information in a recording area provided for each sector of the HDDs 4 and 5, and the signal / data line 1
The sector management information sent from the sector information recording circuit 8 via 04 is written in the recording area, and thereafter the sector management information is held.

【0052】尚、セクタ情報記録部7は電源が断となっ
た時にセクタ管理情報を保持しておくことができれば、
不揮発性メモリ回路以外のメモリ回路を使用することも
可能である。
If the sector information recording section 7 can hold the sector management information when the power is turned off,
It is also possible to use a memory circuit other than the non-volatile memory circuit.

【0053】また、セクタ情報記録部7は信号・データ
線105を介してHDD選択回路9に接続されており、
セクタ情報記録部7に保持されたセクタ管理情報はHD
D選択回路9によって読出し可能となっている。
The sector information recording section 7 is connected to the HDD selection circuit 9 via the signal / data line 105,
The sector management information stored in the sector information recording unit 7 is HD
It can be read by the D selection circuit 9.

【0054】セクタ情報記録回路8はインタフェース制
御回路1とHDDインタフェース回路2,3との間の命
令/実行結果信号線101,102を監視し、インタフ
ェース制御回路1からの命令がデータ書込み命令の場
合、HDDインタフェース回路2,3からの実行結果
と、インタフェース制御回路1からのデータ書込み命令
に含まれる開始セクタアドレス及び書込み実行セクタ数
とからセクタ管理情報を生成し、そのセクタ管理情報を
セクタ情報記録部7に記録する。
The sector information recording circuit 8 monitors the instruction / execution result signal lines 101 and 102 between the interface control circuit 1 and the HDD interface circuits 2 and 3, and when the instruction from the interface control circuit 1 is a data write instruction. , Sector interface information is generated from the execution results from the HDD interface circuits 2 and 3, the start sector address and the number of write execution sectors included in the data write command from the interface control circuit 1, and the sector information is recorded as sector information. Record in Part 7.

【0055】HDD選択回路9はインタフェース制御回
路1からデータ読出し命令が実行されるセクタアドレス
情報103と選択開始指示信号106とを受取ると、セ
クタ情報記録部7から読出したセクタ管理情報を基にH
DD4,5の「使用可」または「使用禁止」を判別し、
その判別結果をHDD選択情報112としてインタフェ
ース制御回路1に返送する。
When the HDD selection circuit 9 receives from the interface control circuit 1 the sector address information 103 for executing the data read command and the selection start instruction signal 106, H based on the sector management information read from the sector information recording unit 7.
Determine whether the DD4 or 5 is "available" or "use prohibited",
The determination result is returned to the interface control circuit 1 as HDD selection information 112.

【0056】図2は図1のセクタ情報記録部7の記録内
容を示す図である。図において、メモリアドレス‘10
00’(‘’は16進数であることを示している)はH
DD4のセクタ情報記録用メモリの先頭アドレスを示
し、メモリアドレス‘1000’で指定される8ビット
(ビット7〜ビット0)のデータをHDD4のセクタア
ドレス0〜7各々のセクタ管理情報に割当てている。
FIG. 2 is a diagram showing the recorded contents of the sector information recording section 7 of FIG. In the figure, memory address '10
00 '(''indicates hexadecimal) is H
The 8-bit (bit 7 to bit 0) data designated by the memory address '1000' is assigned to the sector management information of each of the sector addresses 0 to 7 of the HDD 4, which indicates the start address of the sector information recording memory of the DD 4. .

【0057】また、メモリアドレス‘1001’はHD
D4のセクタ情報記録用メモリのアドレスを示し、メモ
リアドレス‘1001’で指定される8ビット(ビット
7〜ビット0)のデータをHDD4のセクタアドレス8
〜15各々のセクタ管理情報に割当てている。
The memory address "1001" is HD
It indicates the address of the sector information recording memory of D4, and the 8-bit data (bit 7 to bit 0) designated by the memory address '1001' is set to the sector address 8 of the HDD 4.
.About.15 assigned to each sector management information.

【0058】一方、メモリアドレス‘A000’はHD
D5のセクタ情報記録用メモリの先頭アドレスを示し、
メモリアドレス‘A000’で指定される8ビット(ビ
ット7〜ビット0)のデータをHDD5のセクタアドレ
ス0〜7各々のセクタ管理情報に割当てている。
On the other hand, the memory address "A000" is HD
D5 shows the start address of the sector information recording memory,
8-bit data (bit 7 to bit 0) designated by the memory address “A000” is assigned to the sector management information of each of the sector addresses 0 to 7 of the HDD 5.

【0059】また、メモリアドレス‘A001’はHD
D5のセクタ情報記録用メモリのアドレスを示し、メモ
リアドレス‘A001’で指定される8ビット(ビット
7〜ビット0)のデータをHDD5のセクタアドレス8
〜15各々のセクタ管理情報に割当てている。
Also, the memory address'A001 'is HD
It indicates the address of the sector information recording memory of D5, and the 8-bit data (bit 7 to bit 0) specified by the memory address'A001 'is stored in the sector address 8 of the HDD 5.
.About.15 assigned to each sector management information.

【0060】ここで、セクタ管理情報が“0”のセクタ
は書込み異常が発生した書込み不良セクタを示し、セク
タ管理情報が“1”のセクタは書込み異常が発生してい
ない正常書込みセクタを示している。図2ではHDD4
のセクタアドレス2,3が書込み不良セクタであること
を示している。
Here, the sector with sector management information "0" indicates a defective write sector in which a write abnormality has occurred, and the sector with sector management information "1" indicates a normal write sector in which no write abnormality has occurred. There is. In FIG. 2, HDD4
It indicates that the sector addresses 2 and 3 are defective write sectors.

【0061】図3は本発明の一実施例によるHDDへの
データの書込み動作を示すタイミングチャートであり、
図4は本発明の一実施例によるHDDからのデータの読
出し動作を示すタイミングチャートである。これら図1
〜図4を用いて本発明の一実施例の動作について説明す
る。
FIG. 3 is a timing chart showing the operation of writing data to the HDD according to the embodiment of the present invention.
FIG. 4 is a timing chart showing a data read operation from the HDD according to the embodiment of the present invention. These Figure 1
The operation of the embodiment of the present invention will be described with reference to FIGS.

【0062】まず、ホストからのデータをHDD4,5
各々に書込む際、この書込みによるHDD4,5各々の
セクタ毎のセクタ管理情報をセクタ情報記録部7に記録
する手順について説明する。
First, data from the host is stored in the HDDs 4, 5
A procedure for recording the sector management information for each sector of the HDDs 4, 5 by this writing in the sector information recording unit 7 when writing to each will be described.

【0063】インタフェース制御回路1は図3の符号a
1のタイミングでホストからのデータ書込み命令を受取
ると、図3の符号a2のタイミングでデータパスセレク
タ6にデータパスコネクト信号114を出力する。
The interface control circuit 1 is designated by reference numeral a in FIG.
When the data write command is received from the host at the timing of 1, the data path connect signal 114 is output to the data path selector 6 at the timing of symbol a2 in FIG.

【0064】データパスセレクタ6は図3の符号a2に
示すデータパスコネクト信号114の“1”のタイミン
グで、データパス111とデータパス109,110と
を夫々接続する。
The data path selector 6 connects the data path 111 and the data paths 109 and 110 at the timing of "1" of the data path connect signal 114 shown by reference numeral a2 in FIG.

【0065】インタフェース制御回路1は図3の符号a
3,a4のタイミングで、命令/実行結果信号線10
1,102を介してHDDインタフェース回路2,3に
データ書込み命令を発行する。
The interface control circuit 1 is designated by reference numeral a in FIG.
The instruction / execution result signal line 10 at the timing of 3, a4
A data write command is issued to the HDD interface circuits 2 and 3 via 1, 102.

【0066】HDDインタフェース回路2,3はHDD
4,5に夫々データ書込み命令を発行する。HDD4,
5は図3の符号a5のタイミングでHDDインタフェー
ス回路2,3を通してホストから送出されてくる書込み
データを、図3の符号a6,a7のタイミングで夫々受
取って書込む。
The HDD interface circuits 2 and 3 are HDDs.
Data write commands are issued to 4 and 5, respectively. HDD4
Reference numeral 5 receives and writes the write data sent from the host through the HDD interface circuits 2 and 3 at the timing a5 in FIG. 3 at the timings a6 and a7 in FIG.

【0067】このHDD4,5におけるデータ書込み命
令の実行結果は図3の符号a8,a9のタイミングで、
HDDインタフェース回路2,3からインタフェース制
御回路1に送られる。
The execution results of the data write command in the HDDs 4 and 5 are at the timings a8 and a9 in FIG.
It is sent from the HDD interface circuits 2 and 3 to the interface control circuit 1.

【0068】セクタ情報記録回路8はインタフェース制
御回路1とHDDインタフェース回路2,3との間の命
令/実行結果信号線101,102上のデータ書込み命
令及びそのデータ書込み命令の実行結果を監視し、デー
タ書込み命令に含まれる開始セクタアドレス及び書込み
実行セクタ数とHDDインタフェース回路2,3からの
実行結果とを取込む。
The sector information recording circuit 8 monitors the data write command on the command / execution result signal lines 101 and 102 between the interface control circuit 1 and the HDD interface circuits 2 and 3 and the execution result of the data write command, The start sector address and the number of write execution sectors included in the data write command and the execution result from the HDD interface circuits 2 and 3 are fetched.

【0069】例えば、ホストからのデータ書込み命令が
HDD4,5各々のセクタアドレス2,3の2つのセク
タに対するもので、図3の符号a8のタイミングで示す
HDD4の実行結果が異常終了を、図3の符号a9のタ
イミングで示すHDD5の実行結果が正常終了を夫々示
す場合について説明する。
For example, the data write command from the host is for two sectors of the sector addresses 2 and 3 of the HDDs 4 and 5, respectively, and the execution result of the HDD 4 indicated by the timing a8 in FIG. 3 indicates abnormal termination. A case will be described in which the execution results of the HDD 5 indicated by the timing of the symbol a9 indicate the normal termination, respectively.

【0070】セクタ情報記録回路8は図3の符号a11
のタイミングで信号・データ線104を通してセクタ情
報記録部7のHDD4の管理に夫々割り当てられたメモ
リアドレス‘1000’の8ビットのデータを一旦読出
す。
The sector information recording circuit 8 is designated by a11 in FIG.
At the timing of, the 8-bit data of the memory address '1000', which is respectively assigned to the management of the HDD 4 of the sector information recording unit 7, is temporarily read through the signal / data line 104.

【0071】セクタ情報記録回路8はHDD4のセクタ
アドレス2,3への書込みが異常終了しているので、セ
クタアドレス2,3のセクタ管理情報に対応するビット
5,4を夫々“0”にする。この後、セクタ情報記録回
路8はその他のビットを変更せずにメモリアドレス‘1
000’に書戻す。
Since the sector information recording circuit 8 has abnormally finished writing to the sector addresses 2 and 3 of the HDD 4, the bits 5 and 4 corresponding to the sector management information of the sector addresses 2 and 3 are set to "0", respectively. . After this, the sector information recording circuit 8 does not change the other bits and the memory address' 1
Write back to 000 '.

【0072】同様に、セクタ情報記録回路8は図3の符
号a11のタイミングで信号・データ線104を通して
セクタ情報記録部7のHDD5の管理に夫々割り当てら
れたメモリアドレス‘A000’の8ビットのデータを
一旦読出す。
Similarly, the sector information recording circuit 8 stores the 8-bit data of the memory address "A000", which is allocated to the management of the HDD 5 of the sector information recording unit 7 through the signal / data line 104 at the timing of a11 in FIG. Is read once.

【0073】セクタ情報記録回路8はHDD5のセクタ
アドレス2,3への書込みが正常終了なので、セクタア
ドレス2,3のセクタ管理情報に対応するビット5,4
を夫々“1”にする。この後、セクタ情報記録回路8は
その他のビットを変更せずにメモリアドレス‘A00
0’に書戻す。
Since the sector information recording circuit 8 has normally completed writing to the sector addresses 2 and 3 of the HDD 5, the bits 5 and 4 corresponding to the sector management information of the sector addresses 2 and 3 are recorded.
To "1" respectively. After that, the sector information recording circuit 8 does not change the other bits, and the memory address'A00
Write back to 0 '.

【0074】この場合、インタフェース制御回路1はH
DD4のセクタアドレス2,3への実行結果が異常終
了、HDD5のセクタアドレス2,3への実行結果が正
常終了なので、図3の符号a10のタイミングでホスト
にセクタアドレス2,3への実行結果が正常終了したこ
とを通知する。
In this case, the interface control circuit 1 outputs H
Since the execution result of the DD4 to the sector addresses 2 and 3 ends abnormally, and the execution result of the HDD 5 to the sector addresses 2 and 3 ends normally, the execution result of the sector addresses 2 and 3 to the host at the timing a10 in FIG. Notifies that the process completed normally.

【0075】尚、ホストへの実行結果の通知は2台のH
DD4,5に対するデータの書込みが共に異常終了した
場合のみ、異常終了が通知されるようになっている。
It should be noted that the notification of the execution result to the host is sent to the two H
The abnormal end is notified only when both of the data writing to the DDs 4 and 5 are abnormally ended.

【0076】このように、ホストからのデータを2台の
HDD4,5に書込む際、セクタ情報記録回路8はセク
タ情報記録部7のHDD4,5及びセクタアドレスによ
って特定されるメモリビットを、正常終了であれば正常
書込みセクタを示す“1”に、異常終了ならば書込み不
良セクタを示す“0”に書換える。
As described above, when writing data from the host to the two HDDs 4 and 5, the sector information recording circuit 8 normally sets the memory bits specified by the HDDs 4 and 5 and the sector address of the sector information recording unit 7 to normal. If it is completed, it is rewritten to "1" indicating a normally written sector, and if abnormally completed, it is rewritten to "0" indicating a badly written sector.

【0077】次に、ホストからのデータ読出し命令を受
取り、セクタ管理情報を参照してHDD4,5各々のう
ち一方を使用してデータをホストに送出する手順につい
て説明する。
Next, the procedure for receiving a data read command from the host and referring to the sector management information to send data to the host using one of the HDDs 4 and 5 will be described.

【0078】インタフェース制御回路1は図4の符号b
1のタイミングでホストからのデータ読出し命令を受取
ると、図4の符号b2のタイミングでホストからのデー
タ読出し命令に含まれる読出し開始セクタアドレス及び
読出し実行セクタ数をアクセスアドレス情報103とし
てHDD選択回路9に送出する。
The interface control circuit 1 is designated by reference numeral b in FIG.
When the data read command from the host is received at the timing of 1, the HDD selection circuit 9 uses the read start sector address and the read execution sector number included in the data read command from the host as the access address information 103 at the timing of symbol b2 in FIG. Send to.

【0079】HDD選択回路9は図4の符号b3のタイ
ミングで送られてくる選択開始指示信号106の“1”
によってセクタ情報記録部7を参照し、HDD選択動作
を開始する。
The HDD selection circuit 9 outputs "1" of the selection start instruction signal 106 sent at the timing of the symbol b3 in FIG.
By referring to the sector information recording unit 7, the HDD selecting operation is started.

【0080】すなわち、HDD選択回路9は選択開始指
示信号106の“1”を検出すると、アクセスアドレス
情報103の読出し開始セクタアドレスを最初のアドレ
スとし、このアドレスにアクセスアドレス情報103の
読出し実行セクタ数を加算し、さらに“1”を減じて得
られる最終アドレスまでのセクタアドレス列についてH
DD4,5のHDD番号及びセクタアドレスにより特定
されるメモリビットをセクタ情報記録部7から読出す。
That is, when the HDD selection circuit 9 detects "1" in the selection start instruction signal 106, the read start sector address of the access address information 103 is set as the first address, and the read execution sector number of the access address information 103 is set at this address. For the sector address string up to the final address obtained by adding 1 and subtracting 1
The memory bits specified by the HDD numbers and sector addresses of DDs 4 and 5 are read from the sector information recording unit 7.

【0081】HDD選択回路9はこのセクタアドレス列
に対応するセクタ管理情報が全て正常書込みを示す
“1”になっているHDDを「使用可」、1箇所でも書
込み不良セクタを示す“0”があるHDDを「使用禁
止」とするHDD選択情報112をインタフェース制御
回路1に通知する。
The HDD selection circuit 9 indicates that the HDD in which the sector management information corresponding to this sector address string is all "1" indicating normal writing is "usable", and "0" indicating defective writing sector even at one location. The interface control circuit 1 is notified of the HDD selection information 112 for prohibiting use of a certain HDD.

【0082】今、図4の符号b1のタイミングでホスト
からのデータ読出し命令が発行され、その開始セクタア
ドレスが「2」で、読出し実行セクタ数が「2」の場
合、HDD選択回路9はセクタ情報記録部7においてH
DD4の管理に割当てられたメモリアドレス‘100
0’のセクタアドレス2,3に相当するビット5,4及
びHDD5の管理に割当てられたメモリアドレス‘A0
00’のセクタアドレス2,3に相当するビット5,4
を夫々検査する。
When a data read command is issued from the host at the timing of reference numeral b1 in FIG. 4, the start sector address is "2", and the read execution sector number is "2", the HDD selection circuit 9 determines the sector. H in the information recording unit 7
Memory address' 100 assigned to management of DD4
Bits 5 and 4 corresponding to sector addresses 2 and 3 of 0'and memory address'A0 assigned to management of HDD 5
Bits 5 and 4 corresponding to sector addresses 2 and 3 of 00 '
Inspect each.

【0083】ここで、HDD4,5のセクタアドレス
2,3のセクタ管理情報が図2に示すような内容の場
合、HDD選択回路9はHDD4のセクタアドレス2,
3が書込み不良セクタであると認識し、HDD4を「使
用禁止」としかつHDD5を「使用可」とするHDD選
択情報112を図4の符号b4のタイミングでインタフ
ェース制御回路1に通知する。
Here, when the sector management information of the sector addresses 2 and 3 of the HDDs 4 and 5 has the contents as shown in FIG. 2, the HDD selection circuit 9 determines the sector addresses 2 and 3 of the HDD 4.
3 is recognized as a defective writing sector, and the HDD selection information 112 for making the HDD 4 “usable” and making the HDD 5 “usable” is notified to the interface control circuit 1 at the timing of the symbol b4 in FIG.

【0084】インタフェース制御回路1はHDD選択回
路9からのHDD選択情報112を受取ると、図4の符
号b6のタイミングでデータパスセレクタ6にデータパ
ス接続クリア信号113を送出する。
When the interface control circuit 1 receives the HDD selection information 112 from the HDD selection circuit 9, it sends a data path connection clear signal 113 to the data path selector 6 at the timing of the reference symbol b6 in FIG.

【0085】データパスセレクタ6はデータパス接続ク
リア信号113が“1”になると、インタフェース制御
回路1からのデータパス111とHDDインタフェース
回路2,3からのデータパス109,110との接続を
切離す。
When the data path connection clear signal 113 becomes "1", the data path selector 6 disconnects the connection between the data path 111 from the interface control circuit 1 and the data paths 109 and 110 from the HDD interface circuits 2 and 3. .

【0086】次に、インタフェース制御回路1はHDD
選択情報112の内容に基づいて図4の符号b8のタイ
ミングでHDDインタフェース回路3及びHDD5にデ
ータ読出し命令を発行する。
Next, the interface control circuit 1 is the HDD
Based on the content of the selection information 112, a data read command is issued to the HDD interface circuit 3 and the HDD 5 at the timing of the symbol b8 in FIG.

【0087】HDDインタフェース回路3はインタフェ
ース制御回路1からのデータ読出し命令をHDD5に発
行し、HDD5で読出しデータの転送準備ができると、
図4の符号b9のタイミングでデータ転送準備完了信号
108をデータパスセレクタ6に送出する。
When the HDD interface circuit 3 issues a data read command from the interface control circuit 1 to the HDD 5 and the HDD 5 is ready to transfer the read data,
The data transfer preparation completion signal 108 is sent to the data path selector 6 at the timing of the symbol b9 in FIG.

【0088】データパスセレクタ6はHDDインタフェ
ース回路3からのデータ転送準備完了信号108が
“1”となったことを検出すると、信号送出元であるH
DDインタフェース回路3からのデータパス110をイ
ンタフェース制御回路1からのデータパス111に接続
する。
When the data path selector 6 detects that the data transfer preparation completion signal 108 from the HDD interface circuit 3 has become "1", it is the signal transmission source H.
The data path 110 from the DD interface circuit 3 is connected to the data path 111 from the interface control circuit 1.

【0089】これによって、HDD5→HDDインタフ
ェース回路3→データパスセレクタ6→インタフェース
制御回路1→ホストというデータパスが確立し、図4の
符号b10のタイミングでホストに読出しデータが送出
される。
As a result, the data path of HDD 5 → HDD interface circuit 3 → data path selector 6 → interface control circuit 1 → host is established, and the read data is sent to the host at the timing of the symbol b10 in FIG.

【0090】HDD5はデータ読出し命令の実行が完了
すると、その実行結果をHDDインタフェース回路3及
び命令/実行結果信号線102を通して図4の符号b1
4のタイミングでインタフェース制御回路1に通知す
る。
When the HDD 5 completes the execution of the data read command, the execution result is passed through the HDD interface circuit 3 and the command / execution result signal line 102 to the symbol b1 in FIG.
The interface control circuit 1 is notified at the timing of 4.

【0091】インタフェース制御回路1は図4の符号b
16のタイミングでHDDインタフェース回路3から受
取ったHDD5の実行結果をホストに通知し、データ読
出し命令の実行を完了する。
The interface control circuit 1 is designated by reference numeral b in FIG.
At a timing of 16, the host is notified of the execution result of the HDD 5 received from the HDD interface circuit 3, and the execution of the data read command is completed.

【0092】このとき、HDD4に対してはデータ読出
しを行おうとするセクタが書込み不良セクタであるた
め、インタフェース制御回路1はHDD4に対するデー
タ読出し命令を発行しない。
At this time, since the sector from which data is read to the HDD 4 is a defective write sector, the interface control circuit 1 does not issue a data read command to the HDD 4.

【0093】次に、ホストからのデータ読出し命令を受
取り、セクタ管理情報を参照してHDD4,5各々のう
ちいずれか早くデータ転送準備が完了した方を使用して
データをホストに送出する手順について説明する。
Next, the procedure for receiving a data read command from the host and referring to the sector management information to send the data to the host using one of the HDDs 4 and 5 whichever is ready for data transfer earlier explain.

【0094】インタフェース制御回路1は図4の符号b
1のタイミングでホストからのデータ読出し命令を受取
ると、図4の符号b2のタイミングでホストからのデー
タ読出し命令に含まれる読出し開始セクタアドレス及び
読出し実行セクタ数をアクセスアドレス情報103とし
てHDD選択回路9に送出する。
The interface control circuit 1 is designated by reference numeral b in FIG.
When the data read command from the host is received at the timing of 1, the HDD selection circuit 9 uses the read start sector address and the read execution sector number included in the data read command from the host as the access address information 103 at the timing of symbol b2 in FIG. Send to.

【0095】HDD選択回路9は図4の符号b3のタイ
ミングで送られてくる選択開始指示信号106の“1”
によってセクタ情報記録部7を参照し、HDD選択動作
を開始する。
The HDD selection circuit 9 sends "1" to the selection start instruction signal 106 sent at the timing indicated by reference sign b3 in FIG.
By referring to the sector information recording unit 7, the HDD selecting operation is started.

【0096】例えば、ホストからのデータ読出し命令に
含まれる読出し開始セクタアドレスが「6」で、読出し
実行セクタ数が「2」の場合、HDD選択回路9はセク
タ情報記録部7においてHDD4の管理に割当てられた
メモリアドレス‘1000’のセクタアドレス6,7に
相当するビット1,0及びHDD5の管理に割当てられ
たメモリアドレス‘A000’のセクタアドレス6,7
に相当するビット1,0を夫々検査する。
For example, when the read start sector address included in the data read command from the host is “6” and the read execution sector number is “2”, the HDD selection circuit 9 controls the HDD 4 in the sector information recording unit 7. Bits 1 and 0 corresponding to the sector addresses 6 and 7 of the allocated memory address “1000” and the sector addresses 6 and 7 of the memory address “A000” allocated to the management of the HDD 5.
Bits 1 and 0 corresponding to are respectively inspected.

【0097】ここで、HDD4,5のセクタアドレス
6,7のセクタ管理情報が図2に示すような内容の場
合、HDD選択回路9はHDD4,5のセクタアドレス
6,7が共に正常書込みセクタであると認識し、HDD
4,5を共に「使用可」とするHDD選択情報112を
図4の符号b4のタイミングでインタフェース制御回路
1に送出する。
Here, when the sector management information of the sector addresses 6 and 7 of the HDDs 4 and 5 has the contents as shown in FIG. 2, the HDD selection circuit 9 determines that both the sector addresses 6 and 7 of the HDDs 4 and 5 are normally written sectors. Recognize that there is, HDD
The HDD selection information 112 that makes both 4 and 5 “usable” is sent to the interface control circuit 1 at the timing of the symbol b4 in FIG.

【0098】インタフェース制御回路1はHDD選択回
路9からのHDD選択情報112を受取ると、図4の符
号b6のタイミングでデータパスセレクタ6にデータパ
ス接続クリア信号113を送出する。
When the interface control circuit 1 receives the HDD selection information 112 from the HDD selection circuit 9, it sends a data path connection clear signal 113 to the data path selector 6 at the timing indicated by reference sign b6 in FIG.

【0099】データパスセレクタ6はデータパス接続ク
リア信号113が“1”になると、インタフェース制御
回路1からのデータパス111とHDDインタフェース
回路2,3からのデータパス109,110との接続を
切離す。
When the data path connection clear signal 113 becomes "1", the data path selector 6 disconnects the data path 111 from the interface control circuit 1 and the data paths 109 and 110 from the HDD interface circuits 2 and 3. .

【0100】次に、インタフェース制御回路1はHDD
選択情報112の内容に基づいて図4の符号b7,b8
のタイミングでHDDインタフェース回路2,3及びH
DD4,5に夫々データ読出し命令を発行する。
Next, the interface control circuit 1 is the HDD
Reference characters b7 and b8 in FIG. 4 are selected based on the contents of the selection information 112.
HDD interface circuits 2, 3 and H at the timing of
A data read command is issued to each of DD4 and DD5.

【0101】HDDインタフェース回路2,3はインタ
フェース制御回路1からのデータ読出し命令をHDD
4,5に発行し、HDD4,5で夫々読出しデータの転
送準備ができると、図4の符号b11,b9のタイミン
グでデータ転送準備完了信号107,108をデータパ
スセレクタ6に送出する。
The HDD interface circuits 2 and 3 send a data read command from the interface control circuit 1 to the HDD.
When the HDDs 4 and 5 are ready to transfer the read data in the HDDs 4 and 5, respectively, the data transfer preparation completion signals 107 and 108 are sent to the data path selector 6 at the timings b11 and b9 in FIG.

【0102】この場合、HDDインタフェース回路2か
らのデータ転送準備完了信号107よりもHDDインタ
フェース回路3からのデータ転送準備完了信号108が
早く入力されるので、データパスセレクタ6はデータ転
送準備完了信号108を送出したHDDインタフェース
回路3からのデータパス110をインタフェース制御回
路1からのデータパス111に接続する。
In this case, since the data transfer preparation completion signal 108 from the HDD interface circuit 3 is input earlier than the data transfer preparation completion signal 107 from the HDD interface circuit 2, the data path selector 6 causes the data transfer preparation completion signal 108. Is transmitted to the data path 110 from the HDD interface circuit 3 to the data path 111 from the interface control circuit 1.

【0103】これによって、HDD5→HDDインタフ
ェース回路3→データパスセレクタ6→インタフェース
制御回路1→ホストというデータパスが確立し、図4の
符号b10のタイミングでホストにHDD5からの読出
しデータが送出される。
As a result, a data path of HDD 5 → HDD interface circuit 3 → data path selector 6 → interface control circuit 1 → host is established, and the read data from the HDD 5 is sent to the host at the timing b10 in FIG. .

【0104】HDD5はデータ読出し命令の実行が完了
すると、その実行結果をHDDインタフェース回路3及
び命令/実行結果信号線102を通して図4の符号b1
4のタイミングでインタフェース制御回路1に通知す
る。
When the HDD 5 completes the execution of the data read instruction, the execution result is passed through the HDD interface circuit 3 and the instruction / execution result signal line 102 to the symbol b1 in FIG.
The interface control circuit 1 is notified at the timing of 4.

【0105】インタフェース制御回路1は図4の符号b
16のタイミングでHDDインタフェース回路3から受
取ったHDD5の実行結果をホストに通知し、データ読
出し命令の実行を完了する。このとき、HDD4から読
出された読出しデータはデータパスセレクタ6にとどま
る。
The interface control circuit 1 is designated by reference numeral b in FIG.
At a timing of 16, the host is notified of the execution result of the HDD 5 received from the HDD interface circuit 3, and the execution of the data read command is completed. At this time, the read data read from the HDD 4 remains in the data path selector 6.

【0106】上述した如く、本発明の一実施例において
はホストからの書込みデータの書込み時に2台のHDD
4,5のうちの一方で書込み不良セクタが発生しても、
書込み不良セクタ以外のセクタを対象とするデータ読出
し命令では2台のHDD4,5に夫々データ読出し命令
を発行する。
As described above, in one embodiment of the present invention, two HDDs are used when writing the write data from the host.
Even if one of four or five defective write sectors occurs,
In a data read command targeting a sector other than the defective write sector, a data read command is issued to each of the two HDDs 4 and 5.

【0107】よって、書込み不良セクタが発生したHD
Dを無条件に使用禁止とせずに、書込み不良セクタ以外
のセクタに対してはデータ読出し命令実行時にいずれか
早くデータ転送可能となったHDDからのデータをホス
トに転送するという本来の機能を働かすことができ、処
理時間の短縮を図ることができる。
Therefore, the HD in which the defective write sector has occurred
Without unconditionally prohibiting the use of D, the original function of transferring the data from the HDD, which is ready for data transfer to the host, to the host other than the defective write sector when the data read command is executed, works. Therefore, the processing time can be shortened.

【0108】このように、ホストからの書込みデータを
2台のHDD4,5に書込んだときに、どちらか一方で
書込み不良セクタが発生してもこの書込み不良セクタが
発生したHDD全体を使用禁止とすることなく、書込み
不良セクタを除くセクタを対象とするデータ読出し命令
に対しては2台のHDD4,5を使用することによっ
て、HDDに書込み不良セクタが発生しても、その書込
み不良セクタ以外のセクタに対してはデータ読出し命令
実行時にいずれか早くデータ転送可能となったHDDか
らのデータをホストに転送することができ、処理時間の
短縮を図ることができる高速なディスク記憶装置を提供
できる。
As described above, when the write data from the host is written to the two HDDs 4 and 5, even if one of the defective write sectors occurs, the entire HDD where the defective write sector occurs is prohibited. By using two HDDs 4 and 5 for a data read command targeting a sector excluding the defective write sector, even if a defective write sector occurs in the HDD, it is not included in the defective write sector. The data from the HDD capable of transferring data to the sector can be transferred to the host at the earliest when the data read command is executed, and a high-speed disk storage device capable of shortening the processing time can be provided. .

【0109】[0109]

【発明の効果】以上説明したように本発明によれば、書
込み命令により同一データが夫々書込まれる第1及び第
2のディスク記憶媒体各々のセクタ毎に書込み命令によ
るデータの書込み結果を保持し、読出し命令実行時にそ
の保持内容を基に読出し命令を発行すべきディスク記憶
媒体を決定することによって、ディスク記憶媒体に書込
み不良セクタが発生しても、その書込み不良セクタ以外
のセクタに対しては読出し命令時にいずれか早くデータ
転送可能となったディスク記憶媒体からのデータをホス
トに転送することができ、処理時間の短縮を図ることが
できるという効果がある。
As described above, according to the present invention, the data write result of the write command is held for each sector of each of the first and second disk storage media in which the same data is written by the write command. By determining the disk storage medium to which the read command should be issued based on the contents held when the read command is executed, even if a bad write sector occurs on the disk storage medium, sectors other than the bad write sector are There is an effect that data from the disk storage medium, which can be transferred earlier at the time of the read command, can be transferred to the host, and the processing time can be shortened.

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

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

【図2】図1のセクタ情報記録部の記録内容を示す図で
ある。
FIG. 2 is a diagram showing recorded contents of a sector information recording section of FIG.

【図3】本発明の一実施例によるHDDへのデータの書
込み動作を示すタイミングチャートである。
FIG. 3 is a timing chart showing the operation of writing data to the HDD according to the embodiment of the present invention.

【図4】本発明の一実施例によるHDDからのデータの
読出し動作を示すタイミングチャートである。
FIG. 4 is a timing chart showing a data read operation from an HDD according to an embodiment of the present invention.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

【図6】図5のHDD情報記録部の記録内容を示す図で
ある。
FIG. 6 is a diagram showing recorded contents of an HDD information recording unit of FIG.

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

1 インタフェース制御回路 2,3 HDDインタフェース回路 4,5 ハードディスクドライブ 6 データパスセレクタ 7 セクタ情報記録部 8 セクタ情報記録回路 9 HDD選択回路 1 Interface Control Circuit 2, 3 HDD Interface Circuit 4, 5 Hard Disk Drive 6 Data Path Selector 7 Sector Information Recording Section 8 Sector Information Recording Circuit 9 HDD Selection Circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 書込み命令により同一データが夫々書込
まれる第1及び第2のディスク記憶媒体を含むディスク
記憶装置であって、前記第1及び第2のディスク記憶媒
体各々のセクタ毎に前記書込み命令によるデータの書込
み結果を保持する保持手段と、読出し命令実行時に前記
保持手段の内容を基に前記読出し命令を発行すべきディ
スク記憶媒体を決定する決定手段とを有することを特徴
とするディスク記憶装置。
1. A disk storage device including first and second disk storage media to which the same data is respectively written by a write command, wherein the writing is performed for each sector of each of the first and second disk storage media. Disk storage comprising holding means for holding a data write result by an instruction and deciding means for deciding a disk storage medium to which the read instruction should be issued based on the contents of the holding means when a read instruction is executed. apparatus.
【請求項2】 前記決定手段は、前記書込み結果が正常
を示すディスク記憶媒体を前記読出し命令を発行すべき
ディスク記憶媒体として決定するよう構成されたことを
特徴とする請求項1記載のディスク記憶装置。
2. The disk storage according to claim 1, wherein the determining unit is configured to determine a disk storage medium showing a normal write result as a disk storage medium to which the read command should be issued. apparatus.
【請求項3】 前記決定手段で前記読出し命令を発行す
べきディスク記憶媒体として決定されたディスク記憶媒
体に前記読出し命令を発行する手段と、前記読出し命令
に応答して前記ディスク媒体から最先に読出されたデー
タを読出しデータとして選択する手段とを有することを
特徴とする請求項1または請求項2記載のディスク記憶
装置。
3. The means for issuing the read command to the disk storage medium determined as the disk storage medium to which the read command is to be issued by the determining means, and the disk medium first in response to the read command. 3. The disk storage device according to claim 1, further comprising means for selecting read data as read data.
JP6123380A 1994-06-06 1994-06-06 Disk storage device Withdrawn JPH07334312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6123380A JPH07334312A (en) 1994-06-06 1994-06-06 Disk storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6123380A JPH07334312A (en) 1994-06-06 1994-06-06 Disk storage device

Publications (1)

Publication Number Publication Date
JPH07334312A true JPH07334312A (en) 1995-12-22

Family

ID=14859154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6123380A Withdrawn JPH07334312A (en) 1994-06-06 1994-06-06 Disk storage device

Country Status (1)

Country Link
JP (1) JPH07334312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599718A (en) * 2014-12-16 2015-05-06 华为技术有限公司 Hard disk processing method and hard disk processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599718A (en) * 2014-12-16 2015-05-06 华为技术有限公司 Hard disk processing method and hard disk processing device

Similar Documents

Publication Publication Date Title
JP4279515B2 (en) Recording / playback device
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
JP2001331377A (en) Processing method for reproduction error, and disk device using the same
US7062682B2 (en) Data recorder and data recording method avoiding data loss due to data transfer error
KR100251950B1 (en) Data storage apparatus
JPH07334312A (en) Disk storage device
US5469546A (en) Method for retrying recording information into a next logical block by sending sense data including address information to host computer and responding to command therefrom
US6603621B1 (en) System and method for storing disk sector information
JPH0519981A (en) Data write normal end judging method for optical disk device
JP3794322B2 (en) Data copy system
JP2004079011A (en) Data reproducing method and data reproducing device
JP3870024B2 (en) Information recording apparatus and information recording method
JP2868003B1 (en) Magnetic disk drive
US6697314B2 (en) Information reproducing apparatus for reproducing information from an information storage medium in which a storage area is divided into physical sectors
EP1797561B1 (en) Host device, medium access device, and data storage system
JPH0660550A (en) Disk device
JPS61283074A (en) Optical system information device
JPH087665B2 (en) Peripheral control device
JP3484707B2 (en) Asynchronous data transfer controller
JPH02236865A (en) Information recording and reproducing device
JPH06290547A (en) High-speed data transferring method
JP2000113569A (en) Disk control device, its method and disk storage medium
JP2001100926A (en) Method of controlling disk array device
JPH08255058A (en) Disk cache controller
JP2000137583A (en) Signal processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010904