JP2553751B2 - Disk sector replacement method - Google Patents

Disk sector replacement method

Info

Publication number
JP2553751B2
JP2553751B2 JP2265414A JP26541490A JP2553751B2 JP 2553751 B2 JP2553751 B2 JP 2553751B2 JP 2265414 A JP2265414 A JP 2265414A JP 26541490 A JP26541490 A JP 26541490A JP 2553751 B2 JP2553751 B2 JP 2553751B2
Authority
JP
Japan
Prior art keywords
record
bad
sector
defective
file
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 - Fee Related
Application number
JP2265414A
Other languages
Japanese (ja)
Other versions
JPH04141721A (en
Inventor
浩史 上杉
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.)
HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Original Assignee
HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
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 HOTSUKAIDO NIPPON DENKI SOFUTOEA KK filed Critical HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Priority to JP2265414A priority Critical patent/JP2553751B2/en
Publication of JPH04141721A publication Critical patent/JPH04141721A/en
Application granted granted Critical
Publication of JP2553751B2 publication Critical patent/JP2553751B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディスクセクタ代替方式に関し、特にディス
ク上のファイルで発生する不良セクタの代替管理を行う
情報処理シスムのディスクセクタ代替方式に関する。
The present invention relates to a disk sector replacement method, and more particularly to a disk sector replacement method of an information processing system that manages replacement of a defective sector generated in a file on a disk.

〔従来の技術〕[Conventional technology]

ディスク上のファイルで発生する不良セクタの代替管
理を行う従来のディスクセクタ代替方式は、不良セクタ
に対する代替先セクタを捜し、セクタ単位で代替してい
た。
In the conventional disk sector replacement method that manages replacement of a defective sector generated in a file on a disk, the replacement destination sector for the defective sector is searched and replaced in sector units.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

ディスク上のファイルは、複数個のセクタからなるレ
コードと呼ばれる論理的単位の集まりであり、ファイル
処理では、レコード単位でディスクへのアクセスを行っ
ている。
A file on a disk is a collection of logical units called records, which is composed of a plurality of sectors, and in file processing, the disk is accessed in record units.

第9図は従来のディスクセクタ代替方式による不良セ
クタの代替形態の例を示す説明図である。
FIG. 9 is an explanatory diagram showing an example of an alternative form of a defective sector by the conventional disk sector alternative method.

従来のディスクセクタ代替方式は、第9図に示すよう
に、ファイル処理で不良セクタが発生するごとに、セク
タ単位で代替を行っている。このために、1レコードに
不良セクタが複数個発生する場合には、従来のディスク
セクタ代替方式を用いると、レコード内のセクタの並び
は、第9図で示す通りに不連続となる。
In the conventional disk sector replacement method, as shown in FIG. 9, replacement is performed in sector units every time a defective sector occurs in file processing. Therefore, when a plurality of defective sectors occur in one record, the array of sectors in the record becomes discontinuous as shown in FIG. 9 when the conventional disk sector replacement method is used.

したがって、従来のディスクセクタ代替方式を用い
て、不良セクタの複数個存在するレコードを処理する
と、ディスクのアクセス回数が増大し、ファイル処理の
速度が劣化するという欠点がある。
Therefore, when a record having a plurality of defective sectors is processed using the conventional disk sector replacement method, the number of disk accesses increases and the file processing speed deteriorates.

