JPH1011906A - Magnetic disk apparatus - Google Patents

Magnetic disk apparatus

Info

Publication number
JPH1011906A
JPH1011906A JP8162717A JP16271796A JPH1011906A JP H1011906 A JPH1011906 A JP H1011906A JP 8162717 A JP8162717 A JP 8162717A JP 16271796 A JP16271796 A JP 16271796A JP H1011906 A JPH1011906 A JP H1011906A
Authority
JP
Japan
Prior art keywords
sector
magnetic disk
data
redundant
magnetic
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
JP8162717A
Other languages
Japanese (ja)
Inventor
Shinichi Hirose
伸一 広瀬
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8162717A priority Critical patent/JPH1011906A/en
Publication of JPH1011906A publication Critical patent/JPH1011906A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To correct all data errors including data errors brought about suddenly upon the application of an impact force, etc., in a magnetic disk apparatus. SOLUTION: A used sector allocation table and a redundant sector table to be controlled by a magnetic disk controller 2 are provided. Redundant data and an objective redundant sector on a magnetic disk based on the tables are arranged at physically different positions in a radial and a circumferential directions. Data sectors and redundant data sectors are set so as not to be damaged at the same time even if an excessive impact force is input, etc. Accordingly, all data errors including data errors brought about suddenly can be corrected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記憶装置等に用い
る磁気ディスク装置に関する。
The present invention relates to a magnetic disk drive used for a storage device or the like.

【0002】[0002]

【従来の技術】磁気ディスク装置のデータ損失を防ぐた
め、まず製造メーカが磁気ディスク上の全使用領域につ
いて検査し、かつエラーが発生する位置を出荷前に登録
しておき、ユーザの使用開始当初はエラーがゼロとなる
ようにする。
2. Description of the Related Art In order to prevent data loss in a magnetic disk drive, a manufacturer first inspects the entire use area on a magnetic disk, and registers the position where an error occurs before shipment, so that the user can start using the apparatus at the beginning of use. Makes the error zero.

【0003】しかしながらユーザが使用するにつれてあ
る確率でエラーが発生する。一般的にはデータの読み込
み時にエラーが発生すると、リトライ動作やエラー修正
データ(ECC)によってデータエラーを修復させるよ
うに試みる。さらには、特開平07−065313号公
報に記載のように、磁気ヘッドスライダのシフトを行っ
たり、隣接トラックのセクタを消去することによって当
該セクタの周囲からの磁気的な影響を無くしてエラーを
修復させるなどの方法もとられる。また、磁気ディスク
の上位コンピュータの設定などによっては、データ書込
動作時に正しくデータが書き込まれたかどうかをチェッ
クするベリファイ動作を実施し、書込当初には読み込み
エラーがないことを確認する。
However, an error occurs with a certain probability as the user uses it. Generally, when an error occurs when reading data, an attempt is made to repair the data error by a retry operation or error correction data (ECC). Further, as described in Japanese Patent Application Laid-Open No. 07-065313, an error is corrected by shifting the magnetic head slider or erasing a sector on an adjacent track to eliminate magnetic influence from around the sector. You can take a method such as Also, depending on the settings of the host computer of the magnetic disk, a verify operation is performed to check whether data has been correctly written during the data write operation, and it is confirmed that there is no read error at the beginning of the write.

【0004】エラーが検出された場合、当該セクタは使
用不適当として欠陥追加登録し、交替セクタに自動的に
データを移動させる方法もとられる。
[0004] When an error is detected, the sector concerned is registered as an improper use and a defect is additionally registered, and data is automatically moved to a replacement sector.

【0005】[0005]

【発明が解決しようとする課題】上記磁気ディスク装置
は、突然発生するエラーの修復、特に磁気ディスク装置
への過大な衝撃力入力によるエラーについては、該エラ
ーが物理的に数シリンダ、数セクタにわたる大きさであ
り、エラー修正データも含めて凹んでしまうため、アレ
イディスクシステム以外の単独で用いられる磁気ディス
ク装置では、エラー修正は不可能であった。
In the above-mentioned magnetic disk drive, an error that occurs suddenly is repaired. In particular, when an error is caused by an excessive impact force input to the magnetic disk drive, the error physically extends over several cylinders and several sectors. Since the size is large and the data including the error correction data is depressed, error correction cannot be performed by a magnetic disk device used alone other than the array disk system.

