JPH01107371A - Dynamic processing system for fault track - Google Patents

Dynamic processing system for fault track

Info

Publication number
JPH01107371A
JPH01107371A JP26557887A JP26557887A JPH01107371A JP H01107371 A JPH01107371 A JP H01107371A JP 26557887 A JP26557887 A JP 26557887A JP 26557887 A JP26557887 A JP 26557887A JP H01107371 A JPH01107371 A JP H01107371A
Authority
JP
Japan
Prior art keywords
track
data
error log
defective
log 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.)
Pending
Application number
JP26557887A
Other languages
Japanese (ja)
Inventor
Masasuke Koide
小出 雅右
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP26557887A priority Critical patent/JPH01107371A/en
Publication of JPH01107371A publication Critical patent/JPH01107371A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of input/output errors by collating the input output errors of large capacity storage devices to an error log file, automatically detecting the places of the errors, automatically setting them to fault tracks and executing the allocation of alternate tracks instead. CONSTITUTION:An alternate track allocation means 7 sets the track which an error log information analysis means 5 has decided to be the fault track to be the fault track, and allocates the alternate track instead. A fault track processing means 1 calls a data rewriting means 8, which rewrites data which a data read means 6 has read into the alternate track that the alternate track allocation means 7 has allocated. When the fault track processing means 1 rewrites data which the data read means 6 has read into the alternate track that the alternate track allocation means 7 has allocated by the data rewriting means 8, a print image output device 10 outputs a processing result on a list. Thus, the occurrence of the input/output errors can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、不良トラックが存在していると不良トラック
を使用せずに替りに代替のトラックを割り当てて使用す
る大容量記憶装置を備え、この大容量記憶装置の記憶領
域に複数のファイルを格納し、その格納されでいるファ
イルに対して入出力処理を行ない、その入出力処理で発
生したエラー情報をエラーログファイルに格納するシス
テムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention includes a mass storage device that, when a defective track exists, does not use the defective track and instead allocates and uses an alternative track, The present invention relates to a system that stores a plurality of files in a storage area of a large-capacity storage device, performs input/output processing on the stored files, and stores error information generated in the input/output processing in an error log file.

(従来の技術) 従来、この種の不良トラック処理は、エラーログファイ
ルの内容をリスト上に出力し、保守員自身が出力リスト
を参照して対処するか、自動回復が不可のエラーが発生
してから対処していた。
(Prior art) Conventionally, this type of bad track processing outputs the contents of an error log file on a list, and maintenance personnel refer to the output list and take action, or an error occurs that cannot be automatically recovered. I dealt with it afterwards.

(発明が解決しようとする問題点) 上述した従来の不良トラック処理方式は、以下のような
欠点がある。
(Problems to be Solved by the Invention) The conventional defective track processing method described above has the following drawbacks.

■ エラーログファイルの内容をリストに出力した後、
人手にたよって出力リストを参照していたので、システ
ムが巨大化し、利用者が増えている現在、人手にたよる
ことが非常に困難な状況になっている。
■ After outputting the contents of the error log file to a list,
The output list had to be referenced manually, but now that the system has grown in size and the number of users has increased, it has become extremely difficult to rely on it manually.

■ 自動回復が不可のエラーが発生した後、不良トラッ
ク処理を行なっていたので、ファイルの復旧に多大な工
数がかかる。
■ After an error that cannot be automatically recovered occurred, bad track processing was performed, so it took a lot of man-hours to recover the file.

■ 自動回復が不可のエラーが突然、発生することによ
りシステムが突然、停止し、利用者の業務が停止してし
まう可能性がある。
■ If an error that cannot be automatically recovered suddenly occurs, the system may suddenly stop and the user's business may come to a halt.

(問題点を解決するための手段) 本発明の不良トラック動的処理方式は、エラーログファ
イルの内容を読み込むエラーログファイル読み込み手段
と、エラーログファイル読み込み手段によって読み込ま
れたエラーログファイルの内容を解析し、大容量記憶装
置上のトラックを不良トラックにする必要があるかどう
かを決定するエラーログ情報解析手段と、エラーログ情
報解析手段によって不良トラックにすると決定されたト
ラック上のデータを読み込むデータ読み込み手段と、デ
ータ読み込み手段によって読み込まれたトラックを不良
トラックにし、替りに代替トラックの割り当てを行なう
代替トラック割り当て手段と、データ読み込み手段によ
って読み込まれたデータを代替トラック割り当て手段に
よって割り当てられた代替トラックに書き戻すデータ書
き戻し手段とを有している。
(Means for solving the problem) The defective track dynamic processing method of the present invention includes an error log file reading means for reading the contents of an error log file, and an error log file reading means for reading the contents of the error log file read by the error log file reading means. an error log information analysis means for analyzing and determining whether a track on the mass storage device should be made a bad track; and data for reading data on a track determined to be a bad track by the error log information analysis means. a reading means; an alternative track allocating means for making the track read by the data reading means a defective track and allocating an alternative track instead; and an alternative track allocating the data read by the data reading means by the alternative track allocating means. and data write-back means for writing back the data.