そこで、本発明の目的は、不良セクタが存在しても、
ファイル処理を高速に行えるディスクセクタ代替方式を
提供することにある。
Therefore, an object of the present invention is to
An object of the present invention is to provide a disk sector replacement method capable of high-speed file processing.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のディスクセクタ代替方式は、ディスク上のフ
ァイルで発生する不良セクタの代替管理を行う情報処理
システムのディスクセクタ代替方式において、 ファイルの生成時に、前記ディスク上のファイルに対
する不良レコード情報を格納する不良レコード管理テー
ブルに、生成したファイルの不良レコード情報を追加す
る不良レコード情報追加手段と、 ファイルの更新での不良セクタの発見時に、不良セク
タの存在するレコード全体を代替し、前記不良レコード
管理テーブルの不良レコード情報を更新する不良レコー
ド情報更新手段と、 ファイルの削除時に、不良レコードがあった領域に別
のファイルを生成可能とするために、不良レコードを開
放し、前記不良レコード管理テーブルに追加した不良レ
コード情報を削除する不良レコード情報削除手段とを設
け、 前記不良レコード管理テーブルを用いて、ファイルの
生成,更新,削除時に、各々の不良レコード情報を追
加,更新,削除して、不良セクタの代替管理を行うこと
により構成されている。
A disk sector replacement method of the present invention is a disk sector replacement method of an information processing system that manages replacement of a defective sector generated in a file on a disk, and stores defective record information for the file on the disk when the file is generated. Bad record information adding means for adding the bad record information of the generated file to the bad record management table, and replacing the entire record in which the bad sector exists when finding the bad sector in the file update, Bad record information updating means for updating the bad record information of, and when a file is deleted, the bad record is released and added to the bad record management table so that another file can be created in the area where the bad record existed. Bad record to delete the bad record information Information is deleted, and the defective record management table is used to add, update, and delete each defective record information at the time of file generation, update, and deletion, and substitute management of defective sectors is performed. ing.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のディスクセクタ代替方式の一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a disk sector replacement system of the present invention.

第1図に示すように、本実施例では、ディスク1に不
良レコード管理テーブル2があり、ディスク1上のファ
イルをレコード単位で更新する場合に発生する不良セク
タについて、不良レコード情報追加手段3と、不良レコ
ード情報更新手段4と、不良レコード情報削除手段5と
からなるディスクセクタ代替方式6により、レコード単
位に代替管理が行われる。
As shown in FIG. 1, in the present embodiment, the disk 1 has a bad record management table 2, and the bad record information adding means 3 is provided for the bad sectors generated when the file on the disk 1 is updated in record units. By the disk sector replacement method 6 including the defective record information updating means 4 and the defective record information deleting means 5, replacement management is performed in record units.

第2図は本実施例の不良レコード管理テーブル2の一
例を示す構造説明図である。
FIG. 2 is a structural explanatory view showing an example of the bad record management table 2 of this embodiment.

第2図に示すように、不良レコード管理テーブル7
は、不良レコード情報のならびにより構成される。そし
て、各不良レコード情報は、ファイル名8、ファイルの
開始アドレス9、1レコードのセクタ数10、不良レコー
ドの有無11、不良レコードの数12及び不良レコードのア
ドレス13−1,……13−nの並びからなり、ファイルの生
成時に、ファイル名8、ファイルの開始アドレス9、1
レコードのセクタ数10、不良レコードの有無11、不良レ
コードの数12が設定され、不良レコードが発生するごと
に不良レコードの数12が更新され、不良レコードのアド
レス13−1,……13が追加される。
As shown in FIG. 2, the bad record management table 7
Is composed of an array of bad record information. Each defective record information includes a file name 8, a file start address 9, the number of sectors in one record 10, the presence / absence of a defective record 11, the number of defective records 12 and the addresses of defective records 13-1, ... 13-n. The file name is 8, the file start address is 9, 1 when the file is created.
The number of record sectors is 10, the number of bad records is 11, and the number of bad records is 12. The bad record number 12 is updated every time a bad record occurs, and the bad record addresses 13-1, ... 13 are added. To be done.

第3図は本実施例のセクタの一例を示す構造説明図で
ある。
FIG. 3 is a structural explanatory view showing an example of the sector of this embodiment.

第3図に示すように、セクタ14は、ID部15とデータ部
16とからなり、ID部15は、アドレス格納領域17とセクタ
の状態を示す領域18とからなる。
As shown in FIG. 3, the sector 14 has an ID section 15 and a data section.
16, the ID section 15 includes an address storage area 17 and an area 18 showing the state of the sector.

第4図は本実施例のファイルの一例を示す構造説明図
である。
FIG. 4 is a structural explanatory view showing an example of a file of this embodiment.

第4図に示すように、ファイル19は、レコード20−1,
…20−i,…20−mの集まりであり、レコード20−iは、
セクタ21−i1,…21−ilの集まりである。
As shown in FIG. 4, the file 19 includes records 20-1,
... 20-i, ... is a group of 20-m, and record 20-i is
It is a group of sectors 21-i1, ... 21-il.

第5図は本実施例における不良レコードと代替先レコ
ードとの一例を示す関連説明図である。
FIG. 5 is a related explanatory view showing an example of a defective record and a replacement destination record in this embodiment.

