JPS60171677A - Method for processing fault of storing medium - Google Patents

Method for processing fault of storing medium

Info

Publication number
JPS60171677A
JPS60171677A JP2659084A JP2659084A JPS60171677A JP S60171677 A JPS60171677 A JP S60171677A JP 2659084 A JP2659084 A JP 2659084A JP 2659084 A JP2659084 A JP 2659084A JP S60171677 A JPS60171677 A JP S60171677A
Authority
JP
Japan
Prior art keywords
block
unused
detected
disk
blocks
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
JP2659084A
Other languages
Japanese (ja)
Inventor
Mitsuo Kamimura
上村 光生
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP2659084A priority Critical patent/JPS60171677A/en
Publication of JPS60171677A publication Critical patent/JPS60171677A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1883Methods for assignment of alternate areas for defective areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent reuse of a faulty block of a storing medium and interruption of a writing process, by continuing the writing process from an unused block when the faulty block is detected after a map table is formated in the storing medium. CONSTITUTION:A map table 1 which stores the used condition of a magnetic disk in the unit of block is provided in the magnetic disk and the table 1 is composed of used file sections 11 and 13 and an unused block aggregate 12. A file handling program 2 inspects only blocks necessary for managing the disk at the time of initialization and performs formating of the table 1 in the blocks. When a faulty block is detected from the disk in the course of a writing operation, the program 2 searches an unused block after storing the information at a corresponding address of the table 1 and, when the unused block is detected, makes the writing operation to be continued from the unused block.

Description

【発明の詳細な説明】 《発明の利用分野》 本発明は、磁気ディスクなどの記憶媒体に生じる欠陥部
分の処理方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION <<Field of Application of the Invention>> The present invention relates to a method for treating defective portions occurring in storage media such as magnetic disks.

