JPH117730A - Memory apparatus - Google Patents

Memory apparatus

Info

Publication number
JPH117730A
JPH117730A JP16232097A JP16232097A JPH117730A JP H117730 A JPH117730 A JP H117730A JP 16232097 A JP16232097 A JP 16232097A JP 16232097 A JP16232097 A JP 16232097A JP H117730 A JPH117730 A JP H117730A
Authority
JP
Japan
Prior art keywords
information
defective
sector
cylinder
defective sector
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
JP16232097A
Other languages
Japanese (ja)
Inventor
Yoshihiro Kurosawa
義弘 黒沢
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP16232097A priority Critical patent/JPH117730A/en
Publication of JPH117730A publication Critical patent/JPH117730A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a capacity of defect management information and shorten a defect search time and an update time, by compressing defective sector information. SOLUTION: A defective cylinder information management part 17 generates and manages a one-bit defective cylinder information 21 indicating the presence/ absence of a defective sector for every cylinder. A pointer information management part 18 forms the one-bit defective cylinder information 21 in groups for every plurality of cylinders, generates and manages a pointer information 22 indicating a start address of a defective sector information. Further, a defective sector information management part 19 generates and manages a defective sector information 23 corresponding to the start address designated by the pointer information 22, e.g. for every four bytes irrespective of kinds of an alternate sector and a split sector. An alternate process part 20 searches the defective cylinder information 21, pointer information 22 and defective sector information 23, thereby carrying out an alternate process, in response to an access requirement from a host apparatus.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、媒体上の欠陥セク
タの位置アドレス及び欠陥セクタの交代先セクタアドレ
スを管理するディフェクト情報を、装置の電源投入時
に、媒体から読み出して装置上のメモリ領域に展開して
媒体のアクセスを行う磁気ディスク装置等の記憶装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for reading defect information for managing a position address of a defective sector on a medium and a replacement sector address of the defective sector from the medium when the power of the apparatus is turned on and storing the defect information in a memory area on the apparatus. The present invention relates to a storage device such as a magnetic disk device that expands and accesses a medium.

【0002】[0002]

【従来の技術】従来、欠陥セクタの位置アドレス情報及
び欠陥セクタの交代先セクタアドレスを管理するディフ
ェクト情報は、図8(A)のように、シリンダ単位に2
バイトの欠陥セクタ位置情報開始アドレスで管理されて
いる。この欠陥セクタ位置情報開始アドレスとしては、
シリンダが欠陥セクタをもつ場合には、そのシリンダの
欠陥セクタ位置が登録された開始アドレス(論理ブロッ
クアドレスLBA)が格納されている。また欠陥セクタ
を持たないシリンダには、「FFFFFFFFh」など
の初期値を定義している。
2. Description of the Related Art Conventionally, defect address information for managing the position address information of a defective sector and the replacement destination sector address of a defective sector is, as shown in FIG.
It is managed by a byte defective sector position information start address. As the start address of this defective sector position information,
When a cylinder has a defective sector, the start address (logical block address LBA) in which the defective sector position of the cylinder is registered is stored. An initial value such as “FFFFFFFFh” is defined for a cylinder having no defective sector.

【0003】図8(A)のシリンダ・ディフェクト情報
の欠陥セクタ位置情報開始アドレスで管理される欠陥セ
クタ情報は、2バイトもしくは4バイト単位の情報で構
成されて登録管理される。即ち、欠陥セクタ情報は、ス
プリットセクタの場合は図8(B)のように2バイト単
位の情報であり、また交代セクタの場合には図8(C)
のように、4バイト単位の情報である。
[0003] Defective sector information managed by the defective sector position information start address of the cylinder defect information shown in FIG. 8A is composed of information in units of 2 bytes or 4 bytes and registered and managed. That is, the defective sector information is information in units of 2 bytes as shown in FIG. 8B for a split sector, and shown in FIG. 8C for an alternate sector.
Is information in units of 4 bytes.

【0004】図8(B)のスプリットセクタの欠陥セク
タ情報は、最初のバイト0の上位4ビットにセット状態
で交代セクタ表示ビットALT、スペアセクタ表示ビッ
トSP、スプリットセクタ表示ビットSL、最終シリン
ダ表示ビットDLを割り当て、下位4ビットを欠陥ヘッ
ド番号としている。次のバイト1には、1バイト長の欠
陥セクタ番号を割り当てている。
[0004] The defective sector information of the split sector shown in FIG. 8 (B) is set in the upper 4 bits of the first byte 0, with the alternate sector indicating bit ALT, spare sector indicating bit SP, split sector indicating bit SL, and last cylinder indicating bit. DL is assigned, and the lower 4 bits are used as the defective head number. The next byte 1 is assigned a 1-byte long defective sector number.

【0005】図8(C)の交代セクタの欠陥セクタ情報
は、最初のバイト0,1はスプリットセクタと同じであ
り、これに加え、バイト2に最上位ビットにシリンダ表
示ビットSSを割り当て、シリンダ表示ビットSSはセ
ット時に同一シリンダのスペア交代を示し、クリア時に
交代シリンダへのスペア交代を示す。続いて4ビット単
位に交代先シリンダ番号と交代先論理ヘッド番号を割り
当てる。最終のバイト3は、1バイト長の交代先論理セ
クタ番号である。
In the defective sector information of the replacement sector shown in FIG. 8C, the first bytes 0 and 1 are the same as those of the split sector. The display bit SS indicates spare replacement of the same cylinder when set, and spare replacement for a replacement cylinder when cleared. Subsequently, a replacement cylinder number and a replacement logical head number are assigned in 4-bit units. The last byte 3 is a 1-byte long replacement logical sector number.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のディフェクト情報の管理にあっては、大容量
の装置になるほど、図8(A)のシリンダディフェクト
情報の情報量が、 (シリンダ本数)×(2バイト) と増える。また、ディスク転送の速いゾーンで1トラッ
ク当たり256セクタを越える装置では、欠陥セクタ情
報がスリップセクタのときに図9(A)のように1バイ
ト増えて計3バイトになり、交代セクタのときには図9
(B)のように2バイト増えて計6バイトが必要であ
る。
However, in such conventional defect information management, the larger the capacity of the device, the larger the amount of cylinder defect information in FIG. 8A becomes (the number of cylinders). × (2 bytes). Also, in an apparatus having more than 256 sectors per track in a zone where the disk transfer is fast, when the defective sector information is a slip sector, the number of bytes is increased by one byte as shown in FIG. 9
As shown in (B), a total of 6 bytes are required, which is increased by 2 bytes.

【0007】このような装置容量の増加に対しハイエン
ド装置(高価格装置)では、ワークバッファメモリを十
分に確保できるため、図8のディフェクト情報管理を継
続して採用できる。しかし、限られたワークバッファメ
モリを持つローエンド装置(低価格装置)では、図8の
ディフェクト情報管理を使い続けることはできない。そ
のため図8(A)のようなシリンダ毎に欠陥セクタ位置
開始アドレスを持つのを止め、図9(A)(B)(C)
の欠陥ゾーン情報、ゾーン・ポインタ情報及び欠陥セク
タ情報で管理する方式をとり、ディフェクト管理情報の
容量を削減している。
[0007] In response to such an increase in apparatus capacity, a high-end apparatus (high-priced apparatus) can sufficiently secure a work buffer memory, so that the defect information management shown in FIG. However, a low-end device (a low-cost device) having a limited work buffer memory cannot continue to use the defect information management of FIG. For this reason, the defective sector position start address is stopped for each cylinder as shown in FIG. 8A, and FIGS. 9A, 9B, and 9C.
Of the defect management information is used to reduce the capacity of the defect management information.

