JPH06282384A - Disk drive control system - Google Patents

Disk drive control system

Info

Publication number
JPH06282384A
JPH06282384A JP5067234A JP6723493A JPH06282384A JP H06282384 A JPH06282384 A JP H06282384A JP 5067234 A JP5067234 A JP 5067234A JP 6723493 A JP6723493 A JP 6723493A JP H06282384 A JPH06282384 A JP H06282384A
Authority
JP
Japan
Prior art keywords
disk drive
data
drive medium
error
error occurrence
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
JP5067234A
Other languages
Japanese (ja)
Inventor
Tadanori Nakano
只則 中野
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP5067234A priority Critical patent/JPH06282384A/en
Publication of JPH06282384A publication Critical patent/JPH06282384A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the disk drive control system which restores data in an error occurrence position at the time of data read from a disk drive medium even in the case that a defect in the error occurrence position on the disk drive medium is made graver by the secular change or the like. CONSTITUTION:A disk drive 1 which has a cache memory 4 between a system host 2 and a disk drive medium 3 to transfer data is provided with a flash memory 5 where data in the error occurrent position at the time of data write to the disk drive medium 3 is stored, and data in the error occurrence position is read out from the flash memory 5 when data is read out from the disk drive medium 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストシステムとディ
スクドライブ媒体との間のデータ転送を制御するディス
クドライブの制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk drive control system for controlling data transfer between a host system and a disk drive medium.

【0002】[0002]

【従来の技術】通常、ディスクドライブは、メモリを介
してディスクドライブ媒体とホストシステムとの間でデ
ータ転送を行なう。そして、ディスクドライブ媒体に対
するデータ書き込み時に、ライトエラーが発生した時
に、このエラー発生箇所のデータをリトライ処理で救
う。
2. Description of the Related Art Normally, a disk drive transfers data between a disk drive medium and a host system via a memory. When a write error occurs at the time of writing data to the disk drive medium, the data at the error location is saved by the retry process.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
場合においては、エラー発生箇所の欠陥が当初微小であ
るため、エラー発生箇所のデータをリトライ処理で救う
ことができても、その欠陥が経年変化などにより大きく
なると、エラー発生箇所のデータをリトライ処理しても
救えなくなる。従って、ディスクドライブ媒体からのデ
ータ読み出し時にエラー発生箇所のデータを復旧させる
ことができなくなるという不具合があった。
However, in the conventional case, since the defect at the error occurrence point is initially small, even if the data at the error occurrence point can be saved by the retry process, the defect changes over time. If it becomes larger due to such reasons, it becomes impossible to save even if the data at the error location is retried. Therefore, when reading data from the disk drive medium, it is impossible to recover the data at the location where the error occurred.

【0004】本発明は、上記した事情に着目してなされ
たものであり、その目的とするところは、ディスクドラ
イブ媒体上に生じたエラー発生箇所の欠陥が経年変化な
どにより大きくなっても、ディスクドライブ媒体からの
データ読み出し時にエラー発生箇所のデータを復旧させ
ることができるディスクドライブの制御方式を提供する
ことにある。
The present invention has been made by paying attention to the above-mentioned circumstances, and an object of the present invention is to make a disk even if a defect at an error occurrence place on a disk drive medium becomes large due to aging. An object of the present invention is to provide a disk drive control method capable of recovering data at an error occurrence point when data is read from a drive medium.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、ホストシステムとディスクドライブ媒体
との間にメモリを介してデータ転送を行なうディスクド
ライブに、前記ディスクドライブ媒体に対するデータ書
き込み時のエラー発生箇所のデータを格納するフラッシ
ュメモリを設け、前記ディスクドライブ媒体に対するデ
ータ読み出し時に、前記エラー発生箇所のデータを前記
フラッシュメモリから読み出す制御を行なうことを特徴
とする。
In order to achieve the above object, the present invention provides a disk drive that transfers data between a host system and a disk drive medium via a memory, and writes data to the disk drive medium. A flash memory for storing the data of the error occurrence point is provided, and when the data is read from the disk drive medium, the data of the error occurrence point is controlled to be read from the flash memory.

【0006】[0006]

