JPS6246468A - Disk memory device - Google Patents

Disk memory device

Info

Publication number
JPS6246468A
JPS6246468A JP18425785A JP18425785A JPS6246468A JP S6246468 A JPS6246468 A JP S6246468A JP 18425785 A JP18425785 A JP 18425785A JP 18425785 A JP18425785 A JP 18425785A JP S6246468 A JPS6246468 A JP S6246468A
Authority
JP
Japan
Prior art keywords
sector
track
sectors
recording
defective
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
JP18425785A
Other languages
Japanese (ja)
Inventor
Kunio Suzuki
邦夫 鈴木
Ryoichi Takamatsu
良一 高松
Koji Masui
晃二 桝井
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 JP18425785A priority Critical patent/JPS6246468A/en
Publication of JPS6246468A publication Critical patent/JPS6246468A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up sector replacing processing by arranging one stand-by sector on the leading part of each recording track and substituting and assigning a stand-by sector on another track for/to the 2nd defective sector on a recording track having two defective sectors. CONSTITUTION:Each track on a magnetic disk recording medium is divided into 12 equal sectors and each sector is constituted of a GAP 1, an identification part ID, an inspection bit part ECC1, a GAP 2, a DATA, an inspection bit ECC2, and a GAP 3. The ID part is constituted of 3 words consisting of ID1-ID3, the flag of the ID1 indicates the existence of two defective sectors in the track and the ID3 is a field for recording the address of the track having a stand-by sector to be a substitute for the 2nd defective sector. Out of the 12 sectors in one track, the leading sector is used as a stand-by sector and the residual sectors are used as current sectors. Thus, the stand-by sector in the another track having no medium defect is substituted for the 2nd defective sector on the recording track to speed up the processing.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は回転体記憶装置に係シ、特に、高速処理を要求
される7ステムで好適な交代セクタ制御方式をとった回
転体記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a rotating body storage device, and more particularly to a rotating body storage device that uses a 7-stem alternating sector control method suitable for high-speed processing.

〔発明の背景〕[Background of the invention]

従来、媒体上の欠陥に対する代替方式で高速化を実現で
きるものとして、交代トラック処理方式があシ、交代先
アドレスを高速に検知する手段として有効であった。と
ころが、交代トラック方式は、−回の処理データが複数
のトラックにわたった場合に、現用トラックから代替ト
ラックへの切替アクセスが生じるため、この問題に対す
る考慮がなされていなかった。
Conventionally, an alternate track processing method has been used as an alternative method for dealing with defects on the medium and has been effective as a means for quickly detecting alternate destination addresses. However, in the alternate track method, when data to be processed for - times spans a plurality of tracks, switching access from the current track to the alternate track occurs, so this problem has not been taken into consideration.

これに対し、特願昭58−93956号明細書に記載の
交代セクタ一方式の実施例では、同一トラック内に代替
となる予備セクタをあらかじめ確保しておき、欠陥セク
タをその予備セクタで救済するため、代替処理に要する
時間が高速である点が有効である。しかし、最近の磁気
ディスクの記録の高密度化によシ、媒体欠陥の存在する
確率も高まり、−トラック内に複数の欠陥が存在する事
はまれでiなくなってきている。この点に関し、前述ノ
方式では交代トラックを割当てるため処理遅れが生じる
。また、単純に類推するならば、予備セクタを二個、三
個と増加させれは高速化の目的は達成できるが、一方、
媒体使用効率は減少してしまう。
On the other hand, in the embodiment of the replacement sector one-way system described in Japanese Patent Application No. 58-93956, a replacement spare sector is secured in advance in the same track, and a defective sector is relieved with the spare sector. Therefore, it is effective that the time required for alternative processing is fast. However, as the recording density of recent magnetic disks has increased, the probability of medium defects has increased, and it has become rare for multiple defects to exist within a track. In this regard, in the above-mentioned method, a processing delay occurs because alternate tracks are allocated. Also, to make a simple analogy, if you increase the number of spare sectors by two or three, you can achieve the goal of speeding up, but on the other hand,
Media usage efficiency will decrease.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、−トラック内に複数の不良セクタが存
在しても、−セクタの予備セクタ確保で、かつ、処理速
度を低下させずに交代セクタ処理を実現可能なディスク
記憶装置を提供することにある。
An object of the present invention is to provide a disk storage device that can secure spare sectors even if a plurality of bad sectors exist in a track and can perform alternate sector processing without reducing processing speed. There is a particular thing.

