JPH09282603A - Disk device and monitor value preservation control method in the same device - Google Patents

Disk device and monitor value preservation control method in the same device

Info

Publication number
JPH09282603A
JPH09282603A JP9689996A JP9689996A JPH09282603A JP H09282603 A JPH09282603 A JP H09282603A JP 9689996 A JP9689996 A JP 9689996A JP 9689996 A JP9689996 A JP 9689996A JP H09282603 A JPH09282603 A JP H09282603A
Authority
JP
Japan
Prior art keywords
monitor value
storage area
value storage
monitor
flag information
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
JP9689996A
Other languages
Japanese (ja)
Inventor
Masakado Hirano
正門 平野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9689996A priority Critical patent/JPH09282603A/en
Publication of JPH09282603A publication Critical patent/JPH09282603A/en
Pending legal-status Critical Current

Links

Landscapes

  • Recording Or Reproducing By Magnetic Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the reduction of a performance by a wasteful monitor value preservation processing. SOLUTION: When an even becoming a monitoring object is generated, a CPU 10 increments concerned monitor values being in a monitor value storage area 121 secured in a RAM 12 and also sets a flag 122 in order to indicate that the change of monitor values is generated. Moreover, when the request of a monitor value preservation processing is occurred in this device or the outside of the device and the CPU 10 receives it, the CPU 10 checks whether a flag is set or not and when the flag is set, the CPU 10 executes the monitor value preservation processing preserving the content of the monitor value storage area 121 in the monitor value preserving area secured in the system area of a disk 1 by regarding that either of monotor values in the monitor value storage area 121 is changed. In the contrary, when the flag is not set, the CPU 10 progresses to a next processing without executing the monitor value preservation processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、故障予知機能を持
つディスク装置及び同装置におけるモニター値保存制御
方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a disk device having a failure prediction function and a monitor value storage control method in the disk device.

【0002】[0002]

【従来の技術】近年、装置の故障を事前に予測する機能
(故障予測機能)を有する磁気ディスク装置が開発され
ている。この故障予測機能は、磁気ディスク装置内の故
障に関係し得る(故障と因果関係の深い)事象をモニタ
ーし、そのモニター値から装置の故障を予測するもので
ある。モニター値は、装置が危険な状態であるか否かを
判断するためのデータであり、代表的なものに、通電時
間、モータの起動/停止(Start/Stop)回数、代替処理
(欠陥のあるセクタを検出した場合に予め用意されてい
るスペアトラック上のスペアセクタに代替させる処理)
の回数などがある。
2. Description of the Related Art In recent years, a magnetic disk device having a function of predicting a device failure in advance (failure prediction function) has been developed. This failure prediction function monitors an event (which has a deep causal relationship with the failure) in the magnetic disk device, and predicts the device failure from the monitored value. The monitor value is data for judging whether or not the device is in a dangerous state. Typical examples are energization time, motor start / stop (Start / Stop) times, alternative processing (defective). (Process to substitute a spare sector on a spare track prepared in advance when a sector is detected)
The number of times.

【0003】上記したモニター値は、装置の立ち上げ時
や、リード/ライト時など、様々なときに変化する。こ
の種のモニター値は、モニター値更新の高速化のため
に、最初はRAM等の高速な揮発性メモリに記憶される
のが一般的である。この状態では、電源をオフするとか
装置をリセットすると、揮発性メモリ内のモニター値は
消失してしまう。そのため、それ以前に、揮発性メモリ
内のモニター値を不揮発性メモリやディスク上に保存す
るモニター値保存処理が必要となる。
The above-mentioned monitor value changes at various times such as when the apparatus is started up and when reading / writing. This type of monitor value is generally stored in a high-speed volatile memory such as a RAM at first in order to speed up the update of the monitor value. In this state, the monitor value in the volatile memory is lost when the power is turned off or the device is reset. Therefore, before that, a monitor value saving process for saving the monitor value in the volatile memory on the non-volatile memory or the disk is required.

【0004】磁気ディスク装置における故障予測は、上
記の如くモニター値をもとに行われることから、モニタ
ー値の変化を確実に保存しておく必要がある。そのため
には、モニター値の保存処理を頻繁に行うようにしなく
てはならない。
Since the failure prediction in the magnetic disk device is performed based on the monitor value as described above, it is necessary to surely save the change in the monitor value. For that purpose, it is necessary to frequently save the monitor value.

【0005】このモニター値の保存は、上書きにより行
われるのが一般的である。このモニター値保存処理で
は、保存しようとしているモニター値が、既に不揮発性
メモリ或いはディスク上に保存されている値と同一であ
っても、その同一値の保存が(上書きにより)行われ
る。
This monitor value is generally saved by overwriting. In this monitor value saving process, even if the monitor value to be saved is the same as the value already saved in the non-volatile memory or the disk, the same value is saved (by overwriting).

【0006】[0006]

【発明が解決しようとする課題】上記したように、従来
技術においては、保存しようとしているモニター値が、
既に不揮発性メモリ或いはディスク上に保存されている
値と同一であっても、そのモニター値を保存するという
無駄な処理を行っていた。しかも、この無駄な処理の期
間中は、他の処理ができないため、パフォーマンスの低
下を招く。この問題について、図5のフローチャートを
参照して説明する。
As described above, in the prior art, the monitor value to be saved is
Even if it is the same as the value already stored in the non-volatile memory or the disk, the wasteful process of storing the monitor value is performed. Moreover, during this useless processing, other processing cannot be performed, resulting in deterioration of performance. This problem will be described with reference to the flowchart of FIG.

【0007】まず磁気ディスク装置では、ホスト装置か
らモニター値保存処理を要求するコマンド(モニター値
保存コマンド)が発行されると、そのモニター値保存処
理の要求を受け付ける(ステップS11)。この要求受
け付けは、ホスト装置からモニター値保存コマンドが発
行された場合に限らず、例えば磁気ディスク装置がパワ
ーセーブ状態(スタンバイモードと称される待機状態)
に入る際にも、装置の有するモニター値の自動保存(オ
ートセーブ)機能の働きにより行われる。
First, in the magnetic disk device, when a command (monitor value saving command) requesting the monitor value saving process is issued from the host device, the request for the monitor value saving process is accepted (step S11). This request acceptance is not limited to when the monitor value save command is issued from the host device, but the magnetic disk device is in a power save state (standby state called standby mode), for example.
When entering, it is performed by the function of the automatic save function of the monitor value that the device has.

【0008】磁気ディスク装置では、モニター値保存処
理の要求を受け付けると、揮発性メモリに記憶されてい
るモニター値を不揮発性メモリ或いはディスクといった
不揮発性の記憶手段上(に確保されたモニター値保存領
域)に保存するモニター値保存処理を開始する(ステッ
プS12)。
In the magnetic disk device, when the monitor value storage processing request is received, the monitor value stored in the volatile memory is stored in (the monitor value storage area secured in the nonvolatile storage means such as the nonvolatile memory or the disk). In step S12, the monitor value saving process of saving the value in step 1) is started.

【0009】ここで、モニター値保存処理の期間中に、
ホスト装置からディスク装置本来の機能であるディスク
リード/ライトのためのコマンドが発行されたものとす
る(ステップS13)。
Here, during the monitor value storing process,
It is assumed that the host device has issued a command for disk read / write, which is the original function of the disk device (step S13).