第5図に示すように、不良セクタ24を含む不良レコー
ド22は、レコードの先頭セクタ23からレコードの最終セ
クタ25までの5セクタで構成されており、不良レコード
22は、レコードの先頭セクタ27からレコードの最終セク
タ28までの5セクタで構成される代替先レコード26に代
替する。
As shown in FIG. 5, the defective record 22 including the defective sector 24 is composed of 5 sectors from the first sector 23 of the record to the last sector 25 of the record.
The data 22 is replaced with a replacement destination record 26 composed of five sectors from the first sector 27 of the record to the last sector 28 of the record.

第6図は本実施例の不良レコード情報追加手段3の処
理の一例を示す流れ図である。
FIG. 6 is a flow chart showing an example of the processing of the bad record information adding means 3 of this embodiment.

第6図に示すように、ステップ29で、ファイルの生成
時に、不良レコード管理テーブル2の読み込みを行い、
ステップ30で、不良レコード管理テーブル2の最終エン
トリのサーチをして、ステップ31で不良レコード管理テ
ーブル2に生成するファイルのエントリを追加し、ステ
ップ32で、不良レコード管理テーブル2の書き込みを行
って、不良レコード管理テーブル2に、不良レコード情
報を追加する。
As shown in FIG. 6, in step 29, when the file is generated, the bad record management table 2 is read,
In step 30, the final entry of the bad record management table 2 is searched, the entry of the file to be created is added to the bad record management table 2 in step 31, and the bad record management table 2 is written in step 32. The bad record information is added to the bad record management table 2.

第7図は本実施例の不良レコード情報更新手段4の処
理の一例を示す流れ図である。
FIG. 7 is a flow chart showing an example of the processing of the defective record information updating means 4 of this embodiment.

第7図に示すように、ステップ33で、ファイルの更新
での不良セクタの発見時に、不良レコード管理テーブル
2の読み込みを行い、ステップ34で、不良レコード管理
テーブル2から更新するファイルのエントリをサーチ
し、ステップ35で、不良レコード管理テーブル2から不
良セクタを含むレコードの先頭セクタアドレスとセクタ
数とを求める。
As shown in FIG. 7, in step 33, the bad record management table 2 is read when a bad sector is found in updating the file, and in step 34, the entry of the file to be updated is searched from the bad record management table 2. Then, in step 35, the head sector address and the number of sectors of the record including the defective sector are obtained from the defective record management table 2.

そして、ステップ36で不良セクタを含むレコードが代
替済(YES)であれば、ステップ37で代替先レコードを
解放してから、ステップ38で、代替領域から不良レコー
ドの代替先レコードをサーチする。また、ステップ36
で、代替されていない(NO)なら、そのままステップ38
で、代替領域から不良レコードの代替先レコードをサー
チする。
If the record including the defective sector is already replaced (YES) in step 36, the replacement destination record is released in step 37, and then the replacement destination record of the defective record is searched from the replacement area in step 38. Also, step 36
If it is not replaced (NO), go to step 38.
Then, the replacement destination record of the defective record is searched from the replacement area.

そして、ステップ39で、不良レコードのセクタID部を
代替済不良セクタに変更し、ステップ40で、代替先レコ
ードのセクタID部を代替先セクタに変更し、ステップ41
で、レコードの更新データを保証するために、代替先の
レコードへのデータの書き込みをする。
Then, in step 39, the sector ID part of the defective record is changed to the replaced defective sector, in step 40, the sector ID part of the alternative destination record is changed to the alternative destination sector, and in step 41
Then, in order to guarantee the update data of the record, the data is written to the record of the substitution destination.

さらに、ステップ42で、不良セクタの発生(YES)が
あれば、ステップ38の不良レコードの代替先レコードの
サーチに戻り、不良セクタの発生がない(NO)ならば、
ステップ43で、不良レコード管理テーブル2のエントリ
を更新し、ステップ44で不良レコード管理テーブル2の
書き込みを行って、不良レコードを代替し、不良レコー
ド情報を更新する。
Furthermore, if there is a defective sector (YES) in step 42, the process returns to the search for the replacement destination record of the defective record in step 38, and if there is no defective sector (NO),
In step 43, the entry of the bad record management table 2 is updated, and in step 44, the bad record management table 2 is written to replace the bad record and to update the bad record information.

第8図は本実施例の不良レコード情報削除手段6の処
理の一例を示す流れ図である。
FIG. 8 is a flow chart showing an example of the processing of the defective record information deleting means 6 of this embodiment.

