JPH04114368A - Alternate processing method for fixed disk device - Google Patents

Alternate processing method for fixed disk device

Info

Publication number
JPH04114368A
JPH04114368A JP23675890A JP23675890A JPH04114368A JP H04114368 A JPH04114368 A JP H04114368A JP 23675890 A JP23675890 A JP 23675890A JP 23675890 A JP23675890 A JP 23675890A JP H04114368 A JPH04114368 A JP H04114368A
Authority
JP
Japan
Prior art keywords
sector
recording
area
data
head
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
JP23675890A
Other languages
Japanese (ja)
Inventor
Shigeyoshi Asai
浅井 栄美
Fumihiko Matsumura
文彦 松村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP23675890A priority Critical patent/JPH04114368A/en
Publication of JPH04114368A publication Critical patent/JPH04114368A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten rotation latency time by performing recording and reproduction on a sector in an alternate area nearest to a defective sector by switching a head to the alternate area when a defect occurs in the sector in a user area. CONSTITUTION:A CPU 3 records data on the null area of the user area A in a fixed disk 1 by controlling the head 2 via a recording and reproducing mechanism 6, and after that, reproduces recording data and stores it in a RAM 5. When abnormality is detected in reproduced data, the head is switched, and the recording is performed on the alternate area nearest to the sector that fails in the recording, thereby, it is possible to shorten the rotation latency time when the defect occurs in the sector in the write with verification of one sector.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータの外部記憶装置等に利用される
固定ディスク装置の交代処理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a replacement processing method for a fixed disk device used as an external storage device of a computer or the like.

従来の技術 一般に、固定ディスク装置等の記録媒体は、記録エリア
が同心円状のトラックにより構成され、このトラックが
円周方向に複数のセクタに分割されている。固定ディス
クは、複数のディスク状媒体を同一回転軸上に重ね合わ
せたもので、各媒体面上に記録再生を行なうヘッドが対
向している。
2. Description of the Related Art In general, a recording medium such as a fixed disk device has a recording area composed of concentric tracks, and the tracks are divided into a plurality of sectors in the circumferential direction. A fixed disk is made up of a plurality of disk-shaped media stacked on the same rotating shaft, and a head for recording and reproducing information faces each medium surface.

記録再生を行なう時は、同一のシリンダ(回転軸から等
距離に位置するすべてのトラックの集合)上の1トラツ
クの記録再生が終了するとヘッドを切り替えて次のトラ
ックを記録再生するというようにシリンダ単位で記録再
生を行なっている。
When recording and reproducing, when the recording and reproducing of one track on the same cylinder (a collection of all tracks located at the same distance from the rotation axis) is completed, the head is switched and the next track is recorded and reproduced. Recording and playback is performed in units.

この種の記録媒体は、製造上の欠陥や使用上に発生する
欠陥等により記録再生が不可能なセクタが生じてしまう
ため、ユーザがデータを直接書き込むユーザエリアにデ
ータが正しく記録されなかった場合を考慮して、ユーザ
エリアの他に同一データが再度記録される交代エリアを
有し、このような書き込み機能をベリファイ付きライト
機能という。このユーザエリアと交代エリアはそれぞれ
記録媒体によって予め固定しである。
With this type of recording medium, there are sectors that cannot be recorded or played back due to manufacturing defects or defects that occur during use, so if data is not recorded correctly in the user area where the user directly writes data. In consideration of this, in addition to the user area, there is an alternate area in which the same data is recorded again. Such a write function is called a write function with verify. The user area and alternate area are fixed in advance depending on the recording medium.

従来の固定ディスク装置のベリファイ付きライト処理は
、記録媒体のユーザエリアの空き領域にデータを記録し
、その直後のデータを再生するときにアドレスを検出で
きるか否か、また再生したデータのECC(誤り訂正符
号)の異常を検出することができるか否かにより、ベリ
ファイを実行する。その結果ユーザエリアにデータが正
しく記録できなかった場合は、ヘッドを交代エリアに切
り替えて、交代エリアの先頭セクタから順番に空きセク
タを探し、そのセクタに同一データを記録した後、再生
してベリファイし、交代エリアに正しく記録されたこと
を羅認する。正しく記録されなかった場合には、交代エ
リアの空きエリアがある限り、上言己ベリファイ付きラ
イト処理を実行する。
Write processing with verification in conventional fixed disk devices records data in a free space in the user area of a recording medium, and checks whether or not the address can be detected when reproducing the data immediately after that, and whether the ECC (ECC) of the reproduced data is detected. Verification is performed depending on whether an abnormality in the error correction code (error correction code) can be detected. As a result, if data cannot be recorded correctly in the user area, switch the head to the alternate area, search for empty sectors in order from the first sector of the alternate area, record the same data in that sector, play it back, and verify. and confirms that it has been correctly recorded in the substitution area. If the data is not recorded correctly, write processing with self-verification is executed as long as there is a free area in the replacement area.