〔発明の概要〕[Summary of the invention]

全てのトラックに媒体欠陥が存在する事は皆無であシ、
−トラックに一個の予備セクタを持つ交代セクタ方式に
於いて、予備セクタのうちのほとんどは使用されずに空
いている。
There are no media defects on all tracks.
- In the alternate sector system with one spare sector per track, most of the spare sectors are unused and vacant.

そこで、この空きセクタを有効に使用し、かつ、交代セ
クタ処理遅れを従来のままとする方式を考案した。すな
わち、−トラック内に不良セクタが二個あシ、−セクタ
分がそのトラックからはみ出る場合、その−セクタを次
のトラックの先頭セクタで代替できれば処理遅れは生じ
ない。これを実現するKは、予備セクタを各トラックの
先頭セクタに割付けておけばよい。また、次のトラック
の予備セクタが既に使用されている場合は、同一シリン
ダ上の別トラック(すなわち、ヘッド移動をせずに電子
回路のみで選択できる範囲であればトラック切替時間に
よるセクタ見逃しは生じない)で空いている予備セクタ
を使用しても結果は同じである。
Therefore, we devised a method that effectively uses these empty sectors and maintains the replacement sector processing delay as before. That is, if there are two bad sectors in a -track and a -sector extends beyond the track, there will be no processing delay if the -sector can be replaced with the first sector of the next track. To realize this, K should allocate a spare sector to the leading sector of each track. Also, if the spare sector of the next track is already in use, it is possible to select another track on the same cylinder (in other words, if it is within the range that can be selected using only the electronic circuit without moving the head), the sector will not be missed due to track switching time. The result is the same even if a free spare sector is used.

一般的なディスクの媒体欠陥存在率(1ケ所/1メガバ
イト)からみて、同一シリンダ内の範囲では空いている
予備セクタのある確率は極めて高く、実用上は全く問題
がない事が判明した。
Considering the media defect rate (1 location/1 megabyte) of a typical disk, the probability that there will be a vacant spare sector within the same cylinder is extremely high, and it has been found that there is no problem at all in practice.

〔発明の実施例〕[Embodiments of the invention]

第1図は実施例として磁気ディスク記憶装置のトラック
フォーマットを表わす。
FIG. 1 shows a track format of a magnetic disk storage device as an example.

図において、磁気ディスク記憶媒体の各トラックは十二
個の等しい長さのセクタに分割され、各セクタは図示の
とおシ、GAPI、ill別IID。
In the figure, each track of the magnetic disk storage medium is divided into twelve equal length sectors, each sector having a different IID, GAPI, ill, etc. as shown.

検査ビット部ECCl、GAP2.DATA、  検査
ビットECC2及びGAP3よシ構成される。
Check bit part ECCl, GAP2. Consists of DATA, check bits ECC2 and GAP3.

GAPI、2はID部、DATA部を読み込む際にVF
O回路が基準クロックと同期するのに必要な時間に対す
る長さを持ち、GAP3は書き込み終了後、次のセクタ
のID部の読み取シに入る際に、ヘッドを書き込みから
読み取シ状態に切りかえるのに必要な時間に対応する長
さを持つ。
GAPI, 2 is VF when reading ID part and DATA part
GAP3 has a length corresponding to the time required for the O circuit to synchronize with the reference clock, and GAP3 is used to switch the head from writing to reading state when starting to read the ID section of the next sector after writing is completed. It has a length that corresponds to the required time.

ID部は、更に、図示のように、IDIよシID3の三
語によシ構成される。
The ID section is further composed of three words, IDI and ID3, as shown in the figure.