【0008】即ち、図9(A)の欠陥ゾーン情報は、2
バイト単位にゾーンとヘッド番号ごとにアドレスポイン
タの開始アドレス(論理ブロックアドレスLBA)を登
録して管理しており、図9(B)のゾーン・ポインタ情
報は、2バイト単位に欠陥セクタ位置の開始アドレスを
登録して管理している。図9(C)の欠陥セクタ情報は
6バイトの情報であり、バイト0を欠陥セクタ番号、バ
イト1をスプリットセクタ表示ビットSL、交代セクタ
表示ビットALT、3ビットの交替先論理ヘッド番号、
2ビットの交代先シリンダ番号とし、バイト2,3は2
バイトの欠陥シリンダ番号とし、バイト4は1バイトの
交代先論理セクタ番号とし、更にバイト5は256セク
タ以上の装置に対応するリザーブ(Reserved)としてい
る。
That is, the defect zone information shown in FIG.
The start address (logical block address LBA) of the address pointer is registered and managed for each zone and head number in byte units. The zone pointer information in FIG. Register and manage addresses. The defective sector information shown in FIG. 9C is 6-byte information. Byte 0 is a defective sector number, byte 1 is a split sector display bit SL, a replacement sector display bit ALT, a 3-bit replacement logical head number,
2-bit replacement cylinder number, bytes 2 and 3 are 2
Byte 4 is a defective cylinder number, byte 4 is a 1-byte replacement logical sector number, and byte 5 is reserved for devices having 256 or more sectors.

【0009】しかし、図9のディフェクト情報のゾーン
管理にあっては、1つのゾーンには数百本以上のシリン
ダがあり、上位装置からアクセス要求を受けた際のディ
フェクト情報のサーチ時間は、図8のディフェクト管理
情報に比較して、図9(C)の欠陥セクタ情報から余計
に2バイトの欠陥シリンダ番号をロードし、アクセス・
シリンダ番号と比較しなければならないため、オーバヘ
ッドになる。また、ディフェクト管理テーブルを更新す
る場合、昇順に欠陥セクタ情報をソートしなければなら
ないため、ソート時間もオーバヘッドになる。
However, in the zone management of the defect information shown in FIG. 9, one zone has several hundred or more cylinders, and the search time of the defect information when an access request is received from a host device is as shown in FIG. Compared with the defect management information of FIG. 8, an extra 2-byte defective cylinder number is loaded from the defective sector information of FIG.
This has to be compared with the cylinder number, so that there is an overhead. Further, when updating the defect management table, since the defective sector information must be sorted in ascending order, the sorting time also becomes an overhead.

【0010】更に、データ転送速度の早いゾーンで1ト
ラック当り256セクタ以上となる装置では、図9
(C)の欠陥セクタ情報のバイト5のリザーブ(Reserv
ed)を利用して欠陥セクタ番号及び交代先論理セクタ番
号の上位2ビットを確保しなければならず、ディフェク
トサーチにおけるオーバヘッドが更に加わることが予想
される。
Further, in an apparatus having 256 sectors or more per track in a zone having a high data transfer speed, FIG.
Reserved byte 5 of the defective sector information (C)
The upper two bits of the defective sector number and the replacement logical sector number must be secured using ed), and it is expected that the overhead in the defect search will be further added.

【0011】本発明は、今後、開発される大容量のロー
エンド装置についてハイエンド装置相当のディフェクト
サーチ時間を保証し、且つ、欠陥セクタ情報を圧縮する
ことで、ディフェクト管理情報の容量削減と更新時間の
短縮化を図るようにした磁気ディスク装置等の記憶装置
を提供することを目的とする。
The present invention guarantees a defect search time equivalent to a high-end device for a large-capacity low-end device to be developed in the future and compresses defective sector information, thereby reducing the capacity of the defect management information and reducing the update time. It is an object of the present invention to provide a storage device such as a magnetic disk device that can be shortened.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理説明
図である。本発明は、媒体上の欠陥セクタの位置アドレ
ス及び欠陥セクタの交代先セクタアドレスを管理するデ
ィフェクト情報を、装置の電源投入時に、媒体から読み
出して装置上のメモリ領域に展開して媒体のアクセスを
行う磁気ディスク装置等の記憶装置を対象とする。
FIG. 1 is a diagram illustrating the principle of the present invention. The present invention reads out defect information for managing a position address of a defective sector on a medium and a replacement sector address of the defective sector from the medium at the time of turning on the power of the apparatus and expands the defect information in a memory area on the apparatus to access the medium. It is intended for a storage device such as a magnetic disk device.

【0013】このような記憶装置につき本発明にあって
は、欠陥シリンダ情報管理部17がシリンダ毎に欠陥セ
クタの有無を示す1ビットの欠陥シリンダ情報21を生
成して管理する。またポインタ情報管理部18は1ビッ
トの欠陥シリンダ情報21を複数シリンダ単位にグルー
プ化して欠陥セクタ情報の開始アドレスを示すポインタ
情報22を生成して管理する。
According to the present invention, in such a storage device, the defective cylinder information management unit 17 generates and manages 1-bit defective cylinder information 21 indicating the presence or absence of a defective sector for each cylinder. The pointer information management unit 18 groups the one-bit defective cylinder information 21 in units of a plurality of cylinders and generates and manages pointer information 22 indicating a start address of the defective sector information.

【0014】更に、欠陥セクタ情報管理部19は、交代
セクタとスプリットセクタの種別に関わらず所定バイト
単位の情報としてポインタ情報22で指定された開始ア
ドレスに対応して欠陥セクタ情報23を生成して管理す
る。そして、上位装置のアクセス要求に対し交代処理部
20は、欠陥シリンダ情報21、ポインタ情報22及び
欠陥セクタ情報23をサーチして交代処理を行う。
Further, the defective sector information management section 19 generates defective sector information 23 corresponding to the start address specified by the pointer information 22 as information of a predetermined byte unit regardless of the types of the replacement sector and the split sector. to manage. Then, in response to an access request from the higher-level device, the replacement processing unit 20 searches the defective cylinder information 21, the pointer information 22, and the defective sector information 23 to perform the replacement processing.

【0015】欠陥セクタ情報管理部19は、交代セクタ
とスプリットセクタの種別に関わらず全て4バイト単位
の情報として欠陥セクタ情報23を生成管理する。この
ためディフェクトサーチの際にメモリからの欠陥セクタ
情報23のロードが全て4バイト単位に固定され、セク
タサーチでバイト長切替を必要としない分、サーチ時間
を短縮できる。
The defective sector information management section 19 generates and manages the defective sector information 23 as information of a 4-byte unit regardless of the types of the replacement sector and the split sector. For this reason, the loading of the defective sector information 23 from the memory at the time of the defect search is all fixed in units of 4 bytes, and the search time can be shortened because the byte length switching is not required in the sector search.

【0016】欠陥シリンダ情報管理部17は、欠陥シリ
ンダ情報21としてポインタ情報22で指定される開始
アドレスを複数シリンダにつき共有しており、その分、
ポインタ情報22の容量を低減できる。欠陥セクタ情報
管理部19で管理する欠陥セクタ情報23は、同一のポ
インタ情報22で管理される複数の欠陥セクタ情報中の
特定シリンダを区別する欠陥シリンダ情報(例えば欠陥
シリンダ情報の下位4ビット)、欠陥ヘッド番号、交代
先セクタアドレスを示す交代位置番号、スプリットセク
タか交代セクタかを示す制御ビットALT、トラックの
最終ディフェクトを示す制御ビットLASTの各々を備
え、且つ欠陥シリンダ情報及び欠陥ヘッド情報を下位ビ
ット側に配置することによって、欠陥シリンダ情報及び
欠陥ヘッド情報の取得を高速化する。
The defective cylinder information management unit 17 shares the start address specified by the pointer information 22 as the defective cylinder information 21 for a plurality of cylinders.
The capacity of the pointer information 22 can be reduced. The defective sector information 23 managed by the defective sector information management unit 19 includes defective cylinder information (for example, lower 4 bits of the defective cylinder information) for distinguishing a specific cylinder from a plurality of defective sector information managed by the same pointer information 22. Each of a defective head number, a replacement position number indicating a replacement destination sector address, a control bit ALT indicating a split sector or a replacement sector, and a control bit LAST indicating a last defect of a track is provided. By arranging on the bit side, acquisition of defective cylinder information and defective head information is accelerated.