(作 用) したがって、入出力エラーの発生を未然に防ぐことがで
きる。
(Function) Therefore, input/output errors can be prevented from occurring.

〔実施例〕〔Example〕

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

第1図は本発明の不良トラック動的処理方式の一実施例
の構成図である。本実施例の不良トラック動的処理方式
は、大容量記憶装置3のエラーログファイル4の内容を
読み込むエラーログファイル読み込み手段2と、エラー
ログファイル読み込み手段2によって読み込まれたエラ
ーログファイル4の内容を解析し、大容量記憶装置91
〜9n上のトラックを不良トラックにする必要があるか
どうかを決定するエラーログ情報解析手段5と、エラー
ログ情報解析手段5によって不良トラックにすると決定
されたトラック上のデータを読み込むデータ読み込み手
段6と、データ読み込み手段6によって読み込まれたト
ラックを不良トラックにし、替りに代替トラックの割り
当てを行なう代替トラック割り当て手段7と、データ読
み込み手段6によって読み込まれたデータを代替トラッ
ク割り当て手段7によって割り当てられた代替トラック
に書き戻すデータ書き戻し手段8と、処理結果をリスト
上に出力するプリントイメージ出力装置10と、上記各
手段2〜8およびプリントイメージ出力装置lOを起動
する不良トラック処理手段1から構成されている。
FIG. 1 is a block diagram of an embodiment of the defective track dynamic processing method of the present invention. The defective track dynamic processing method of this embodiment includes an error log file reading means 2 that reads the contents of the error log file 4 of the mass storage device 3, and the contents of the error log file 4 read by the error log file reading means 2. The mass storage device 91
Error log information analysis means 5 that determines whether the tracks above ~9n need to be designated as defective tracks; and data reading means 6 that reads data on the tracks that have been determined to be defective tracks by the error log information analysis means 5. an alternative track allocating means 7 which makes the track read by the data reading means 6 a defective track and allocates an alternative track instead; It is composed of a data write-back means 8 for writing back to an alternative track, a print image output device 10 that outputs the processing result on a list, and a defective track processing means 1 that starts each of the above-mentioned means 2 to 8 and the print image output device IO. ing.

次に、本実施例の動作について図面を参照して説明する
Next, the operation of this embodiment will be explained with reference to the drawings.

利用者が大容量記憶装置9重〜9nの検査を行ないたい
と判断した時、不良トラック処理手段1を起動する。不
良トラック処理手段1はエラーログファイル読み込み手
段2を動作させる。エラーログファイル読み込み手段2
は大容量記憶装置3中に存在しているエラーログファイ
ル4に格納されている大容量記憶装置91〜9nのエラ
ー発生+Ili報を読み込む。次に、不良トラック処理
手段1は読み込まれたエラー発生情報を解析するために
エラーログ情報解析手段5を呼び出す。エラーログ情報
解析手段5は大容量記憶装置9.〜9n上で人出力エラ
ーが発生し、自動回復処理によりて入出力処理がされて
いたトラックを検出すると、不良トラックにするべきと
判断する。次に、不良トラック処理手段1はデータ読み
込み手段6を呼び出し、エラーログ情報解析手段5によ
って不良トラックにするべきと判断した大容量記憶装置
91〜9n中に存在している該当トラック上のデータを
読み込む。データ読み込み手段6によってデータの読み
込みが終ると、不良トラック処理手段1は代替トラック
割り当て手段7を呼び出し、代替トラック割り当て手段
7はエラーログ情報解析手段5で不良トラックにするべ
きと決定されたトラックを不良トラックにし、替りに代
替トラックを割り当てる。代替トラック割り当て手段7
が不良トラックを代替トラックに割り当てた後、不良ト
ラック処理手段1はデータ読み込み手段6によって読み
込まれていたデータを書き戻すため、データ書き戻し手
段8を呼び出す。データ書き戻し手段8はデータ読み込
み手段6で読み込んでいたデータを代替トラック割り当
て手段7で割り当てていた代替トラックにデータを書き
戻す。次に、不良トラック処理手段lはデータ書き戻し
手段8によってデータ読み込み手段6で読み込んでいた
データを代替トラック割り当て手段7で割り当てた代替
トラックに書き戻すと、プリントイメージ出力装置lO
は処理結果をリスト上に出力する。一連の処理が終了す
ると再び、不良トラック処理手段1を起動させ、大容量
記憶装置3中に存在しているエラーログファイル4の内
容を全て解析するまで処理を繰り返す。
When the user decides that he wants to inspect the mass storage devices 9x to 9n, he activates the defective track processing means 1. The defective track processing means 1 operates the error log file reading means 2. Error log file reading means 2
reads the error occurrence+Ili information of the mass storage devices 91 to 9n stored in the error log file 4 existing in the mass storage device 3. Next, the defective track processing means 1 calls the error log information analysis means 5 to analyze the read error occurrence information. The error log information analysis means 5 is a mass storage device 9. When a human output error occurs on ~9n and a track that has been subjected to input/output processing is detected by automatic recovery processing, it is determined that it should be treated as a defective track. Next, the defective track processing means 1 calls the data reading means 6, and reads the data on the corresponding track existing in the mass storage devices 91 to 9n, which is determined to be a defective track by the error log information analysis means 5. Load. When the data reading means 6 finishes reading the data, the defective track processing means 1 calls the alternative track allocation means 7, and the alternative track allocation means 7 selects the track determined to be a defective track by the error log information analysis means 5. Make the track defective and assign an alternate track in its place. Alternative track allocation means 7
After allocating the defective track to an alternative track, the defective track processing means 1 calls the data writing back means 8 in order to write back the data read by the data reading means 6. The data writing back means 8 writes back the data read by the data reading means 6 to the alternative track allocated by the alternative track allocation means 7. Next, the defective track processing means 1 uses the data writing back means 8 to write back the data read by the data reading means 6 to the alternative track allocated by the alternative track allocation means 7, and then the print image output device 1O
outputs the processing results on a list. When the series of processing is completed, the defective track processing means 1 is activated again, and the processing is repeated until all the contents of the error log file 4 existing in the mass storage device 3 are analyzed.