第8図に示すように、ファイルの削除時に、ステップ
45で、不良レコード管理テーブル2の読み込みを行い、
ステップ46で、不良レコード管理テーブル2から削除す
るファイルのエントリをサーチし、ステップ47で、不良
レコードのセクタID部を正常セクタに変更し、ステップ
48で、代替先レコードのセクタID部を正常セクタに変更
し、ステップ49で、不良レコード管理テーブル2からエ
ントリを削除し、ステップ50で、不良レコード管理テー
ブル2の書き込みを行って、不良レコードと代替先レコ
ードとを解放し、不良レコード情報を削除する。
As shown in Figure 8, when deleting a file,
At 45, the bad record management table 2 is read,
In step 46, the bad record management table 2 is searched for the entry of the file to be deleted, and in step 47, the sector ID part of the bad record is changed to a normal sector, and
At step 48, the sector ID part of the alternative destination record is changed to a normal sector, at step 49, the entry is deleted from the bad record management table 2, and at step 50, the bad record management table 2 is written to identify the bad record. Release the alternative record and delete the bad record information.

以下、第1図から第8図を引用し、本実施例の動作を
説明する。
The operation of this embodiment will be described below with reference to FIGS. 1 to 8.

特に、ディスク1上で1レコード5セクタのファイル
を生成し、ファイルの更新時に不良セクタ24を発見し、
不良セクタ24を含む不良レコー代替先レコード26に代替
し、その後に、ファイルを削除する場合における動作に
ついて説明する。
In particular, create a file with 5 sectors per record on disk 1, find bad sectors 24 when updating the file,
The operation in the case of replacing with the bad record replacement destination record 26 including the bad sector 24 and then deleting the file will be described.

まず、1レコード5セクタのファイルを生成する場合
には、不良レコード情報追加手段3が動作する。不良レ
コード情報追加手段3では、ステップ29で、ディスク1
上の不良レコード管理テーブル2を読み込み、ステップ
30で、不良レコード管理テーブル2の最終エントリのサ
ーチをして、ステップ31で、最終エントリの次に、1レ
コードのセクタ数10が5セクタであるエントリを、不良
レコード管理テーブル2に生成するファイルのエントリ
を追加し、ステップ32で、不良レコード管理テーブル2
をディスク1上に書き込む。
First, when a file of 5 sectors per record is generated, the defective record information adding means 3 operates. In the bad record information adding means 3, in step 29, the disk 1
Read the bad record management table 2 above, step
At step 31, the last entry of the bad record management table 2 is searched, and at step 31, an entry in which the number of sectors of one record is 5 sectors is created in the bad record management table 2 next to the last entry. Add an entry for the bad record management table 2 in step 32.
Is written on the disk 1.

つぎに、ファイルの更新処理において、不良セクタ24
を発見した場合には、不良レコード情報更新手段4が動
作する。不良レコード情報更新手段4では、ステップ33
で、不良レコード管理テーブル2の読み込みをして、ス
テップ34で不良レコード管理テーブル2から更新するフ
ァイルのエントリをサーチし、ステップ35で、サーチし
たエントリのファイルの開始アドレス9と1レコードの
セクタ数10とから、不良セクタを含むレコードの先頭セ
クタアドレスとセクタ数とを求めることにより、不良レ
コード22のレコードの先頭セクタ23と、1レコードのセ
クタ数が5セクタであることを知ることができる。
Next, in the file update process,
If found, the defective record information updating means 4 operates. In the bad record information updating means 4, step 33
Then, the bad record management table 2 is read, and the entry of the file to be updated is searched from the bad record management table 2 at step 34. At step 35, the file start address 9 of the searched entry and the number of sectors of one record are searched. By obtaining the start sector address and the number of sectors of the record including the defective sector from 10, it is possible to know that the start sector 23 of the record of the defective record 22 and the number of sectors of one record are 5 sectors.