【0017】このような本発明の記憶装置によれば、欠
陥シリンダ情報のポインタ情報及び欠陥セクタ情報で構
成されるディフェクト管理情報を圧縮してワークバッフ
ァに展開した際の容量を削減し、同時に、ディフェクト
管理情報のサーチと更新に要する時間を短縮でき、ワー
クバッファの容量に限界のあるローエンド装置の媒体容
量の増加に対しディフェクトサーチ時間を保証し、オー
バヘッドによる性能低下を防止する。
According to such a storage device of the present invention, the capacity when the defect management information composed of the pointer information of the defective cylinder information and the defective sector information is compressed and expanded in the work buffer is reduced. The time required for searching and updating the defect management information can be shortened, the defect search time is guaranteed for an increase in the medium capacity of a low-end device having a limited work buffer capacity, and performance degradation due to overhead is prevented.

【0018】また媒体のベンチテスト等に利用される特
定の1バイト長以下のシリンダアドレス領域について、
欠陥シリンダ情報管理部17は、シリンダ毎に欠陥セク
タ位置の開始アドレスを示す1バイト長の欠陥セクタ開
始アドレスを生成して欠陥シリンダ情報21として管理
し、この場合、ポインタ情報管理部18による欠陥セク
タ情報の開始アドレスを示すポインタ情報22の管理を
行わない。
For a specific cylinder address area of 1 byte or less used for a bench test of a medium, etc.
The defective cylinder information management unit 17 generates a 1-byte length defective sector start address indicating the start address of the defective sector position for each cylinder and manages it as the defective cylinder information 21. It does not manage the pointer information 22 indicating the start address of the information.

【0019】このためベンチテスト等のために頻繁にア
クセスされる1バイト長以下の特定のシリンダアドレス
領域については、欠陥シリンダ情報21から直ちに欠陥
セクタ情報23の開始アドレスを取得し、この場合は、
容量の低下を若干犠牲にしてディフェクトサーチ時間の
短縮化を図る。
Therefore, for a specific cylinder address area of 1 byte or less frequently accessed for a bench test or the like, the start address of the defective sector information 23 is immediately obtained from the defective cylinder information 21. In this case,
The defect search time is reduced at the expense of lowering the capacity.

【0020】[0020]

【発明の実施の形態】図2は本発明のディフェクト情報
管理が適用される磁気ディスク装置のブロック図であ
る。ハードディスクドライブ(HDD)として知られた
磁気ディスク装置は、ディスクエンクロージャ1とコン
トロール回路ボード2で構成される。ディスクエンクロ
ージャ1には、ヘッドICとして実装されたR/Wプリ
アンプ回路3、ヘッドアクチュエータの先端に支持され
て磁気ディスク媒体のトラックを横切る方向に位置決め
されるヘッドアッセンブリィ4、ヘッドアクチュエータ
を駆動するボイスコイルモータ(以下「VCM」とい
う)5、及び磁気ディスク媒体を回転するスピンドルモ
ータ6を備える。
FIG. 2 is a block diagram of a magnetic disk drive to which the defect information management of the present invention is applied. A magnetic disk device known as a hard disk drive (HDD) includes a disk enclosure 1 and a control circuit board 2. The disk enclosure 1 has an R / W preamplifier circuit 3 mounted as a head IC, a head assembly 4 supported at the tip of a head actuator and positioned in a direction crossing a track of a magnetic disk medium, and a voice for driving the head actuator. A coil motor (hereinafter referred to as “VCM”) 5 and a spindle motor 6 for rotating a magnetic disk medium are provided.

【0021】ディスクエンクロージャ1に設けたR/W
プリアンプ回路3は、ヘッド選択、リード/ライト切替
えの通常の機能に加え、ライト電流やMRヘッドに対す
るリードセンス電流の切替え、更にはパワーセーブ等の
モード設定等の多機能化が近年は図られており、コント
ロール回路ボード2からのシリアル転送ラインによるレ
ジスタ設定で回路パラメータやモード設定が制御でき
る。
R / W provided in disk enclosure 1
In the preamplifier circuit 3, in addition to the usual functions of head selection and read / write switching, multi-functionalization such as switching of a write current or a read sense current for an MR head, and further, mode setting such as power saving have been attempted in recent years. Thus, circuit parameters and mode settings can be controlled by register settings from the control circuit board 2 using serial transfer lines.

【0022】ヘッドアッセンブリィ4はディスクエンク
ロージャ1に設けている磁気ディスク媒体の記録面の枚
数に対応した数だけ設けられ、各ヘッドアッセンブリィ
4はインダクティブヘッドを用いたライトヘッドと例え
ばMRヘッドを用いたリードヘッドを一体化した複合ヘ
ッドアッセンブリィを使用している。コントロール回路
ボード2側には、ハードディスクドライブ全体の制御を
行うMCU(マイクロコントローラユニット)7、リー
ドチャネル回路8、ハードディスクコントローラ9、不
揮発性のフラッシュPEROM12、DRAMを用いた
データバッファ13、VCM5及びスピンドルモータ6
を駆動制御するサーボコントローラ10、更に上位装置
に対するインタフェースコネクタ14が設けられてい
る。
The head assemblies 4 are provided in a number corresponding to the number of recording surfaces of the magnetic disk medium provided in the disk enclosure 1. Each head assembly 4 uses a write head using an inductive head and, for example, an MR head. Uses a composite head assembly that integrates the read head. On the control circuit board 2 side, an MCU (microcontroller unit) 7 for controlling the entire hard disk drive, a read channel circuit 8, a hard disk controller 9, a nonvolatile flash PEROM 12, a data buffer 13 using a DRAM, a VCM 5, and a spindle motor 6
And an interface connector 14 for a host device.

【0023】本発明のディフェクト情報の管理は、MC
U7に設けているMPUによるプログラム制御により実
現され、内蔵したワークバッファメモリ16aには、デ
ィスクエンクロージャ1側の磁気ディスク媒体のシステ
ム領域に格納されているディフェクト管理情報が、装置
電源立ち上げの際に読み出されて展開され、それ以降は
ワークバッファメモリ16a上のディフェクト管理情報
を対象にMCU7は、上位装置からのアクセスに対しデ
ィフェクト処理を実行する。
The management of defect information according to the present invention is performed by MC
The defect management information, which is realized by program control by the MPU provided in the U7 and is stored in the system area of the magnetic disk medium on the disk enclosure 1 side, is stored in the built-in work buffer memory 16a when the power of the apparatus is turned on. The MCU 7 reads out and expands the data, and thereafter executes the defect processing for the access from the host device for the defect management information in the work buffer memory 16a.

【0024】図3は図2のMCU7によって実現される
本発明のディフェクト情報管理の機能ブロック図であ
る。このディフェクト情報管理の機能は、ディフェクト
情報管理部15とディフェクト情報記憶部16で構成さ
れる。ディフェクト情報管理部15には欠陥シリンダ情
報管理部17、ポインタ情報管理部18、欠陥セクタ情
報管理部19及びディフェクト情報のサーチを行う交代
処理部20が設けられる。
FIG. 3 is a functional block diagram of the defect information management of the present invention realized by the MCU 7 of FIG. The defect information management function includes a defect information management unit 15 and a defect information storage unit 16. The defect information management unit 15 includes a defective cylinder information management unit 17, a pointer information management unit 18, a defective sector information management unit 19, and a replacement processing unit 20 for searching for defect information.

【0025】ディフェクト情報記憶部16は図2のMC
U7に設けているワークバッファメモリ16a上に展開
された情報であり、欠陥シリンダ情報21、ポインタ情
報22及び欠陥セクタ情報23で構成されている。図4
は図3のディフェクト情報記憶部16のワークバッファ
メモリ16aにおけるメモリマップの説明図である。こ
の例にあっては、欠陥シリンダ情報21は2バイトを1
単位とする情報であり、ワークバッファメモリ16aの
アドレスXを先頭とした欠陥シリンダ情報エリア21a
に複数格納されている。
The defect information storage section 16 stores the MC of FIG.
This is information developed on the work buffer memory 16a provided in U7, and is composed of defective cylinder information 21, pointer information 22, and defective sector information 23. FIG.
4 is an explanatory diagram of a memory map in a work buffer memory 16a of the defect information storage unit 16 in FIG. In this example, the defective cylinder information 21 has 2 bytes as 1
Defective cylinder information area 21a starting from address X of work buffer memory 16a.
Are stored multiple times.

【0026】次のポインタ情報22も、2バイトの情報
であるワークバッファメモリ16aのアドレスYを先頭
アドレスとしたポインタ情報エリア22aに複数格納さ
れている。更に欠陥セクタ情報23は4バイト単位の情
報であり、ワークバッファメモリ16a上のアドレスZ
を先頭アドレスとした欠陥セクタ情報エリア23aに複
数格納されている。
A plurality of pieces of the next pointer information 22 are stored in a pointer information area 22a starting from the address Y of the work buffer memory 16a, which is 2-byte information. Further, the defective sector information 23 is information in units of 4 bytes, and has an address Z in the work buffer memory 16a.
Are stored in the defective sector information area 23a having the first address as the start address.

【0027】図5は図3に示したディフェクト情報記憶
部16に格納される欠陥シリンダ情報21、ポインタ情
報22及び欠陥セクタ情報23の詳細である。図5
(A)は本発明のディフェクト情報管理で使用する欠陥
シリンダ情報21であり、磁気ディスク媒体の1シリン
ダにつき1ビットを割り当てており、1つのシリンダ上
での欠陥セクタの有無を1ビットで管理している。即
ち、1つのシリンダ上に欠陥セクタが1つでも存在する
と対応するシリンダ番号のビットが1にセットされ、欠
陥セクタが存在しなければ対応するシリンダ番号のビッ
トが0にクリアされたビットマップ情報として構成され
る。
FIG. 5 shows details of the defective cylinder information 21, the pointer information 22, and the defective sector information 23 stored in the defect information storage section 16 shown in FIG. FIG.
(A) is defective cylinder information 21 used in the defect information management of the present invention. One bit is assigned to one cylinder of the magnetic disk medium, and the presence or absence of a defective sector on one cylinder is managed by one bit. ing. That is, if there is at least one defective sector on one cylinder, the bit of the corresponding cylinder number is set to 1; if there is no defective sector, the bit of the corresponding cylinder number is cleared to 0. Be composed.

【0028】図5(A)にあっては、バイト0とバイト
1の2バイトを取り出しており、バイト0側はシリンダ
番号0〜7についてビット0〜7が割り当てられ、バイ
ト0側にあってはシリンダ番号8〜15がビット0〜7
について割り当てられている。例えば磁気ディスク媒体
のシリンダ数が8192本であったとすると、シリンダ
8本で1バイトの欠陥シリンダ情報21となることか
ら、全シリンダ本数8192本につき1024バイトの
情報量となる。
In FIG. 5 (A), two bytes, byte 0 and byte 1, are taken out. On the byte 0 side, bits 0 to 7 are assigned for cylinder numbers 0 to 7, and on the byte 0 side, Indicates that cylinder numbers 8 to 15 are bits 0 to 7
Have been assigned about. For example, if the number of cylinders of the magnetic disk medium is 8,192, the defective cylinder information 21 of 1 byte is obtained for 8 cylinders, so that the information amount is 1024 bytes for all 8192 cylinders.

【0029】図5(B)はアドレスポインタとして機能
するポインタ情報22である。このポインタ情報22
は、図5(A)に示すバイト0,1の2バイト分の欠陥
シリンダ情報21、即ち16シリンダ分の欠陥シリンダ
情報21を1グループとして、各シリンダの欠陥セクタ
情報を格納しているメモリ領域の開始アドレス、即ち欠
陥シリンダ情報、バイト0/1の欠陥情報開始アドレス
を格納している。
FIG. 5B shows pointer information 22 functioning as an address pointer. This pointer information 22
Is a memory area that stores defective cylinder information 21 of each cylinder as two groups of defective cylinder information 21 of bytes 0 and 1 shown in FIG. 5A, that is, defective cylinder information 21 of 16 cylinders. , Ie, defective cylinder information, and defective information start address of byte 0/1.

【0030】この結果、アドレスポインタとしてのポイ
ンタ情報22は、図5(A)の2バイト単位に指定され
る16シリンダ分の欠陥セクタ情報を特定するための共
用アドレスポインタとして機能する。図5(B)のポイ
ンタ情報22は、図5(A)のバイト0,1の2バイト
分(16シリンダ分)の欠陥シリンダ情報21に対応し
たバイト0,1の欠陥情報開始アドレスを格納してお
り、4バイト単位に処理されることから、次のバイト
2,3の欠陥シリンダ情報に対応した欠陥情報開始アド
レスも併せて示している。
As a result, the pointer information 22 as an address pointer functions as a shared address pointer for specifying defective sector information for 16 cylinders specified in units of 2 bytes in FIG. The pointer information 22 in FIG. 5B stores the defect information start address of bytes 0 and 1 corresponding to the defective byte information 21 of 2 bytes (16 cylinders) of bytes 0 and 1 in FIG. 5A. Since the processing is performed in units of 4 bytes, the defect information start address corresponding to the defective cylinder information of the next bytes 2 and 3 is also shown.

【0031】具体的には、ポインタ情報22の情報量は
総シリンダ数を8192本とした場合、図5(A)の欠
陥シリンダ情報21が1024バイトであり、欠陥シリ
ンダ情報21の2バイト単位にポインタ情報22も2バ
イト単位の情報を与えることから、ポインタ情報22も
1024バイトの情報量となる。図5(C)は欠陥セク
タ情報23である。欠陥セクタ情報23は、図4の欠陥
セクタ情報エリア23aのようにワークバッファメモリ
16aのアドレスZを開始アドレスとして、この実施形
態にあっては4バイト単位の情報として格納されてい
る。
More specifically, when the total number of cylinders is 8192, the information amount of the pointer information 22 is 1024 bytes for the defective cylinder information 21 in FIG. Since the pointer information 22 also gives information in units of 2 bytes, the pointer information 22 also has an information amount of 1024 bytes. FIG. 5C shows the defective sector information 23. The defective sector information 23 is stored as information in units of 4 bytes in this embodiment, with the address Z of the work buffer memory 16a as a start address, as in the defective sector information area 23a in FIG.

【0032】欠陥セクタ情報23aの開始アドレスは、
図5(B)のポインタ情報22の2バイト情報で指定さ
れる欠陥シリンダ情報バイト0/1の欠陥情報開始アド
レスを先頭位置として最大で16シリンダ分の欠陥セク
タ情報23が順番に格納されている。図5(C)の欠陥
セクタ情報23につき本発明にあっては、欠陥セクタ情
報がスプリットセクタであるか交代セクタであるかの種
別に関係なく、全てバイト0,1,2,3の4バイト情
報で構成している。このため、図3のディフェクト情報
管理15による欠陥セクタ情報23に対する登録、サー
チ等の際のロード、ストアは全て4バイト単位の固定バ
イト長で処理することができ、スプリットセクタと交代
セクタでのバイト長の切り分けを必要としないことか
ら、その分、欠陥セクタ情報23の登録、更新、サーチ
が高速化できる。
The start address of the defective sector information 23a is
The defect sector information 23 of up to 16 cylinders is stored in order starting from the defect information start address of the defect cylinder information byte 0/1 specified by the 2-byte information of the pointer information 22 in FIG. 5B. . In the present invention, regarding the defective sector information 23 shown in FIG. 5C, regardless of whether the defective sector information is a split sector or a replacement sector, all four bytes of bytes 0, 1, 2, and 3 are used. It consists of information. For this reason, the load and store at the time of registration and search for the defective sector information 23 by the defect information management 15 in FIG. 3 can all be processed with a fixed byte length of 4 bytes, and the bytes in the split sector and the alternate sector can be processed. Since it is not necessary to divide the length, the registration, update and search of the defective sector information 23 can be speeded up accordingly.

【0033】欠陥セクタ情報23の構成は次のようにな
る。まずバイト0の上位4ビットには交代位置番号の下
位4ビットが割り当てられている。次のバイト0の下位
4ビットには欠陥シリンダ情報の下位4ビットが割り当
てられている。ここでポインタ情報22で指定される欠
陥情報開始アドレスから次の欠陥情報開始アドレスの間
には、図5(A)の2バイト情報で指定される16シリ
ンダ分の欠陥セクタ情報23が格納されており、この最
大16シリンダ分の欠陥セクタ情報の中の特定の欠陥シ
リンダを指定するために欠陥シリンダ情報の下位4ビッ
トを格納するようにしている。
The structure of the defective sector information 23 is as follows. First, the lower 4 bits of the replacement position number are assigned to the upper 4 bits of byte 0. The lower 4 bits of the defective cylinder information are assigned to the lower 4 bits of the next byte 0. Here, between the defect information start address specified by the pointer information 22 and the next defect information start address, the defective sector information 23 for 16 cylinders specified by the 2-byte information in FIG. In order to specify a specific defective cylinder in the defective sector information of up to 16 cylinders, the lower 4 bits of the defective cylinder information are stored.

【0034】即ち、上位装置からの8ビットのアクセス
シリンダ情報について欠陥シリンダであることが判別さ
れた場合、図5(A)(B)の欠陥シリンダ情報21及
びポインタ情報22によって、アクセスシリンダ情報の
上位4ビットによる共用化された欠陥情報開始アドレス
が指定されていることから、その中の特定の欠陥シリン
ダ情報についてはアクセスシリンダ情報の下位4ビット
を使用することで区別できる。
That is, when it is determined that the 8-bit access cylinder information from the higher-level device is a defective cylinder, the defective cylinder information 21 and the pointer information 22 shown in FIGS. Since the shared defect information start address is specified by the upper 4 bits, specific defective cylinder information in the start address can be distinguished by using the lower 4 bits of the access cylinder information.

【0035】欠陥セクタ情報23のバイト1には、上位
4ビットを使用して交代位置番号の中位4ビット(但
し、1トラック当りセクタ数256を越えるゾーンでは
上位4ビット)が割り当てられ、また下位4ビットに欠
陥ヘッド番号が割り当てられている。ここで欠陥セクタ
情報23のバイト0,1につき下位4ビット側に欠陥シ
リンダ情報と欠陥ヘッド番号を割り当てており、これに
よって欠陥セクタ情報23をロードして欠陥セクタをサ
ーチする際の欠陥シリンダ情報及び欠陥ヘッド番号の取
得を高速に処理できるようにしている。
Byte 1 of the defective sector information 23 is assigned the middle 4 bits of the replacement position number using the upper 4 bits (however, the upper 4 bits in a zone exceeding 256 sectors per track). A defective head number is assigned to the lower 4 bits. Here, the defective cylinder information and the defective head number are assigned to the lower 4 bits for bytes 0 and 1 of the defective sector information 23, whereby the defective cylinder information and the defective cylinder information at the time of loading the defective sector information 23 and searching for the defective sector are obtained. The acquisition of the defective head number can be processed at high speed.

【0036】欠陥セクタ情報23のバイト2の8ビット
は、欠陥セクタ番号の下位8ビットが割り当てられてい
る。欠陥セクタ情報23のバイト3の上位4ビットには
バイト0,1側の下位4ビット、中位4ビットに対応し
た上位4ビットの交代位置番号が割り当てられている。
更にバイト3側の3ビット目、2ビット目については制
御ビットLASTと制御ビットALTが割り当てられ
る。
The lower 8 bits of the defective sector number are assigned to 8 bits of byte 2 of the defective sector information 23. To the upper 4 bits of byte 3 of the defective sector information 23, the lower 4 bits of bytes 0 and 1 and the upper 4 bits corresponding to the middle 4 bits are assigned an alternate position number.
Further, a control bit LAST and a control bit ALT are assigned to the third and second bits on the byte 3 side.

【0037】制御ビットLASTは、このビットをセッ
トすることで欠陥セクタ情報23がトラックの最終ディ
フェクトであることを示している。また制御ビットAL
Tは欠陥セクタ情報23がスプリットセクタか交代セク
タかを示している。即ち、制御ビットALTが1にセッ
トされていると交代セクタであることを示し、0にクリ
アされているとスプリットセクタであることを示す。
The control bit LAST indicates that setting this bit indicates that the defective sector information 23 is the last defect of the track. Control bit AL
T indicates whether the defective sector information 23 is a split sector or a replacement sector. That is, when the control bit ALT is set to 1, it indicates that the sector is a replacement sector, and when it is cleared to 0, it indicates that it is a split sector.

【0038】欠陥セクタ情報23における3バイト目の
下位2ビットは、2バイト目の8ビットで指定される欠
陥セクタ番号に対する上位2ビットの欠陥セクタ番号の
格納に割り当てられる。即ち、1トラック当たりのセク
タ数が256以下のゾーンにあっては、2バイト目の8
ビットの欠陥セクタ番号で足りるが、1トラック当たり
のセクタ数が256セクタを超えて例えば1024セク
タの10ビット構成となった場合には、3バイト目の下
位2ビットで指定される欠陥セクタ番号の領域を使用す
る。
The lower 2 bits of the third byte in the defective sector information 23 are assigned to store the upper 2 bits of the defective sector number with respect to the defective sector number specified by the 8 bits of the second byte. That is, in a zone where the number of sectors per track is 256 or less, 8
If the number of sectors per track exceeds 256 sectors and has a 10-bit configuration of, for example, 1024 sectors, the area of the defective sector number specified by the lower 2 bits of the third byte is sufficient. Use

【0039】尚、欠陥セクタ情報23において、制御ビ
ットALTが1にセットされたときバイト0,1及び3
の各交代位置番号が有効になるが、逆に制御ビットAL
Tが0にクリアされたスプリットセクタの場合には交代
位置番号は使用しないことから、バイト0,1または3
の使用していない交代位置番号のビットを制御ビットA
LTに利用することも可能である。
When the control bit ALT is set to 1 in the defective sector information 23, bytes 0, 1 and 3
Becomes effective, but conversely, the control bit AL
In the case of a split sector in which T is cleared to 0, since the replacement position number is not used, bytes 0, 1, or 3
Are used as control bit A
It can also be used for LT.

【0040】図6は図3の交代処理部20により上位装
置からアクセス情報を受けたときのディフェクト管理情
報のサーチ処理のフローチャートである。まず上位装置
からのリードまたはライトアクセスに伴って、アクセス
シリンダ番号CC、アクセスヘッド番号HH、アクセス
開始セクタ番号SS、アクセス終了セクタ番号SEが提
供される。
FIG. 6 is a flowchart of a process of searching for defect management information when access information is received from a higher-level device by the replacement processing unit 20 of FIG. First, an access cylinder number CC, an access head number HH, an access start sector number SS, and an access end sector number SE are provided with a read or write access from a higher-level device.

【0041】このようなアクセス情報を受けた交代処理
部20は、まず欠陥シリンダ情報21の参照を行う。即
ち、ステップS1で、アクセスシリンダ番号CCを図5
(A)の欠陥シリンダ情報21の1バイト長に格納でき
るシリンダ数8本を示す数8で割って商Aと余りBを求
める。続いてステップS2で、例えば図4のような欠陥
シリンダ情報領域21aの先頭アドレスXにステップS
1で求めた商Aを加えたアドレスについての2バイトの
ワード情報を欠陥シリンダ情報Cとしてロードする。こ
のようにしてロードした欠陥シリンダ情報Cについて、
ステップS3で、ステップS1で求めた余りBに対応し
たビットBが1か否かチェックする。
Upon receiving such access information, the replacement processing unit 20 first refers to the defective cylinder information 21. That is, in step S1, the access cylinder number CC is set in FIG.
The quotient A and the remainder B are obtained by dividing by 8 which indicates the number of cylinders that can be stored in one byte length of the defective cylinder information 21 in FIG. Subsequently, in step S2, for example, the start address X of the defective cylinder information area 21a as shown in FIG.
The 2-byte word information about the address to which the quotient A obtained in 1 is added is loaded as defective cylinder information C. Regarding the defective cylinder information C loaded in this way,
In step S3, it is checked whether the bit B corresponding to the remainder B obtained in step S1 is "1".

【0042】ビットBが1であれば、このアクセスシリ
ンダ番号CCのセクタ中には欠陥セクタが存在している
ことから、ステップS4に進み、図4のポインタ情報領
域22aの先頭アドレスYにステップS1で求めた商A
の半分の(A/2)を加えたアドレスの2バイトのワー
ド情報をロードする。即ち、図5(B)のポインタ情報
22の欠陥シリンダ情報の1ビットが含まれる16シリ
ンダをまとめて2バイトの欠陥シリンダ情報バイトi/
i+1の欠陥情報開始アドレスをロードする。次にステ
ップS4でロードしたポインタ情報である欠陥情報開始
アドレスの欠陥セクタ情報をステップS5で4バイトロ
ードする。次のステップS6で、ステップS1で求めた
余りBで指定される欠陥シリンダ情報の下位4ビットに
ロードした4バイトの欠陥セクタ情報の中の欠陥シリン
ダ情報が一致するか否かチェックする。
If the bit B is 1, since there is a defective sector in the sector of the access cylinder number CC, the process proceeds to step S4, and the process proceeds to step S1 in the start address Y of the pointer information area 22a in FIG. The quotient A found in
Is loaded with 2-byte word information at an address obtained by adding half (A / 2) of the word. That is, 16 cylinders including one bit of the defective cylinder information of the pointer information 22 of FIG.
Load the defect information start address of (i + 1). Next, the defective sector information of the defect information start address, which is the pointer information loaded in step S4, is loaded in 4 bytes in step S5. In the next step S6, it is checked whether or not the defective cylinder information in the 4-byte defective sector information loaded in the lower 4 bits of the defective cylinder information specified by the remainder B obtained in step S1 matches.

【0043】余りBが欠陥セクタ情報の中の欠陥シリン
ダ情報(下位4ビット)に一致すると、ステップS7に
進み、欠陥ヘッド番号がアクセスヘッド番号に一致する
か否かチェックする。ヘッド番号がアクセスヘッド番号
に一致すれば、ステップS8で、欠陥セクタ情報の欠陥
セクタ番号がアクセス開始セクタSSを超えているか否
かチェックする。
When the remainder B matches the defective cylinder information (lower 4 bits) in the defective sector information, the flow advances to step S7 to check whether the defective head number matches the access head number. If the head number matches the access head number, it is checked in step S8 whether the defective sector number in the defective sector information exceeds the access start sector SS.

【0044】欠陥セクタ番号がアクセス開始セクタSS
を超えていれば、ステップS9で、欠陥セクタ番号がア
クセス最終セクタ番号SEより小さいか否かチェックす
る。欠陥セクタ番号がアクセス最終セクタ番号SEより
小さければ、この欠陥セクタ情報はアクセス対象となっ
ているセクタ範囲に入っていることから、ステップS1
0で欠陥セクタ情報の中の制御ビットALTをチェック
する。
If the defective sector number is the access start sector SS
If not, it is checked in step S9 whether the defective sector number is smaller than the access last sector number SE. If the defective sector number is smaller than the access last sector number SE, this defective sector information falls within the sector range to be accessed, so that step S1 is executed.
At 0, the control bit ALT in the defective sector information is checked.

【0045】ALTビットが1であれば、これは交代セ
クタであることから、ステップS11に進み、欠陥セク
タ情報から得た交代位置番号を予め分かっているトラッ
ク当たりのセクタ数で割って商Tとその余りEを求め
る。このとき商Tが交代セクタ位置のヘッド番号とな
り、また余りEが交代位置のセクタ番号となり、ステッ
プS12で交代セクタに対するアクセスを行う。ステッ
プS10でALTビットが0であった場合には、これは
スプリットセクタであることから、欠陥セクタ情報に基
づいたスプリットセクタに対する処理を行う。
If the ALT bit is 1, this is a replacement sector, and the process proceeds to step S11, where the replacement position number obtained from the defective sector information is divided by a known number of sectors per track to obtain a quotient T and a quotient T. Find the remainder E. At this time, the quotient T becomes the head number of the replacement sector position, and the remainder E becomes the sector number of the replacement position. In step S12, the replacement sector is accessed. If the ALT bit is 0 in step S10, since this is a split sector, processing is performed on the split sector based on the defective sector information.

【0046】一方、ステップS6でロードした欠陥セク
タ情報の欠陥シリンダ番号が余りBに不一致な場合、ス
テップS7で欠陥ヘッド番号がアクセスヘッド番号に不
一致な場合、あるいはステップS8で欠陥セクタ番号が
アクセス開始セクタ番号SSより小さかった場合には、
ステップS13に進み、欠陥セクタ情報の制御ビットL
ASTをチェックし、LASTビットが1でなければス
テップS5に戻って、次の欠陥セクタ情報を4バイトロ
ードし、ステップS6からの処理を繰り返す。
On the other hand, if the defective cylinder number of the loaded defective sector information does not match the remainder B in step S6, if the defective head number does not match the access head number in step S7, or if the defective sector number starts accessing in step S8. If smaller than sector number SS,
Proceeding to step S13, the control bit L of the defective sector information
The AST is checked, and if the LAST bit is not 1, the process returns to step S5, loads the next defective sector information by 4 bytes, and repeats the processing from step S6.

【0047】これによってポインタ情報の先頭アドレス
が指定される16シリンダごとの欠陥セクタ情報を順番
に読み出して、アクセス情報に含まれている交代セクタ
のヘッド番号及びセクタ番号を求めて交代処理を行うこ
とになる。また、サーチ中にステップS13でLAST
ビットが1であった場合には、そのシリンダにはディフ
ェクトが存在しないことから、ステップS14に進み、
そのシリンダにはディフェクトが存在しないものとして
サーチを終了する。
Thus, the defective sector information for every 16 cylinders in which the head address of the pointer information is specified is read out in order, and the replacement process is performed by obtaining the head number and the sector number of the replacement sector included in the access information. become. In addition, during the search, LAST in step S13.
If the bit is 1, since there is no defect in the cylinder, the process proceeds to step S14,
The search is terminated assuming that no defect exists in the cylinder.

【0048】もちろん、ステップS3で欠陥シリンダ情
報のロード内容についてビットBが1でなかった場合に
は、そのシリンダにディフェクトがないことから、同様
にしてステップS14でディフェクトなしとしてサーチ
を終了し、アクセス情報そのものによるアクセスを実行
する。更にステップS11にあっては、交代シリンダを
1本持つ装置を対象として交代位置番号をトラック当た
りのセクタ数で割って求めた商Tをヘッド番号、余りE
をセクタ番号としているが、交代シリンダを2本以上持
つ装置にあっては、商Tを更に装置数で割った商(D/
装置数)を、更に最大ヘッド本数で割った商がシリンダ
番号で、その余りがヘッド番号となる。
Of course, if the bit B is not 1 for the load content of the defective cylinder information in step S3, there is no defect in that cylinder, so in step S14 the search is terminated with no defect, and the access is terminated. Perform access by the information itself. Further, in step S11, the quotient T obtained by dividing the replacement position number by the number of sectors per track for a device having one replacement cylinder is the head number, the remainder E
Is used as a sector number. In a device having two or more replacement cylinders, the quotient T is further divided by the number of devices (D /
The quotient obtained by dividing the number of devices by the maximum number of heads is the cylinder number, and the remainder is the head number.

【0049】図7は本発明のディフェクト情報管理の他
の実施形態であり、この実施形態にあっては光ディスク
媒体のベンチテスト用のシリンダ領域として割り当てら
れる例えばシリンダ番号CC=000〜256の欠陥シ
リンダ情報について、図5(A)のような1シリンダに
欠陥セクタが存在するか否かを1ビットで表現した情報
とせず、欠陥シリンダについてその欠陥セクタ情報23
の1バイト欠陥セクタ開始アドレスを直接管理するよう
にしたことを特徴とする。
FIG. 7 shows another embodiment of the defect information management according to the present invention. In this embodiment, for example, a defective cylinder having a cylinder number CC = 000 to 256, which is allocated as a cylinder area for bench test of an optical disk medium. As for the information, whether the defective sector exists in one cylinder as shown in FIG.
The one-byte defective sector start address is directly managed.

【0050】即ち、図7のワークバッファメモリ16a
に展開されたベンチテスト用シリンダの欠陥シリンダ情
報25にあっては、左側に示すシリンダ番号CC=00
0〜255の256シリンダについて、もしシリンダ中
に欠陥セクタが存在した場合には、図5(C)の欠陥セ
クタ情報23のワークバッファメモリ16a上の開始位
置を示す1バイト欠陥セクタ開始アドレスを直接格納し
ている。
That is, the work buffer memory 16a shown in FIG.
In the defective cylinder information 25 of the cylinder for the bench test developed in the above, the cylinder number CC = 00 shown on the left side
For 256 cylinders 0 to 255, if a defective sector exists in the cylinder, the 1-byte defective sector start address indicating the start position on the work buffer memory 16a of the defective sector information 23 in FIG. Stored.

【0051】この結果、ベンチテスト用シリンダの欠陥
シリンダ情報25にあっては、図5(B)のようなポイ
ンタ情報22を必要とせず、欠陥シリンダ情報25のサ
ーチで直接、図5(C)の欠陥セクタ情報23の開始ア
ドレスを取得して、対応する欠陥セクタ情報をサーチす
ることができる。このため、ポインタ情報22を持たな
い分だけ、ベンチテストのために頻繁にアクセスするシ
リンダ番号CC=000〜255の256シリンダ領域
についてはディフェクト情報のサーチを高速化できる。
As a result, the defective cylinder information 25 of the bench test cylinder does not need the pointer information 22 as shown in FIG. The start address of the defective sector information 23 can be obtained, and the corresponding defective sector information can be searched. Therefore, the search for the defect information can be speeded up for the 256 cylinder area of the cylinder number CC = 000 to 255 frequently accessed for the bench test because the pointer information 22 is not provided.

【0052】このベンチテスト用シリンダ欠陥情報25
以外の他のシリンダ番号256以降については、図5
(A)の1シリンダにつき欠陥セクタの有無を示す1ビ
ットを割り当てた欠陥シリンダ情報21を格納してい
る。また上記の実施形態にあっては、図5(B)のポイ
ンタ情報22として図5(A)の欠陥シリンダ情報21
の16シリンダをグループ化して欠陥シリンダ情報バイ
ト(i/i+1)の欠陥情報開始アドレスをアドレスポ
インタとして登録しているが、他の実施形態として図5
(B)のポインタ情報22を図5(A)の欠陥シリンダ
情報21の8シリンダ(1バイト)につきグループ化
し、ポインタ情報22を1バイト単位の領域として欠陥
シリンダ情報、バイト単位の欠陥情報を情報開始アドレ
スとしてもよい。
This bench test cylinder defect information 25
For cylinder numbers other than 256 other than those shown in FIG.
(A) Stores defective cylinder information 21 in which 1 bit indicating the presence or absence of a defective sector is assigned to each cylinder. In the above embodiment, the defective cylinder information 21 in FIG. 5A is used as the pointer information 22 in FIG.
16 are grouped and the defect information start address of the defective cylinder information byte (i / i + 1) is registered as an address pointer. As another embodiment, FIG.
The pointer information 22 shown in FIG. 5B is grouped into eight cylinders (one byte) of the defective cylinder information 21 shown in FIG. The start address may be used.

【0053】もちろん、この場合についても欠陥セクタ
情報23の欠陥シリンダ情報にはシリンダ情報の下位4
ビットを8本のシリンダの中の特定のシリンダの1つを
区別するために格納する。なお本発明は上記の実施形態
の数値による限定は受けない。
Of course, also in this case, the defective cylinder information of the defective sector information 23 contains the lower 4
A bit is stored to distinguish one of the eight cylinders for a particular cylinder. The present invention is not limited by the numerical values of the above embodiments.

【0054】[0054]

【発明の効果】以上説明してきたように本発明によれ
ば、欠陥シリンダ情報をシリンダごとのビット情報で管
理して、この欠陥シリンダ情報について例えばシリンダ
16本ごとにアドレスポインタとしての欠陥セクタ情報
開始アドレスを持たせ、更に欠陥セクタ開始アドレスで
管理される欠陥セクタ情報として交代セクタかスプリッ
トセクタかの種別に関係なく全て4バイトの欠陥セクタ
情報としたことで、トータル的なディフェクト管理情報
の情報量を圧縮して低減でき、装置上のワークバッファ
メモリに展開した際のディフェクト管理情報の容量低減
によりテーブル登録、更新、及びアクセス要求に対する
ディフェクト管理情報のサーチによる交代処理の処理時
間が短縮でき、ディフェクト管理情報を展開するワーク
バッファ領域に制限のあるローエンド装置であっても、
ハイエンド装置相当のディフェクトサーチ時間を保証す
ることができる。
As described above, according to the present invention, defective cylinder information is managed by bit information for each cylinder, and the defective cylinder information is used as an address pointer for every 16 cylinders. Address, and the defective sector information managed by the defective sector start address is all 4-byte defective sector information regardless of the type of the replacement sector or the split sector, so that the total amount of defect management information can be obtained. Can be reduced, and the processing time of replacement processing by searching for defect management information for table registration, updating, and access requests can be reduced by reducing the amount of defect management information when expanded in the work buffer memory on the device. Limited to work buffer area for deploying management information Even a low-end device,
A defect search time equivalent to a high-end device can be guaranteed.

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

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明が適用される磁気ディスク装置のブロッ
ク図
FIG. 2 is a block diagram of a magnetic disk drive to which the present invention is applied;

【図3】本発明によるディフェクト管理機能のブロック
FIG. 3 is a block diagram of a defect management function according to the present invention;

【図4】本発明のディフェクト管理情報のワークバッフ
ァ展開状態のメモリマップ説明図
FIG. 4 is an explanatory diagram of a memory map in a work buffer development state of defect management information according to the present invention.

【図5】本発明のディフェクト管理で使用する欠陥シリ
ンダ情報、ポインタ情報及び欠陥セクタ情報の説明図
FIG. 5 is an explanatory diagram of defective cylinder information, pointer information, and defective sector information used in defect management according to the present invention.

【図6】本発明のディフェクト管理情報に対するサーチ
処理のフローチャート
FIG. 6 is a flowchart of a search process for defect management information according to the present invention.

【図7】本発明の他の実施形態で使用する欠陥シリンダ
情報のメモリマップ説明図
FIG. 7 is an explanatory diagram of a memory map of defective cylinder information used in another embodiment of the present invention.

【図8】従来のディフェクト管理情報の説明図FIG. 8 is an explanatory diagram of conventional defect management information.

【図9】媒体セクタ数の増加に対応した従来の欠陥セク
タ情報の説明図
FIG. 9 is an explanatory diagram of conventional defective sector information corresponding to an increase in the number of medium sectors.

【図10】ゾーンで管理する従来のディフェクト管理情
報の説明図
FIG. 10 is an explanatory diagram of conventional defect management information managed in zones.

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

1:ディスクエンクロージャ 2:コントロール回路ボード 3:R/Wプリアンプ回路 4:ヘッドアッセンブリィ 5:ボイスコイルモータ(VCM) 6:スピンドルモータ 7:MCU 8:リードチャネル回路 9:ハードディスクコントローラ 10:サーボコントローラ 11a,11b:FPC 12:フラッシュPEROM 13:データバッファ 14:インタフェースコネクタ 15:ディフェクト情報管理部 16:ディフェクト情報記憶部 16a:ワークバッファメモリ 17:欠陥シリンダ情報管理部 18:ポインタ情報管理部 19:欠陥セクタ情報管理部 20:交代処理部 21:欠陥シリンダ情報 22:ポインタ情報 23:欠陥セクタ情報 25:ベンチテスト用欠陥シリンダ情報 1: Disk enclosure 2: Control circuit board 3: R / W preamplifier circuit 4: Head assembly 5: Voice coil motor (VCM) 6: Spindle motor 7: MCU 8: Read channel circuit 9: Hard disk controller 10: Servo controller 11a , 11b: FPC 12: Flash PEROM 13: Data buffer 14: Interface connector 15: Defect information management unit 16: Defect information storage unit 16a: Work buffer memory 17: Defective cylinder information management unit 18: Pointer information management unit 19: Defective sector Information management unit 20: replacement processing unit 21: defective cylinder information 22: pointer information 23: defective sector information 25: defective cylinder information for bench test

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】媒体上の欠陥セクタの位置アドレス及び欠
陥セクタの交代先セクタアドレスを管理するディフェク
ト情報を、装置の電源投入時に、前記媒体から読み出し
て装置上のメモリ領域に展開して媒体のアクセスを行う
記憶装置に於いて、 シリンダ毎に欠陥セクタの有無を示す1ビットの欠陥シ
リンダ情報を生成して管理する欠陥シリンダ情報管理部
と、 1ビットの前記欠陥シリンダ情報を複数シリンダ単位に
グループ化して欠陥セクタ情報の開始アドレスを示すポ
インタ情報を生成して管理するポインタ情報管理部と、 交代セクタとスプリットセクタの種別に関わらず所定バ
イト単位の情報として前記ポインタ情報で指定された開
始アドレスに対応して欠陥セクタ情報を生成して管理す
る欠陥セクタ情報管理部と、 上位装置のアクセス要求に対し前記欠陥シリンダ情報、
ポインタ情報及び欠陥セクタ情報をサーチして交代処理
を行う交代処理部と、を備えたことを特徴とする記憶装
置。
1. Defect information for managing a position address of a defective sector on a medium and a replacement sector address of the defective sector is read out from the medium when the apparatus is turned on, and is expanded in a memory area on the apparatus to be developed. A defective cylinder information management unit that generates and manages 1-bit defective cylinder information indicating presence / absence of a defective sector for each cylinder in a storage device to be accessed; and groups the 1-bit defective cylinder information into a plurality of cylinder units. A pointer information management unit for generating and managing pointer information indicating a start address of defective sector information; and a start address specified by the pointer information as information in a predetermined byte unit regardless of the type of the alternate sector and the split sector. A defective sector information management unit for generating and managing defective sector information in response to the access to a higher-level device; The defective cylinder information in response to the
A storage device, comprising: a replacement processing unit that searches for pointer information and defective sector information and performs replacement processing.
【請求項2】請求項1記載の記憶装置に於いて、前記欠
陥シリンダ情報管理部は、交代セクタとスプリットセク
タの種別に関わらず4バイト単位の情報として前記欠陥
セクタ情報を生成管理することを特徴とする記憶装置。
2. The storage device according to claim 1, wherein the defective cylinder information management unit generates and manages the defective sector information as information of a 4-byte unit regardless of a type of a replacement sector and a type of a split sector. Characteristic storage device.
【請求項3】請求項1記載の記憶装置に於いて、前記欠
陥シリンダ情報管理部は、前記欠陥セクタ情報として、
前記ポインタ情報で指定される開始アドレスを共有して
いる複数シリンダの中の特定シリンダを区別する欠陥シ
リンダ情報、欠陥ヘッド番号、交代先セクタアドレスを
示す交代位置番号、スプリットセクタか交代セクタかを
示す制御ビット、トラックの最終ディフェクトを示す制
御ビットの各々を備え、且つ前記欠陥シリンダ情報及び
欠陥ヘッド情報を下位ビット側に配置したことを特徴と
する記憶装置。
3. The storage device according to claim 1, wherein said defective cylinder information management unit includes:
Defective cylinder information for discriminating a specific cylinder among a plurality of cylinders sharing the start address specified by the pointer information, a defective head number, a replacement position number indicating a replacement sector address, and indicating whether the sector is a split sector or a replacement sector. A storage device comprising a control bit and a control bit indicating a last defect of a track, and wherein the defective cylinder information and the defective head information are arranged on a lower bit side.
【請求項4】請求項1記載の記憶装置に於いて、前記媒
体のベンチテスト等に利用される1バイト長以下のシリ
ンダアドレス領域について、前記欠陥シリンダ情報管理
部は、シリンダ毎に1バイト長の欠陥セクタ情報開始ア
ドレスをを生成して管理し、前記ポインタ情報管理部に
よる欠陥セクタ情報開始アドレスを示すポインタ情報の
管理を行わないことを特徴とする記憶装置。
4. The storage device according to claim 1, wherein, for a cylinder address area of 1 byte or less used for a bench test or the like of the medium, the defective cylinder information management unit is configured to have a 1 byte length for each cylinder. A storage device for generating and managing the defective sector information start address, and not managing the pointer information indicating the defective sector information start address by the pointer information management unit.
JP16232097A 1997-06-19 1997-06-19 Memory apparatus Withdrawn JPH117730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16232097A JPH117730A (en) 1997-06-19 1997-06-19 Memory apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16232097A JPH117730A (en) 1997-06-19 1997-06-19 Memory apparatus

Publications (1)

Publication Number Publication Date
JPH117730A true JPH117730A (en) 1999-01-12

Family

ID=15752298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16232097A Withdrawn JPH117730A (en) 1997-06-19 1997-06-19 Memory apparatus

Country Status (1)

Country Link
JP (1) JPH117730A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954876B2 (en) 2000-12-11 2005-10-11 Hitachi Global Storage Technologies Japan, Ltd. Disk apparatus
CN102180239A (en) * 2011-04-25 2011-09-14 太仓市车中宝休闲用品有限公司 Push rowing boat for fitness and entertainment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954876B2 (en) 2000-12-11 2005-10-11 Hitachi Global Storage Technologies Japan, Ltd. Disk apparatus
CN102180239A (en) * 2011-04-25 2011-09-14 太仓市车中宝休闲用品有限公司 Push rowing boat for fitness and entertainment

Similar Documents

Publication Publication Date Title
US6470461B1 (en) Disk drive controller circuit and method for skipping defective and/or undesired sectors
AU554707B2 (en) Management of defects in storage media
US6172906B1 (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US6735678B2 (en) Method and apparatus for disc drive defragmentation
JP5000316B2 (en) Object-based data storage
CA2045947C (en) Structured data storage method and medium
KR20020064357A (en) Buffer management system for managing the transfer of data into and out of a buffer in a disc drive
JPH1063578A (en) Information recording and reproducing device
KR20040071285A (en) Concurrent read and write access to simulated sequential data of a removable random access data storage medium
KR20050057006A (en) Storage system with non volatile memory for storing data
US6850379B2 (en) Method for registering a defect map within a hard disk drive
US5025431A (en) Autochanger of writable discs
US5025432A (en) Autochanger of writable discs including a non-volatile memory for storing most recent defect management information relating to the writable discs
US6693754B2 (en) Method and apparatus for a disc drive adaptive file system
US20050138464A1 (en) Scratch fill using scratch tracking table
US7697388B2 (en) Defect management method and system of optical disk drive
JPH117730A (en) Memory apparatus
US6862150B1 (en) Information storage device and defect information management method
US20020071193A1 (en) Disk apparatus
JP4470471B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
JP2001175424A (en) Magnetic disk device
JPS6381662A (en) Magnetic disk control system
JPS62140275A (en) Alternation allotment processing system
JP2002175204A (en) Computer system and method for recording file in computer system
JPH09102170A (en) Disk recording and reproducing device and defect processing method applied thereto

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: 20040907