JPH05334015A - Magnetic disk device fault reporting system - Google Patents

Magnetic disk device fault reporting system

Info

Publication number
JPH05334015A
JPH05334015A JP4142542A JP14254292A JPH05334015A JP H05334015 A JPH05334015 A JP H05334015A JP 4142542 A JP4142542 A JP 4142542A JP 14254292 A JP14254292 A JP 14254292A JP H05334015 A JPH05334015 A JP H05334015A
Authority
JP
Japan
Prior art keywords
disk device
magnetic disk
error
warning message
error count
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
JP4142542A
Other languages
Japanese (ja)
Inventor
Nobuhiro Shirakawa
伸浩 白川
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP4142542A priority Critical patent/JPH05334015A/en
Publication of JPH05334015A publication Critical patent/JPH05334015A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent the data loss caused by device fault by checking the number of times of error generated in a magnetic disk device. CONSTITUTION:When error occurs during making access to a magnetic disk device 7, the number of times of error in an error counting area 1 is updated by a magnetic disk device accessing means 2. An error frequency checking means 3 checks the number of times of error, and a warning message display request is sent when the number of times of error exceeds the prescribed error rate of the magnetic disk device 7. A message display means 4 displays a warning message in response to the request. The displayed warning message is erased by the input of a specific key.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置障害
通報方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk device failure notification system.

【0002】[0002]

【従来の技術】外部プログラムからのアクセス要求によ
り磁気ディスク装置アクセス時、エラーが発生した場
合、内部リトライ等を実施する。
2. Description of the Related Art When an error occurs during access to a magnetic disk device due to an access request from an external program, an internal retry or the like is performed.

【0003】このリトライの結果、エラーが回復しなけ
れば外部プログラムへ「エラー終了」を通知する一方、
エラーが回復した場合には、外部プログラムには「正常
終了」を通知する。
As a result of this retry, if the error is not recovered, the "error end" is notified to the external program.
When the error is recovered, the external program is notified of “normal end”.

【0004】[0004]

【発明が解決しようとする課題】前述した従来方式で
は、回復できるエラーを含め、磁気ディスク装置全体
で、どれだけのエラーが発生しているのか、また、これ
にともなう磁気ディスク装置交換時期が迫っているのか
どうかの事前判断ができない。このため、磁気ディスク
装置に突如固定的にアクセスできなくなり、重要なデー
タを失う恐れがあるという欠点がある。
In the above-mentioned conventional method, how many errors are occurring in the entire magnetic disk device, including recoverable errors, and the time to replace the magnetic disk device is imminent. It is not possible to judge in advance whether or not For this reason, there is a drawback that the magnetic disk device cannot be fixedly accessed suddenly and important data may be lost.

【0005】[0005]

【課題を解決するための手段】第1の発明は、外部記憶
装置として磁気ディスク装置を使用する情報処理システ
ムにおける磁気ディスク装置障害通報方式において、前
記磁気ディスク装置にて発生したエラー回数を保持する
エラーカウントエリアと、外部プログラムからの磁気デ
ィスク装置アクセス要求を実行し前記磁気ディスク装置
にてエラーが発生した場合に前記エラーカウントエリア
内のエラー回数を更新する磁気ディスク装置アクセス手
段と、システム立ち上げ直後および前記磁気ディスク装
置アクセス手段にてエラー検出時前記エラーカウントエ
リア内のエラー回数をチェックし前記エラー回数が一定
値を越えている場合に警告メッセージ表示を要求するエ
ラー回数チェック手段と、前記エラー回数チェック手段
により警告メッセージ表示要求を受けてディスプレイ上
に警告メッセージを表示し前記警告メッセージ表示後特
定のキー入力により表示済警告メッセージを消去するメ
ッセージ表示手段と、前記磁気ディスク装置交換後前記
エラーカウントエリア内容を初期化する初期化手段とを
備えることを特徴とする。
According to a first aspect of the present invention, in a magnetic disk device failure notification system in an information processing system using a magnetic disk device as an external storage device, the number of errors generated in the magnetic disk device is held. An error count area, a magnetic disk device access means for executing a magnetic disk device access request from an external program, and updating the error count in the error count area when an error occurs in the magnetic disk device, and system startup. Immediately after the error detection by the magnetic disk device access means, the error count in the error count area is checked, and if the error count exceeds a certain value, an error count check means for requesting a warning message is displayed. Warning message by the number of times check means In response to a display request, a warning message is displayed on the display, and after the warning message is displayed, a message display means for erasing the displayed warning message by a specific key input; And an initialization unit for performing the initialization.