IDIのフラグは本発明によシ導入され九情報であシ、
トラック内に不良セクタが二個ある事を表わすものであ
シ、更にID3は、前述の二個目の不良セクタの代替と
なる予備セクタをもつトラック(以後代替トラックと称
す。)のアドレスを記録するフィールドである。
The IDI flag is introduced according to the present invention and contains nine pieces of information,
This indicates that there are two bad sectors in the track. Furthermore, ID3 records the address of a track (hereinafter referred to as an alternative track) that has a spare sector that can replace the second bad sector mentioned above. field.

ID1のセクタNo、とID2のトラックアドレスが自
セクタの位置を表わすフィールドである。
The sector number of ID1 and the track address of ID2 are fields representing the position of the own sector.

本実施例では磁気ディスクのトラック位置を定めるシリ
ンダNo、とヘッドNo、を総じてトラックアドレスと
表現′している。
In this embodiment, the cylinder number and head number that determine the track position of the magnetic disk are collectively expressed as a track address.

検査ビットECCl、ECC2は、夫々、ID部、デー
タ部よシ算出し九誤シ検出、訂正を行うための検査ビッ
ト部である。
The check bits ECCl and ECC2 are check bit parts for calculating the ID part and the data part, and detecting and correcting errors, respectively.

本実施例では、−トラック内子二個のセクタに対し、先
頭を予備セクタとし、このセクタのセクタNo、をオー
ル1で表現し、他の残シ十−個のセクタを現用セクタと
して先頭から順にセクタNo。
In this embodiment, for the two sectors in the track, the first sector is set as a spare sector, the sector number of this sector is expressed as all 1, and the remaining 10 sectors are set as working sectors, starting from the first sector. Sector No.

を0から11まで与えである。is given from 0 to 11.

第2図に本実施例におけるトラックフォーマットの成し
得る代表例を記載しである。
FIG. 2 shows typical examples of possible track formats in this embodiment.

第2図の(1)は、不良セクタが存在しない場合のトラ
ックを示す。枠内の数字はセクタNo、を表わし、”F
F″はへビットオールーパターンを子穴進数で表現した
ものである。
(1) in FIG. 2 shows a track where no bad sector exists. The number in the frame represents the sector number, “F
F″ is a hebit-all pattern expressed in a small-hole decimal number.

第2図の(2)は、四番目のセクタが不良である場合の
トラックを表わしている。すなわち、四番目(斜線部)
のセクタNo、を“FF″とじてスキップし、他の良好
セクタにより−トラック分のセクタを構成している。
(2) in FIG. 2 represents a track where the fourth sector is defective. That is, the fourth (shaded part)
The sector number of FF is skipped, and other good sectors constitute -track sectors.

第2図の(3)は、二つの不良セクタをもつトラックを
表わしており、この場合、本トラックの最終セクタ(セ
クタNO,10)は、第2図の(4)のトラックの先頭
セクタに代替されている。
(3) in Figure 2 represents a track with two bad sectors; in this case, the last sector (sector No. 10) of this track is the first sector of the track (4) in Figure 2. has been replaced.

しかし、(3)がトラックN、(4)がトラックN+1
である場合、トラックNからN+1への記録動作は連続
して成し得ることは明白である。
However, (3) is track N and (4) is track N+1
It is clear that the recording operation from track N to N+1 can be performed continuously.

更に、(3)と(4)が連続したトラックでない場合に
も、GAP3で設定した時間内にトラック切替えが行な
えるようにしであるので、記録動作の連続性は保たれる
Furthermore, even if (3) and (4) are not consecutive tracks, track switching can be performed within the time set by GAP3, so the continuity of the recording operation is maintained.