このような交代処理方法により、記録媒体が製造上の欠
陥や使用上に発生した欠陥によって不良セクタが発生し
ても、データの記録再生を正しく行なうことができる。
With such a replacement processing method, even if a defective sector occurs in the recording medium due to a manufacturing defect or a defect occurring during use, data can be recorded and reproduced correctly.

発明が解決しようとする課題 しかしながら、上記従来の交代処理方法では、例えば1
セクタのベリファイ付きライトを行ない、正しく記録が
できない場合には交代エリアにヘッドを切り替えて、先
頭セクタから空きセクタを探してライトを行なうため、
回転待ち時間が生ずるという問題があった。また、連続
ベリファイ付きライトまたはリードの最後のセクタに欠
陥が生じた場合にも同様な問題があった。
Problems to be Solved by the Invention However, in the above conventional replacement processing method, for example, 1
Write with sector verification is performed, and if recording cannot be performed correctly, the head is switched to the alternate area and the write is performed by searching for an empty sector from the first sector.
There was a problem in that rotation waiting time occurred. Further, a similar problem occurs when a defect occurs in the last sector of continuous write or read with verification.

例えば第4図に示すように、ユーザエリアAにおける第
Oヘッドのセクタ0が記録不可能のセクタであった場合
は、媒体が回転しているので、交代エリアBにおけるセ
クタ0のデータを記録再生するには1回転の回転待ちが
生じてしまう。
For example, as shown in FIG. 4, if sector 0 of the O-th head in user area A is a non-recordable sector, the data in sector 0 in replacement area B will be recorded and reproduced because the medium is rotating. In order to do so, there will be a wait for one rotation.

本発明は、このような従来の問題を解決するものであり
、回転待ち時間を最小限に短縮することのできる固定デ
ィスク装置の交代処理方法を提供することを目的とする
SUMMARY OF THE INVENTION The present invention is intended to solve these conventional problems, and aims to provide a replacement processing method for fixed disk drives that can reduce rotational waiting time to a minimum.

課題を解決するための手段 本発明は、上記目的を達成するために、ベリファイ付き
ライト処理を行ない、正しく記録ができなかった場合は
交代エリアにヘッドを切り替えて、欠陥セクタアドレス
+αのアドレスを持つセクタ(α≧1)以降の空きセク
タに同一データを記録再生するようにしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention performs write processing with verify, and if the recording cannot be performed correctly, the head is switched to a replacement area, and the head is switched to a replacement area to have an address of the defective sector address + α. The same data is recorded and reproduced in empty sectors after the sector (α≧1).

ここで、αはトラックスキューやプログラムの処理時間
に相当するセクタ数である。
Here, α is the number of sectors corresponding to track skew and program processing time.

作用 したがって、本発明によれば、1セクタのベリファイ付
きライトおよび連続ベリファイ付きライトまたはリード
処理において、ユーザエリアにセクタの欠陥があったと
きには、交代エリアにヘッドを切り替えて欠陥セクタか
ら最も近い交代エリアのセクタに記録再生するため、従
来までの無駄な回転待ち時間を最小限に短縮することが
できるという効果を有する。
Therefore, according to the present invention, when there is a sector defect in the user area in one-sector verified write and continuous verified write or read processing, the head is switched to the replacement area and the replacement area closest to the defective sector is Since recording and reproduction are performed in the same sector, the conventional system has the advantage that the wasteful rotation waiting time can be reduced to a minimum.

実施例 以下、図面を参照して本発明の一実施例を説明する。第
1図は本発明に関わる固定ディスク装置の概略ブロック
図、第2図は固定ディスクの1シリンダの展開図を示す
Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram of a fixed disk device according to the present invention, and FIG. 2 is a developed view of one cylinder of the fixed disk.