《従来技術》 従来のディスク装置のあるものは、初めて使うディスク
についてはあらかじめ使用開始前に全ブロックをサーチ
して、もし欠陥ブロックがみつかればそのブ[1ツクが
属する1・ラックの代りに別の予備トラックを使うよう
にフォーマツ1〜化する方法を用いている。また従来の
ディスク装置の他のタイプのものは、予備{ヘラツクを
用いず、発見された欠陥ブロックを既に使用流みの部分
として登録し、新たにそのブロックを使うことがないよ
うにする方法を用いている。
[Prior Art] Some conventional disk devices search all blocks of a disk that is used for the first time before starting use, and if a defective block is found, the block is I am using a method of converting the format to 1 to use another spare track. In addition, other types of conventional disk devices do not use backup disks, but instead register discovered defective blocks as part of the currently used part, so that the blocks are not used any more. I am using it.

しかし、上記のような方法を用いると、使用開始後発生
ずる欠陥ブロックに対応できないという欠点がある。す
なわち、処理(例えば書込みなど)の最中にそのような
欠陥ブロックに遭遇づ−ると、たちまちエラーとなって
処理が完全に中断してしJ、い、更にこの欠陥ブロック
は自動的に登録ざれないので別の機会にエラーが再発す
るおそれがある。また近年ディスクの人吉量化に伴い、
全ブロックを検査するのに長時間かかるようになってき
た。
However, using the above method has the disadvantage that it cannot deal with defective blocks that occur after the start of use. In other words, if such a defective block is encountered during processing (for example, writing), an error will immediately occur and the processing will be completely interrupted.Furthermore, this defective block will not be registered automatically. This may cause the error to occur again on another occasion. In addition, in recent years, with the increasing amount of disks,
It is now taking a long time to inspect all blocks.

《発明の目的》 本発明は上記の問題点を解決づるためになされたものC
1記彎装置へ書込み中に欠陥ブロックに遭遇しても、占
込み処理を中断せずに続行できるとともに、その欠陥ブ
ロックの再使用を防止することのできる記憶媒体の欠陥
処理方法を実現することを目的としている。
<<Object of the invention>> The present invention has been made to solve the above problems.C
1. To realize a storage medium defect processing method capable of continuing the allocation process without interrupting even if a defective block is encountered during writing to a storage device and preventing the defective block from being reused. It is an object.

(発明の概要) 本発明の記憶媒体の欠陥処理方法は記憶媒体中にその使
用状況をブロック単位で記憶するマツプテーブルをフォ
ーマット化し“’C65き、書込み中に前記記憶媒体か
ら欠陥ブロックが検出されると欠陥ブ[1ツク情報を前
記マツプデープルの前記欠陥ブロックに対応した番地に
記憶した後不使用ブロックをリーチし、この不使用ブロ
ックが検出されればそのブロックから前記書込み処理を
続行させるようにしたことを特徴とする。
(Summary of the Invention) The storage medium defect processing method of the present invention formats a map table that stores the usage status of each block in the storage medium, and detects a defective block from the storage medium during writing. Then, the defective block [1 block information is stored in the address corresponding to the defective block of the map table, and then an unused block is reached, and if this unused block is detected, the writing process is continued from that block. It is characterized by what it did.

(実施例) 以下図面を用いて本発明の記憶媒体の欠陥処理方法を計
しく説明する。
(Example) The method for treating defects in a storage medium according to the present invention will be explained below with reference to the drawings.

第1図は本発明の方法を実施するための技置例の動作を
説明するためのブロック図である。1は記憶媒体(例え
ば磁気ディスク等)中にその使用状況をブロック(マス
目の1つが示している)単位で記憶するようにフォーマ
ツ]・化されたマツプテーブル、2はマイク1ココンピ
ニI−夕などによって動かされ、前記マツプテーブル1
の作成などディスク内の使用状況管理やフ1イルの管理
を行うファイルハンドリングプログラムである。前記マ
ツプデープル1にはデ′イスク内の各ブロックに対応し
て、使用中〈書込まれているンか、不使用(書込まれて
いない)か、または欠陥ブロックであるかを示す情報が
格納されている。11.13は使用中のファイル部分を
示し、12は不使用のブロック集合を示している。
FIG. 1 is a block diagram for explaining the operation of an example of a technical equipment for implementing the method of the present invention. 1 is a map table formatted to store the usage status in blocks (indicated by one of the squares) in a storage medium (such as a magnetic disk), and 2 is a map table with one microphone. etc., the map table 1
This is a file handling program that manages disk usage and files, such as creating files. Map table 1 stores information corresponding to each block in the disk, indicating whether it is in use (written), unused (not written), or defective. has been done. 11 and 13 indicate file portions in use, and 12 indicates an unused block set.

第2図(A)、<C>iBよび(B)はそれぞれ前記使
用中のファイル部分11,13J’;よび不使用の71
コック集合12の内容を図示したものである。(A)は
使用中のファイル部分11が不使用ブロックll¥!2
1のみで欠陥ブ[lツクがない場合、(B)は不使用中
のブロック集合12に不使用のブロックfly22とと
もに欠陥ブロックJi¥ 23 (斜線の部分)かある
場合、(C)は使用中のファイル部分13に使用中のブ
ロック群24とともにに欠陥ブ[1ツク?!¥、 2’
 5がある場合を示しでいる。
FIG. 2 (A), <C> iB and (B) respectively indicate the used file portions 11 and 13J'; and the unused file portions 71.
The contents of the cook set 12 are illustrated. In (A), the file portion 11 in use is an unused block ll\! 2
1 and there is no defective block, (B) is an unused block set 12 together with an unused block fly22, and if there is a defective block Ji\23 (shaded area), (C) is in use. In the file portion 13 of the file section 13, there is a defective block [1? ! ¥, 2'
The case where there is 5 is shown.

第3図は本発明の記憶媒体の欠陥処理方法の一実施例を
示づタイムヂv −1−である。ここでは記憶媒体とし
て磁気ディスクを使用した場合について説明りる。
FIG. 3 shows an embodiment of the storage medium defect processing method according to the present invention, and is a timing diagram 1-1. Here, a case will be explained in which a magnetic disk is used as the storage medium.

(イ)ファイルハンドリングプログラム2は最初のイニ
シトライスの時に、ディスクのディスク管理に必要な部
分のブロックのみ検査し、この部分に前記マツプテーブ
ル1のフォーマツティングを行なう。
(a) At the time of the first initial slice, the file handling program 2 inspects only the blocks of the portion of the disk necessary for disk management, and formats the map table 1 on this portion.

(ロ)ディスクには通常ファイルハンドリングプログラ
ム2を介して必要なプログラムやデータが出逢まれる。
(b) Necessary programs and data are usually encountered on the disk via the file handling program 2.

(ハ)ファイルハンドリングプログラム2からの由込み
中にディスクエラーとなり再試行しても回復しない場合
にはそのブロックを欠陥ブロックとみなしてマツプデー
プル1中に登録し、その部分の使用を禁市する。次に他
の不使用ブロックをリーチし、不使用ブ1コックが検出
されればファイルのリンクポインタ(次に使用されるべ
きブロックを記憶づる)を修正してその不使用10ツク
部分から前記書込み処理を続行させる。不使用ブロック
が検出されないときはエラーとなり、処理は中断される
(c) If a disk error occurs during reading from the file handling program 2 and the block is not recovered even after retrying, the block is regarded as a defective block and registered in the map table 1, and the use of that part is prohibited. Next, reach other unused blocks, and if an unused block is detected, modify the link pointer of the file (memorizes the block to be used next) and write the above from the unused 10 blocks. Allow processing to continue. If an unused block is not detected, an error occurs and processing is interrupted.

(ニ)ファイルの読出し詩にディスクエラーとなり再試
行しても回復しない場合には(ハ)と同様にそのブロッ
クを欠陥ブロックとみなすが、マツプテーブルには登録
せずエラーとなる。エラーによって処理は中断するが1
ラーのj上回を確認づることができる。またファイルを
澗去した後新たにファイルをつくる時に(ハ)にd5い
て欠陥ブ[lツクを検出てきるので問題はない。
(d) If a disk error occurs when reading a file and it does not recover even after retrying, the block is treated as a defective block as in (c), but it is not registered in the map table and an error occurs. Processing will be interrupted due to an error, but 1
It is possible to confirm that ra is more than j. Also, when creating a new file after deleting the file, the defective block is detected in step (c) at d5, so there is no problem.

以上のような手順を用いることにより、不使用ブロック
中の欠陥tよ新たにファイルをつくったり既存ファイル
を拡張したつづる時に検出0録される。また書込み後に
発生した欠陥も読出し時にエラーとして検出され、再度
H番込む時に欠陥ブ1コックとして登録される。
By using the above procedure, defects t in unused blocks are detected and recorded when creating a new file or extending an existing file. Also, defects that occur after writing are detected as errors during reading, and are registered as defective blocks when the H number is read again.

」ニ記のような記憶媒体の欠陥処理方法によれば、使用
中に欠陥ブロックが発生しても書込み時には処理の中断
を防IF 1Jることができ、使い易くなる。
According to the defect processing method for a storage medium as described in Section 2 above, even if a defective block occurs during use, it is possible to prevent interruption of processing during writing, making it easier to use.

また読出し中に検出された欠陥ブロックについても以後
の回復処置が容易である。
Furthermore, subsequent recovery measures for defective blocks detected during reading are easy.

また従来の方法のように1〜ラツクもしくはファイル単
位でなく、より小さいブロック単位で欠陥部の使用を禁
止するので、メモリ容量の節約となるとともにトラブル
の防止となり信頼性の向上につながる。
In addition, since the use of defective parts is prohibited in units of smaller blocks, rather than in units of 1 to 4 or files as in the conventional method, memory capacity is saved, troubles are prevented, and reliability is improved.

またディスクが大容量化するなかで全ての10ツクを検
査するのに時間がかかるようになってきたが、この方法
ならば時間の節約となる。
Also, as the capacity of disks has increased, it has become time-consuming to inspect all 10 disks, but this method saves time.

(発明の効果) 以上述へたように本発明によれば、記憶装置へ書込み中
に欠陥ブロックに遭遇しても、書込み処理を中断せずに
続行できるとともに、その欠陥ブロックの再使用を防止
することのできる記憶媒体の欠陥処理方法を実現覆るこ
とができる。
(Effects of the Invention) As described above, according to the present invention, even if a defective block is encountered during writing to a storage device, the writing process can be continued without interruption, and the defective block can be prevented from being reused. It is possible to realize a method for handling defects in storage media that can be reversed.

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

第1図は本発明の方法を実施するための装餠例の動作を
説明するためのブロック図、第2図は第1図の部分説明
図、第3図は本発明の記憶媒体の欠陥処理方法の一実施
例を示ずタイムチャー1〜である。 1・・・マツプデープル、23.25・・・欠陥ブ1」
ツタ群、22・・・不使用ブロック 爪3図
FIG. 1 is a block diagram for explaining the operation of a mounting example for carrying out the method of the present invention, FIG. 2 is a partial explanatory diagram of FIG. 1, and FIG. 3 is a defect processing of a storage medium of the present invention. An example of the method is not shown, but time chart 1 is shown. 1...Matsupu Deple, 23.25...Defect Bu 1"
Ivy group, 22...3 diagrams of unused block claws

Claims (1)

【特許請求の範囲】[Claims] 記Wi蝋体中にその使用状況をブロック単位で記憶する
マツプテーブルをフォーマット化してJ3き、書込み中
に前記記憶媒体から欠陥ブロックが検出されると欠陥ブ
ロック情報を前記マツプテーブルの前記欠陥ブロックに
対応した番地に記憶した後不使用ブロックをサーチし、
この不使用ブロックが検出されればそのブロックから前
記書込み処理を続行させるようにしたことを特徴とづる
記憶媒体の欠陥処理方法。
A map table that stores the usage status in units of blocks is formatted and stored in the memory, and when a defective block is detected from the storage medium during writing, the defective block information is stored in the defective block of the map table. After storing it at the corresponding address, search for an unused block,
A method for handling defects in a storage medium, characterized in that if this unused block is detected, the write process is continued from that block.
JP2659084A 1984-02-15 1984-02-15 Method for processing fault of storing medium Pending JPS60171677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2659084A JPS60171677A (en) 1984-02-15 1984-02-15 Method for processing fault of storing medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2659084A JPS60171677A (en) 1984-02-15 1984-02-15 Method for processing fault of storing medium

Publications (1)

Publication Number Publication Date
JPS60171677A true JPS60171677A (en) 1985-09-05

Family

ID=12197749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2659084A Pending JPS60171677A (en) 1984-02-15 1984-02-15 Method for processing fault of storing medium

Country Status (1)

Country Link
JP (1) JPS60171677A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61280075A (en) * 1985-06-05 1986-12-10 Fujitsu Ltd Optical disc control system
JPS6363167A (en) * 1986-09-02 1988-03-19 Canon Inc Information recording and reproducing device
JPH02193335A (en) * 1989-01-20 1990-07-31 Csk Corp Card-type optical recording medium
EP0764948A2 (en) * 1995-09-19 1997-03-26 International Business Machines Corporation Data storage disk drive data sector formatting system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61280075A (en) * 1985-06-05 1986-12-10 Fujitsu Ltd Optical disc control system
JPS6363167A (en) * 1986-09-02 1988-03-19 Canon Inc Information recording and reproducing device
JPH02193335A (en) * 1989-01-20 1990-07-31 Csk Corp Card-type optical recording medium
EP0764948A2 (en) * 1995-09-19 1997-03-26 International Business Machines Corporation Data storage disk drive data sector formatting system and method
EP0764948A3 (en) * 1995-09-19 1998-01-21 International Business Machines Corporation Data storage disk drive data sector formatting system and method
US6185058B1 (en) 1995-09-19 2001-02-06 International Business Machines Corporation No-ID data storage disk drive data sector formatting system and method

Similar Documents

Publication Publication Date Title
KR100261398B1 (en) Signal recording device and method therefor
US5421003A (en) Disk storage system with fault tolerant media maintenance
US7234078B2 (en) Data recovery method and data recording apparatus
KR20100128225A (en) Information storage medium, recording/reproducing method, and recording/reproducing apparatus
JPS60171677A (en) Method for processing fault of storing medium
JPH06111479A (en) Information recording and reproducing device
JPH07182250A (en) Automatic substituting processing system for magnetic disk
MXPA05004703A (en) Information recording medium, recording/reproducing method and apparatus, and host apparatus.
JPS59113509A (en) Disc processing device
JPS59177705A (en) Data recording system
JPS58107976A (en) Protecting method for volume managing information
JPH04103082A (en) Information recording system
JPH02278572A (en) Alternative block processing system
JP2910803B2 (en) Highly reliable auxiliary storage device
JPS62185280A (en) Data saving/recovery system at the time of testing magnetic disc medium
JP2652388B2 (en) Optical disk storage management method
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JPH04141751A (en) Fault recovery system for mass storage medium
JP2595316B2 (en) Alternate assignment processing method
JPS61283074A (en) Optical system information device
JPS5928247A (en) Optical disk processor
JP2733192B2 (en) Disc copying method
JPS6339172A (en) Erased record reproducing method
JPS5963032A (en) Optical disk processing device
JPS62194557A (en) File trouble recovery system