次に、ステップ36で、不良セクタを含むレコードが代
替済ではない(NO)ので、ステップ38で、不良レコード
の代替先レコードをサーチすることにより、代替領域の
先頭から物理的に5セクタ連続する代替先レコード26を
サーチし、ステップ39で、不良レコードのセクタID部を
代替済不良セクタに変更することにより、不良レコード
22のレコードの先頭セクタ23からレコードの最終セクタ
25までのID部15のアドレス領域17を代替先レコード26の
レコードの先頭セクタ27からレコードの最終セクタ28の
アドレスに変更し、セクタの状態を示す領域18を代替済
不良セクタの状態にする。
Next, in step 36, the record including the defective sector has not been replaced (NO). Therefore, in step 38, the replacement destination record of the defective record is searched, and five sectors are physically contiguous from the beginning of the replacement area. The alternative record 26 is searched, and in step 39, the sector ID part of the defective record is changed to the replaced defective sector, so that the defective record
The first sector of record 22 to the last sector of record 22
The address area 17 of the ID section 15 up to 25 is changed from the head sector 27 of the record of the replacement destination record 26 to the address of the last sector 28 of the record, and the area 18 indicating the status of the sector is set to the status of the replaced defective sector.

次に、ステップ40で、代替先レコードのセクタID部を
代替先セクタに変更することにより、代替先レコード26
のレコードの先頭セクタ27からレコードの最終セクタ28
のID部15のアドレス領域17を不良レコード22のレコード
の先頭セクタ23からレコードの最終セクタ25のアドレス
に変更し、セクタの状態を示す領域18を代替先セクタの
状態にし、ステップ41で、代替先レコードへのデータ書
き込みにより、不良レコード22のレコードの先頭セクタ
23からレコードの最終セクタ25のデータ部16の内容を、
代替先レコード26のレコードの先頭セクタ27からレコー
ド最終セクタ28のデータ部16に書き込む。
Next, in step 40, the sector ID part of the replacement destination record is changed to the replacement destination sector, and the replacement destination record 26
From the first sector 27 of the record to the last sector 28 of the record
The address area 17 of the ID section 15 of the defective record 22 is changed from the first sector 23 of the record of the defective record 22 to the address of the last sector 25 of the record, and the area 18 indicating the state of the sector is set to the state of the replacement destination sector, and in step 41, the replacement By writing data to the previous record, the start sector of the record of defective record 22
The contents of the data part 16 of the last sector 25 of the record from 23,
Writing from the first sector 27 of the record of the alternative destination record 26 to the data section 16 of the last sector 28 of the record.

次に、ステップ43で、不良レコード管理テーブル2の
エントリを更新して、ステップ34により不良レコード管
理テーブル2から更新するファイルのエントリをサーチ
して求めたエントリの不良レコードの有無11を有にし、
不良レコードの数12を1にして、不良レコードのアドレ
ス13−1に不良レコード22のレコードの先頭セクタのア
ドレス23を設定し、ステップ44で、不良レコード管理テ
ーブル2の書き込みを行う。
Next, in step 43, the entry in the bad record management table 2 is updated, and in step 34, the bad record management table 2 is searched for the entry of the file to be updated, and the presence / absence 11 of the bad record of the entry obtained is set.
The number 12 of defective records is set to 1, the address 23-1 of the first sector of the record of the defective record 22 is set to the address 13-1 of the defective record, and in step 44, the defective record management table 2 is written.

その後に、ファイルを削除する場合には、不良レコー
ド情報削除手段5が動作する。不良レコード情報削除手
段5では、ステップ45で、不良レコード管理テーブル2
の読み込みをし、ステップ46で、不良レコード管理テー
ブル2から削除するファイルのエントリをサーチし、ス
テップ47で、エントリの不良レコードのアドレス13−1,
不良レコードの数12,不良レコードのアドレス13−1か
ら不良レコードのセクタID部を正常セクタに変更するこ
とにより、不良レコード22のレコードの先頭セクタ23か
らレコードの最終セクタ25のID部15のアドレス格納領域
17を元のアドレスに戻し、セクタの状態を示す領域18を
正常セクタの状態に設定し、ステップ48で、代替先レコ
ードのセクタID部を正常セクタに変更することにより、
代替先レコード25のレコードの先頭セクタ27からレコー
ドの最終セクタ28のID部15のアドレス格納領域17を元の
アドレスに戻し、セクタの状態を示す領域18を正常セク
タの状態に設定する。次に、ステップ46により不良レコ
ード管理テーブル2から削除するファイルのエントリを
サーチして求めたエントリを、ステップ49で、不良レコ
ード管理テーブル2から削除し、ステップ50で、不良レ
コード管理テーブル2の書き込みを行う。
After that, when the file is deleted, the defective record information deleting means 5 operates. In the bad record information deleting means 5, in step 45, the bad record management table 2
Is read, and in step 46, the entry of the file to be deleted is searched from the bad record management table 2, and in step 47, the address 13-1 of the bad record of the entry,
Number of bad records 12, bad record address 13-1 changes the sector ID part of the bad record to a normal sector, so that the address of the ID part 15 of the first sector 23 of the bad record 22 to the last sector 25 of the record Storage area
By returning 17 to the original address, setting the area 18 indicating the state of the sector to the normal sector state, and changing the sector ID part of the alternative destination record to the normal sector in step 48,
The address storage area 17 of the ID section 15 of the first sector 27 of the record of the replacement destination record 25 to the last sector 28 of the record is returned to the original address, and the area 18 showing the state of the sector is set to the state of the normal sector. Next, the entry obtained by searching the entry of the file to be deleted from the bad record management table 2 in step 46 is deleted from the bad record management table 2 in step 49, and written in the bad record management table 2 in step 50. I do.