【0010】このような場合、ホスト装置からのコマン
ド自体は受け付けられるものの、モニター値保存処理が
終了した(ステップS14)後でしか(或いは中断可能
な処理までを行った後でしか)、そのコマンドの処理
(ステップS15)は実行できない。そのため、ディス
ク装置(ドライブ)のパフォーマンス低下を招く。しか
も、モニター値の保存は、保存しようとしているモニタ
ー値が既に保存されている値と同一であっても行われる
ため、更にパフォーマンスの低下を招く。
In such a case, although the command itself from the host device is accepted, the command is received only after the monitor value saving process is completed (step S14) (or after the interruptable process is performed). The process (step S15) cannot be executed. Therefore, the performance of the disk device (drive) is degraded. Moreover, the monitor value is saved even if the monitor value to be saved is the same as the already saved value, which further deteriorates the performance.

【0011】本発明は上記事情を考慮してなされたもの
でその目的は、モニター値保存処理の要求が発生して
も、モニター値の保存処理はモニター値の変化があった
ときのみ行うようにすることで、無駄なモニター値保存
処理によるパフォーマンスの低下を防止することができ
るディスク装置及び同装置におけるモニター値保存制御
方法を提供することにある。
The present invention has been made in consideration of the above circumstances, and an object thereof is to perform monitor value storage processing only when there is a change in the monitor value even if a request for monitor value storage processing occurs. By doing so, it is an object of the present invention to provide a disk device and a monitor value saving control method in the same device that can prevent performance degradation due to useless monitor value saving processing.

【0012】[0012]

【課題を解決するための手段】本発明は、装置内の故障
に関係し得る予め定められた事象をモニターし、そのモ
ニター値から装置の故障を予測する故障予測機能を有す
るディスク装置に、モニター値を一時記憶しておくため
のモニター値記憶領域が確保された揮発性の記憶手段
と、上記モニター値記憶領域の内容が変化したか否かを
示すフラグ情報を記憶しておくためのフラグ情報記憶手
段と、上記モニター値を保存しておくためのモニター値
保存領域が確保された不揮発性の記憶手段と、上記予め
定められた事象を検出することで上記モニター値記憶領
域のモニター値を更新するモニター手段と、このモニタ
ー手段により上記モニター値記憶領域のモニター値が更
新された場合に上記フラグ情報をモニター値記憶領域の
内容が変化したことを示す第1の状態に設定し、上記モ
ニター値記憶領域のモニター値がモニター値保存領域に
保存された場合に上記フラグ情報をモニター値記憶領域
の内容が変化していないことを示す第2の状態に設定す
るフラグ情報操作手段と、装置内または装置外からモニ
ター値の保存処理が要求された場合には上記フラグ情報
を参照し、当該フラグ情報が第1の状態に設定されてい
る場合にのみ、モニター値記憶領域のモニター値をモニ
ター値保存領域に保存するモニター値保存制御手段とを
設けたことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a disk device having a failure prediction function of monitoring a predetermined event which may be related to a failure in the device and predicting the failure of the device from the monitored value. Volatile storage means having a monitor value storage area for temporarily storing a value, and flag information for storing flag information indicating whether or not the contents of the monitor value storage area have changed A storage unit, a non-volatile storage unit in which a monitor value storage area for storing the monitor value is secured, and the monitor value in the monitor value storage area is updated by detecting the predetermined event. Monitor means for changing the contents of the monitor value storage area to the flag information when the monitor value of the monitor value storage area is updated by the monitor means. The second state indicating that the contents of the monitor value storage area have not changed when the monitor value of the monitor value storage area is stored in the monitor value storage area. The flag information operating means to be set to and the flag information is referred to when the monitor value saving process is requested from inside or outside the device, and only when the flag information is set to the first state. And a monitor value storage control means for storing the monitor value in the monitor value storage area in the monitor value storage area.

【0013】このディスク装置においては、予め定めら
れた事象が検出されて、揮発性記憶手段内のモニター値
記憶領域のモニター値が更新された場合には、フラグ情
報が第1の状態に設定されて、モニター値記憶領域の内
容が変化したことが示される。
In this disk device, when a predetermined event is detected and the monitor value in the monitor value storage area in the volatile storage means is updated, the flag information is set to the first state. Indicates that the contents of the monitor value storage area have changed.

【0014】このため、装置内または装置外でモニター
値保存処理が要求された場合には、フラグ情報を参照す
るだけで、モニター値記憶領域の内容が変化しているか
否か、即ちモニター値記憶領域のモニター値がモニター
値保存領域に保存されている値と同一でないか或いは同
一であるかを(モニター値保存領域の内容を読み込んで
モニター値記憶領域のモニター値と比較することなく)
判断できる。
Therefore, when the monitor value storage processing is requested inside or outside the device, it is simply referred to the flag information to determine whether the contents of the monitor value storage area are changed, that is, the monitor value storage. Whether the monitor value of the area is not the same as or the same as the value stored in the monitor value storage area (without reading the contents of the monitor value storage area and comparing with the monitor value of the monitor value storage area)
I can judge.

【0015】そして、フラグ情報からモニター値記憶領
域の内容が変化していると判断できた場合(フラグ情報
が第1の状態にある場合)に限り、モニター値記憶領域
のモニター値をモニター値保存領域に保存するモニター
値保存処理が行われる。これに対し、モニター値記憶領
域の内容が変化していないと判断できた場合(フラグ情
報が第2の状態にある場合)には、モニター値記憶領域
のモニター値はモニター値保存領域に保存されている値
と同一であるとして、モニター値保存処理が抑止され、
これによりパフォーマンスの低下が防止できる。
Then, only when it can be determined from the flag information that the contents of the monitor value storage area have changed (when the flag information is in the first state), the monitor value in the monitor value storage area is stored as the monitor value. The monitor value saving process for saving in the area is performed. On the other hand, when it is determined that the contents of the monitor value storage area have not changed (when the flag information is in the second state), the monitor value of the monitor value storage area is stored in the monitor value storage area. The monitor value saving process is suppressed,
This can prevent performance degradation.

【0016】上記したディスク装置のモニター値保存制
御機能は、磁気ディスク装置や光磁気ディスク装置、C
D−ROM装置などのディスク装置に限らず、機器内の
故障に関係し得る予め定められた事象をモニターし、そ
のモニター値から機器の故障を予測する故障予測機能を
有する情報機器全般に適用可能である。
The monitor value storage control function of the disk device described above is used for the magnetic disk device, the magneto-optical disk device, the C
Not limited to disk devices such as D-ROM devices, it can be applied to all information devices that have a failure prediction function that monitors a predetermined event that can be related to a failure in the device and predicts the device failure from the monitored value. Is.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態につき
図面を参照して説明する。図1は本発明の一実施形態に
係る磁気ディスク装置の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a magnetic disk drive according to one embodiment of the present invention.

【0018】図1において、1はデータが記録される媒
体(メディア)であるディスク(磁気ディスク)、2は
ディスク1へのデータ書き込み(データ記録)及びディ
スク1からのデータ読み出し(データ再生)に用いられ
るヘッド(磁気ヘッド)である。このヘッド2は、ディ
スク1の各データ面に対応してそれぞれ設けられる。
In FIG. 1, reference numeral 1 denotes a disk (magnetic disk) as a medium on which data is recorded, and 2 denotes data writing (data recording) to the disk 1 and data reading (data reproduction) from the disk 1. This is the head (magnetic head) used. The head 2 is provided corresponding to each data surface of the disk 1.