第3図は本発明を実現するための71−ドウエアの一例
を示す。10は制御装置20とCPUを結ぶためのチャ
ネル装置であシ、これらの間はデータの授受を行なうデ
ータ線30と制御信号の授受を行なう制御信号線40と
によって接続されている。制御装置20は制御装置全体
を制御するマイクロプロセッサ−60を含んだ制御回路
50.制御情報及びデータを蓄えるためのRAM70、
ディスク装置200に対する制御情報を格納するレジス
タ80及びディスク装f1200からの状態情報を読み
出すためのレジスタ90、及び、これらを結ぶデータバ
ス100及びこれらを制御する制御信号線110よ構成
る。
FIG. 3 shows an example of 71-ware for implementing the present invention. Reference numeral 10 denotes a channel device for connecting the control device 20 and the CPU, and these are connected by a data line 30 for exchanging data and a control signal line 40 for exchanging control signals. The control device 20 includes a control circuit 50. which includes a microprocessor 60 that controls the entire control device. RAM 70 for storing control information and data;
It consists of a register 80 for storing control information for the disk device 200, a register 90 for reading status information from the disk device f1200, a data bus 100 connecting these, and a control signal line 110 for controlling them.

次K、動作を説明する。まず、チャンネル10よシ送ら
れてきた制(至)情報をRAM70内のフントロールテ
ーブル内に格納する。制御情報には読み書きすべきセク
タのアドレス、転送語数を含み、マイクロプロセッサ6
0は、まず、このセクタアドレスからディスク上のシリ
ンダ番号、ヘット°番号を算出し、制御レジスタ80に
格納する。
Next, the operation will be explained. First, control information sent from channel 10 is stored in the control table in RAM 70. The control information includes the address of the sector to be read/written and the number of words to be transferred.
0 first calculates the cylinder number and head number on the disk from this sector address and stores them in the control register 80.

ディスク装置200は、これによって指定されたシリン
ダへヘッドを移動し、更に、指定されたヘッドを選択す
る。この状態でディスク状態情報レジスタ90によシセ
クタパルスを検出すると制御装置はID情報を読み取シ
、ID部のシリンダ番号、ヘッド番号、セクタ一番号が
所望のものであることを一致確認した後、データ部のリ
ード/ライト動作を行なう。
The disk device 200 thereby moves the head to the designated cylinder and further selects the designated head. In this state, when a sector pulse is detected by the disk status information register 90, the control device reads the ID information, and after confirming that the cylinder number, head number, and sector number in the ID section are the desired ones, Performs read/write operations.

第4図に本発明による不良セクターの代替処理例を示す
FIG. 4 shows an example of alternative processing for defective sectors according to the present invention.

固定長セクタ方式の磁気ディスク装置ではトラックの始
めに一つのインデックスパルスト、各セクタの始めに各
々一つのセクタパルスを発する。
In a fixed length sector type magnetic disk drive, one index pulse is emitted at the beginning of a track, and one sector pulse is emitted at the beginning of each sector.

通常のデータのリード/ライト処理は、セクタパルスを
受けた後に、セクタのID部を読み取り、セクタ番号を
確認しt後にデータ部のリードまたはライト動作を行な
う。本実施例のディスクでは。
In normal data read/write processing, after receiving a sector pulse, the ID section of the sector is read, the sector number is confirmed, and after t a data section read or write operation is performed. In the disc of this example.

インデックスパルス長がID部分のGAP2エリアまで
あシ、ID部の読取シ後にこのインデックスパルスをチ
ェックすることによシ、このセクタがトラックの先頭で
あるか否かを確認できるものとして処理例を記述しであ
る。
The processing example is described assuming that the index pulse length is up to the GAP2 area of the ID part, and by checking this index pulse after reading the ID part, it is possible to check whether or not this sector is the beginning of the track. It is.

さて、第4図の処理フローに於いて、各々の処理を表わ
す枠の右肩にはステップ番号を付しである。
Now, in the processing flow of FIG. 4, step numbers are attached to the right shoulder of the frame representing each process.

通常の処理、すなわち、不良セクタがOfたは1個しか
存在しない場合、処理の流れはステップ300.305
,310,315,320,325゜330.340,
345,350,365,370゜375のルートで′
実行され、処理ステップの355360及び380から
395,400は実行されない。
In normal processing, that is, when only one bad sector exists, the process flow is in steps 300 and 305.
,310,315,320,325°330.340,
345, 350, 365, 370°375 route'
is executed, and processing steps 355,360 and 380 through 395,400 are not executed.