【0006】[0006]

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

【0007】図1は、本発明の一実施例のブロック図で
ある。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0008】図1に示す磁気ディスク装置障害通報方式
は、磁気ディスク装置7において発生したエラー回数を
保持するエラーカウントエリア1と、外部プログラム6
からの磁気ディスク装置7へのアクセス要求に対しこれ
を実行し、さらに磁気ディスク装置7にてエラーが発生
した場合に、エラーカウントエリア1内のエラー回数を
更新し、かつ、エラー回数チェック手段3に対しエラー
回数のチェックを要求する磁気ディスク装置アクセス手
段2と、システム立ち上げ時および前述の磁気ディスク
装置アクセス手段2よりエラー回数のチェック要求が発
生した場合に前述のエラーカウントエリア1内のエラー
回数をチェックし、このエラー回数が磁気ディスク装置
7の所定のエラーレイトに達したときにメッセージ表示
手段4に対し警告メッセージ表示要求を行うエラー回数
チェック手段3と、前述のエラー回数チェック手段3よ
り警告メッセージ表示要求が発生した場合にディスプレ
イ上に警告メッセージを表示するとともに、この警告メ
ッセージ表示後、特定のキー入力により、表示済警告メ
ッセージを消去するメッセージ表示手段4と、磁気ディ
スク装置7を交換後、前述のエラーカウントエリア1内
容を初期化する初期化手段5とから構成されている。
In the magnetic disk device failure notification system shown in FIG. 1, an error count area 1 for holding the number of errors in the magnetic disk device 7 and an external program 6 are provided.
When an error occurs in the magnetic disk device 7, the error count in the error count area 1 is updated and the error count checking means 3 To the magnetic disk device access means 2 for requesting a check of the number of errors, and the error in the error count area 1 at the time of system start-up and when the above-mentioned magnetic disk device access means 2 requests the error count The number of errors is checked, and when the number of errors reaches a predetermined error rate of the magnetic disk device 7, an error number check means 3 for making a warning message display request to the message display means 4 and the error number check means 3 described above. When a warning message display request is issued, a warning message is displayed on the display. After the warning message is displayed, the message display means 4 for erasing the displayed warning message and the magnetic disk device 7 are replaced by a specific key input, and then the contents of the error count area 1 are initialized. It is composed of the initialization means 5.

【0009】図2は、図1における磁気ディスク装置ア
クセス手段2の処理を示す流れ図である。
FIG. 2 is a flow chart showing the processing of the magnetic disk device access means 2 in FIG.

【0010】図2に示すように、磁気ディスク装置アク
セス手段2での処理手順は、アクセス要求発生チェック
ステップ21と、アクセス実施ステップ22と、実行結
果チェックステップ23と、エラー回数更新&エラー回
数チェック要求ステップ24と、エラーリトライ実施ス
テップ25と、リトライ結果チェックステップ26と、
エラー終了通知ステップ27と、正常終了通知ステップ
28とからなる。
As shown in FIG. 2, the processing procedure in the magnetic disk device access means 2 is as follows: access request generation check step 21, access execution step 22, execution result check step 23, error count update & error count check. Request step 24, error retry execution step 25, retry result check step 26,
It comprises an error end notification step 27 and a normal end notification step 28.

【0011】図3は、図1におけるエラー回数チェック
手段3の処理を示す流れ図である。
FIG. 3 is a flow chart showing the processing of the error number checking means 3 in FIG.

【0012】図3に示すように、エラー回数チェック手
段3での処理手順は、エラー回数チェック要求発生チェ
ックステップ31と、エラー回数チェックステップ32
と、警告メッセージ表示要求ステップ33とからなる。
As shown in FIG. 3, the processing procedure in the error count check means 3 is as follows: error count check request generation check step 31 and error count check step 32.
And a warning message display request step 33.

【0013】図4は、図1におけるメッセージ表示手段
4の処理を示す流れ図である。
FIG. 4 is a flow chart showing the processing of the message display means 4 in FIG.