【0006】本発明の目的は、突然発生するエラーを含
めたデータエラーの修復が可能な磁気ディスク装置を提
供することにある。
An object of the present invention is to provide a magnetic disk drive capable of repairing a data error including a sudden error.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに、磁気ディスクコントローラが管理する使用セクタ
アロケーションテーブルと冗長セクタテーブルを磁気デ
ィスクコントローラボードのメモリに設け、書き込まれ
たデータに対して磁気ディスク上に冗長データを用意
し、基本ソフトから要求されたデータがエラーの場合冗
長データを用いてエラーを修復するものである。
In order to achieve the above object, a used sector allocation table and a redundant sector table managed by a magnetic disk controller are provided in a memory of a magnetic disk controller board, and magnetic data is written to written data. Redundant data is prepared on a disk, and if data requested by the basic software is an error, the error is repaired using the redundant data.

【0008】磁気ディスクコントローラが管理する使用
セクタアロケーションテーブルと冗長セクタテーブルを
メモリに設けた場合、未使用領域が減少してきたら本来
の磁気ディスク装置容量を確保するために冗長データを
消去し、未使用領域が再び増加したときに新たに使用セ
クタアロケーションテーブルと冗長セクタテーブルおよ
び冗長データを作成することにより従来と同じ記憶容量
が確保できる。一方、磁気ディスク上の未使用領域に使
用セクタアロケーションテーブルと冗長セクタテーブル
を設けた場合、未使用領域が減少してきたら本来の磁気
ディスク装置容量を確保するために使用セクタアロケー
ションテーブルと冗長セクタテーブルと冗長データを部
分的に消去し、未使用領域が再び増加したときに新たに
使用セクタアロケーションテーブルと冗長セクタテーブ
ルおよび冗長データを作成することにより従来と同じ記
憶容量が確保できる。
When the used sector allocation table and the redundant sector table managed by the magnetic disk controller are provided in the memory, when the unused area decreases, the redundant data is erased to secure the original capacity of the magnetic disk drive, and the unused data is deleted. By newly creating a used sector allocation table, a redundant sector table, and redundant data when the area increases again, the same storage capacity as in the related art can be secured. On the other hand, when the unused sector on the magnetic disk is provided with the used sector allocation table and the redundant sector table, when the unused region decreases, the used sector allocation table and the redundant sector table are used to secure the original magnetic disk device capacity. By partially erasing the redundant data and newly creating the used sector allocation table, the redundant sector table and the redundant data when the unused area increases again, the same storage capacity as before can be secured.

【0009】また、使用セクタアロケーションテーブル
と冗長セクタテーブルあるいは冗長データを特定のディ
スク領域に設けた場合、磁気ディスク使用領域の割合に
無関係となり、常に冗長性を持った磁気ディスク装置と
することが出来る。
Further, when the used sector allocation table and the redundant sector table or the redundant data are provided in a specific disk area, the magnetic disk apparatus always has redundancy regardless of the ratio of the used area of the magnetic disk. .

【0010】[0010]

【発明の実施の形態】以下、本発明の実施例を図面を用
いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0011】(実施例)本発明の一実施例の構成図を図
1に示す。
(Embodiment) FIG. 1 shows the configuration of an embodiment of the present invention.

【0012】磁気ディスク装置は磁気ディスクコントロ
ーラボード2とヘッドディスクアセンブリ5(以下HD
Aと記す)で構成され、磁気ディスクコントローラボー
ドとパーソナルコンピュータ1(以下PCと記す)とが
接続される。磁気ディスクコントローラボードには位置
決め機構の制御を行ったり磁気ヘッドからのアナログ信
号をデジタルデータに変換するための磁気ディスクコン
トローラ(以下HDCと記す)と、使用セクタアロケー
ションテーブル(以下USATと記す)と、冗長セクタ
テーブル(以下ECSTと記す)で構成される。HDA
(5)は、磁気ディスク6と磁気ヘッドスライダ7と磁
気ヘッドスライダの位置決め機構8で構成される。磁気
ディスク上の記録セクタは、冗長データのための冗長セ
クタ9とデータ用のデータセクタ10で構成される。
The magnetic disk drive comprises a magnetic disk controller board 2 and a head disk assembly 5 (hereinafter referred to as HD).
A), and a magnetic disk controller board and a personal computer 1 (hereinafter, referred to as PC) are connected. A magnetic disk controller board (hereinafter referred to as HDC) for controlling a positioning mechanism or converting an analog signal from a magnetic head into digital data, a used sector allocation table (hereinafter referred to as USAT), It is composed of a redundant sector table (hereinafter referred to as ECST). HDA
(5) comprises a magnetic disk 6, a magnetic head slider 7, and a magnetic head slider positioning mechanism 8. The recording sector on the magnetic disk is composed of a redundant sector 9 for redundant data and a data sector 10 for data.