第1図において、1は固定ディスクであり、複数枚のデ
ィスク状媒体を単一の回転軸上に同軸的に重ね合わせた
ものである。各媒体の記録エリアは、同心円状のトラッ
クより構成され、そのトラックが円周方向に複数のセク
タに分割されており、第2図に示すように、ユーザがデ
ータを書き込むユーザエリアへの他に、このユーザエリ
アAに正しくデータが記録されなかった場合に同一デー
タが再度記録される交代エリアBを有する。
In FIG. 1, reference numeral 1 denotes a fixed disk, in which a plurality of disk-shaped media are coaxially stacked on a single rotating shaft. The recording area of each medium is composed of concentric tracks, which are divided into a plurality of sectors in the circumferential direction. , has a replacement area B in which the same data is recorded again if data is not correctly recorded in the user area A.

2は固定ディスク1に対してデータの記録や再生を行な
うヘッドであり、各媒体面上の同一シリンダ上に各ヘッ
ドが対向して配置され、全体として半径方向に駆動され
る。3はデータの記録や再生を制御するCPUである。
Reference numeral 2 denotes a head for recording and reproducing data on the fixed disk 1. Each head is disposed facing each other on the same cylinder on each medium surface, and is driven in the radial direction as a whole. 3 is a CPU that controls data recording and reproduction.

4はCPU3の実行プログラムが格納されているROM
であり、5は記録再生データが一時的に格納されるエリ
アおよびその他CPU3の作業エリア等を有するRAM
である。6は記録再生ヘッド2およびこのヘッド2を移
動する機構ならびに媒体を回転する機構等を有する記録
再生機構である。
4 is a ROM in which the execution program of CPU 3 is stored.
5 is a RAM having an area where recording/reproduction data is temporarily stored and other work areas for the CPU 3.
It is. Reference numeral 6 denotes a recording/reproducing mechanism having a recording/reproducing head 2, a mechanism for moving the head 2, a mechanism for rotating the medium, and the like.

次に上記実施例の動作について説明する。CPU3は、
記録再生機構6を通じてヘッド2を制御することにより
、データを固定ディスク1のユーザエリアAの空きエリ
アに記録し、その後記録データを再生してRAM5に格
納する。再生したデータをFCC(誤り訂正符号)にか
けて、異常を検出したか否かによりベリファイを行なう
。記録データに異常か無い場合には正しく記録できたと
して動作を正常に終了する。
Next, the operation of the above embodiment will be explained. CPU3 is
By controlling the head 2 through the recording/reproducing mechanism 6, data is recorded in a free area of the user area A of the fixed disk 1, and then the recorded data is reproduced and stored in the RAM 5. The reproduced data is subjected to an FCC (error correction code) and verified depending on whether an abnormality is detected. If there is no abnormality in the recorded data, it is assumed that the recording was performed correctly and the operation is normally terminated.

異常を検出した場合、例えば第3図に示すように、ユー
ザエリアAの第1ヘツドがセクタ4で記録に失敗すると
、交代エリアBの第mヘッドに切り替えて、記録に失敗
したセクタ4のデータaをセクタ4に最も近い交代エリ
アBにおけるセクタ5(記録に失敗したセクタ+α以降
)に記録する。同様に、第3ヘツドのセクタ1で記録に
失敗した場合は、そのデータbを交代エリアBのセクタ
2に記録する。
If an abnormality is detected, for example, as shown in Figure 3, if the first head in user area A fails to record in sector 4, the mth head in replacement area B will switch to the mth head in replacement area B and record the data in sector 4 where recording failed. a is recorded in sector 5 (after the sector where recording failed +α) in replacement area B that is closest to sector 4. Similarly, if recording fails in sector 1 of the third head, data b is recorded in sector 2 of alternate area B.

このように、上記実施例によれば、1セクタのベリファ
イ付きライトにおけるあるセクタが欠陥の時に、および
連続ヘリファイ付きライトまたはリードの最後のセクタ
が欠陥の時に、回転待ち時間を最も短くすることができ
るという利点を有する。
As described above, according to the above embodiment, it is possible to minimize the rotational wait time when a certain sector in one sector write with verify is defective, and when the last sector of continuous write or read with verify is defective. It has the advantage of being able to