【0014】図4に示すように、メッセージ表示手段4
での処理手順は、表示要求発生チェックステップ41
と、表示状態チェックステップ42と、メッセージ表示
ステップ43と、キー入力チェックステップ44と、表
示状態チェックステップ45と、メッセージ消去ステッ
プ46とからなる。
As shown in FIG. 4, the message display means 4
The processing procedure in step 41 is the display request occurrence check step 41.
A display state check step 42, a message display step 43, a key input check step 44, a display state check step 45, and a message deletion step 46.

【0015】次に、このように構成された本実施例の磁
気ディスク装置障害通報方式の動作を説明する。
Next, the operation of the magnetic disk device failure notification system of the present embodiment thus constructed will be described.

【0016】図2に示すように、磁気ディスク装置アク
セス手段2は、まず、外部プログラム6からの磁気ディ
スク装置7へのアクセス要求が発生しているかどうかを
チェックする(ステップ21)。その結果、アクセス要
求がなければ、再度アクセス要求を待つ。また、アクセ
ス要求が発生している場合には、磁気ディスク装置7に
対しアクセス要求内容に沿った処理を実施する(ステッ
プ22)。
As shown in FIG. 2, the magnetic disk device access means 2 first checks whether an access request from the external program 6 to the magnetic disk device 7 is issued (step 21). As a result, if there is no access request, it waits for the access request again. If an access request is issued, the magnetic disk device 7 is processed according to the contents of the access request (step 22).

【0017】次に、アクセス実施結果についてチェック
する(ステップ23)。ここで、正常終了した場合に
は、外部プログラムに対し「正常終了」を通知する(ス
テップ28)。
Next, the access execution result is checked (step 23). Here, when the processing is normally completed, the external program is notified of "normally completed" (step 28).

【0018】一方、ここでエラーが発生した場合には、
エラーカウントエリア1内のエラー回数を+1し、さら
に、エラー回数チェック手段3に対しエラー回数のチェ
ックを要求する(ステップ24)。
On the other hand, if an error occurs here,
The number of errors in the error count area 1 is incremented by 1, and the error count check means 3 is requested to check the number of errors (step 24).

【0019】次に、エラーリトライやエラー代替処理を
実施し(ステップ25)、この結果をチェックする(ス
テップ26)。ここで、エラー回復した場合には、外部
プログラムには「正常終了」を通知する(ステップ2
8)。一方、エラー回復しなかった場合には、外部プロ
グラムに対し「エラー終了」を通知する(ステップ2
7)。
Next, error retry or error substitution processing is performed (step 25), and the result is checked (step 26). If the error is recovered, the external program is notified of "normal end" (step 2).
8). On the other hand, if the error is not recovered, the external program is notified of "error end" (step 2).
7).

【0020】図3に示すように、エラー回数チェック手
段3では、まず、システム立ち上げ直後であるか、また
は磁気ディスク装置アクセス手段2からエラー回数チェ
ック要求が発生しているかをチェックする(ステップ3
1)。その結果、何も要求がなければ処理を終了する。
一方、要求があった場合には、エラーカウントエリア1
内のエラー回数が磁気ディスク装置7の所定のエラーレ
イトに達しているかどうかをチェックする(ステップ3
2)。ここで一定割合に達していなければ処理を終了す
る。また一定割合を越えていれば、メッセージ表示手段
4に対し警告メッセージの表示要求を行う(ステップ3
3)。
As shown in FIG. 3, the error count checking means 3 first checks whether the system has just been started up or whether an error count check request has been issued from the magnetic disk device access means 2 (step 3).
1). As a result, if there is no request, the process ends.
On the other hand, if there is a request, the error count area 1
It is checked whether the number of errors in the number reaches the predetermined error rate of the magnetic disk device 7 (step 3).
2). If the fixed ratio has not been reached here, the process ends. If the ratio exceeds a certain ratio, the message display means 4 is requested to display a warning message (step 3).
3).