以上で本実施例の処理を終了する。 This is the end of the process of this embodiment.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明のディスクセクタ代替方
式は、不良セクタをレコード単位に代替しているので、
不良セクタが存在してもファイル更新などのファイル処
理を高速に実行することができるという効果を有してい
る。
As described above, since the disk sector replacement method of the present invention replaces defective sectors in record units,
Even if there is a defective sector, the file processing such as file updating can be executed at high speed.

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

第1図は本発明のディスクセクタ代替方式の一実施例を
示すブロック図、第2図は本実施例の不良レコード管理
テーブルの一例を示す構造説明図、第3図は本実施例の
セクタの一例を示す構造説明図、第4図は本実施例のフ
ァイルの一例を示す構造説明図、第5図は本実施例にお
ける不良レコードと代替先レコードとの一例を示す関連
説明図、第6図は本実施例の不良レコード情報追加手段
の処理の一例を示す流れ図、第7図は本実施例の不良レ
コード情報更新手段の処理の一例を示す流れ図、第8図
は本実施例の不良レコード情報削除手段の処理の一例を
示す流れ図、第9図は従来のディスクセクタ代替方式に
よる不良セクタの代替形態の一例を示す説明図である。 1……ディスク、2……不良レコード管理テーブル、3
……不良レコード情報追加手段、4……不良レコード情
報更新手段、5……不良レコード情報削除手段、6……
ディスクセクタ代替方式。
FIG. 1 is a block diagram showing an embodiment of a disk sector replacement method of the present invention, FIG. 2 is a structural explanatory view showing an example of a bad record management table of the present embodiment, and FIG. 3 is a sector of the present embodiment. FIG. 6 is a structural explanatory view showing an example, FIG. 4 is a structural explanatory view showing an example of a file of the present embodiment, FIG. 5 is a related explanatory view showing an example of a defective record and a replacement destination record in the present embodiment, and FIG. Is a flow chart showing an example of the processing of the bad record information adding means of the present embodiment, FIG. 7 is a flow chart showing an example of the processing of the bad record information updating means of the present embodiment, and FIG. 8 is the bad record information of the present embodiment. FIG. 9 is a flow chart showing an example of the processing of the deleting means, and FIG. 9 is an explanatory diagram showing an example of the alternative form of the defective sector by the conventional disk sector alternative method. 1 ... disk, 2 ... bad record management table, 3
…… Bad record information adding means, 4 …… Bad record information updating means, 5 …… Bad record information deleting means, 6 ……
Disk sector replacement method.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ディスク上のファイルで発生する不良セク
タの代替管理を行う情報処理システムのディスクセクタ
代替方式において、 ファイルの生成時に、前記ディスク上のファイルに対す
る不良レコード情報を格納する不良レコード管理テーブ
ルに、生成したファイルの不良レコード情報を追加する
不良レコード情報追加手段と、 ファイルの更新での不良セクタの発見時に、不良セクタ
の存在するレコード全体を代替し、前記不良レコード管
理テーブルの不良レコード情報を更新する不良レコード
情報更新手段と、 ファイルの削除時に、不良レコードがあった領域に別の
ファイルを生成可能とするために、不良レコードを開放
し、前記不良レコード管理テーブルに追加した不良レコ
ード情報を削除する不良レコード情報削除手段とを設
け、 前記不良レコード管理テーブルを用いて、ファイルの生
成,更新,削除時に、各々の不良レコード情報を追加,
更新,削除して、不良セクタの代替管理を行うことを特
徴とするディスクセクタ代替方式。
1. A bad record management table for storing bad record information for a file on a disk when a file is generated in a disk sector replacement method of an information processing system for managing bad sectors generated in a file on the disk. In addition, the defective record information adding means for adding the defective record information of the generated file and the defective record information in the defective record management table by substituting the entire record in which the defective sector exists at the time of finding the defective sector in updating the file. Bad record information updating means for updating the bad record information and the bad record information added to the bad record management table so that another file can be created in the area where the bad record existed when the file was deleted. To provide a means for deleting bad record information, By using the bad record management table, each bad record information is added when a file is created, updated, or deleted,
A disk sector replacement method characterized by performing update management and deletion and replacement management of defective sectors.
JP2265414A 1990-10-03 1990-10-03 Disk sector replacement method Expired - Fee Related JP2553751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2265414A JP2553751B2 (en) 1990-10-03 1990-10-03 Disk sector replacement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2265414A JP2553751B2 (en) 1990-10-03 1990-10-03 Disk sector replacement method