(9i明の効果〕 以上説明したように本発明は、大容量記憶装置の入出力
エラーをエラーログファイルを参照することによってエ
ラー箇所を自動的に検出して自動的に不良トラックにし
、替りに代替トラックの割り当てを行なうことにより、
入出力エラーの発生を未然に防ぎ、したがってファイル
の復旧に要する工数が削減でき、また自動回復が不可の
エラーが発生するのを未然に防ぐためシステムの信頼性
が増す効果がある。
(Effects of 9i Light) As explained above, the present invention automatically detects input/output errors in a mass storage device by referring to the error log file, automatically marks the error track as a defective track, and replaces the input/output error with a defective track. By assigning alternative tracks,
This method has the effect of preventing input/output errors from occurring, thereby reducing the number of man-hours required for file recovery, and increasing system reliability since it prevents errors that cannot be automatically recovered from occurring.

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

第1図は本発明の不良トラック動的処理方式の一実施例
を示す構成図である。 1・・・・−不良トラック処理手段、 2−−−−−−エラーログファイル読み込み手段、3・
・・・・・大容量記憶装置、 4・・・・・・エラーログファイル、 5・・・・・・エラーログ情報解析手段、6・・・・・
・データ読み込み手段、 ? −−−−−−不良トラック割り当て手段、8・・・
・・・データ書き戻し手段、 91〜9 n ・・・−大容量記憶装置、10・・・・
・・プリントイメージ出力装置。
FIG. 1 is a block diagram showing an embodiment of the defective track dynamic processing method of the present invention. 1...-Defective track processing means, 2-----Error log file reading means, 3.
... Mass storage device, 4 ... Error log file, 5 ... Error log information analysis means, 6 ...
・Data reading means? -------Defective track allocation means, 8...
...Data write-back means, 91-9 n ...-Mass storage device, 10...
...Print image output device.

Claims (1)

【特許請求の範囲】 不良トラックが存在していると不良トラックを使用せず
に替りに代替のトラックを割り当てて使用する大容量記
憶装置を備え、この大容量記憶装置の記憶領域に複数の
ファイルを格納し、その格納されているファイルに対し
て入出力処理を行ない、その入出力処理で発生したエラ
ー情報をエラーログファイルに格納するシステムにおい
て、 エラーログファイルの内容を読み込むエラーログファイ
ル読み込み手段と、 エラーログファイル読み込み手段によって読み込まれた
エラーログファイルの内容を解析し、大容量記憶装置上
のトラックを不良トラックにする必要があるかどうかを
決定するエラーログ情報解析手段と、 エラーログ情報解析手段によって不良トラックにすると
決定されたトラック上のデータを読み込むデータ読み込
み手段と、 データ読み込み手段によって読み込まれたトラックを不
良トラックにし、替りに代替トラックの割り当てを行な
う代替トラック割り当て手段と、データ読み込み手段に
よって読み込まれたデータを代替トラック割り当て手段
によって割り当てられた代替トラックに書き戻すデータ
書き戻し手段とを有する不良トラック動的処理方式。
[Claims] A large-capacity storage device that does not use the defective track when a defective track exists and instead allocates and uses an alternative track is provided, and a plurality of files are stored in the storage area of the large-capacity storage device. In a system that stores a file, performs input/output processing on the stored file, and stores error information generated in the input/output processing in an error log file, an error log file reading means for reading the contents of the error log file. and an error log information analysis means for analyzing the contents of the error log file read by the error log file reading means and determining whether a track on the mass storage device should be designated as a defective track; data reading means for reading data on a track determined to be a defective track by the analysis means; alternative track allocation means for making the track read by the data reading means a defective track and allocating an alternative track in its place; a data write-back means for writing back data read by the means to an alternative track allocated by the alternative track allocation means.
JP26557887A 1987-10-20 1987-10-20 Dynamic processing system for fault track Pending JPH01107371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26557887A JPH01107371A (en) 1987-10-20 1987-10-20 Dynamic processing system for fault track

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26557887A JPH01107371A (en) 1987-10-20 1987-10-20 Dynamic processing system for fault track

Publications (1)

Publication Number Publication Date
JPH01107371A true JPH01107371A (en) 1989-04-25

Family

ID=17419068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26557887A Pending JPH01107371A (en) 1987-10-20 1987-10-20 Dynamic processing system for fault track

Country Status (1)

Country Link
JP (1) JPH01107371A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684344B1 (en) 1998-10-30 2004-01-27 Nec Corporation Control unit of external storage, method for substituting defective block, and storage medium wherein control program for substituting defective block has been stored
WO2004021348A1 (en) * 2002-08-28 2004-03-11 Fujitsu Limited Method for monitoring error in lead channel and lead channel having error monitoring function

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129976A (en) * 1983-12-16 1985-07-11 Canon Inc Substituting system of storage information
JPS60231982A (en) * 1984-04-28 1985-11-18 Sony Corp Digital data recording device
JPS61271672A (en) * 1985-05-27 1986-12-01 Matsushita Electric Ind Co Ltd Information recording and reproducing device
JPS6252762A (en) * 1985-08-30 1987-03-07 Mitsubishi Electric Corp Method of controlling disc

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129976A (en) * 1983-12-16 1985-07-11 Canon Inc Substituting system of storage information
JPS60231982A (en) * 1984-04-28 1985-11-18 Sony Corp Digital data recording device
JPS61271672A (en) * 1985-05-27 1986-12-01 Matsushita Electric Ind Co Ltd Information recording and reproducing device
JPS6252762A (en) * 1985-08-30 1987-03-07 Mitsubishi Electric Corp Method of controlling disc

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684344B1 (en) 1998-10-30 2004-01-27 Nec Corporation Control unit of external storage, method for substituting defective block, and storage medium wherein control program for substituting defective block has been stored
WO2004021348A1 (en) * 2002-08-28 2004-03-11 Fujitsu Limited Method for monitoring error in lead channel and lead channel having error monitoring function

Similar Documents

Publication Publication Date Title
US6154852A (en) Method and apparatus for data backup and recovery
US7380245B1 (en) Technique for detecting corruption associated with a stack in a storage device
EP0116366A2 (en) Method for controlling storage of data sets in memory unit
JPH01107371A (en) Dynamic processing system for fault track
CN111290881B (en) Data recovery method, device, equipment and storage medium
US20050044331A1 (en) Data management
JPH11259374A (en) Device and method for testing memory and storage medium
JPH039426A (en) Software development environment storing system
JPH0247735A (en) Computer device
CN117854580A (en) Method, device, equipment and storage medium for rapidly detecting hard disk bad track
JP3805093B2 (en) Method and apparatus for detecting memory return forgotten in computer system and recording medium therefor
JPH07248947A (en) Maintenance diagnostic method for file device
JPH07200378A (en) Library file management equipment
CN116778604A (en) Vehicle testing method and system, electronic equipment, storage medium and vehicle
JP3130870B2 (en) Memory dump file reconstruction method
JPS62217337A (en) File device for log information
JPH09134300A (en) Error log editing system
JPH0256776A (en) Inspecting system for unused area defective track
JPS601672A (en) Processing method for defective block of magnetic disk device
JPS62209774A (en) Alternate processing system for defective area in magnetic disk device
JPS5987572A (en) Controlling system of disk storage device
JPH09218751A (en) Copy system to recording medium
JPH04105137A (en) Check system for input/output function of computer
JPS581467B2 (en) File access quick access door
JPH05210467A (en) Method for copying to plural floppy disks