【0021】図4に示すように、メッセージ表示手段4
では、まずエラー回数チェック手段3からの警告メッセ
ージ表示要求があるかどうかをチェックする(ステップ
41)。その結果要求がある場合、現在警告メッセージ
を表示しているかどうかをチェックする(ステップ4
2)。ここで、表示中でない場合には所定の警告メッセ
ージをディスプレイ上に表示する(ステップ43)。一
方、ステップ41にて警告メッセージの表示要求がない
場合、または、表示要求はあるが、現在警告メッセージ
を表示中である場合には何もせず、次の処理に移行す
る。
As shown in FIG. 4, the message display means 4
First, it is checked whether or not there is a warning message display request from the error number checking means 3 (step 41). If there is a request as a result, it is checked whether a warning message is currently displayed (step 4).
2). If it is not being displayed, a predetermined warning message is displayed on the display (step 43). On the other hand, if there is no warning message display request in step 41, or if there is a display request but a warning message is currently being displayed, nothing is done and the process proceeds to the next process.

【0022】次に、特定キーが入力されたかどうかをチ
ェックする(ステップ44)。ここで、特定キーが入力
されていた場合には、ディスプレイ上に警告メッセージ
が表示中であるかどうかをチェックし(ステップ4
5)、表示中であれば、この表示中の警告メッセージを
消去する(ステップ46)。一方、特定キーの入力がな
い場合、または、特定キーは入力されているが、警告メ
ッセージが表示されていない場合には処理を終了する。
Next, it is checked whether a specific key has been input (step 44). Here, if the specific key is input, it is checked whether or not a warning message is being displayed on the display (step 4
5) If it is being displayed, the warning message being displayed is erased (step 46). On the other hand, if the specific key is not input, or if the specific key is input but the warning message is not displayed, the process ends.

【0023】最後に、警告メッセージに従い、または、
その他の要因により磁気ディスク装置7を交換した場
合、初期化手段5によりエラーカウントエリア1内のエ
ラー回数を初期化する。
Finally, according to the warning message, or
When the magnetic disk device 7 is replaced due to other factors, the initialization means 5 initializes the number of errors in the error count area 1.

【0024】[0024]

【発明の効果】以上説明したように、本発明の磁気ディ
スク装置障害通報方式では、磁気ディスク装置で発生す
るエラーについて、その回復の可否にかかわらず、これ
をカウントし、その都度総エラー回数をチェックする手
段を有する。
As described above, in the magnetic disk device failure notification system of the present invention, an error that occurs in the magnetic disk device is counted regardless of whether it can be recovered, and the total number of errors is calculated each time. Have a means to check.

【0025】これにより、磁気ディスク装置の所定のエ
ラーレイトに対応した事前の診断が可能となり、磁気デ
ィスク装置の寿命が原因の重大障害による重要データの
損失を未然に防止することができる効果を有する。
As a result, it is possible to perform a preliminary diagnosis corresponding to a predetermined error rate of the magnetic disk device, and it is possible to prevent loss of important data due to a serious failure due to the life of the magnetic disk device. ..

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

【図1】本発明の磁気ディスク装置障害通報方式のブロ
ック図である。
FIG. 1 is a block diagram of a magnetic disk device failure notification system according to the present invention.

【図2】本実施例の磁気ディスク装置アクセス手段の処
理を示す流れ図である。
FIG. 2 is a flow chart showing a process of a magnetic disk device access means of the present embodiment.

【図3】本実施例のエラー回数チェック手段の処理を示
す流れ図である。
FIG. 3 is a flow chart showing a process of an error number checking means of this embodiment.

【図4】本実施例のメッセージ表示手段の処理を示す流
れ図である。
FIG. 4 is a flowchart showing the processing of the message display means of this embodiment.

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