【0019】ディスク1の両面には同心円状の多数のト
ラックが形成され、各トラックには、位置決め制御等に
用いられる(シリンダ番号を示すシリンダデータ及びシ
リンダデータの示すシリンダ内の位置誤差を波形の振幅
で示すためのバーストデータを含む)サーボデータが記
録された複数のサーボ領域が等間隔で配置されている。
これらのサーボ領域は、ディスク1上では中心から各ト
ラックを渡って放射状に配置されている。サーボ領域間
はユーザ領域となっている。そして、1つのサーボ領域
とそれに続く1つのユーザ領域とで1つのサーボセクタ
が構成されている。各サーボセクタのユーザ領域には、
複数のデータセクタが設定される。
A large number of concentric tracks are formed on both surfaces of the disk 1, and each track is used for positioning control and the like (cylinder data indicating a cylinder number and a positional error in the cylinder indicated by the cylinder data indicating a waveform error). A plurality of servo areas on which servo data (including burst data for indicating amplitude) are recorded are arranged at equal intervals.
These servo areas are radially arranged on the disk 1 over the respective tracks from the center. The area between the servo areas is a user area. One servo area is followed by one user area to form one servo sector. In the user area of each servo sector,
A plurality of data sectors are set.

【0020】各ディスク1の各面の所定領域には、それ
ぞれシステムエリアが割り当てられている。このシステ
ムエリアは、データエリアとは別の領域に設定されてお
り、対応するディスク面のディフェクトの情報(ディフ
ェクトリスト)、パスワード情報等の保存に用いられ
る。
A predetermined area on each surface of each disk 1 is assigned a system area. This system area is set in a different area from the data area, and is used for storing information (defect list) of defects on the corresponding disk surface, password information, and the like.

【0021】各システムエリアの所定領域(所定セク
タ)には、磁気ディスク装置内の故障に関係し得る予め
定められた各種事象のモニター値を保存しておくため
の、図2に示すようなモニター値保存領域110が確保
されている。このモニター値保存領域110に保存され
るモニター値には、モータの起動/停止(Start/Stop)
回数を示すCSS(Contact Start Stop)回数、代替処
理回数、通電時間などがある。ここで、モニター値保存
領域110を、各ディスク1の各面に割り当てられてい
る全てのシステムエリアにそれぞれ確保しているのは、
モニター値のバックアップを持たせるためであるが、バ
ックアップが必要ないならば、1つのシステムエリアだ
けに確保するようにしても構わない。
In a predetermined area (predetermined sector) of each system area, a monitor as shown in FIG. 2 for storing monitor values of various predetermined events which may be related to a failure in the magnetic disk device. The value storage area 110 is reserved. The monitor value stored in the monitor value storage area 110 includes start / stop of the motor.
There are CSS (Contact Start Stop) number indicating the number of times, number of alternative processes, energization time, and the like. Here, the monitor value storage area 110 is secured in each of the system areas allocated to each surface of each disk 1.
This is because the monitor value is backed up, but if backup is not necessary, it may be secured in only one system area.

【0022】ディスク1はスピンドルモータ(SPM)
3により高速に回転する。ヘッド2はキャリッジ4と称
するヘッド移動機構に取り付けられて、このキャリッジ
4の移動によりディスク1の半径方向に移動する。キャ
リッジ4は、ボイスコイルモータ(VCM)5により駆
動される。
The disk 1 is a spindle motor (SPM)
3. High speed rotation. The head 2 is attached to a head moving mechanism called a carriage 4, and moves in the radial direction of the disk 1 by the movement of the carriage 4. The carriage 4 is driven by a voice coil motor (VCM) 5.

【0023】スピンドルモータ3及びボイスコイルモー
タ5は、モータドライバ6に接続されている。モータド
ライバ6は、スピンドルモータ3に制御電流を流して当
該モータ3を駆動する他、ボイスコイルモータ5に制御
電流を流して当該モータ5を駆動する。この制御電流の
値(制御量)は、CPU(マイクロプロセッサ)10の
計算処理で決定され、例えばディジタル値で与えられ
る。
The spindle motor 3 and the voice coil motor 5 are connected to a motor driver 6. The motor driver 6 drives the motor 3 by supplying a control current to the spindle motor 3 and drives the motor 5 by supplying a control current to the voice coil motor 5. The value of the control current (control amount) is determined by calculation processing of the CPU (microprocessor) 10, and is given, for example, as a digital value.

【0024】各ヘッド2はフレキシブルプリント配線板
(FPC)に実装されたヘッドIC7と接続されてい
る。ヘッドIC7は、ヘッド2の切り替え、ヘッド2と
の間のリード/ライト信号の入出力等を司るもので、ヘ
ッド2で読み取られたアナログ出力を増幅するヘッドア
ンプ71を有する。
Each head 2 is connected to a head IC 7 mounted on a flexible printed wiring board (FPC). The head IC 7 controls switching of the head 2, input / output of a read / write signal with the head 2, and the like, and includes a head amplifier 71 that amplifies an analog output read by the head 2.

【0025】ヘッドIC7はリード/ライトIC(リー
ド/ライト回路)8と接続されている。リード/ライト
IC8は、大別して、ユーザデータを処理するためのエ
ンコード/デコード機能と、サーボデータを処理するた
めの信号処理機能とを有する。
The head IC 7 is connected to a read / write IC (read / write circuit) 8. The read / write IC 8 roughly has an encode / decode function for processing user data and a signal processing function for processing servo data.

【0026】リード/ライトIC8は、ヘッド2により
ディスク1から読み出されてヘッドIC7内のヘッドア
ンプ71で増幅されたアナログ出力(ヘッド2のリード
信号)を入力し、データ再生動作に必要な信号処理、例
えばアナログ出力からNRZのデータに変換してディス
クコントローラ(HDC)14に転送する信号処理をデ
コード機能により行う。また、リード/ライトIC8
は、データ記録動作に必要な信号処理、例えばHDC1
4から送られてきたNRZデータ(ライトデータ)を変
調してディスク1に書き込むデータ(例えば2−7、1
−7変調データ)に変換しヘッドIC7に送る信号処理
をエンコード機能により行う。
The read / write IC 8 inputs the analog output (the read signal of the head 2) read from the disk 1 by the head 2 and amplified by the head amplifier 71 in the head IC 7, and a signal necessary for the data reproducing operation. Processing, for example, signal processing for converting analog output to NRZ data and transferring it to the disk controller (HDC) 14 is performed by the decoding function. Read / write IC8
Is a signal processing required for the data recording operation, for example, HDC1
The data (eg, 2-7, 1) that modulates the NRZ data (write data) sent from
-7 modulated data) and sends it to the head IC 7 by an encode function.

【0027】リード/ライトIC8はまた、上記した通
常のユーザデータの記録再生処理の他に、ヘッド位置決
め制御等のサーボ処理に必要なサーボデータの再生処理
を信号処理機能により実行する。即ちリード/ライトI
C8は、ヘッド2により読み出されたサーボ領域のサー
ボデータを処理してシリンダデータを含むデータパルス
をサーボ処理回路9に出力する。またリード/ライトI
C8は、(サーボデータ中の)バーストデータのピーク
をサンプルホールドし、サーボ処理回路9に出力する。
The read / write IC 8 also executes, by a signal processing function, a reproducing process of servo data necessary for a servo process such as head positioning control, in addition to the above-mentioned normal recording / reproducing process of user data. That is, read / write I
C8 processes the servo data in the servo area read by the head 2 and outputs a data pulse including cylinder data to the servo processing circuit 9. Also read / write I
C8 samples and holds the peak of the burst data (in the servo data) and outputs it to the servo processing circuit 9.