【作用】本発明によるディスクドライブの制御方式であ
れば、ディスクドライブ媒体に対するデータ書き込み時
にライトエラーが生じると、エラー発生箇所のデータが
フラッシュメモリに格納される一方、ディスクドライブ
媒体に対するデータ読み出し時にフラッシュメモリから
エラー発生箇所のデータを読み出す制御が行なわれるの
で、ディスクドライブ媒体上に生じたエラー発生箇所の
欠陥が経年変化などにより大きくなっても、ディスクド
ライブ媒体からのデータ読み出し時にエラー発生箇所の
データを復旧させることができる。
According to the disk drive control method of the present invention, when a write error occurs when writing data to the disk drive medium, the data at the error location is stored in the flash memory, while the flash data is read when reading data from the disk drive medium. Since the data at the error occurrence point is controlled to be read from the memory, even if the defect at the error occurrence point on the disk drive medium becomes large due to aging, etc., the data at the error occurrence point will be read when the data is read from the disk drive medium. Can be restored.

【0007】[0007]

【実施例】図1は、本発明のディスクドライブの制御方
式が適用された一実施例のシステム構成の要部概略を示
す機能ブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a functional block diagram showing an outline of main parts of a system configuration of an embodiment to which a disk drive control system of the present invention is applied.

【0008】この一実施例においても、ディスクドライ
ブ1は、ホストシステム2とディスクドライブ媒体3と
の間にキャッシュメモリ4を介してデータ転送を行なえ
るようにしている。そのため、通常はホストシステム2
からアドレス指定されてディスクドライブ1まで送られ
てきたデータをキャッシュメモリ4に書き込み後読み出
してディスクドライブ媒体3に書き込むことにより、ホ
ストシステム2からのデータがディスクドライブ媒体3
に格納される。
Also in this embodiment, the disk drive 1 can transfer data between the host system 2 and the disk drive medium 3 via the cache memory 4. Therefore, normally, the host system 2
The data sent from the host system 2 to the disk drive medium 3 is written by writing the data sent from the disk drive 1 addressed to the disk drive 1 to the cache memory 4 and then reading the data from the disk drive medium 3.
Stored in.

【0009】しかし、ディスクドライブ媒体3に対する
データ書き込み時にライトエラーが発生し、このエラー
発生箇所の欠陥が大きいために、エラー発生箇所のデー
タをリトライ処理しても救えなくなった場合に、ホスト
システム2とディスクドライブ媒体3との間にキャッシ
ュメモリ4が介在されるだけのシステム構成であれば、
ディスクドライブ媒体3からのデータ読み出し時にエラ
ー発生箇所のデータを復旧させることができない。
However, when a write error occurs at the time of writing data to the disk drive medium 3 and the defect at the error occurrence point is large, and the data at the error occurrence point cannot be saved even by retry processing, the host system 2 If the system configuration is such that the cache memory 4 is only interposed between the disk drive medium 3 and
When reading data from the disk drive medium 3, the data at the location where the error occurred cannot be recovered.

【0010】そこで本実施例では、ディスクドライブ1
に、ディスクドライブ媒体3へのデータ書き込み時のエ
ラー発生箇所のデータを格納するためにフラッシュメモ
リ5を設ける一方、ディスクドライブ媒体3には、デー
タ書き込み時のエラー発生箇所毎に、このエラー発生箇
所をデータ読み出し時に監視するためのフラグ手段とし
て、各ブロック60 〜6n 毎の管理情報部7にアドレス
部8とともにエラーフラグ9を持たせ、各ブロック60
〜6n 毎にエラーフラグ9によってもデータ部10を管
理できるようにしている。
Therefore, in this embodiment, the disk drive 1
In addition, the flash memory 5 is provided to store the data of the error occurrence point at the time of writing the data to the disk drive medium 3, while the disk drive medium 3 has the error occurrence point at each error occurrence point at the data writing time. As a flag means for monitoring the data read time, the management information section 7 of each of the blocks 6 0 to 6 n has an address section 8 and an error flag 9 so that each block 6 0
The data section 10 can be managed by the error flag 9 every 6 n .