1 エラーカウントエリア 2 磁気ディスク装置アクセス手段 3 エラー回数チェック手段 4 メッセージ表示手段 5 初期化手段 6 外部プログラム 7 磁気ディスク装置 1 Error Count Area 2 Magnetic Disk Device Access Means 3 Error Count Checking Means 4 Message Display Means 5 Initializing Means 6 External Programs 7 Magnetic Disk Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置として磁気ディスク装置を
使用する情報処理システムにおける磁気ディスク装置障
害通報方式において、前記磁気ディスク装置にて発生し
たエラー回数を保持するエラーカウントエリアと、外部
プログラムからの磁気ディスク装置アクセス要求を実行
し前記磁気ディスク装置にてエラーが発生した場合に前
記エラーカウントエリア内のエラー回数を更新する磁気
ディスク装置アクセス手段と、システム立ち上げ直後お
よび前記磁気ディスク装置アクセス手段にてエラー検出
時前記エラーカウントエリア内のエラー回数をチェック
し前記エラー回数が一定値を越えている場合に警告メッ
セージ表示を要求するエラー回数チェック手段と、前記
エラー回数チェック手段により警告メッセージ表示要求
を受けてディスプレイ上に警告メッセージを表示し前記
警告メッセージ表示後特定のキー入力により表示済警告
メッセージを消去するメッセージ表示手段と、前記磁気
ディスク装置交換後前記エラーカウントエリア内容を初
期化する初期化手段とを備えることを特徴とする磁気デ
ィスク装置障害通報方式。
1. A magnetic disk device failure notification method in an information processing system using a magnetic disk device as an external storage device, wherein an error count area for holding the number of errors that has occurred in said magnetic disk device and a magnetic field from an external program. Magnetic disk device access means for updating the number of errors in the error count area when a disk device access request is executed and an error occurs in the magnetic disk device, and immediately after system startup and by the magnetic disk device access means When an error is detected, the number of errors in the error count area is checked, and if the number of errors exceeds a certain value, a warning message display request is issued. Display A message display means for displaying a warning message on the screen and erasing the displayed warning message by a specific key input after the warning message is displayed, and an initialization means for initializing the contents of the error count area after replacement of the magnetic disk device. A magnetic disk device failure notification system characterized by being provided.
JP4142542A 1992-06-03 1992-06-03 Magnetic disk device fault reporting system Pending JPH05334015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4142542A JPH05334015A (en) 1992-06-03 1992-06-03 Magnetic disk device fault reporting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4142542A JPH05334015A (en) 1992-06-03 1992-06-03 Magnetic disk device fault reporting system

Publications (1)

Publication Number Publication Date
JPH05334015A true JPH05334015A (en) 1993-12-17

Family

ID=15317777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4142542A Pending JPH05334015A (en) 1992-06-03 1992-06-03 Magnetic disk device fault reporting system

Country Status (1)

Country Link
JP (1) JPH05334015A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3120044A1 (en) * 1981-05-20 1982-12-09 Robert Bosch Gmbh, 7000 Stuttgart Fuel injection nozzle for internal combustion engines
US7177979B2 (en) * 2003-03-11 2007-02-13 Hitachi Global Storage Technologies Japan, Ltd. Method for preventing data loss due to repeated writes to a given track on a magnetic disk drive

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854466A (en) * 1981-09-28 1983-03-31 Nec Corp Data processor with built-in flexible disk

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854466A (en) * 1981-09-28 1983-03-31 Nec Corp Data processor with built-in flexible disk

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3120044A1 (en) * 1981-05-20 1982-12-09 Robert Bosch Gmbh, 7000 Stuttgart Fuel injection nozzle for internal combustion engines
US7177979B2 (en) * 2003-03-11 2007-02-13 Hitachi Global Storage Technologies Japan, Ltd. Method for preventing data loss due to repeated writes to a given track on a magnetic disk drive

Similar Documents

Publication Publication Date Title
US5388254A (en) Method and means for limiting duration of input/output (I/O) requests
US6381694B1 (en) System for automatic recovery from software problems that cause computer failure
JPH05173808A (en) Diagnostic system for personal computer and interface
WO2013185092A1 (en) System and method for automatic test level generation
US8621276B2 (en) File system resiliency management
CN108369519B (en) Replaying partially executed instruction blocks in a processor-based system using a block-atomic execution model
CN110851294A (en) Method and device for remedying program operation breakdown
JPH05334015A (en) Magnetic disk device fault reporting system
US20120272103A1 (en) Software operability service
JPH05101697A (en) Fault diagnostic circuit for lsi
CN117785074B (en) Method, device, server and medium for processing input/output timeout
JP3102349B2 (en) Fault monitoring and notification device for distributed computer system
JP7484301B2 (en) Information processing device and information processing program
JP2878014B2 (en) RAM test method
JP2602983B2 (en) Diagnostic system
JPS62174817A (en) Disk information display method
CN117573403A (en) Method, device, equipment and medium for processing exception of system-level chip
JPH07219796A (en) Information processor
CN117785074A (en) Method, device, server and medium for processing input/output timeout
JP2661447B2 (en) I / O device test method
JP3490465B2 (en) Abnormal data processing device
JP2002229923A (en) Disk state acquisition method and recording medium
JPH076103A (en) Fault processing system for input/output channel
JPH05233341A (en) Restart-up control system for job processing program
JPH08263223A (en) Computer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980707