【0028】サーボ処理回路9は、リード/ライトIC
8からのデータパルス及びバーストデータを受けてサー
ボ処理に必要な信号処理を実行する。即ちサーボ処理回
路9は、リード/ライトIC8からのデータパルスから
シリンダデータ(シリンダ番号)等を抽出・復号するデ
コード機能、及びライトゲート等のタイミング生成機能
を有する。またサーボ処理回路9は、リード/ライトI
C8からのバーストデータ(アナログ信号)をA/D
(アナログ/ディジタル)変換してCPU10に出力す
るA/D変換機能も有する。サーボ処理回路9は、例え
ばゲートアレイ(GA)を用いて構成されている。
The servo processing circuit 9 is a read / write IC.
In response to the data pulse and the burst data from the control unit 8, signal processing necessary for servo processing is executed. That is, the servo processing circuit 9 has a decoding function for extracting and decoding cylinder data (cylinder number) and the like from the data pulse from the read / write IC 8, and a timing generation function such as a write gate. Also, the servo processing circuit 9 has a read / write I
A / D burst data (analog signal) from C8
It also has an A / D conversion function of converting (analog / digital) and outputting it to the CPU 10. The servo processing circuit 9 is configured using, for example, a gate array (GA).

【0029】CPU10は、例えばワンチップのマイク
ロプロセッサである。このCPU10は、ROM11に
格納されている制御用プログラム(ファームウェア)に
従って磁気ディスク装置内の各部を制御する。
The CPU 10 is, for example, a one-chip microprocessor. The CPU 10 controls each unit in the magnetic disk device according to a control program (firmware) stored in the ROM 11.

【0030】CPU10による制御には、サーボ処理回
路9により抽出されたサーボデータ(中のシリンダデー
タ及びバーストデータ)に従って(モータドライバ6を
介してボイスコイルモータ5を駆動制御することで)ヘ
ッド2を目的位置に移動させるための位置決め制御、H
DC14を制御することによるリード/ライトデータの
転送制御等がある。この他、CPU10は、予め定めら
れた各種事象をモニターし、そのモニター値から装置の
故障を予測する故障予測を司る。またCPU10は、こ
の故障予測を可能とするために、モニター値の更新処理
と、更新したモニター値をモニター値保存領域110に
保存する処理も行う。
The CPU 10 controls the head 2 in accordance with the servo data (cylinder data and burst data therein) extracted by the servo processing circuit 9 (by controlling the voice coil motor 5 via the motor driver 6). Positioning control for moving to the target position, H
There is transfer control of read / write data by controlling the DC 14. In addition to this, the CPU 10 monitors various predetermined events and manages failure prediction that predicts a failure of the device from the monitored value. Further, the CPU 10 also performs a process of updating the monitor value and a process of saving the updated monitor value in the monitor value saving area 110 in order to enable the failure prediction.

【0031】CPU10には、磁気ディスク装置内の各
部を制御するための制御用プログラム(ファームウェ
ア)が格納されている不揮発性メモリとしてのROM1
1と、CPU10のワーク領域、CPU10が使用する
パラメータ類の記憶領域等を提供する書き替え可能メモ
リとしてのRAM12とが接続されている。
The CPU 10 includes a ROM 1 as a non-volatile memory that stores a control program (firmware) for controlling each unit in the magnetic disk device.
1 is connected to a RAM 12 as a rewritable memory that provides a work area of the CPU 10, a storage area for parameters used by the CPU 10, and the like.

【0032】RAM12の所定領域には、上記CSS回
数等のモニター値を一時記憶しておくためのモニター値
記憶領域121と、フラグ122の設定領域とが確保さ
れている。このフラグ122は、モニター値記憶領域1
21の内容が変化したか(フラグセットの場合)否か
(フラグリセットの場合)を示す。磁気ディスク装置の
パワーオン時には、モニター値記憶領域121にはモニ
ター値保存領域110の内容がロードされ、フラグ12
2はリセットされる。このフラグ122は、モニター値
記憶領域121内のモニター値の更新時にセットされ
る。
In a predetermined area of the RAM 12, a monitor value storage area 121 for temporarily storing the monitor value such as the CSS number and a flag 122 setting area are secured. This flag 122 indicates that the monitor value storage area 1
21 indicates whether the content of 21 has changed (in the case of flag set) or not (in the case of flag reset). When the magnetic disk device is powered on, the contents of the monitor value storage area 110 are loaded into the monitor value storage area 121, and the flag 12
2 is reset. This flag 122 is set when the monitor value in the monitor value storage area 121 is updated.

【0033】CPU10にはまた、磁気ディスク装置の
制御用のパラメータが保存される書き替え可能な不揮発
性メモリとしてのEEPROM13と、ディスクコント
ローラ(HDC)14とが接続されている。
The CPU 10 is also connected to an EEPROM 13 as a rewritable non-volatile memory in which parameters for controlling the magnetic disk device are stored and a disk controller (HDC) 14.

【0034】ディスクコントローラ(HDC)14は、
ホスト装置(図示せず)との間のコマンド、データの通
信を制御すると共に、リード/ライトIC8(を介して
ディスク1)との間のデータの通信を制御する。このH
DC14には、リード/ライトデータがキャッシュ方式
で格納される、例えばRAM等で構成されるバッファメ
モリ(バッファRAM)15と、ホストインタフェース
16とが接続されている。ホストインタフェース16
は、HDC14とホスト装置とのインタフェースをなし
ており、HDC14は当該ホストインタフェース16を
介してホスト装置との間のコマンド、データの通信を行
う。
The disk controller (HDC) 14 is
It controls command and data communication with a host device (not shown), and also controls data communication with the read / write IC 8 (via the disk 1). This H
The DC 14 is connected to a buffer memory (buffer RAM) 15 including, for example, a RAM or the like, in which read / write data is stored in a cache system, and a host interface 16. Host interface 16
Is an interface between the HDC 14 and the host device, and the HDC 14 communicates commands and data with the host device via the host interface 16.

【0035】CPU10にはまた、タイマ17が接続さ
れている。このタイマ17は、例えばコマンド実行の終
了毎に起動されて一定時間を計測するのに用いられる。
もし、タイマ17による時間計測終了(タイムアウト)
までに、新たなコマンドが受け付けられない場合には、
パワーセーブのために装置を待機状態にするスタンバイ
モードに設定される。このスタンバイモード設定時に
は、モニター値記憶領域121の内容をモニター値保存
領域110に自動保存するためのオートセーブ機能が働
く。
A timer 17 is also connected to the CPU 10. The timer 17 is activated, for example, every time the command execution is completed, and is used to measure a fixed time.
If the time measurement by the timer 17 ends (timeout)
By the time the new command is not accepted,
It is set to standby mode, which puts the device in a standby state to save power. When the standby mode is set, an auto save function for automatically saving the contents of the monitor value storage area 121 in the monitor value storage area 110 operates.

【0036】次に、図1の構成の動作を、CSS回数の
モニター処理と、そのCSS回数を含む各種モニター値
を保存するためのモニター値保存処理について、図3の
フローチャートを参照して説明する。
Next, the operation of the configuration of FIG. 1 will be described with reference to the flowchart of FIG. 3 regarding the monitoring process of the CSS number and the monitor value storing process for storing various monitor values including the CSS number. .

【0037】今、装置の電源がオフされているものとす
る。この状態で装置の電源がオンされると、CPU10
の制御により装置の立ち上げ処理が行われる。この立ち
上げ処理には、スピンドルモータ3を起動するモータ起
動処理が含まれており、CPU10からモータドライバ
6を介してスピンドルモータ3に起動電流を供給するこ
とで、当該モータ3が起動される(ステップS1)。
Now, it is assumed that the power of the apparatus is off. When the power of the device is turned on in this state, the CPU 10
The startup process of the device is performed by the control of. The start-up process includes a motor start-up process for starting the spindle motor 3, and the start-up current is supplied from the CPU 10 to the spindle motor 3 via the motor driver 6 to start the motor 3 ( Step S1).

【0038】CPU10は、電源オン時においてスピン
ドルモータ3が起動できると、ディスク1のシステムエ
リアの情報をRAM12等に読み込む処理を行う。この
処理により、システムエリア内の例えばモニター値保存
領域110の内容(CSS回数を含む各種モニター値)
はRAM12内のモニター値記憶領域121にロードさ
れる。このときRAM12内のフラグ122はリセット
(“0”クリア)状態にあり、モニター値保存領域11
0の内容が変化していない(更新されていない)ことを
示す。
When the spindle motor 3 can be started when the power is turned on, the CPU 10 carries out a process of reading information on the system area of the disk 1 into the RAM 12 or the like. By this processing, for example, the contents of the monitor value storage area 110 in the system area (various monitor values including the CSS count)
Is loaded into the monitor value storage area 121 in the RAM 12. At this time, the flag 122 in the RAM 12 is in the reset (“0” clear) state, and the monitor value storage area 11
Indicates that the content of 0 has not changed (not updated).

【0039】またCPU10は、スピンドルモータ3が
起動できたことから、RAM12内のモニター値記憶領
域121に記憶されているモニター値のうちモータの起
動/停止に関するモニター値であるCSS回数を1イン
クリメントする(ステップS2)。
Since the spindle motor 3 has been activated, the CPU 10 increments the CSS count, which is a monitor value related to motor start / stop, among the monitor values stored in the monitor value storage area 121 in the RAM 12 by one. (Step S2).

【0040】同時にCPU10は、モニター値記憶領域
121の内容が変化したこと(モニター値が更新された
こと)を示すために、RAM12内のフラグ122をセ
ット状態(ここでは“1”状態)とする(ステップS
3)。
At the same time, the CPU 10 sets the flag 122 in the RAM 12 to the set state (here, "1" state) to indicate that the content of the monitor value storage area 121 has changed (the monitor value has been updated). (Step S
3).

【0041】なお、スピンドルモータ3の起動処理は、
電源オン時だけでなく、例えば装置が待機状態にあるス
タンバイモードから、ホスト装置によりリード/ライト
コマンドが与えられた結果、そのコマンド(の指示する
ディスクアクセス)を実行するために通常モードに戻る
際にも行われる。この場合にも、上記ステップS2,S
3が行われ、モニター値記憶領域121内のCSS回数
がインクリメントされると共にフラグ122がセットさ
れる。
The process of starting the spindle motor 3 is as follows.
Not only when the power is turned on, but when the device returns to the normal mode to execute the command (disk access indicated by the command) as a result of the host device giving the read / write command from the standby mode Is also done. Also in this case, the above steps S2, S
3 is performed, the number of CSSs in the monitor value storage area 121 is incremented, and the flag 122 is set.

【0042】このようなモニター値更新とフラグセット
動作は、モニターの対象となっている他の事象が発生し
た場合、例えば欠陥セクタの代替処理が発生した場合に
も同様に行われる。但し、欠陥セクタの代替処理の発生
時には、代替処理回数が更新(インクリメント)され
る。
Such monitor value updating and flag setting operations are similarly performed when another event to be monitored occurs, for example, when defective sector replacement processing occurs. However, when replacement processing of a defective sector occurs, the number of replacement processing operations is updated (incremented).

【0043】その後、図1の磁気ディスク装置では、ホ
スト装置からの要求に従う通常動作(ディスク1に対す
るリード/ライトなど様々な処理)が行われる。やが
て、モニター値記憶領域121内のモニター値を確実に
保存しておくために、ホスト装置から図1の磁気ディス
ク装置に対して、モニター値の保存処理を要求するコマ
ンド(モニター値保存コマンド)が発行されたものとす
る。このホスト装置から発行されたモニター値保存コマ
ンドは、ホストインタフェース16を介してHDC14
で受信され、CPU10に渡される。するとCPU10
は、ホスト装置からのモニター値保存コマンドの示す要
求(モニター値保存処理の要求)を受け付ける(ステッ
プS4)。
After that, in the magnetic disk device of FIG. 1, normal operation (various processing such as reading / writing on the disk 1) is performed according to the request from the host device. In order to surely save the monitor value in the monitor value storage area 121, a command (monitor value save command) requesting the monitor value save process from the host device to the magnetic disk device of FIG. 1 is issued. It has been issued. The monitor value save command issued from this host device is transmitted to the HDC 14 via the host interface 16.
It is received by and is passed to the CPU 10. Then CPU10
Receives a request (request for monitor value save processing) indicated by the monitor value save command from the host device (step S4).

【0044】なお、モニター値の保存処理の要求は、ホ
スト装置(磁気ディスク装置の外部)からだけでなく、
以下に述べるように磁気ディスク装置内部でも(等価的
に)発生する。
The request for the storage processing of the monitor value is made not only from the host device (external to the magnetic disk device),
As described below, it also occurs (equivalently) inside the magnetic disk device.

【0045】本実施例においてCPU10は、ホスト装
置からのコマンドの実行を終了するとタイマ17を起動
して、そのタイマ17による一定時間の計測期間内にホ
スト装置から新たなコマンドが発行されるか否かを監視
する。もし、この時間計測期間内に新たなコマンドが受
け付けられたなら、CPU10はタイマ17をリセット
し、そのコマンドを実行する。
In the present embodiment, the CPU 10 starts the timer 17 when the execution of the command from the host device is finished, and whether or not a new command is issued from the host device within the fixed period measured by the timer 17. To monitor. If a new command is received within this time measurement period, the CPU 10 resets the timer 17 and executes the command.

【0046】これに対し、タイマ17の時間計測が終了
しても、即ちタイムアウトとなっても新たなコマンドが
受け付けられなかったなら、CPU10はパワーセーブ
のために装置を待機状態にするスタンバイモードに設定
する。このスタンバイモードでは、スピンドルモータ3
は停止される。
On the other hand, if a new command is not accepted even after the time measurement of the timer 17 is completed, that is, if the time-out occurs, the CPU 10 enters the standby mode in which the device is in a standby state for power saving. Set. In this standby mode, the spindle motor 3
Is stopped.