【0013】PC電源スイッチが入ると磁気ディスク装
置への電源供給が開始され、HDCボード内に設けられ
たICが作動し始めるとともに、HDAに設けられたス
ピンドルモータが回転する。磁気ディスク装置の起動時
には、サーボ系の調整など位置決め機構系の初期化と、
HDCボードに設けられたUSAT用およびECST用
不揮発性メモリ3、4内の情報がHDCに準備され、磁
気ディスク装置の起動処理が完了する。PCからデータ
書き込みの命令をHDCが受け取ると、まずHDCに従
ってデータセクタにデータを書き込み、その後冗長セク
タに冗長データを書き込む。
When the PC power switch is turned on, power supply to the magnetic disk drive is started, the IC provided in the HDC board starts operating, and the spindle motor provided in the HDA rotates. At the start of the magnetic disk drive, initialization of the positioning mechanism system such as servo system adjustment,
The information in the USAT and ECST nonvolatile memories 3 and 4 provided on the HDC board is prepared in the HDC, and the start-up processing of the magnetic disk device is completed. When the HDC receives a data write command from the PC, it first writes data to a data sector according to the HDC, and then writes redundant data to a redundant sector.

【0014】データを書き込む場合のフローチャートを
図2に示す。
FIG. 2 shows a flowchart for writing data.

【0015】例えば、マイクロソフト社の基本ソフトで
あるMS−DOSを使ってPCを動作させる場合につい
て以下説明する。
For example, a case in which a PC is operated using MS-DOS, which is basic software of Microsoft Corporation, will be described below.

【0016】磁気ディスク装置における冗長セクタおよ
び冗長対象セクタの位置関係を図3に示す。
FIG. 3 shows the positional relationship between the redundant sector and the redundant target sector in the magnetic disk drive.

【0017】図3においては、ディスクがD#1A〜3
Bまでの6面(16〜21)使用され、磁気ヘッドスラ
イダが各々のディスク面に対応してH#0〜5までの6
個使用されている場合を示している。従来は磁気ディス
ク装置内で空いている領域を検索し、MS−DOSが管
理するファイルアロケーションテーブル(以下FATと
記す)にデータの書込位置を登録し、データを当該位置
に書き込む。ここでは、図3のセクタB(12)に書き
込んだものとする。通常は正しくデータが書き込まれた
かどうかをチェックせず、これで書込処理が終わる。本
発明では、この書き込み処理終了後、磁気ディスク装置
へのPCからのデータ入出力命令がないときに、書き込
んだディスク面と磁気ヘッドスライダおよびその位置す
なわちシリンダ番号とセクタ位置をFATから求め、こ
れをHDCが管理するUSATに登録する。
In FIG. 3, the disks are D # 1A-3
B, six surfaces (16-21) are used, and the magnetic head sliders correspond to the six surfaces H # 0-5 corresponding to the respective disk surfaces.
It shows the case where the number is used. Conventionally, a vacant area is searched in a magnetic disk device, a data write position is registered in a file allocation table (hereinafter, referred to as FAT) managed by MS-DOS, and data is written to the position. Here, it is assumed that data has been written to the sector B (12) in FIG. Normally, it is not checked whether or not data has been written correctly, and the writing process ends with this. According to the present invention, after the writing process is completed, when there is no data input / output command from the PC to the magnetic disk device, the written disk surface and the magnetic head slider and their positions, that is, the cylinder number and the sector position are obtained from the FAT. Is registered in USAT managed by HDC.

【0018】セクタ番号の付け方と冗長除外セクタの例
を図4に示す。
FIG. 4 shows an example of sector numbering and redundancy exclusion sectors.

【0019】図4ではD#1A面(17)の例を示す。
セクタ番号はシリンダ0のある位置から回転方向に従っ
て順に番号を付け、1シリンダ終了したら次の内周側の
シリンダに移って同様に番号を付ける。B面の場合は物
理的に回転方向が対象であり、図3とは逆に左から右に
向かってセクタ番号を付ける。セクタ#2N−2の冗長
除外領域22を例にとると、磁気ヘッドスライダと同一
の大きさの領域内に含まれるセクタを冗長除外セクタと
し、#0、1、N−2、N、N+1、2N−1、2N、
2N+1、3N−2、3N−1の11セクタが対象とな
る。セクタ番号の付け方を#0の位置を同じ周位置とし
て他のディスク面でも同様に付ければ、他のディスク5
面(16、18〜21)における冗長除外領域は上記1
1セクタに#2N−2を加えた12セクタとなる。
FIG. 4 shows an example of the D # 1A plane (17).
The sector numbers are sequentially numbered from a certain position of the cylinder 0 according to the rotation direction, and when one cylinder is completed, the next inner cylinder is moved to the next cylinder and similarly numbered. In the case of the surface B, the rotation direction is physically targeted, and the sector numbers are assigned from left to right, contrary to FIG. Taking the redundancy exclusion area 22 of the sector # 2N-2 as an example, the sectors included in the area of the same size as the magnetic head slider are set as the redundancy exclusion sectors, and # 0, 1, N-2, N, N + 1, 2N-1, 2N,
The target is 11 sectors of 2N + 1, 3N-2, and 3N-1. If the sector numbers are assigned in the same manner on other disk surfaces with the position of # 0 being the same circumferential position, other disks 5
The redundant exclusion area on the plane (16, 18 to 21) is 1
This is 12 sectors, which is obtained by adding # 2N-2 to one sector.

【0020】USATの例を、表1に示す。Table 1 shows an example of USAT.

【0021】[0021]

【表1】 [Table 1]

【0022】次に、磁気ディスク上に書き込まれたUS
ATから図2に示すセクタB交替除外領域以外の位置を
冗長セクタD(14)とし、セクタA(11)、B(1
2)、C(13)の冗長データをセクタDに書き込み、
続いてHDCが管理するECSTに登録する。
Next, the US written on the magnetic disk
A position other than the sector B replacement exclusion area shown in FIG. 2 from the AT is defined as a redundant sector D (14), and sectors A (11) and B (1
2) Write the redundant data of C (13) to sector D,
Then, it registers with ECST which HDC manages.

【0023】冗長セクタテーブルの例を表2に示す。例
えば、セクタAを5−2000、セクタBを3−423
1、セクタCを3−5800とすると、USATおよび
ECSTは表1および表2のように登録される。
Table 2 shows an example of the redundant sector table. For example, 5-2000 for sector A and 3-423 for sector B
1. Assuming that sector C is 3-5800, USAT and ECST are registered as shown in Tables 1 and 2.

【0024】[0024]

【表2】 [Table 2]

【0025】HDCボード上に設けられたUSAT用メ
モリとECST用メモリは、不揮発性メモリが望ましい
が、揮発性のメモリを使用した場合、USATとECS
Tは磁気ディスク上の未使用領域に一時的に書き込ま
れ、PC電源を入れた直後の磁気ディスク装置初期化時
に磁気ディスク上からメモり内に読み込み、データの磁
気ディスクへの書き込みあるいは消去が行われる度にメ
モり内と磁気ディスク上の一時的なUSATとECST
が更新される。磁気ディスク上のUSATとECSTは
それぞれ一つのファイルとして書き込まれ、それぞれの
FATがデータ用のFATに追加される。このファイル
形式のUSATおよびECSTデータは、PCから認識
可能でも不可能でもどちらでもよい。
The USAT memory and the ECST memory provided on the HDC board are preferably non-volatile memories. However, when a volatile memory is used, the USAT and ECS
T is temporarily written to an unused area on the magnetic disk, and is read into the memory from the magnetic disk when the magnetic disk device is initialized immediately after the PC is turned on, and data is written to or erased from the magnetic disk. Temporary USAT and ECST in memory and on magnetic disk each time
Is updated. The USAT and ECST on the magnetic disk are each written as one file, and each FAT is added to the data FAT. The USAT and ECST data in this file format may or may not be recognizable from the PC.

【0026】PCあるいは基本ソフト(OS)上で、書
き込みのあとデータが正しく書き込まれたどうかをチェ
ックするよう設定されている場合、書込に成功したとき
は上記の通りである。一方、書込に失敗し、自動交替セ
クタが設定されている場合は別の交替セクタにデータを
書き込む。この交替セクタの位置をセクタBの物理的な
位置として管理すれば、やはり上記の通りの動作で行え
る。
When it is set on the PC or the basic software (OS) to check whether the data has been correctly written after writing, if the writing is successful, it is as described above. On the other hand, if the writing fails and an automatic replacement sector is set, data is written to another replacement sector. If the position of the replacement sector is managed as the physical position of the sector B, the operation can be performed as described above.

【0027】セクタBの交替除外領域は、セクタBに磁
気ヘッドスライダが存在する領域以外の物理的な場所
で、冗長セクタDはセクタAおよびセクタCの交替除外
領域でもある。もしセクタBの書込位置がセクタAある
いはC、Dの交替除外領域に重なった場合、MS−DO
Sに従っていったんセクタBを書き込んだあと、磁気デ
ィスク装置へのPCからのデータ入出力命令がないとき
にHDCがセクタBをセクタAおよびセクタC、Dの交
替除外領域と重ならない位置に書きかえ、その後冗長セ
クタDに冗長データを書込み、USATとECSTを登
録する。あるいは、セクタBはセクタA、Cとは組合せ
不適当としてHDCが処理し、別のセクタと組み合わせ
て冗長性を保つべく、他のセクタデータと組み合わせた
冗長データを他の冗長セクタに書き込むとともにUSA
TとECSTを登録する。このように必ず冗長セクタ
(D)と冗長対象セクタ(A、B、C)とは、お互いに
お互いの交替除外領域外に存在するようにする。こうす
ることにより磁気ディスクに過大な衝撃力が加わり、磁
気ヘッドスライダがディスク面を叩くことによって打痕
が発生し、物理的に同一半径、同一角度の位置のディス
ク面が凹んでデータエラーとなっても、セクタA、B、
C、Dが物理的に異なる位置関係に存在するのため同時
に2箇所以上エラーとなることは現実的に皆無で、磁気
ディスク装置への衝撃力入力によるデータエラーを10
0%修復できる。
The replacement exclusion area of the sector B is a physical location other than the area where the magnetic head slider exists in the sector B, and the redundant sector D is also the replacement exclusion area of the sector A and the sector C. If the write position of sector B overlaps the replacement exclusion area of sector A or C or D, MS-DO
After writing the sector B once according to S, the HDC rewrites the sector B to a position that does not overlap with the replacement exclusion area of the sector A and the sectors C and D when there is no data input / output command from the PC to the magnetic disk device. Thereafter, the redundant data is written in the redundant sector D, and the USAT and ECST are registered. Alternatively, the sector B is processed by the HDC as being inappropriate for combination with the sectors A and C, and redundant data combined with other sector data is written to another redundant sector to maintain redundancy by combining with another sector, and the USA is used.
Register T and ECST. In this way, the redundant sector (D) and the redundant target sectors (A, B, C) are always located outside the replacement exclusion area. As a result, an excessive impact force is applied to the magnetic disk, and a dent is generated when the magnetic head slider hits the disk surface. The disk surface at the same radius and the same angle is physically recessed, resulting in a data error. But sectors A, B,
Since C and D are physically different from each other, there is practically no error at two or more locations at the same time.
0% can be repaired.

【0028】冗長セクタと冗長対象セクタの位置が複数
のディスク面に存在する例を述べたが、冗長セクタと冗
長対象セクタが同一面内に存在しても効果は同じであ
る。
Although an example has been described in which the positions of the redundant sector and the redundant target sector exist on a plurality of disk surfaces, the same effect can be obtained even if the redundant sector and the redundant target sector exist on the same surface.

【0029】リードエラーの修復法のフローチャートを
図5に示す。
FIG. 5 shows a flowchart of a read error repair method.

【0030】セクタBでリードエラーが発生した場合、
従来のエラー修復法、例えばエラーコレクションコード
(ECC)あるいはリトライを実施してもエラーが修復
できない場合、ECSTによりセクタBの冗長セクタD
および冗長対象セクタA、C、Dを求める。セクタA、
C、Dのデータを読み込み、読み込んだデータからセク
タBのデータを逆算して求める。すなわち、従来の修復
法で修復できなかったデータを100%修復できる。
When a read error occurs in sector B,
If the error cannot be repaired by a conventional error repair method such as an error correction code (ECC) or a retry, the redundant sector D of the sector B is read by the ECST.
And the redundancy target sectors A, C, and D are obtained. Sector A,
The data of C and D are read, and the data of sector B is calculated back from the read data. That is, 100% of data that cannot be repaired by the conventional repair method can be repaired.

【0031】修復データをPC(ホスト)に転送した後
セクタBの交替場所を計算し、当該交替セクタEにセク
タBのデータを書き込む。次にセクタBを不良セクタと
して欠陥登録し、FATがMS−DOS(基本ソフト)
によって書換えられる。同時に、ECSTをセクタA、
B、Cの組合せが冗長セクタDという情報をセクタA、
C、Eが冗長セクタDという情報に変更する。一方、U
SATからセクタBの位置情報を消去する。
After transferring the repair data to the PC (host), the replacement location of the sector B is calculated, and the data of the sector B is written to the replacement sector E. Next, a defect is registered with sector B as a bad sector, and the FAT is MS-DOS (basic software).
Rewritten by At the same time, set ECST to sector A,
The information that the combination of B and C is redundant sector D
C and E are changed to information of redundant sector D. On the other hand, U
The position information of the sector B is deleted from the SAT.

【0032】HDCボード内にUSATおよびECST
用メモリを設ける場合を述べたが、USATとECST
も冗長セクタと同様にディスク未使用領域あるいはあら
かじめ確保された特定の場所に設けることが可能であ
り、この時はHDCボード内にUSAT用およびECS
T用メモりは必要無くなる。
USAT and ECST in HDC board
USAT and ECST
Similarly to the redundant sector, it can be provided in an unused area of the disk or in a specific place reserved in advance. At this time, the USC and ECS are provided in the HDC board.
The memory for T is no longer needed.

【0033】特別な場合として、HDCボード内に不揮
発性メモリを設けていない場合は、磁気ディスク上に存
在するUSATあるいはECSTの領域がデータ破壊さ
れることが考えられ、HDCによってUSATあるいは
ECSTの領域を別の場所に移動する。すなわち、HD
Cボード内に揮発性メモリを設けている場合はメモり内
容を単純に別の場所に移動し、ディスク未使用領域ある
いは特定の場所に設けている場合、USATはFATか
ら新たに作成し、ECSTはUSATをもとに新たに作
成し、それぞれ別の場所に確保する。さらに、破壊され
た場所は欠陥追加登録を実施する。
As a special case, when a non-volatile memory is not provided in the HDC board, data in a USAT or ECST area existing on the magnetic disk may be destroyed. To another location. That is, HD
If volatile memory is provided in the C board, the memory contents are simply moved to another location, and if provided in a disk unused area or a specific location, USAT creates a new FAT from FAT, Will be newly created based on USAT and secured in different places. In addition, the defect location is subjected to additional defect registration.

【0034】データ使用量が増えた場合は、冗長セクタ
あるいはUSATとECSTを徐々にMS−DOS管理
領域としてディスク面を解放して行く。逆に、書き込ま
れているデータ容量が減ってきた場合、再度HDCが管
理する冗長領域として使用する。この時、以前の冗長セ
クタあるいはUSATとECSTは一部または全て消去
されているので、再度必要に応じて冗長セクタおよび冗
長対象セクタの組み合わせを作成し、冗長処理を実行す
る。
When the data usage increases, the disk surface is gradually released using the redundant sector or USAT and ECST as an MS-DOS management area. Conversely, when the amount of written data decreases, the data is used again as a redundant area managed by the HDC. At this time, since the previous redundant sector or USAT and ECST have been partially or completely erased, a combination of the redundant sector and the redundant target sector is created again as necessary, and the redundancy process is executed.

【0035】なるべく冗長性を保つために冗長セクタに
対するセクタ数を上記で述べた3個以上に設定すること
が考えられるし、処理速度を向上させるために冗長セク
タに対するセクタ数を1個、すなわちあるセクタのデー
タを冗長セクタとして別のセクタにも書き込む方法も考
えられる。
It is conceivable to set the number of sectors for the redundant sector to three or more as described above in order to maintain the redundancy as much as possible. In order to improve the processing speed, the number of sectors for the redundant sector is one, that is, one. A method of writing data of a sector as a redundant sector in another sector is also conceivable.

【0036】基本ソフトとしてMS−DOSを使用して
いる場合を説明したが、他の基本ソフトでも同様にデー
タ管理されており、USATとECSTによって冗長性
を保つことが可能である。
Although the case where MS-DOS is used as the basic software has been described, the data is similarly managed by other basic software, and redundancy can be maintained by USAT and ECST.

【0037】初めから冗長セクタ領域として常に磁気デ
ィスク面上に確保し、ユーザつまりPCに解放しないこ
とも考えられ、冗長対象セクタ数を十分に大きく取るこ
とにより磁気ディスク容量をそれほど減らすことなく常
に冗長性を持った磁気ディスク装置とすることも出来
る。
It is also conceivable that a redundant sector area is always secured on the magnetic disk surface from the beginning and is not released to the user, that is, the PC. It is also possible to use a magnetic disk device having the property.

【0038】また、単独で用いる磁気ディスク装置の例
を述べたが、複数の磁気ディスク装置を組み合わせて本
発明を実施することも可能である。
Although the example of the magnetic disk device used alone has been described, the present invention can be implemented by combining a plurality of magnetic disk devices.

【0039】[0039]

【発明の効果】本発明によれば、磁気ディスクコントロ
ーラが管理する使用セクタアロケーションテーブルと冗
長セクタテーブルを基にした冗長データを用意すること
により、突然発生するデータエラーに対して、エラーを
ほぼ100%修復出来る。
According to the present invention, by preparing redundant data based on the used sector allocation table and the redundant sector table managed by the magnetic disk controller, almost 100 errors can be prevented against sudden data errors. % Can be repaired.

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

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

【図2】本発明のデータ書込みフローチャートの説明図
である。
FIG. 2 is an explanatory diagram of a data write flowchart according to the present invention.

【図3】本発明の冗長セクタおよび冗長対象セクタ位置
関係の説明図である。
FIG. 3 is an explanatory diagram of a positional relationship between a redundant sector and a redundant target sector according to the present invention.

【図4】本発明のセクタ番号および冗長除外セクタ位置
関係の説明図である。
FIG. 4 is an explanatory diagram of a sector number and a redundant exclusion sector position relationship according to the present invention.

【図5】本発明の読込エラー修復法の説明図である。FIG. 5 is an explanatory diagram of a reading error repair method according to the present invention.

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

1…パーソナルコンピュータ、 2…磁気ディスクコ
ントローラボード、3…使用セクタアロケーションテー
ブル、 4…冗長セクタテーブル、5…ヘッドディ
スクアセンブリ、 6…磁気ディスク、7
…磁気ヘッドスライダ、 8…位置決め機構、9
…冗長セクタ、 10…データセクタ、1
1…セクタA、 11’…セクタAのD
#1Aへの投影位置、12…セクタB、
12’…セクタBのD#1Aへの投影位置、13…セ
クタC、 13’…セクタCのD#1A
への投影位置、14…セクタD、 15
…セクタBの冗長除外領域、16…D#1B(H#
0)、 17…D#1A(H#1)、18…D#2
B(H#2)、 19…D#2A(H#3)、20
…D#3B(H#4)、 21…D#3A(H#
5)、22…冗長除外領域。
DESCRIPTION OF SYMBOLS 1 ... Personal computer, 2 ... Magnetic disk controller board, 3 ... Used sector allocation table, 4 ... Redundant sector table, 5 ... Head disk assembly, 6 ... Magnetic disk, 7
... magnetic head slider, 8 ... positioning mechanism, 9
... redundant sector, 10 ... data sector, 1
1 ... Sector A, 11 '... Sector A D
# 1A projection position, 12 ... Sector B,
12 ': Projection position of sector B on D # 1A, 13 ... Sector C, 13': D # 1A of sector C
Projection position to 14, sector D, 15
... redundancy exclusion area of sector B, 16 ... D # 1B (H #
0), 17 ... D # 1A (H # 1), 18 ... D # 2
B (H # 2), 19 ... D # 2A (H # 3), 20
... D # 3B (H # 4), 21 ... D # 3A (H #
5), 22 ... redundancy exclusion area.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G11B 20/18 572 G11B 20/18 572B 572F ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical display location G11B 20/18 572 G11B 20/18 572B 572F

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】磁気ディスクと磁気ヘッドスライダと、磁
気ヘッドスライダを位置決めする位置決め機構と、位置
決め機構などの制御を行う磁気ディスクコントローラで
構成され、データの損失を防ぐために磁気ディスクコン
トローラが管理する使用セクタアロケーションテーブル
と冗長セクタテーブルを磁気ディスクコントローラボー
ドのメモリに設け、該テーブルに基づいた磁気ディスク
上の冗長データを用いてデータ修復を行えることを特徴
とする磁気ディスク装置。
1. A magnetic disk, a magnetic head slider, a positioning mechanism for positioning the magnetic head slider, and a magnetic disk controller for controlling the positioning mechanism and the like, wherein the magnetic disk controller manages the data to prevent data loss. A magnetic disk drive wherein a sector allocation table and a redundant sector table are provided in a memory of a magnetic disk controller board, and data can be restored using redundant data on a magnetic disk based on the tables.
【請求項2】データセクタと冗長セクタとを、各々のセ
クタを読み書きしている時の磁気ヘッドスライダ位置お
よび他の磁気ディスク面への該磁気ヘッドスライダの投
影位置と、相互に重ならないような位置関係に配置する
ことを特徴とする請求項1の磁気ディスク装置。
2. A data sector and a redundant sector are arranged so that the position of the magnetic head slider when reading and writing each sector and the position of projection of the magnetic head slider on another magnetic disk surface do not overlap each other. 2. The magnetic disk drive according to claim 1, wherein the magnetic disk drives are arranged in a positional relationship.
【請求項3】磁気ディスク上の未使用領域あるいはあら
かじめ確保した領域に磁気ディスクコントローラが管理
する使用セクタアロケーションテーブルと冗長セクタテ
ーブルを設けたことを特徴とする請求項1の磁気ディス
ク装置。
3. The magnetic disk drive according to claim 1, wherein a used sector allocation table and a redundant sector table managed by the magnetic disk controller are provided in an unused area or an area secured in advance on the magnetic disk.
JP8162717A 1996-06-24 1996-06-24 Magnetic disk apparatus Pending JPH1011906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8162717A JPH1011906A (en) 1996-06-24 1996-06-24 Magnetic disk apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8162717A JPH1011906A (en) 1996-06-24 1996-06-24 Magnetic disk apparatus