発明の詳細 な説明したように、本発明は、正しく記録されなかった
データを交代エリアの欠陥が発生したセクタ+αまたは
それ以降の空きセクタに記録することにより、1トラツ
クのベリファイ付きライトおよび連続ベリファイ付きラ
イトまたはリードにおける回転待ち時間を短縮すること
ができるという効果を有する。
As described in detail, the present invention enables one-track write with verification and continuous verification by recording incorrectly recorded data in the defective sector+α of the replacement area or in the empty sector after that. This has the effect of shortening the rotational waiting time when writing or reading data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係わる固定ディスク装置の概略ブロッ
ク図、第2図は固定ディスクの1シリンダの展開図、第
3図は本発明の交代処理方法を説明するための1シリン
ダの展開図、第4図は従来の交代処理方法を説明するた
めの1シリンダの展開図である。 1・・・固定ディスク、2・・・ヘッド、3・・・CP
U。 4・・・ROM、5・・・RAM、6・・・記録再生機
構、A・・・ユーザエリア、B・・・交代エリア、a、
b・・・データ。 代理人の氏名 弁理士小鍜治 明ほか2名第1図 第 囚 第 3 図
FIG. 1 is a schematic block diagram of a fixed disk device according to the present invention, FIG. 2 is a developed view of one cylinder of the fixed disk, and FIG. 3 is a developed view of one cylinder for explaining the replacement processing method of the present invention. FIG. 4 is a developed view of one cylinder for explaining the conventional replacement processing method. 1... Fixed disk, 2... Head, 3... CP
U. 4...ROM, 5...RAM, 6...recording and reproducing mechanism, A...user area, B...alternative area, a.
b...Data. Name of agent Patent attorney Akira Okaji and two others Figure 1 Prisoner Figure 3

Claims (1)

【特許請求の範囲】[Claims] 記録媒体のユーザエリアにデータを記録した直後、記録
されたデータが正しく再生されない場合に記録媒体の交
代エリアに同一データを記録する際、欠陥セクタアドレ
スに少なくともヘッドの切り換え時間とプログラム処理
時間相当のセクタ数を足したセクタアドレスの交代エリ
アのセクタに同一データを記録するようにした固定ディ
スク装置の交代処理方法。
Immediately after data is recorded in the user area of a recording medium, if the recorded data is not reproduced correctly and the same data is recorded in a replacement area of the recording medium, the defective sector address must be at least equivalent to the head switching time and program processing time. A replacement processing method for a fixed disk device in which the same data is recorded in a sector in a replacement area of a sector address that is the sum of the number of sectors.
JP23675890A 1990-09-05 1990-09-05 Alternate processing method for fixed disk device Pending JPH04114368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23675890A JPH04114368A (en) 1990-09-05 1990-09-05 Alternate processing method for fixed disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23675890A JPH04114368A (en) 1990-09-05 1990-09-05 Alternate processing method for fixed disk device

Publications (1)

Publication Number Publication Date
JPH04114368A true JPH04114368A (en) 1992-04-15

Family

ID=17005359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23675890A Pending JPH04114368A (en) 1990-09-05 1990-09-05 Alternate processing method for fixed disk device

Country Status (1)

Country Link
JP (1) JPH04114368A (en)

Similar Documents

Publication Publication Date Title
US6950900B1 (en) Method and apparatus for migrating data having a format of a first type to a format of a second type
JPH05127839A (en) Method and apparatus for regenerating data in redundant arrays of plurality of disk drives including disk drive wherein error has occurred
US6189110B1 (en) Disk device and data reassignment method
JP2574258B2 (en) Alternation recording method
US6493160B1 (en) Pseudo raid implementation within a single disk drive
JPH052830A (en) Recording and reproducing device and recording and reproducing method in recording and reproducing device
JPH076002A (en) Method for replacement treatment in information recording and playback device
JPH03142760A (en) Information recording and reproducing device
US6941488B2 (en) Retrieval of a single complete copy from multiple stored copies of information
JPH04216369A (en) Information recording and reproducing device
JPH06111479A (en) Information recording and reproducing device
EP0437202B1 (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JP3590390B2 (en) Self-mirroring method in disk storage device and disk storage device to which the method is applied
JPH04372776A (en) Medium exchange type magnetic disk device
JPH04114368A (en) Alternate processing method for fixed disk device
US8027120B2 (en) Magnetic tape device and data recording method
JPH04114371A (en) Sector managing method
JP3053095B2 (en) Recording medium and information recording / reproducing device
JPS6238794B2 (en)
JPS63316371A (en) Write once type storage device
JP2616097B2 (en) Information recording / reproducing device
JP2595316B2 (en) Alternate assignment processing method
JP2000099279A (en) Data duplexing method
JPH0258768A (en) Disk controller
JPH0334163A (en) Optical disk device