ざて、不良セクタが二個存在するトラックを処理する場
合は、以下のように処理が実行される。
When processing a track with two bad sectors, the following processing is performed.

まず、ID部の読取シ後、ステップ330の判定によシ
フラグが1であシ、ステップ335を実行する。ステッ
プ335では、今読み皐ったID1からID3までをR
AMへ登録すると同時に、フラグそのものも登録してお
く。以後、処理が進み、再び、ステップ305を通る時
、ここでステップ380へ分岐する。もし、今から処理
しようとしているセクタNo、が最終セクタであるなら
ば。
First, after reading the ID section, it is determined in step 330 that the shift flag is 1, and step 335 is executed. In step 335, R the ID1 to ID3 that you just read.
At the same time as registering to AM, the flag itself is also registered. Thereafter, the process progresses and when it passes through step 305 again, it branches to step 380. If the sector No. to be processed now is the final sector.

更に、ステップ385〜395を通#)、ステップ30
0で代替セクタの存在するトラックが選択される。その
後、処理を進めると、ステップ325で分岐が起こり、
ステップ400でセクタ位置の合理性チェックを行ない
(このトラックにはセクタ10が二個存在する。すなわ
ち、代替であるセクタ10と自トラツクのセクタ10が
存在する。)、以後、処理はステップ340から350
1で進み、ステップ355,360によシ本来の目的ト
ラック番号の回復と代替モードの解除を行ない、次に、
ステップ370を実行するとセクタ番号が0になシ、新
たなトラックを選択するようにステップ300へ戻る。
Furthermore, through steps 385 to 395), step 30
0 selects the track where the alternative sector exists. Thereafter, as the process proceeds, a branch occurs at step 325,
In step 400, the rationality of the sector position is checked (there are two sectors 10 on this track, that is, there is an alternative sector 10 and sector 10 of the own track), and the process starts from step 340. 350
Steps 355 and 360 restore the original target track number and cancel the alternate mode.
When step 370 is executed, the sector number becomes 0, and the process returns to step 300 to select a new track.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数の不良セクターをもつトラックが
存在しても、その代替アクセスを記録媒体の回転待ちを
起こさず知行なうことができる。
According to the present invention, even if a track with a plurality of defective sectors exists, alternative access can be performed without waiting for rotation of the recording medium.

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

第1図は本発明の一実施例の記録形式を示す図、第2図
は本発明の実施例でのトラック上のセクタ配列を示す図
、第3図は第1図の制御装置のブロック図、第4図は第
3図のフローチャートである。 10・・・チャンネル装置、20・・・制御装置、30
・・・データ線。
FIG. 1 is a diagram showing a recording format in an embodiment of the present invention, FIG. 2 is a diagram showing a sector arrangement on a track in an embodiment of the present invention, and FIG. 3 is a block diagram of the control device in FIG. 1. , FIG. 4 is a flowchart of FIG. 3. 10... Channel device, 20... Control device, 30
...Data line.

Claims (1)