Publications (1)

Publication Number Publication Date
JPH1011906A true JPH1011906A (en) 1998-01-16

Family

ID=15759957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8162717A Pending JPH1011906A (en) 1996-06-24 1996-06-24 Magnetic disk apparatus

Country Status (1)

Country Link
JP (1) JPH1011906A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004075175A1 (en) * 2003-02-19 2004-09-02 Fujitsu Limited Magnetic disk apparatus, its access control method, and recording medium
JP2009230846A (en) * 2008-03-20 2009-10-08 Toshiba Corp Low track per inch (tpi) zone, in which necessity of adjacent track erasure (ate) refreshing is reduced
US9043639B2 (en) 2004-11-05 2015-05-26 Drobo, Inc. Dynamically expandable and contractible fault-tolerant storage system with virtual hot spare

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004075175A1 (en) * 2003-02-19 2004-09-02 Fujitsu Limited Magnetic disk apparatus, its access control method, and recording medium
US9043639B2 (en) 2004-11-05 2015-05-26 Drobo, Inc. Dynamically expandable and contractible fault-tolerant storage system with virtual hot spare
JP2009230846A (en) * 2008-03-20 2009-10-08 Toshiba Corp Low track per inch (tpi) zone, in which necessity of adjacent track erasure (ate) refreshing is reduced

Similar Documents

Publication Publication Date Title
JP3310060B2 (en) Storage device and control program rewriting method for the same
US5812512A (en) Data reproducing apparatus which prohibits illegitimate access to data using an internal ID
US8433977B1 (en) Storage device implementing data path protection by encoding large host blocks into sub blocks
JP3219988B2 (en) Disk device having security function and password management method in the device
JPS636628A (en) Information recording control system
US20110072232A1 (en) Disk drive including a host interface supporting different sizes of data sectors and method for writing data thereto
JP2000149463A (en) Disk drive device, error recovery processing method of disk drive device, and disk drive controller
US5537652A (en) Data file directory system and method for writing data file directory information
US5422871A (en) Method and apparatus for producing an optical disk having a read-only area and a rewritable area
JP4959630B2 (en) Data storage
JPH08255432A (en) Recording/reproducing apparatus and alternate processing method
WO2005024825A1 (en) Magneto-optical disc device and method for writing data on magneto-optical disc
JP3268547B2 (en) Method and apparatus for detecting an error in defined information recorded in a direct access storage device using an error correction code
CN112420080B (en) Magnetic disk device
JPH1011906A (en) Magnetic disk apparatus
US7149160B2 (en) Recording and playing back device with error correction
JP2001118343A (en) Magnetic disk device
US20080010504A1 (en) Method and apparatus for storing data in a disk drive with nonvolatile memory
US6603621B1 (en) System and method for storing disk sector information
US7725666B2 (en) Micro-journaling of data on a storage device
JP2007122831A (en) Storage device, control method, and program
JPH04245072A (en) Disk device with data management information area on medium
JPH10161881A (en) Data recording and reproducing device capable of downloading of control program
JP2005107676A (en) Array controller and disk array rebuilding method
JP2823172B2 (en) Rewriteable phase change optical storage system