【0011】従って、本実施例においては、ディスクド
ライブ媒体3へのデータ書き込み時に、ライトエラーが
生じる欠陥(リトライ処理が可能又は不可能な欠陥)が
例えばブロック60 にある場合、ブロック60 にデータ
を書き込むと同時にフラッシュメモリ5にデータと管理
情報を書き込む処理が実行される。また、ブロック60
の管理情報7のエラーフラグ9を立てる処理が同時に実
行される。
Accordingly, in this embodiment, when data is written to the disk drive media 3, if the defect write error occurs (retry process is enabled or disabled defect) is for example the block 6 0, the block 6 0 At the same time as writing the data, the process of writing the data and the management information in the flash memory 5 is executed. In addition, block 6 0
The process of setting the error flag 9 of the management information 7 of 7 is simultaneously executed.

【0012】このように、ディスクドライブ媒体3とフ
ラッシュメモリ5とに同時にデータを書き込むことによ
り、ディスクドライブ媒体3に異常が発生してもデータ
を失うことがなくなる。
As described above, by simultaneously writing data in the disk drive medium 3 and the flash memory 5, even if an abnormality occurs in the disk drive medium 3, the data will not be lost.

【0013】以降、エラーフラグ9を常に監視し、エラ
ーフラグ9が立っているアドレス部8にデータを書き込
む場合、必ずフラッシュメモリ5内のデータを更新する
処理が実行される。
After that, when the error flag 9 is constantly monitored and the data is written in the address portion 8 in which the error flag 9 is set, the processing for updating the data in the flash memory 5 is always executed.