【0047】また、スタンバイモード設定時には、モニ
ター値記憶領域121の内容をモニター値保存領域11
0に自動保存するためのオートセーブ機能が働き、磁気
ディスク装置内部でモニター値の保存処理の要求が出さ
れたかの如く処理が行われる。即ち、スタンバイモード
設定時にも、ホスト装置から(モニター値の保存処理を
要求する)モニター値保存コマンドが発行された場合と
同様に、前記ステップS4のモニター値保存処理要求受
け付け処理が行われる。
When the standby mode is set, the contents of the monitor value storage area 121 are changed to the monitor value storage area 11
The auto-save function for automatically saving to 0 operates, and the process is performed as if a request to save the monitor value was issued inside the magnetic disk device. That is, even when the standby mode is set, the monitor value storage processing request acceptance processing of step S4 is performed as in the case where the monitor value storage command (requesting the monitor value storage processing) is issued from the host device.

【0048】さてCPU10は、ホスト装置からモニタ
ー値保存コマンドが発行された結果、或いはスタンバイ
モードを設定した結果、ステップS4にてモニター値保
存処理の要求を受け付けると、RAM12内のモニター
値記憶領域121の内容が(前回のモニター値保存時点
から)変化しているか否かを調べるために、RAM12
内のフラグ122を参照し、当該フラグ122がセット
されているか否かをチェックする(ステップS5)。
When the CPU 10 receives a monitor value storage process request in step S4 as a result of the monitor value storage command being issued from the host device or as a result of setting the standby mode, the monitor value storage area 121 in the RAM 12 is received. RAM12 to check whether the contents of the contents have changed (since the last time the monitor value was saved).
By referring to the flag 122 therein, it is checked whether or not the flag 122 is set (step S5).

【0049】もし、フラグ122がセットされているな
らば、CPU10は、モニター値記憶領域121に記憶
されている各種モニター値のうちの少なくとも1つが変
化している(更新されている)ものと判断し、そのモニ
ター値記憶領域121の内容をディスク1のシステムエ
リアに確保されているモニター値保存領域110に上書
きにより保存するモニター値保存処理を開始する(ステ
ップS6)。
If the flag 122 is set, the CPU 10 determines that at least one of the various monitor values stored in the monitor value storage area 121 has changed (updated). Then, the monitor value saving process of saving the contents of the monitor value storage area 121 by overwriting in the monitor value saving area 110 secured in the system area of the disk 1 is started (step S6).

【0050】なお本実施形態において、モニター値保存
領域110は、各ディスク1の各面に割り当てられたシ
ステムエリアにそれぞれ確保されており、上記のモニタ
ー値保存処理は全てのシステムエリア上のモニター値保
存領域110に対して行われる。
In the present embodiment, the monitor value storage area 110 is secured in each system area allocated to each surface of each disk 1, and the monitor value storage processing described above is performed in all the system areas. This is performed on the storage area 110.

【0051】このモニター値保存処理の期間中に、ホス
ト装置からディスクリード/ライトのためのコマンド
(リード/ライトコマンド)が発行されたものとする
(ステップS7)。このホスト装置からのリード/ライ
トコマンド自体は割り込み処理により受け付けられるも
のの、モニター値保存処理中であることから、そのリー
ド/ライトコマンドの処理は直ちには実行できない。
It is assumed that a command (read / write command) for disk read / write is issued from the host device during the monitor value saving process (step S7). Although the read / write command itself from the host device is accepted by the interrupt process, the process of the read / write command cannot be immediately executed because the monitor value saving process is in progress.

【0052】やがて、ステップS6で開始したモニター
値保存処理が終了すると(ステップS8)、CPU10
はRAM12内のフラグ122をリセットし(ステップ
S9)、しかる後に次の処理(ここでは、モニター値保
存処理の期間に受け付けたリード/ライトコマンドの要
求する処理)を実行する(ステップS10)。
When the monitor value saving process started in step S6 ends (step S8), the CPU 10
Resets the flag 122 in the RAM 12 (step S9), and then executes the next process (here, the process requested by the read / write command received during the monitor value saving process) (step S10).

【0053】これに対し、フラグ122がセットされて
いない場合(ステップS5での判定がNoの場合)に
は、CPU10は、モニター値記憶領域121に記憶さ
れている各種モニター値はいずれも変化しておらず(更
新されておらず)、したがってモニター値記憶領域12
1の内容はモニター値保存領域110の内容と同一であ
るものと判断する。この場合、CPU10は、ステップ
S4で受け付けたモニター値保存処理の要求を無視し、
モニター値保存処理を行わずに次の処理に進む。
On the other hand, when the flag 122 is not set (when the determination in step S5 is No), the CPU 10 changes all the monitor values stored in the monitor value storage area 121. Not (not updated), therefore monitor value storage area 12
It is determined that the content of 1 is the same as the content of the monitor value storage area 110. In this case, the CPU 10 ignores the request for the monitor value saving process accepted in step S4,
The process proceeds to the next process without performing the monitor value saving process.

【0054】このように、フラグ122がセットされて
いない場合には、即ちモニター値記憶領域121の内容
が変化していない場合には、モニター値保存処理が行わ
れないため、モニター値保存処理の要求を受け付けた直
後に、上記ステップS7のようにホスト装置からリード
/ライトコマンドが発行されても、そのリード/ライト
コマンドをステップS10にて速やかに実行することが
できる。そのため、モニター値保存処理の要求に応じて
従来技術では必ず行われていたモニター値保存による磁
気ディスク装置のパフォーマンス低下を、フラグ122
がセットされていない場合には抑えることができる。
As described above, when the flag 122 is not set, that is, when the contents of the monitor value storage area 121 are not changed, the monitor value saving process is not performed, so that the monitor value saving process is performed. Immediately after receiving the request, even if the read / write command is issued from the host device as in step S7, the read / write command can be promptly executed in step S10. Therefore, in response to the request for the monitor value saving process, the flag 122 indicates the performance deterioration of the magnetic disk device due to the monitor value saving which is always performed in the prior art.
Can be suppressed if is not set.

【0055】以上に述べた本実施形態の効果を、図4の
処理時間テーブルにより従来技術と比較して説明する。
まず本実施形態では、モニター値保存処理の受け付け時
にフラグ122を参照して当該フラグ122の状態を判
定することにより、当該フラグ122がセットされてい
ないならば無駄なモニター値保存処理の実行が抑止され
る。このため、図4に示すように、フラグ122の判定
に要する時間をT2、モニター値保存処理に要する時間
をT3とすると、従来技術に比べて時間(T3−T2)
だけ早く次の処理に移ることができる。
The effects of the present embodiment described above will be described in comparison with the prior art using the processing time table of FIG.
First, in the present embodiment, when the monitor value saving process is accepted, the state of the flag 122 is determined by referring to the flag 122, so that useless execution of the monitor value saving process is suppressed if the flag 122 is not set. To be done. Therefore, as shown in FIG. 4, assuming that the time required to determine the flag 122 is T2 and the time required to store the monitor value is T3, the time (T3-T2) is longer than that in the conventional technique.
You can move on to the next process as soon as possible.

【0056】但し、本実施形態において、フラグ122
がセットされていた場合には、そのフラグ122のセッ
ト動作に要する時間をT1とすると、従来技術に比べて
時間(T1+T2)だけ余分にかかることになる。しか
し、T1,T2は他の処理に比べて非常に小さい時間で
あるので影響は無視できる。
However, in the present embodiment, the flag 122
When the flag 122 is set, assuming that the time required to set the flag 122 is T1, it takes an extra time (T1 + T2) as compared with the prior art. However, since T1 and T2 are extremely small times as compared with other processing, the influence can be ignored.