Publications (2)

Publication Number Publication Date
JPH04141721A JPH04141721A (en) 1992-05-15
JP2553751B2 true JP2553751B2 (en) 1996-11-13

Family

ID=17416832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2265414A Expired - Fee Related JP2553751B2 (en) 1990-10-03 1990-10-03 Disk sector replacement method

Country Status (1)

Country Link
JP (1) JP2553751B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2848809B2 (en) * 1996-03-25 1999-01-20 株式会社東芝 Replacement processing method
JP3113200B2 (en) * 1996-03-25 2000-11-27 株式会社東芝 Replacement processing method
JP3029400B2 (en) * 1996-03-25 2000-04-04 株式会社東芝 Replacement processing method
JP3029399B2 (en) * 1996-03-25 2000-04-04 株式会社東芝 Replacement processing method
JP3113201B2 (en) * 1996-03-25 2000-11-27 株式会社東芝 Replacement processing method
US6292625B1 (en) 1996-09-30 2001-09-18 Matsushita Electric Industrial Co., Ltd. Recording/reproducing method suitable for recording/reproducing AV data on/from disc, recorder and reproducer for the method, information recording disc and information processing system
US6581167B1 (en) 1999-02-01 2003-06-17 Matsushita Electric Industrial Co., Ltd. Information recording medium, information recording method and information recording/reproduction system
EP1610323A1 (en) * 2004-06-22 2005-12-28 Koninklijke Philips Electronics N.V. Defect management on file level
JP4690447B2 (en) * 2008-10-30 2011-06-01 富士通株式会社 Information processing apparatus, data movement program and method

Also Published As

Publication number Publication date
JPH04141721A (en) 1992-05-15

Similar Documents

Publication Publication Date Title
US10936547B2 (en) Filesystem replication using a minimal filesystem metadata changelog
EP0487331B1 (en) Directory management system
US8225029B2 (en) Data storage processing method, data searching method and devices thereof
US5586292A (en) Data processing method using record division storing scheme and apparatus therefor
US6675257B1 (en) System and method for managing storage space on a sequential storage media
JP2553751B2 (en) Disk sector replacement method
US20060015681A1 (en) Apparatus and method for writing and reading data
JP2004030305A (en) File system
JP2822869B2 (en) Library file management device
JPH1115708A (en) Directory information management method and record medium recording program for execution of processing of the method
JP2612589B2 (en) Directory search method
JPH0362137A (en) Long and large data storing method by variable length block group
JPH0477938A (en) Data storage method
JP3890212B2 (en) Information storage system and information storage method
JP2649675B2 (en) Optical disk storage management method
JPH02132516A (en) System and method for write enable type optical disk controlling
JP4059469B2 (en) Data management control apparatus, control method, and recording medium recording program for executing control process
JPH0580072B2 (en)
JPH01237853A (en) System for processing degeneration of prime page in hash file
JPH01134542A (en) File managing system
JPH1069406A (en) Data management method for recording medium
JPH0498331A (en) Retrieval system for unused record of data file
JP2004334255A (en) Area sharing file management device, member deletion method, and program
JPS62293358A (en) Document filing method
JPH07253916A (en) File system information management device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees