JPH0417458B2 - - Google Patents
Info
- Publication number
- JPH0417458B2 JPH0417458B2 JP58085308A JP8530883A JPH0417458B2 JP H0417458 B2 JPH0417458 B2 JP H0417458B2 JP 58085308 A JP58085308 A JP 58085308A JP 8530883 A JP8530883 A JP 8530883A JP H0417458 B2 JPH0417458 B2 JP H0417458B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- data
- magnetic disk
- defective
- replacement
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1883—Methods for assignment of alternate areas for defective areas
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10916—Seeking data on the record carrier for preparing an access to a specific address
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Digital Magnetic Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明は固定長ブロツクの磁気デイスク装置に
係り、特に磁気デイスク制御装置が該磁気デイス
ク装置から読出したデータが保障し得る場合、ソ
フトウエアの介在無しに該データを不良ブロツク
から交替ブロツクに移す交替ブロツク割当方式に
関する。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a fixed-length block magnetic disk drive, and in particular to a method for controlling software when data read from the magnetic disk drive by a magnetic disk control device can be guaranteed. The present invention relates to a replacement block allocation method for moving data from a defective block to a replacement block without intervention.
(b) 従来技術と問題点
磁気デイスク装置に用いられる磁気デイスク媒
体には製造上の問題から、媒体面上に欠陥があ
り、記録したデータを読出した際にエラーが発生
することがある。固定長ブロツクの磁気デイスク
装置に於けるセクタのフオーマツトは、第1図に
示す如く、各トラツクを分割する各セクタに索引
用の情報を記録するID部とデータを記録する
DATA部とが設けられている。媒体の欠陥によ
りID部の情報がエラーした場合又はDATA部で
修正可能なエラーが発生した場合には、該データ
は保障し得る為、通常シリンダ(回転軸から等距
離にある総てのトラツクの集合)の一部に交替用
の領域が設けられており、該データは該領域の交
替ブロツクに移される。(b) Prior Art and Problems Due to manufacturing problems, magnetic disk media used in magnetic disk devices have defects on the surface of the medium, which may cause errors when reading recorded data. As shown in Figure 1, the sector format in a fixed-length block magnetic disk device is such that an ID section for recording index information and data are recorded in each sector that divides each track.
A DATA section is provided. If there is an error in the information in the ID section due to a defect in the medium, or if a correctable error occurs in the DATA section, the data can be guaranteed. A spare area is provided in a part of the block, and the data is transferred to the spare block of the area.
従来の固定長ブロツクの磁気デイスク装置に於
ける交替ブロツクの割当は、ソフトウエアのロケ
ート・コマンドのフオーマツト・デフエクテイ
ブ・サブコマンドにより行われていた。該サブコ
マンドが磁気デイスク制御装置に上位装置より与
えられると、以下に説明する如く動作する。 In a conventional fixed-length block magnetic disk device, replacement blocks are allocated using a format differential subcommand of a software locate command. When the subcommand is given to the magnetic disk control device from the host device, it operates as described below.
一番シーク(磁気ヘツドを目的とするトラツ
クに位置付けする動作)時間の小さい交替領域
から、未割付の交替ブロツクを探す。 Search for an unallocated spare block starting from the spare area with the shortest seek (operation to position the magnetic head on the target track) time.
交替領域の未割付ブロツクが見つかつた後
で、不良ブロツクのID部を不良フラグを付け
て書込みする。 After an unallocated block in the spare area is found, the ID part of the defective block is written with a defect flag attached.
次に不良ブロツクのID部を読出す。該読出
しによりエラーした場合には数十〜数百バイト
ずらした位置に再び書込みをしてみる。 Next, read the ID part of the defective block. If an error occurs during reading, try writing again at a position shifted by several tens to hundreds of bytes.
再び不良ブロツクのID部を読出してみる。
エラーがあれば再び数十〜数百バイトずらして
ID部を書込む。 Try reading the ID part of the defective block again.
If there is an error, shift it again by several tens to hundreds of bytes.
Write the ID part.
更に該ID部を読出して未だエラーするよう
であれば、上位装置に対してエラー報告を行
う。 Furthermore, if the ID section is read and an error still occurs, an error report is sent to the host device.
〜の動作でエラーが無く不良ブロツクの
ID部の読出しが成功すれば、交替ブロツクの
ID部に交替ブロツクフラグ及び割付済みフラ
グを付けて書込みする。 There is no error in the operation of ~ and there is no defective block.
If the reading of the ID part is successful, the replacement block
Write to the ID section with the replacement block flag and assigned flag.
以上で交替ブロツクの割当処理を終了するが、
不良ブロツクのDATA部に書かれていたデータ
を交替ブロツクのDATA部に書込みするのはソ
フトウエアが行つており、ソフトウエアの負荷を
重くする欠点がある。 This completes the replacement block allocation process, but
Writing the data written in the DATA section of a defective block to the DATA section of a replacement block is done by software, which has the drawback of increasing the software load.
(c) 発明の目的
本発明の目的は上記欠点を除く為、交替ブロツ
クの割当を行う際に、不良ブロツクのデータをソ
フトウエアによらず、磁気デイスク制御装置がバ
ツフアメモリに退避させ、交替ブロツクの割当処
理が済んだ後、該交替ブロツクのDATA部に該
バツフアメモリに退避させたデータを書込むこと
により、ソフトウエアの負荷を軽くする交替ブロ
ツク割当方式を提供することにある。(c) Object of the Invention The object of the present invention is to eliminate the above-mentioned drawbacks, and when allocating a replacement block, the magnetic disk control device saves the data of the defective block to the buffer memory without using software, so that the data of the replacement block is saved. The object of the present invention is to provide a spare block allocation method that reduces the load on software by writing the data saved in the buffer memory into the DATA section of the spare block after the allocation process is completed.
(d) 発明の構成
本発明の構成は固定長ブロツクの磁気デイスク
装置を制御する磁気デイスク制御装置に於いて、
上位装置が送出する交替ブロツク割当を指示する
命令を受信した時、不良ブロツクのデータ部に書
込まれているデータを退避させるバツフアメモリ
を設け、前記交替ブロツク割当を指示する命令に
基づき、該バツフアメモリに不良ブロツクのデー
タ部からデータを退避させ、該不良ブロツクに対
する交替ブロツクの割当てが完了した時、該バツ
フアメモリに退避させたデータを該交替ブロツク
のデータ部に書込むようにしたものである。(d) Structure of the Invention The structure of the present invention is a magnetic disk control device that controls a fixed-length block magnetic disk device.
A buffer memory is provided to save the data written in the data section of the defective block when a command sent from the host device instructing replacement block allocation is received, and based on the command instructing replacement block allocation, the buffer memory is saved. Data is saved from the data section of a defective block, and when the allocation of a replacement block to the defective block is completed, the data saved in the buffer memory is written into the data section of the replacement block.
(e) 発明の実施例
第2図は本発明の一実施例を説明する磁気デイ
スク・サブシステムの構成例を示す。磁気デイス
ク制御装置1は上位装置からの命令により磁気デ
イスク制御アダプタ2を経て磁気デイスク装置3
又は4を制御し、磁気デイスク装置3,4の磁気
デイスクにデータの書込み/読出しを行う。第3
図は或シリンダのトラツクの一例を示す。例えば
Aで示すブロツクが不良でID部又はDATA部か
らエラーが発生したとする。交替用領域のブロツ
クBが未割当であるとすれば、以下に説明する如
く動作する。(e) Embodiment of the Invention FIG. 2 shows an example of the configuration of a magnetic disk subsystem illustrating an embodiment of the invention. The magnetic disk control device 1 is connected to the magnetic disk device 3 via the magnetic disk control adapter 2 according to a command from the host device.
or 4 to write/read data to/from the magnetic disks of the magnetic disk devices 3 and 4. Third
The figure shows an example of a track for a cylinder. For example, suppose that the block indicated by A is defective and an error occurs in the ID section or DATA section. If block B in the replacement area is unallocated, the operation will be as described below.
(1) フオーマツト・デフエクテイブ・サブコマン
ドでブロツクAを不良とする命令が上位装置よ
り磁気デイスク制御装置1に出される。(1) A format defective subcommand is issued to the magnetic disk controller 1 from the host device to designate block A as defective.
(2) 磁気デイスク制御装置1はブロツクAの
DATA部をバツフアメモリ5に読み込む。こ
の時訂正可能なエラーが発生した場合は修正し
て読み込むが、訂正不能の場合は従来と同様に
処理し本発明は適用しない。(2) The magnetic disk control device 1 is
Read the DATA section into buffer memory 5. At this time, if a correctable error occurs, it is corrected and read, but if it is uncorrectable, it is processed in the same manner as before and the present invention is not applied.
(3) 一番シーク時間の小さい交替領域で未割当の
ブロツクを探す。本例ではBである。(3) Find an unallocated block in the spare area with the shortest seek time. In this example, it is B.
(4) 不良ブロツクAのID部を不良フラグを付け
て書込みする。(4) Write the ID part of defective block A with a defect flag attached.
(5) 不良ブロツクAのID部を読出す。エラーし
た場合には数十〜数百バイトずらした位置で再
びID部を書込む。(5) Read the ID part of defective block A. If an error occurs, the ID part is written again at a position shifted by several tens to hundreds of bytes.
(6) 再び該ID部を読出してみる。エラーがあれ
ば更に数十〜数百バイトずらしてID部を書込
む。(6) Try reading the ID section again. If there is an error, the ID part is written with a further shift of several tens to hundreds of bytes.
(7) 更に該ID部を読出してみる。未だエラーが
生ずるような場合は上位装置にエラー報告す
る。(7) Try reading out the ID section again. If an error still occurs, the error is reported to the host device.
(8) (4)〜(7)の動作でエラーが無くID部の読出し
が完了した場合は、交替ブロツクBのID部を
交替ブロツクフラグと割付済みフラグを付けて
書込みする。(8) If the reading of the ID part is completed without any error in the operations (4) to (7), write the ID part of the spare block B with the spare block flag and the allocated flag attached.
(9) 交替ブロツクBのDATA部に(2)でバツフア
メモリ5に読み込ませたデータを書込む。(9) Write the data read into the buffer memory 5 in (2) into the DATA section of the replacement block B.
(f) 発明の効果
以上説明した如く、本発明は交替ブロツクの割
当が済んだ後のデータ部に記録されているデータ
を磁気デイスク制御装置がソフトウエアの介入無
しで、独自に実施する為ソフトウエアの負荷を軽
減することが出来る。(f) Effect of the Invention As explained above, the present invention uses software to enable the magnetic disk control device to independently execute the data recorded in the data section after the allocation of replacement blocks without the intervention of software. The load on clothing can be reduced.
第1図はセクタのフオーマツトを示す図、第2
図は本発明の一実施例を説明する磁気デイスク・
サブシステムの構成例を示す図、第3図は或シリ
ンダのトラツクの一例を示す図である。
1は磁気デイスク制御装置、2は磁気デイスク
制御アダプタ、3,4は磁気デイスク装置、5は
バツフアメモリである。
Figure 1 shows the sector format, Figure 2 shows the sector format.
The figure shows a magnetic disk illustrating one embodiment of the present invention.
FIG. 3 is a diagram showing an example of the configuration of a subsystem. FIG. 3 is a diagram showing an example of a track of a certain cylinder. 1 is a magnetic disk control device, 2 is a magnetic disk control adapter, 3 and 4 are magnetic disk devices, and 5 is a buffer memory.
Claims (1)
る磁気デイスク制御装置において、 上位装置が送出する交替ブロツク割当を指示す
る命令を受信した時、不良ブロツクのデータ部に
書込まれているデータを退避させるバツフアメモ
リを設け、 前記交替ブロツク割当を指示する命令に基づ
き、該バツフアメモリに不良ブロツクのデータ部
からデータを退避させ、該不良ブロツクに対する
交替ブロツクの割当てが完了した時、該バツフア
メモリに退避させたデータを該交替ブロツクのデ
ータ部に書込むことを特徴とする交替ブロツク割
当方式。[Scope of Claims] 1. In a magnetic disk control device that controls a fixed-length block magnetic disk device, when receiving a command sent from a host device instructing replacement block allocation, A buffer memory is provided to save the data in the defective block, and based on the command instructing the replacement block allocation, the data is saved from the data section of the defective block to the buffer memory, and when the allocation of the replacement block to the defective block is completed, the data is transferred to the buffer memory. A spare block allocation method characterized in that the saved data is written into the data section of the spare block.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8530883A JPS59211158A (en) | 1983-05-16 | 1983-05-16 | Allotting system of alternate block |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8530883A JPS59211158A (en) | 1983-05-16 | 1983-05-16 | Allotting system of alternate block |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5285374A Division JP2503371B2 (en) | 1993-11-15 | 1993-11-15 | Disk system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59211158A JPS59211158A (en) | 1984-11-29 |
| JPH0417458B2 true JPH0417458B2 (en) | 1992-03-26 |
Family
ID=13854966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8530883A Granted JPS59211158A (en) | 1983-05-16 | 1983-05-16 | Allotting system of alternate block |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59211158A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2529192B2 (en) * | 1985-10-03 | 1996-08-28 | キヤノン株式会社 | Information recording and playback method |
| JPH06314470A (en) * | 1993-04-30 | 1994-11-08 | Nec Corp | Magnetic disk device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5619165A (en) * | 1979-07-24 | 1981-02-23 | Fujitsu Ltd | Data processing system |
| JPS583113A (en) * | 1981-06-30 | 1983-01-08 | Fujitsu Ltd | Disc controlling system |
-
1983
- 1983-05-16 JP JP8530883A patent/JPS59211158A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59211158A (en) | 1984-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3273502B2 (en) | Disk drive device, disk drive error recovery method, and disk drive control device | |
| KR100233319B1 (en) | How to run an error recovery procedure | |
| JP3271181B2 (en) | Disk drive device, disk drive error recovery method, and disk drive control device | |
| JPH056891B2 (en) | ||
| JP2004103127A (en) | Method for rearranging sectors of information recording medium and information storage device | |
| JPH06111479A (en) | Information recording / reproducing device | |
| JPH04216369A (en) | Information recording and reproducing device | |
| JPH0417458B2 (en) | ||
| JP2503371B2 (en) | Disk system | |
| KR980011015A (en) | Manufacturing process of hard disk drive for improving production yield and shortening manufacturing time | |
| JP2000242440A (en) | Disk unit | |
| JPS63271777A (en) | Servo light device | |
| JP2595316B2 (en) | Alternate assignment processing method | |
| KR100271617B1 (en) | Beforehand searching method for minimizing drop down | |
| JPH01112574A (en) | Defective sector alternating system for disk device | |
| JPH04238163A (en) | Information recording and reproducing device | |
| JPH0817142A (en) | Magnetic disc apparatus | |
| JPS60247728A (en) | Disk control system | |
| JPH0258771A (en) | Magnetic disk controller | |
| JPH0594672A (en) | Information recording and reproducing device | |
| JPH04360074A (en) | Optical disk device control method | |
| JPH02205914A (en) | Optical disk processor | |
| JPS634327A (en) | Optical disk device | |
| JPH02300817A (en) | Disk controller | |
| JPH103752A (en) | Data recording / reproducing apparatus and alternative destination determining method in the apparatus |