【0057】なお、以上の実施形態では、RAM12内
のモニター値記憶領域121により最新のモニター値が
示され、モニター値保存処理では、そのモニター値記憶
領域121のモニター値が、ディスク1のシステムエリ
アに確保されたモニター値保存領域110に上書きされ
るものとして説明したが、これに限るものではない。例
えば、モニター値記憶領域121では、モニター値の変
化分だけが示されるようにし、モニター値保存処理で
は、そのモニター値記憶領域121の変化分をモニター
値保存領域110に保存されているモニター値に加算し
て、当該モニター値を更新するようにしても構わない。
この場合、モニター値保存処理が終了する毎に、モニタ
ー値記憶領域121の内容を“0”クリアすると共に、
フラグ122をリセットする必要がある。但し、装置の
立ち上げ時にモニター値保存領域110の内容をモニタ
ー値記憶領域121にロードする必要はない。
In the above embodiment, the latest monitor value is shown in the monitor value storage area 121 in the RAM 12, and in the monitor value storage processing, the monitor value in the monitor value storage area 121 is the system area of the disk 1. Although it is described that the monitor value storage area 110 secured in the above is overwritten, the present invention is not limited to this. For example, in the monitor value storage area 121, only the change amount of the monitor value is displayed, and in the monitor value storage processing, the change amount of the monitor value storage area 121 is changed to the monitor value stored in the monitor value storage area 110. You may make it add and may update the said monitor value.
In this case, the content of the monitor value storage area 121 is cleared to “0” each time the monitor value saving process is completed, and
The flag 122 needs to be reset. However, it is not necessary to load the contents of the monitor value storage area 110 into the monitor value storage area 121 when the device is started up.

【0058】また、以上の実施形態では、モニター値の
保存及びバックアップにディスク1を用いた場合につい
て説明したが、モニター値の保存及びバックアップ、或
いはモニター値のバックアップにEEPROM13を用
いるようにしても構わない。また、モニター値記憶領域
121、更にはフラグ122を、RAM12ではなくて
バッファメモリ15に用意するようにしても構わない。
In the above embodiment, the case where the disk 1 is used for storing and backing up the monitor value has been described. However, the EEPROM 13 may be used for storing and backing up the monitor value or backing up the monitor value. Absent. Further, the monitor value storage area 121 and the flag 122 may be prepared in the buffer memory 15 instead of the RAM 12.

【0059】以上は、磁気ディスク装置に適用した場合
について説明したが、本発明は、光磁気ディスク装置、
CD−ROM装置などのディスク装置全般に適用可能で
ある。更に、ディスク装置に限らず、機器内の故障に関
係し得る予め定められた事象をモニターし、そのモニタ
ー値から機器の故障を予測する故障予測機能を有する情
報機器全般に適用可能である。
Although the case where the present invention is applied to a magnetic disk device has been described above, the present invention relates to a magneto-optical disk device,
It can be applied to all disk devices such as CD-ROM devices. Further, the present invention is not limited to disk devices, and can be applied to all information devices having a failure prediction function of monitoring a predetermined event that may be related to a failure in a device and predicting a device failure from the monitored value.

【0060】[0060]

【発明の効果】以上詳述したように本発明によれば、モ
ニター値保存処理の要求が発生した場合にモニター値の
変化があったか否かを簡単に判別し、モニター値の保存
処理はモニター値の変化があったときのみ実行する構成
としたので、無駄なモニター値保存処理によるパフォー
マンスの低下を防止することができる。
As described above in detail, according to the present invention, it is possible to easily determine whether or not there is a change in the monitor value when the monitor value saving process is requested, and the monitor value saving process is performed. Since it is configured to be executed only when there is a change in performance, it is possible to prevent performance degradation due to unnecessary monitor value storage processing.

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

【図1】本発明の一実施形態に係る磁気ディスク装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a magnetic disk drive according to an embodiment of the present invention.

【図2】ディスク1のシステムエリアに確保されたモニ
ター値保存領域110を示す図。
FIG. 2 is a diagram showing a monitor value storage area 110 secured in a system area of the disk 1.

【図3】同実施形態における動作を、CSS回数のモニ
ター時の処理と、そのCSS回数を含む各種モニター値
を保存するためのモニター値保存処理について説明する
ためのフローチャート。
FIG. 3 is a flowchart for explaining the operation in the embodiment, a process at the time of monitoring the CSS number, and a monitor value saving process for saving various monitor values including the CSS number.

【図4】同実施形態の効果を従来技術と比較して説明す
るための図。
FIG. 4 is a diagram for explaining the effect of the embodiment in comparison with a conventional technique.

【図5】モニター値保存処理が要求された場合の従来の
処理手順を示すフローチャート。
FIG. 5 is a flowchart showing a conventional processing procedure when a monitor value saving process is requested.

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