【0014】次に、ディスクドライブ1からホストシス
テム2へのデータを転送する場合、ディスクドライブ媒
体3に対するデータ読み出し処理が実行される。このデ
ータ読み出しが例えばブロック60 に対しなされる時、
エラーフラグ9の常時監視がなされているので、エラー
フラグ9が立っていれば、フラッシュメモリ5からホス
トシステム2へデータが転送される。また、管理情報部
7が読み出せない場合は、フラッシュメモリ5内の管理
情報を確認し、ホストシステム2が要求したアドレスと
フラッシュメモリ5内のアドレスが一致すれば、ホスト
システム2へその一致をみたアドレスのデータ(エラー
発生箇所のデータがフラッシュメモリ5からホストシス
テム2へ転送される。
Next, when data is transferred from the disk drive 1 to the host system 2, a data read process for the disk drive medium 3 is executed. When this data read is made to for example block 6 0,
Since the error flag 9 is constantly monitored, if the error flag 9 is set, data is transferred from the flash memory 5 to the host system 2. If the management information section 7 cannot be read, the management information in the flash memory 5 is checked, and if the address requested by the host system 2 and the address in the flash memory 5 match, the match is sent to the host system 2. Data at the viewed address (data at the location where the error occurred is transferred from the flash memory 5 to the host system 2).

【0015】このようにフラッシュメモリ5は、ライト
エラーが発生した際のエラー発生箇所のデータ格納用と
して使用されるので、本発明が適用されたディスクドラ
イブ1はデータの書き込み及び読み出しに対する信頼性
が極めて高いものとなる。また、フラッシュメモリ5に
は、エラー発生状況が記憶されるので、ホストシステム
2からフラッシュメモリ5内の情報を直接読み込むこと
により、ホストシステム2側においてエラーが生じた経
過を確認できるという利点がある。
As described above, since the flash memory 5 is used for storing data at an error occurrence point when a write error occurs, the disk drive 1 to which the present invention is applied is reliable in writing and reading data. It will be extremely expensive. Further, since the error occurrence status is stored in the flash memory 5, there is an advantage that the host system 2 side can confirm the progress of the error by directly reading the information in the flash memory 5 from the host system 2. .

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、デ
ィスクドライブ媒体に対するデータ書き込み時にライト
エラーが発生すると、エラー発生箇所の欠陥がリトライ
処理が可能または不可能にかかわらずエラー発生箇所の
データをフラッシュメモリに書き込み、またディスクド
ライブ媒体に対するデータ読み出し時にエラー発生箇所
のデータを読み出してホストシステムへ転送することに
なるので、エラー発生箇所の欠陥が経年変化されること
に全く影響を受けることなくディスクドライブを使用す
ることができる。従って、ディスクドライブに対する信
頼性が著しく向上されることになる。
As described above, according to the present invention, when a write error occurs at the time of writing data to the disk drive medium, the data at the error occurrence point is irrespective of whether the defect at the error occurrence point is retryable or not. Is written to the flash memory, and when the data is read from the disk drive medium, the data at the error occurrence point is read and transferred to the host system, so there is no effect that defects at the error occurrence point change over time. A disk drive can be used. Therefore, the reliability of the disk drive is significantly improved.

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

【図1】本発明のディスクドライブの制御方式が適用さ
れた一実施例のシステム構成の要部概略を示す機能ブロ
ック図である。
FIG. 1 is a functional block diagram showing an outline of a main part of a system configuration of an embodiment to which a disk drive control system of the present invention is applied.

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

1 ディスクドライブ 2 ホストシステム 3 ディスクドライブ媒体 4 キャッシュメモリ 5 フラッシュメモリ 60 〜6n フラッシュメモリの各ブロック 7 管理情報部 8 アドレス部 9 エラーフラグ 10 データ部1 disk drive 2 host system 3 disk drive medium 4 cache memory 5 flash memory 6 0 to 6 n each block of flash memory 7 management information part 8 address part 9 error flag 10 data part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホストシステムとディスクドライブ媒体
との間にメモリを介してデータ転送を行なうディスクド
ライブに、前記ディスクドライブ媒体に対するデータ書
き込み時のエラー発生箇所のデータを格納するフラッシ
ュメモリを設け、 前記ディスクドライブ媒体に対するデータ読み出し時
に、前記エラー発生箇所のデータを前記フラッシュメモ
リから読み出す制御を行なうことを特徴とするディスク
ドライブの制御方式。
1. A disk drive that transfers data between a host system and a disk drive medium via a memory is provided with a flash memory for storing data at an error occurrence point when data is written to the disk drive medium, A control method for a disk drive, wherein when the data is read from a disk drive medium, the data at the error occurrence location is controlled to be read from the flash memory.
JP5067234A 1993-03-26 1993-03-26 Disk drive control system Pending JPH06282384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5067234A JPH06282384A (en) 1993-03-26 1993-03-26 Disk drive control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5067234A JPH06282384A (en) 1993-03-26 1993-03-26 Disk drive control system

Publications (1)

Publication Number Publication Date
JPH06282384A true JPH06282384A (en) 1994-10-07

Family

ID=13339028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5067234A Pending JPH06282384A (en) 1993-03-26 1993-03-26 Disk drive control system

Country Status (1)

Country Link
JP (1) JPH06282384A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330641B1 (en) 1998-05-19 2001-12-11 Nec Corporation Method and apparatus for controlling magnetic disk device
US7477477B2 (en) 2006-12-15 2009-01-13 Kabushiki Kaisha Toshiba Hard disk drive and command execution method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330641B1 (en) 1998-05-19 2001-12-11 Nec Corporation Method and apparatus for controlling magnetic disk device
US7477477B2 (en) 2006-12-15 2009-01-13 Kabushiki Kaisha Toshiba Hard disk drive and command execution method

Similar Documents

Publication Publication Date Title
JPH0743676B2 (en) Back-up data dump control method and device
JPH02297770A (en) Optical disk device
US6931485B2 (en) Disk array apparatus
US20040133741A1 (en) Disk array apparatus and data writing method used in the disk array apparatus
JPH06282384A (en) Disk drive control system
JPH05250274A (en) Disk cache device
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JP3845239B2 (en) Disk array device and failure recovery method in disk array device
JPH1145105A (en) Backup system for data for cnc device
JPH0793101A (en) Data backup device
JPH06348600A (en) Disk cache device
JPH1040022A (en) Magnetic disk controller
JP2972365B2 (en) Access control method for magnetic tape storage
JPS6269314A (en) Controller for double writing on disk
JPH01130243A (en) Fault recovering system for storage device
JP2002215336A (en) Memory control method, and memory sub-system
JP2656499B2 (en) Computer system
JPS62194557A (en) File trouble recovery system
JPH06175793A (en) Optical disk device
JPH0667815A (en) Automatic rewriting device for record
JPH05158796A (en) Disk cache device
JPS63204346A (en) Method for deciding effective data of duplicated data memory device
JPH01296461A (en) Magnetic disk device
JPH0713867A (en) Disk subsystem
JP2000215621A (en) Magnetic disk control apparatus with data protect function and method for protecting data of magnetic disk apparatus