【特許請求の範囲】 1、磁気記録媒体上に複数のセクタからなる記録トラッ
クを設け、前記記録トラック上の前記セクタの一部を予
備セクタとして持ち、前記記録トラック上に媒体欠陥が
存在する場合は、前記媒体欠陥を含むセクタを不良セク
タとして使用せずに、同一トラック上の前記予備セクタ
を代替として使用するディスク記憶装置に於いて、 前記予備セクタを各記録トラックの先頭部に一セクタ配
置し、同一トラック上に媒体欠陥を含む二個の不良セク
タが存在する場合、前記記録トラック上の第二の不良セ
クタに対しては、媒体欠陥の存在しない別トラックの予
備セクタを代替として割付け、代替制御手段として二個
の前記不良セクタが存在する事を示すフラグとその代替
セクタを割り付けた別トラックの位置情報をセクタの識
別情報に含めて記録して、交代セクタ制御を行なうこと
を特徴とするディスク記憶装置。
[Claims] 1. A case where a recording track consisting of a plurality of sectors is provided on a magnetic recording medium, a part of the sectors on the recording track is provided as a spare sector, and a medium defect exists on the recording track. In a disk storage device that uses the spare sector on the same track as a substitute without using the sector containing the medium defect as a bad sector, one sector of the spare sector is placed at the beginning of each recording track. However, if there are two bad sectors containing medium defects on the same track, a spare sector on another track with no medium defects is allocated as a substitute for the second bad sector on the recording track, As an alternative control means, a flag indicating the existence of the two defective sectors and position information of another track to which the alternative sector is allocated are recorded as part of sector identification information, thereby performing alternative sector control. disk storage device.
JP18425785A 1985-08-23 1985-08-23 Disk memory device Pending JPS6246468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18425785A JPS6246468A (en) 1985-08-23 1985-08-23 Disk memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18425785A JPS6246468A (en) 1985-08-23 1985-08-23 Disk memory device

Publications (1)

Publication Number Publication Date
JPS6246468A true JPS6246468A (en) 1987-02-28

Family

ID=16150143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18425785A Pending JPS6246468A (en) 1985-08-23 1985-08-23 Disk memory device

Country Status (1)

Country Link
JP (1) JPS6246468A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0237570A (en) * 1988-07-27 1990-02-07 Fujitsu Ltd Medium defect evading method
JPH02502330A (en) * 1988-04-08 1990-07-26 ディジタル イクイプメント コーポレーション Encoding method and apparatus comprising forming a codeword by combining a first code sequence and a second code sequence
JPH0452725A (en) * 1990-06-14 1992-02-20 Fujitsu Ltd Fault recovering/processing method for storage device
WO1998036414A1 (en) * 1997-02-14 1998-08-20 Sony Corporation Data recording/reproducing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02502330A (en) * 1988-04-08 1990-07-26 ディジタル イクイプメント コーポレーション Encoding method and apparatus comprising forming a codeword by combining a first code sequence and a second code sequence
JPH0237570A (en) * 1988-07-27 1990-02-07 Fujitsu Ltd Medium defect evading method
JPH0452725A (en) * 1990-06-14 1992-02-20 Fujitsu Ltd Fault recovering/processing method for storage device
WO1998036414A1 (en) * 1997-02-14 1998-08-20 Sony Corporation Data recording/reproducing method and device
US6272085B1 (en) 1997-02-14 2001-08-07 Sony Corporation Data recording/reproducing method and device

Similar Documents

Publication Publication Date Title
US5200864A (en) Combining small records into a single record block for recording on a record media
US5414570A (en) Tape marks recorded in user data blocks having identifications of the recorded tape marks
JPH0378649B2 (en)
US5335328A (en) Methods for recording and reading data from a record member having data in any one of a plurality of block formats including determining length of records being transferred
JPH0563861B2 (en)
JPH1196686A (en) Rotary storage device
JPH04243061A (en) Flexible magnetic disk device
JPS6246468A (en) Disk memory device
JP2510662B2 (en) Data recording control method
JPS59113509A (en) Disc processing device
JPS59177705A (en) Data recording system
US4647991A (en) Disk channel controller
JP2595096B2 (en) Control method of magnetic tape unit and buffer memory
JPS59221810A (en) Alternate sector device in magnetic storage device
EP0316867A2 (en) Semiconductor file apparatus
JP2544327B2 (en) Magnetic disk controller
JPS6132266A (en) Data control method
US5903405A (en) Hard disk drive enabling efficient use of storage capacity of a recording medium
JP2008112535A (en) Information recording/reproducing method
JPS63113984A (en) Optical disk control system
JP2595316B2 (en) Alternate assignment processing method
JPS6370928A (en) Optical disk
JP2503371B2 (en) Disk system
JPS583112A (en) Block assignment system in magnetic disc device
JP2001312376A (en) Rotary medium storage device and rotary medium recording control method