1…ディスク(不揮発性記憶手段)、 2…ヘッド、 3…スピンドルモータ(SPM)、 10…CPU(モニター手段、フラグ情報操作手段、モ
ニター値保存制御手段)、 11…ROM、 12…RAM(揮発性記憶手段)、 13…EEPROM(不揮発性記憶手段)、 15…バッファメモリ、 110…モニター値保存領域、 121…モニター値記憶領域、 122…フラグ。
1 ... Disk (nonvolatile storage means), 2 ... Head, 3 ... Spindle motor (SPM), 10 ... CPU (monitor means, flag information operation means, monitor value storage control means), 11 ... ROM, 12 ... RAM (volatile) Memory storage means), 13 ... EEPROM (nonvolatile storage means), 15 ... buffer memory, 110 ... monitor value storage area, 121 ... monitor value storage area, 122 ... flag.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 装置内の故障に関係し得る予め定められ
た事象をモニターし、そのモニター値から装置の故障を
予測する故障予測機能を有するディスク装置において、 前記モニター値を一時記憶しておくためのモニター値記
憶領域が確保された揮発性の記憶手段と、 前記モニター値記憶領域の内容が変化したか否かを示す
フラグ情報を記憶しておくためのフラグ情報記憶手段
と、 前記モニター値を保存しておくためのモニター値保存領
域が確保された不揮発性の記憶手段と、 前記予め定められた事象を検出することで前記モニター
値記憶領域のモニター値を更新するモニター手段と、 このモニター手段により前記モニター値記憶領域のモニ
ター値が更新された場合に前記フラグ情報を前記モニタ
ー値記憶領域の内容が変化したことを示す第1の状態に
設定し、前記モニター値記憶領域のモニター値が前記モ
ニター値保存領域に保存された場合に前記フラグ情報を
前記モニター値記憶領域の内容が変化していないことを
示す第2の状態に設定するフラグ情報操作手段と、 装置内または装置外から前記モニター値の保存処理が要
求された場合には前記フラグ情報を参照し、当該フラグ
情報が前記第1の状態に設定されている場合にのみ、前
記モニター値記憶領域のモニター値を前記モニター値保
存領域に保存するモニター値保存制御手段とを具備する
ことを特徴とするディスク装置。
1. A disk device having a failure prediction function of monitoring a predetermined event which may be related to a failure in a device and predicting a failure of the device from the monitored value, wherein the monitored value is temporarily stored. A monitor value storage area for securing a volatile storage means, a flag information storage means for storing flag information indicating whether or not the contents of the monitor value storage area have changed, and the monitor value A non-volatile storage means for securing a monitor value storage area for storing the monitor value, a monitor means for updating the monitor value in the monitor value storage area by detecting the predetermined event, A flag information indicating that the content of the monitor value storage area has changed when the monitor value of the monitor value storage area is updated by means; And the monitor value of the monitor value storage area is stored in the monitor value storage area, the flag information is set to a second state indicating that the content of the monitor value storage area has not changed. The flag information operating means to be set and the flag information is referred to when the monitor value storage process is requested from inside or outside the device, and when the flag information is set to the first state. And a monitor value storage control means for storing the monitor value in the monitor value storage area in the monitor value storage area.
【請求項2】 装置内の故障に関係し得る予め定められ
た事象をモニターし、そのモニター値から装置の故障を
予測する故障予測機能を有するディスク装置におけるモ
ニター値保存制御方法であって、 前記モニター値を一時記憶しておくためのモニター値記
憶領域を不揮発性の記憶手段に予め確保しておき、前記
予め定められた事象を検出することにより、当該モニタ
ー値記憶領域のモニター値を更新すると共に当該モニタ
ー値記憶領域の内容が変化したことを示すフラグ情報を
設定し、 装置内または装置外からの前記モニター値の保存処理の
要求時には、前記モニター値記憶領域の内容が変化した
ことを示すフラグ情報が設定されている場合にのみ前記
モニター値記憶領域のモニター値を不揮発性の記憶手段
内に保存する保存処理を実行して、前記フラグ情報を前
記モニター値記憶領域の内容が変化していないことを示
すように変更することを特徴とするディスク装置におけ
るモニター値保存制御方法。
2. A monitor value storage control method in a disk device having a failure prediction function of monitoring a predetermined event which may be related to a failure in a device and predicting a failure of the device from the monitor value, A monitor value storage area for temporarily storing the monitor value is secured in advance in a non-volatile storage means, and the monitor value in the monitor value storage area is updated by detecting the predetermined event. Along with that, flag information indicating that the contents of the monitor value storage area has changed is set, and when the storage processing of the monitor value is requested from inside or outside the device, it indicates that the contents of the monitor value storage area have changed. Only when the flag information is set, save processing is executed to save the monitor value in the monitor value storage area in the non-volatile storage means. , Monitor value saving control method in a disk device and changes the flag information to indicate that the contents of the monitoring value storage area has not changed.
【請求項3】 機器内の故障に関係し得る予め定められ
た事象をモニターし、そのモニター値から機器の故障を
予測する故障予測機能を有する情報機器において、 前記モニター値を一時記憶しておくためのモニター値記
憶領域が確保された揮発性の記憶手段と、 前記モニター値記憶領域の内容が変化したか否かを示す
フラグ情報を記憶しておくためのフラグ情報記憶手段
と、 前記モニター値を保存しておくためのモニター値保存領
域が確保された不揮発性の記憶手段と、 前記予め定められた事象を検出することで前記モニター
値記憶領域のモニター値を更新するモニター手段と、 このモニター手段により前記モニター値記憶領域のモニ
ター値が更新された場合に前記フラグ情報を前記モニタ
ー値記憶領域の内容が変化したことを示す第1の状態に
設定し、前記モニター値記憶領域のモニター値が前記モ
ニター値保存領域に保存された場合に前記フラグ情報を
前記モニター値記憶領域の内容が変化していないことを
示す第2の状態に設定するフラグ情報操作手段と、 機器内または機器外から前記モニター値の保存処理が要
求された場合には前記フラグ情報を参照し、当該フラグ
情報が前記第1の状態に設定されている場合にのみ、前
記モニター値記憶領域のモニター値を前記モニター値保
存領域に保存するモニター値保存制御手段とを具備する
ことを特徴とする情報機器。
3. An information device having a failure prediction function of monitoring a predetermined event which may be related to a failure in a device and predicting a failure of the device from the monitored value, wherein the monitor value is temporarily stored. A monitor value storage area for securing a volatile storage means, a flag information storage means for storing flag information indicating whether or not the contents of the monitor value storage area have changed, and the monitor value A non-volatile storage means for securing a monitor value storage area for storing the monitor value, a monitor means for updating the monitor value in the monitor value storage area by detecting the predetermined event, A flag information indicating that the content of the monitor value storage area has changed when the monitor value of the monitor value storage area is updated by means. The monitor value storage area is stored in the monitor value storage area, the flag information is set to a second state indicating that the content of the monitor value storage area has not changed. Flag information operating means for controlling the storage of the monitor value from inside or outside the device, and refers to the flag information only when the flag information is set to the first state. And a monitor value storage control means for storing the monitor value in the monitor value storage area in the monitor value storage area.
JP9689996A 1996-04-18 1996-04-18 Disk device and monitor value preservation control method in the same device Pending JPH09282603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9689996A JPH09282603A (en) 1996-04-18 1996-04-18 Disk device and monitor value preservation control method in the same device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9689996A JPH09282603A (en) 1996-04-18 1996-04-18 Disk device and monitor value preservation control method in the same device

Publications (1)

Publication Number Publication Date
JPH09282603A true JPH09282603A (en) 1997-10-31

Family

ID=14177229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9689996A Pending JPH09282603A (en) 1996-04-18 1996-04-18 Disk device and monitor value preservation control method in the same device

Country Status (1)

Country Link
JP (1) JPH09282603A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116182B2 (en) 2009-03-24 2012-02-14 Kabushiki Kaisha Toshiba Information processing apparatus and fault symptom determination method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116182B2 (en) 2009-03-24 2012-02-14 Kabushiki Kaisha Toshiba Information processing apparatus and fault symptom determination method

Similar Documents

Publication Publication Date Title
JP3046529B2 (en) Magnetic recording device
US6594207B2 (en) Information recording apparatus, information recording system and information recording medium
US7490259B2 (en) Error recovery method for data storage device, data storage device, and magnetic disk storage device
JP2004206795A (en) Disk storage device and light control method
JP2001057010A (en) Magnetic recording and reproducing device and its operation guaranteeing method
JP3887062B2 (en) Disk device and throughput / performance measuring method applied to the same
US5841260A (en) Disk device with failure prediction function and motor start error prediction method in the device
JPH06325476A (en) Disk device
JPH1011878A (en) Disk device, and monitor value keeping and controlling method in the device
JP2001202728A (en) Disk storage device, system mounted with the device and vehicle mounted with the device
JPH09282603A (en) Disk device and monitor value preservation control method in the same device
US7239468B2 (en) Disk drive and control method for disk drive
JPH0876989A (en) Electronic apparatus driven by program and rewriting method for program
JPH10161881A (en) Data recording and reproducing device capable of downloading of control program
KR100630713B1 (en) Method for controlling starting current of the spindle motor and disk drive using the same
JPH10188451A (en) Disk device, and failure predicting method based on defect in the device
JPH09293022A (en) Data recording and reproducing device, and method for protecting data in the same
JP2006269032A (en) Method for prevention processing of read abnormality in device unique information of medium storage device, and medium storage device
KR100512364B1 (en) Process improvement method of hard disk drive
JP2001307435A (en) Magnetic disk device, fault predictive diagnosing method of the same device, and recording medium with recorded program thereof
JPH10124996A (en) Device and method for driving hard disk
JPH1011701A (en) Magnetic disk device and fault predicting method for the same device
JP2001118342A (en) Device for recording/reproducing information
JP2006252649A (en) Recovering method of system intrinsic information of medium storage apparatus and medium storage apparatus
JPH11167701A (en) Disk device and data recording order control method applied to the same device