JP6524848B2 - Failure prediction device, failure prediction method and failure prediction program - Google Patents
Failure prediction device, failure prediction method and failure prediction program Download PDFInfo
- Publication number
- JP6524848B2 JP6524848B2 JP2015157266A JP2015157266A JP6524848B2 JP 6524848 B2 JP6524848 B2 JP 6524848B2 JP 2015157266 A JP2015157266 A JP 2015157266A JP 2015157266 A JP2015157266 A JP 2015157266A JP 6524848 B2 JP6524848 B2 JP 6524848B2
- Authority
- JP
- Japan
- Prior art keywords
- access
- target location
- time
- hdd
- failure prediction
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、ディスクドライブの故障予測技術に関する。 The present invention relates to a disk drive failure prediction technique.
ハードディスクは円盤表面に微細な欠陥により不良セクタが発生して読み書きができなくなったり、リトライ動作を繰り返すことにより、データ転送速度が著しく低下することがある。また不良箇所が拡大してハードディスク自体が起動しなくなる障害が発生することもある。 In the hard disk, a defective sector may be generated on the disk surface due to a minute defect and reading and writing can not be performed, or the data transfer speed may be significantly reduced by repeating the retry operation. In addition, there is also a possibility that a failure may expand and cause the hard disk itself not to start up.
特許文献1には、ハードディスクの転送時間を測定し、その転送時間からハードディスクの故障の予兆を検知する技術が開示されている。製品出荷後の所定の時間経過(たとえば1週間)ごとに、転送時間を測定した上で、工場出荷時の転送時間と比較し、両者の転送時間の違いが所定の条件を満たした場合に、ハードディスクに不具合が今後起こる可能性がある旨の警告通知処理を行っている。
特許文献1に開示された従来技術では、転送時間の測定値に所定の係数を乗じた値と、工場出荷時の測定時間とを比較し、前者が長い場合に遅延領域と判定している。そして、遅延領域が所定の閾値以上存在する場合に、警告を出すようにしている。しかしながら、ハードディスクドライブ(HDD)のヘッド位置に依存するアクセス時間のばらつきに関しては、全く考慮されていなかった。例えば、HDDの同じ領域(セクタ)をアクセスした場合であっても、回転待ち時間が最大の場合は、ディスク1周分の待ち時間を要しその時間分アクセス時間が長くなり、回転待ち時間が最小の場合は、ディスク回転の待ち時間なく最短でアクセスできることからアクセス時間が短くなる。このように、HDDの同じ領域をアクセスした場合であっても、アクセス前のヘッド位置やアクセスのタイミングによって、データ読み出し完了までのアクセス時間が変動するが、従来技術においては、このような変動を考慮していないため、十分な精度でアクセス時間を測定することができなかった。従って、そのようなアクセス時間を基に故障予測を行っても、高い精度でHDDの故障予測をすることはできなかった。
In the prior art disclosed in
本発明はこうした状況に鑑みてなされたものであり、その目的は、ディスクドライブ使用機器について、その障害発生を予測し、ディスク内のデータの損失を防ぐことのできる故障予測技術を提供することにある。 The present invention has been made in view of these circumstances, and an object thereof is to provide a failure prediction technique capable of predicting the occurrence of a failure in a disk drive using device and preventing the loss of data in the disk. is there.
上記課題を解決するために、本発明のある態様の故障予測装置は、ディスクドライブに対する所定のアクセスパターンによってアクセス対象箇所をアクセスしたときのアクセス時間の上限閾値を記憶する異常値記録部と、前記アクセスパターンにしたがって前記アクセス対象箇所をアクセスしたときのアクセス時間の実測値が前記上限閾値を超えた場合に当該アクセス対象箇所を前記異常値記録部に登録する制御部とを含む。 In order to solve the above problems, a failure prediction apparatus according to an aspect of the present invention includes an abnormal value recording unit that stores an upper limit threshold of access time when an access target location is accessed according to a predetermined access pattern for a disk drive; And a control unit that registers the access target location in the abnormal value recording unit when the measured value of the access time when the access target location is accessed according to the access pattern exceeds the upper limit threshold.
本発明の別の態様は、故障予測方法である。この方法は、ディスクドライブに対する所定のアクセスパターンによってアクセス対象箇所をアクセスしたときのアクセス時間の上限閾値を決定して異常値記録部に記録するステップと、前記アクセスパターンにしたがって前記アクセス対象箇所をアクセスしたときのアクセス時間の実測値が前記上限閾値を超えた場合に当該アクセス対象箇所を前記異常値記録部に登録するステップとを含む。 Another aspect of the present invention is a failure prediction method. This method determines the upper threshold of the access time when the access target location is accessed according to a predetermined access pattern to the disk drive and records the upper threshold in the abnormal value recording unit, and accesses the access target location according to the access pattern And registering the location to be accessed in the abnormal value recording unit, when the measured value of the access time at the time of execution exceeds the upper threshold value.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 Note that arbitrary combinations of the above-described components, and conversions of the expression of the present invention among methods, apparatuses, systems, recording media, computer programs and the like are also effective as aspects of the present invention.
本発明によれば、ディスクドライブ使用機器について、その障害発生を予測し、ディスク内のデータの損失を防ぐことができる。 According to the present invention, it is possible to predict the occurrence of a failure in a disk drive using device and to prevent the loss of data in the disk.
HDDは動作不具合を起こした場合、書き込まれたデータの保証がない。HDDの動作不具合は一旦起きてしまうと、基本的に内部データを読み出すことができないため、大きな損失が発生する。すなわち、故障であることを気がついた段階では、HDD内のどこかのデータを失うことを避けることができない。そこで、本発明の実施の形態に係るHDD故障予測装置100では、運用上のデータの読み出しが正常にできる限界としてのHDDの寿命を予測し、HDDの故障により、データを失うことを回避することを目的とする。
If there is a problem with the operation of the HDD, there is no guarantee of the written data. Once the operation failure of the HDD occurs, the internal data can not basically be read out, resulting in a large loss. That is, at the stage of noticing that it is a failure, it can not be avoided to lose data anywhere in the HDD. Therefore, in the HDD
転送時間の比較によるHDDの寿命予測について、特許文献1にはアクセス時間を評価する方法が記載されている。しかしながら、HDDの障害について、特に経年劣化に伴う内部パーツの摩耗から来る障害は、現在障害が発生している位置にとどまらず、時間とともに拡大する傾向があるので、その予兆を高い精度でとらえないと、時間の経過とともにHDDの内部データを失う可能性が高くなる。
特に、障害へと進行しつつあるエリアを再アクセスすることは重大な障害へ進展する可能性が高いので、障害の進行を予測できることは、その後のHDDの内部データの救済策を講じる手法を決める上で非常に重要な目安となってくる。 In particular, since re-accessing an area progressing to a failure is likely to progress to a serious failure, being able to predict the progress of the failure determines the method for taking measures for the subsequent HDD internal data recovery. It will be a very important guide above.
そこで、本実施の形態のHDD故障予測装置100では、特定のアクセスパターンによるアクセス時間の散布図にもとづいて、アクセス時間によって故障を予測する際に使用する閾値を決定することにより、故障予測の精度を上げる方法を採用する。
Therefore, in HDD
図1は、実施の形態に係るHDD故障予測装置100の構成図である。HDD故障予測装置100は、ホスト200が使用するHDD300を駆動する機能とHDD300の故障を予測する機能とを備える。HDD故障予測装置100は、HDDコントローラ10、一時記憶部20、制御部30、および異常値DB記録部40を含む。これらの構成はハードウェア、ソフトウェア、あるいはその組合せによって実現することができる。なお、HDD故障予測装置100とホスト200とを一体的に構成することも可能である。また、HDD故障予測装置100とホスト200とHDD300とを一体的に構成してもよい。
FIG. 1 is a block diagram of an HDD
HDDコントローラ10は、ハードディスクドライブのATA規格に基づき、HDD300に対する読み書きのコマンドをホスト200から受け取り、HDD300にデータを書き込んだり、HDD300からデータを読み出す。一時記憶部20は、その転送データをFIFO構造にて一時的に記憶する。
The
制御部30は、HDDコントローラ10の書き込み時のコマンド実行時間(アクセス時間)を測定しHDD300の寿命を判断する。
異常値DB記録部40は、アクセス時間の異常を判定するための閾値を記憶するとともに、遅延アクセス発生時に遅延アクセスが起きたコマンド発行番号と遅延アクセス時間をデータベースとして登録する。本実施例では後述するように、所定数のセクタ単位(特定容量単位)でHDD300にアクセスする。各々のアクセスに使用する先頭LBA(Logical Block Address)に対応させて、1、2、3、...等の連番を付与したものをコマンド発行番号と称する。なお、以下の説明において、コマンド発行番号の代わりに、LBAを用いることも可能である。ただし、コマンド発行番号を用いた方が、格納や演算に必要なデータ容量を抑えることができる。
The abnormal value
ホスト200は、図示しない表示部及び入力部を備える。ホスト200の入力部への入力は、HDD故障予測装置100の制御部30に伝達され、処理される。また、HDD故障予測装置100の制御部30は、ホスト200の表示部を制御する表示制御部としても機能する。
The
ホスト200がHDD300に対してデータの書き込みコマンドを発行すると、書き込まれるデータはHDDコントローラ10を経由して一時記憶部20に一時的に記憶される。一時的に記憶された書き込みデータが所定の容量に達すると、HDDコントローラ10は時間軸上で古いデータから図6に示すアクセスパターンに従い、HDD300に書き込む。この処理の詳細については後述する。
When the
このとき、制御部30は、HDDコントローラ10からデータがHDD300に書き込まれたときのコマンド実行時間(アクセス時間)を測定し、あらかじめ異常値DB記憶部に記憶された閾値を読み出し、現在のアクセス時間がこの閾値を超えているか否かを判定する。
At this time, the
アクセス時間が閾値を超えたことが確認された場合、制御部30は、アクセス時間が閾値を超えたLBAとアクセス時間を記憶し、後述のワーニング(警告)カウンタおよびエラーカウンタを計数して、ワーニングカウンタおよびエラーカウンタの推移によってHDD300の故障予測を行い、寿命に達したことを予測したときはHDDの停止警告を発する。
When it is confirmed that the access time exceeds the threshold, the
ここで、HDD300のアクセス時間の概要を説明する。図9(a)は、HDD300の正常時のアクセス時間を示し、図9(b)は、HDD300の異常発生時のアクセス時間を示す。
Here, an overview of the access time of the
正常時のアクセス時間は、図9(a)に示すように、シーク時間、回転待ち時間、集束時間などのヘッド動作に依存する時間と、データ転送時間との合計で表わすことができる。 As shown in FIG. 9A, the access time in the normal state can be represented by the sum of the time dependent on the head operation such as the seek time, rotational latency time, focusing time, etc., and the data transfer time.
異常発生時のアクセス時間は、図9(b)に示すように、正常時のアクセス時間に加えて、代替セクタ発生時にはリトライ時間、代替セクタ処理時間等が加わるため、正常アクセス時の数十倍の処理時間を要する。 As shown in FIG. 9 (b), the access time at the time of abnormality occurrence is several tens of times longer at the time of normal access since the retry time and the alternative sector processing time etc. are added at the time of the alternative sector in addition to the access time at the normal time. Processing time is required.
HDD300は、一定速度でディスクが回転しているため、ヘッドが目標セクタにアクセスを行う際、アクセスタイミングによっては最大でディスク1周分の回転待ち時間が発生する。また、前回のアクセスが終了した時のヘッド位置によってこれからアクセスする位置までのシーク時間が変動するため、総合的なアクセス時間も変動する。その結果、アクセスに至るまでの集束時間も異なるため、工場出荷時と同じアクセス時間で対象セクタにアクセスできることはなく、アクセスごとにばらつく。
In the
特許文献1の故障判定手法では、工場出荷時のデータおよび寿命評価時のデータの両方にばらつきがあるため、高い精度でHDDの故障を予測できないという問題があった。そこで、本実施の形態では、図6に示すアクセスパターンを用いることにより、アクセス時間のばらつきに対処している。
The failure determination method of
図2は、HDD故障予測装置100による故障予測手順を示すフローチャートである。
FIG. 2 is a flowchart showing a failure prediction procedure by the HDD
ステップS201において、HDDコントローラ10は、図6のアクセスパターンに従いHDD300にアクセスし、制御部30は、そのときのコマンド実行時間を測定する。
In step S201, the
図6に示すアクセスパターンでは、1つのコマンド発行番号に対応して、特定容量のデータが書き込まれるようになっている本実施例では、特定容量を256セクタにしているが、それ以外のセクタ数を用いてもよく、これに限定される訳ではない。HDD300の場合、以前のアクセスが終了した時のヘッド位置が不特定であると、特にシーク時間にばらつきが生じ、相対的に正確なアクセス時間が測定できない。そこで図6に示すようにヘッドの位置をアクセス終了後、常に初期位置(ここではセクタ0の位置)にリセットしてから特定容量(256セクタ)の書き込みを順次行うことにより、より正確なアクセス時間の測定を可能としている。
In the access pattern shown in FIG. 6, in the present embodiment in which data of a specific capacity is written corresponding to one command issue number, the specific capacity is 256 sectors, but the number of sectors other than that is However, the present invention is not limited to this. In the case of the
図7Aは、図6のアクセスパターンにしたがってHDD300にアクセスしたときのアクセス時間の模式図である。横軸はコマンド発行番号、縦軸はコマンド発行番号ごとのアクセス時間である。図7Bは、図7Aの模式図を実測値によって示したグラフである。測定データをプロットすると、図7Bに示すような散布図が得られ、アクセス時間が右肩上がりの帯状に分布する。以下、コマンド発行番号ごとにアクセスする特定容量のディスク領域(セクタ)を「コマンド発行番号領域」と呼ぶ。
FIG. 7A is a schematic diagram of access time when the
HDD300の回転待ちと集束時間が無い理想的な状態であれば、アクセスターゲットとなるセクタに対するアクセス時間をプロットした散布図は、ほぼ1本の線になるはずである。しかしながら、これまで述べたようにディスクのアクセスについては常に回転待ちと集束時間についてばらつきが存在するので、図6のアクセスパターンで示す特定容量ごとのアクセス時間をプロットすると、実際は図7Bのように特定のばらつきを持った帯のような形をなし、コマンド発行番号とアクセス時間の間には強い相関がある。図7Bの帯全体の傾きは、図6で示すところのコマンド発行番号の増加に伴い、アクセス対象のセクタがヘッドのリセット位置から遠くなることによる主にシーク時間の増大が要因である。
In an ideal state in which the
なお、コマンド実行時間(アクセス時間)の測定は、HDD故障予測装置100で行ってもいいし、同じアクセスパターンを発生する外部機器で行ってもよい。
The command execution time (access time) may be measured by the HDD
次にステップS202では、ステップS201で測定された散布図における帯の上端に相当する値を検出する。そして、この値をコマンド発行番号毎の閾値(故障予測閾値)として用いる。この値は、シーク時間、回転待ち時間、集束時間などのヘッド動作に依存する待ち時間が極大となる場合のアクセス時間であり、HDD300が正常時である時は、アクセス時間がこの値以下に収まるという特徴がある。従って、この値を故障予測の閾値として用いることにより、アクセス時間がこの閾値を超えたら、HDD300のアクセスが正常でないことが把握できる。この閾値の具体的な検出方法については後述する。
Next, in step S202, a value corresponding to the upper end of the band in the scatter diagram measured in step S201 is detected. Then, this value is used as a threshold (failure prediction threshold) for each command issue number. This value is the access time when the waiting time depending on the head operation such as the seek time, the rotational waiting time, and the focusing time is maximal, and when the
次にステップS203では、ステップS202で算出した閾値を異常値DB記録部40に登録する。具体的には、図10(a)に示すように、コマンド発行番号と閾値とを対応させて記録する。
Next, in step S203, the threshold value calculated in step S202 is registered in the abnormal value
ステップS201〜ステップS203は、故障予測を行う事前処理あるいは初期設定処理である。 Steps S201 to S203 are pre-processing or initial setting processing for performing failure prediction.
次にステップS204では、HDD300の使用時において故障予測動作を行う。制御部30がコマンド発行領域のアクセス時間が異常値DB記録部40に記録した閾値を超えていないかを監視し、閾値を超えたコマンド発行番号領域については異常値DB記録部40にコマンド発行番号とアクセス時間を記録する。制御部30は、異常値DB記録部40に記録されたワーニングカウンタとエラーカウンタを計数し、その結果、故障予測と判定されるレベルにまで達したとき、HDD300の停止警告を発し、処理を終了する。
Next, in step S204, a failure prediction operation is performed when using the
ステップS201〜S203の処理において、制御部30は閾値算出部として動作する。閾値算出部は制御部30とは別の回路としてもよい。
In the processes of steps S201 to S203, the
なお、HDDの型番とファームウェアが同じであれば、図7の散布図の帯から得られる閾値は同じであるから、新たに閾値を作成する必要はないため、ステップS201〜ステップS203を省略し、他のHDDで測定した閾値を用いて、ステップS204の故障予測を開始することができる。他のHDDで測定した閾値を用いる場合、HDD故障予測装置100に閾値算出部を備える必要はない。
If the HDD model number and the firmware are the same, the threshold obtained from the band of the scatter diagram in FIG. 7 is the same, and there is no need to create a new threshold, so steps S201 to S203 are omitted. The failure prediction in step S204 can be started using the threshold measured by another HDD. When using the threshold measured with another HDD, it is not necessary to provide the HDD
ここで、ステップS202の閾値を検出する方法を詳細に説明する。ステップS202の第1の方法を説明する。 Here, the method of detecting the threshold in step S202 will be described in detail. The first method of step S202 will be described.
図8に示すように、所定数N個のコマンド発行番号ごとに、コマンド発行番号をグループ化する。以下では、このグループを「コマンド発行セグメント」あるいは単に「セグメント」と称する。また、所定数Nを「セグメント長」と称する。ここで、所定数N(セグメント長)は、1つのセグメントにシーク時間、回転待ち時間、集束時間などのヘッド動作に依存する待ち時間が極大となる点が、おおよそ1つ以上含まれるように設定する。典型的には、N=30〜50とするのがよい。例えば、N=30とする場合、コマンド発行番号=1〜30をセグメント1、コマンド発行番号=31〜60をセグメント2、コマンド発行番号=61〜90をセグメント3とし、以下同様に、コマンド発行番号とセグメントを対応させる。
As shown in FIG. 8, command issue numbers are grouped for each of a predetermined number N of command issue numbers. In the following, this group is referred to as "command issuing segment" or simply "segment". Also, the predetermined number N is referred to as "segment length". Here, the predetermined number N (segment length) is set such that one segment includes approximately one or more points at which the waiting time depending on the head operation such as the seek time, rotation waiting time, focusing time, etc. becomes maximum. Do. Typically, N = 30 to 50. For example, when N = 30, the command issue number = 1 to 30 is
次に、セグメントごとにアクセス時間の最大値を検出する。そして、その最大値をそのセグメントにおける閾値とする。例えば、N=30であり、セグメント1の中で、コマンド発行番号=12において、アクセス時間が最大となり、最大値が30msecとなる場合、コマンド発行番号1〜30に対応する閾値を全て30msecとする。あるいは、各セグメントにおけるアクセス時間の最大値に所定倍率を乗じた値をそのセグメントの閾値としてもよい。例えば、所定倍率=1.2とし、最大値30msec×1.2=36msecを当該セグメントの閾値としてもよい。あるいは、各セグメントにおけるアクセス時間の最大値に所定値を加算した値を閾値としてもよい。例えば、所定値=5msecとし、最大値30msec+5msec=35msecを閾値としてもよい。
Next, the maximum value of access time is detected for each segment. And let the maximum value be a threshold in the segment. For example, when N = 30 and the access time is maximum and the maximum value is 30 msec in command issue number = 12 in
この第1の方法で算出した閾値は、1つのセグメントに対応するコマンド発行番号においては、全て同じ値となる。従って、ステップS203において、コマンド発行番号ごとに閾値を記録せずに、図10(b)に示すように、セグメント番号と閾値を対応させて記録してもよい。 The threshold values calculated by the first method all have the same value in the command issue number corresponding to one segment. Therefore, instead of recording the threshold for each command issue number in step S203, as shown in FIG. 10B, the segment number may be recorded in correspondence with the threshold.
ステップS202の第2の方法を説明する。まず、第1の方法と同様に、所定数のコマンド発行番号ごとにセグメントを形成する。このセグメントは、後続の処理ステップで使用するためのもので、ステップS202においては、セグメントを使用しない。 The second method of step S202 will be described. First, as in the first method, a segment is formed for each predetermined number of command issue numbers. This segment is for use in the subsequent processing steps, and in step S202, the segment is not used.
次に、あるコマンド発行番号(コマンド発行番号i)に対して、その前後の所定範囲のコマンド発行番号(i−w〜i+w)を対象にアクセス時間の最大値を検出する。すなわち、数式(1)に従って、コマンド発行番号iに対応する閾値θ[i]を算出する。ここで、a[i]はコマンド発行番号iに対応するコマンド実行時間(アクセス時間)であり、wは正の整数であり、maxは引数に指定された値の中から最大値を返す関数である。数式(1)によれば、(2w+1)個のコマンド発行番号を対象にして最大値を検出することになる。正の整数wは、(2w+1)個のコマンド発行番号の中に、アクセス時間の極大値が1つ以上含まれるように設定するとよい。典型的には、w=15〜25を用いるとよい。(2w+1)がセグメント長Nと同じであってもよいし、異なっていてもよい。ステップS201で測定に用いた最大のコマンド発行番号をPとすると、数式に従って、i=(w+1)〜(P−w)に対応する閾値θ[w+1]〜θ[P−w]を各々算出する。i=1〜wについては、θ[w+1]を流用し、i=(P−w+1)〜Pについては、θ[P−w]を流用すればよい。 Next, for a certain command issue number (command issue number i), the maximum value of the access time is detected for command issue numbers (i-w to i + w) in a predetermined range before and after that. That is, the threshold value θ [i] corresponding to the command issue number i is calculated according to the equation (1). Here, a [i] is the command execution time (access time) corresponding to the command issue number i, w is a positive integer, and max is a function that returns the maximum value among the values specified in the arguments. is there. According to Equation (1), the maximum value is detected for (2w + 1) command issue numbers. The positive integer w may be set such that one or more local maximum values of the access time are included in the (2w + 1) command issue numbers. Typically, w = 15 to 25 may be used. (2w + 1) may be the same as or different from the segment length N. Assuming that the maximum command issuance number used for measurement in step S201 is P, threshold values θ [w + 1] to θ [Pw] corresponding to i = (w + 1) to (Pw) are respectively calculated according to the equation . For i = 1 to w, θ [w + 1] may be diverted, and for i = (P−w + 1) to P, θ [P−w] may be diverted.
また、数式(1)に従って算出した値に、更に移動平均処理を行って、閾値を算出してもよい。例えば、数式(1)の左辺を一時変数μ[i]に代入し、数式(2)に従って、μ[i]の移動平均を算出して閾値θ[i]とする。ここで、ε[j]は数式(3)を満たす重み係数である。またLは正の整数であり、典型的には5〜10に設定するとよい。数式(2)に従って閾値を算出することにより、閾値の変化が滑らかになり、精度よく故障予測できる場合がある。 Further, the threshold may be calculated by further performing moving average processing on the value calculated according to the equation (1). For example, the left side of equation (1) is substituted into the temporary variable μ [i], and the moving average of μ [i] is calculated according to equation (2) to obtain the threshold θ [i]. Here, ε [j] is a weighting factor that satisfies the equation (3). In addition, L is a positive integer, and may be typically set to 5 to 10. By calculating the threshold value in accordance with Equation (2), the change in the threshold value may be smooth, and failure may be predicted accurately.
図3は、ステップS204で示した故障予想処理の詳細な手順を示すフローチャートである。 FIG. 3 is a flowchart showing the detailed procedure of the failure prediction process shown in step S204.
HDD300の故障は、特定容量単位で区切られたエリアのアクセス時間がどのくらいの遅延をもって図7で示す散布図の帯の上端である閾値を超えているか、そのアクセス遅延の発生がどのようにエリアをまたいで広がっているかによって予測する。
The failure of the
HDD300の閾値を超えたアクセス遅延の原因は、アクセス時に異常が発生したため、通常アクセス時の処理に加え、リトライや代替セクタ発生のような異常発生時の処理時間が加わることによる。
The cause of the access delay exceeding the threshold value of the
しかしながら、ある特定セクタだけの損傷による代替セクタの発生は、代替セクタが発生した時点だけ大きなアクセス遅延が発生するが、以後、同じセクタをアクセスしてもHDD300としては、正常動作に戻ったとして扱われ、再度同じ領域をアクセスしてもアクセス遅延が発生しなくなるという特徴がある。この場合、発生も単発で異常セクタの拡大は確認できず、そのとき発生した代替セクタ以上の拡大は見られない。これに対し、経年劣化によるアクセス遅延は、劣化が進行するとともにセグメント長で区切られたエリアの閾値を超える数がアクセスごとに徐々に増加していくが、そのパターンは特定できないため、セグメントで区切られたエリアの閾値の超え方の推移を異常値DB記録部40に登録することにより故障の予測を行う。
However, although the occurrence of a substitute sector due to the damage of only a specific sector causes a large access delay only when the substitute sector occurs, the
図3のステップS301では、一時記憶部20からHDD300に転送する先頭のデータが、どのコマンド発行番号に該当するか特定する。例えば、一時記憶部20において、ホスト200からHDD300に通常書き込むのと同じLBAを用いて、転送すべきデータを管理し、転送時に先頭LBAを特定容量で割った値を算出してコマンド発行番号とすればよい。この特定したコマンド発行番号(データ転送に用いる先頭のコマンド発行番号)をiとする。
In step S301 in FIG. 3, it is specified to which command issue number the top data transferred from the
ステップS305では、一時記憶部20からHDD300に転送するデータ容量(書き込み容量)が、何個分のコマンド発行番号(特定容量)に相当するかを算出する。具体的には、データ容量を特定容量で除算し、その商と余りを算出する。そして、その商を書き込み回数Mとする。
In step S305, it is calculated how many command issuance numbers (specific capacities) correspond to the data capacity (write capacity) transferred from the
HDD300への書き込みはセクタ単位で制御できるが、特定容量はそれ以上(ここでは256セクタ)であるため、最後の書き込みデータが特定容量以下の場合は、最後に書き込む特定容量内に既存のデータが存在する可能性がある。
Writing to the
そこでステップS310では、ステップS305で算出された余りが「0」であるか否かを判定する。すなわち、書き込み容量が特定容量で割り切れるか否かを判定する。その結果、割り切れない場合(余りが存在する場合)(S310のNO)、ステップS315に進む。ステップS315において、端数のデータに相当するM+1番目の書き込み領域に他のデータがあるかどうかを確認し、他のデータが存在する場合(S315のYES)、ステップS320において、その存在するデータを一時記憶部20に読み込み、M+1番目の書き込みデータに結合した後、M+1番目に書き込むデータとして用意してステップS325に進む。ステップS315において他のデータが存在しない場合(S315のNO)、書き込みデータを結合する必要はないので、そのままステップS325に進む。この結果、端数分につき書き込み回数が1つ増えるので、ステップS325においてMを1だけ加算し、ステップS330に進む。
Therefore, in step S310, it is determined whether the remainder calculated in step S305 is "0". That is, it is determined whether the write capacity is divisible by the specific capacity. As a result, if division is not possible (if there is a remainder) (NO in S310), the process proceeds to step S315. In step S315, it is checked whether or not there is other data in the M + 1th write area corresponding to the fractional data, and if there is other data (YES in S315), the existing data is temporarily stored in step S320. After the data is read into the
ステップS310において書き込み容量が特定容量で割り切れる場合(S310のYES)、ステップS330に進む。 If the write capacity is divisible by the specific capacity in step S310 (YES in S310), the process proceeds to step S330.
ステップS330において、図6に示すアクセスパターンにおける、コマンド発行番号iに対応する特定容量の書き込みを行う。 In step S330, the specific capacity corresponding to the command issue number i in the access pattern shown in FIG. 6 is written.
ステップS350において、致命的ではない障害を検出するワーニング判定処理を実行する。ワーニング判定処理については、図4のフローチャートを参照して後ほど詳しく説明する。 In step S350, a warning determination process for detecting a non-fatal failure is performed. The warning determination process will be described in detail later with reference to the flowchart of FIG.
ステップS355において、致命的な障害を検出するエラー判定処理を実行する。このエラー判定処理では、復旧の見込みがない致命的な異常セクタを監視することにより、寿命の到来を検出し、寿命到来検出時は最終的にHDD300の停止警告を出すことにより、運用可能稼働中のHDD300からデータを退避させることを促す。エラー判定処理については、図5のフローチャートを参照して後ほど詳しく説明する。
In step S355, an error determination process is performed to detect a fatal failure. In this error judgment processing, the end of the life is detected by monitoring a fatal abnormal sector which is not expected to be recovered, and at the time of the detection of the end of the life, an operation stoppage of the
ステップS360では、ステップS350およびステップS355の処理で更新したHDD300のワーニングカウンタ値およびエラーカウンタ値を表示する。ユーザ(操作者)は、これらのカウンタ値によってHDD300の状態を監視することができ、必要なときには操作者がこの数値から判断して、独自にHDD300を停止させることもできる。
In step S360, the warning counter value and the error counter value of
ステップS365において、ステップS360の結果を受けて処理されたエラーカウンタが動作停止パラメータ値を超えたことが確認された場合(S365のYES)、故障予測処理を終了する。なお、ステップS365のYESの直後に、さらにユーザの注意を喚起するような警告メッセージを表示したり故障予測処理を終了することを通知するメッセージを表示してもよい。 In step S365, when it is confirmed that the error counter processed in response to the result of step S360 exceeds the operation stop parameter value (YES in S365), the failure prediction process is ended. A warning message may be displayed immediately after “YES” in step S365, and a message may be displayed to notify the user of the failure prediction process.
HDD300へのデータ書き込み中はステップS350およびステップS355の処理をコマンド発行番号に対して行い、使用しているHDD300の故障予測を行う。このため、ステップS370で書き込み回数Mを1減算し、コマンド発行領域iはアクセスが次の領域に移るため、1加算する。
While data is written to the
最後にステップS375において、書き込み回数Mが0より大きい場合(S375のYES)、所定回数の書き込みに達するまでステップS330〜ステップS370までの一連の処理を繰り返す。書き込み回数Mが0になった場合(S375のNO)、故障予測処理を終了する。 Finally, in step S375, when the number M of times of writing is greater than 0 (YES in S375), the series of processes from step S330 to step S370 is repeated until the predetermined number of times of writing is reached. When the number M of times of writing becomes 0 (NO in S 375), the failure prediction process is ended.
図4は、ステップS350のワーニング判定処理の詳細な手順を示すフローチャートである。ワーニング判定処理では、異常が発生しているエリアを特定し、異常発生エリアがどのように分布しているか(広がっているか)を判定する。 FIG. 4 is a flowchart showing a detailed procedure of the warning determination process of step S350. In the warning determination process, an area in which an abnormality has occurred is identified, and it is determined how the abnormality occurrence area is distributed (is spread).
ワーニング判定は図11(a)で示すコマンド発行番号ごとのワーニングカウンタの値を加算することで行う。 The warning determination is performed by adding the value of the warning counter for each command issue number shown in FIG.
ステップS401では、コマンド発行番号iに対応するコマンド実行時間a[i]が閾値θ[i]を超えたか否かを判定する。 In step S401, it is determined whether the command execution time a [i] corresponding to the command issue number i has exceeded the threshold value θ [i].
HDD300のアクセス時間に対する特徴として、障害、劣化が進んでいないHDD300は、正常時の処理時間内にアクセスが終了するので、セグメントのアクセス時間は閾値内に収まる。しかしながら、経年劣化が進んだHDD300や障害発生したHDD300は、ヘッドの汚れ、内部での蓄積したほこりの影響、盤面上に発生した傷等により内部の障害が拡大し、その結果、HDD300の内部処理時間が障害に対応する処理を必要とし、正常処理時に比べて内部処理に時間を要するので、アクセス時間が決められた閾値を超え、書き込みアドレスに対するアクセス時間の遅延は拡大する。ステップS401ではこのような症状が起きていないかどうかを確認する。
As a feature of the access time of the
コマンド実行時間が閾値を超えた場合(S401のYES)、ステップS402において、ワーニングカウンタを1つ増やすとともに、コマンド発行番号とそのときのコマンド実行時間(アクセス時間)を異常値DB記録部40に登録する。
If the command execution time exceeds the threshold (YES in S401), the warning counter is increased by one in step S402, and the command issue number and the command execution time (access time) at that time are registered in the abnormal value
コマンド実行時間が閾値を超えていない場合(S401のNO)、ステップS403に進む。ステップS403において、当該コマンド発行番号に対応する過去のワーニングがカウントされている場合(S403のYES)、アクセス時の一時的な要因があったとみなし、ステップS407においてコマンド発行番号領域のワーニングカウントを0に戻し、ワーニング判定処理を終了する。 If the command execution time does not exceed the threshold (NO in S401), the process proceeds to step S403. If the past warning corresponding to the command issue number is counted in step S403 (YES in S403), it is considered that there is a temporary factor at the time of access, and the warning count in the command issue number area is 0 in step S407. The warning determination process is ended.
次に、ステップS402からステップS404に進む。ステップS404において、障害の広がりを確実に検出するため、アクセス対象のセグメントの前に5個のセグメント、後に5個のセグメントを取った狭い近傍セグメントエリア(第1近傍セグメントエリア)において、図7の散布図の帯が閾値を超えて拡散しつつあるかどうかを確認する。具体的には、第1近傍セグメントエリアにおいて、ゼロでないワーニングカウンタが10個以上発生しているかどうかを判定する。ワーニングカウンタが10個以上確認された場合(ステップS404のYES)、この近傍セグメントエリアにおいて遅延が拡大していると判定し、次のエラー判定処理でHDD300の停止の警告を発することができるよう、ステップS405でエラーカウンタに故障予測の閾値(ここでは10)を加算する。
Next, the process proceeds from step S402 to step S404. In step S404, in order to reliably detect the spread of the fault, in the narrow neighboring segment area (first neighboring segment area) in which five segments before the segment to be accessed and five segments later are taken, as shown in FIG. Check if the scatter plot band is spreading beyond the threshold. Specifically, it is determined whether ten or more non-zero warning counters are generated in the first neighboring segment area. When ten or more warning counters are confirmed (YES in step S404), it is determined that the delay is increased in this neighboring segment area, and a warning of stop of the
ディスク上に物理的に発生したヘッドの接触等による傷では、アクセス遅延にセクタの連続性が見られ、発生の要因を比較的簡単に見分けられるが、寿命予測においては、一度アクセス遅延が発生し、以後アクセス時間の回復することがない幾つかのセクタを中心に、その近傍セクタおいてアクセス遅延が発生する特徴があるので、セクタごとのアクセス遅延の分布を記録し、それがどのように図7の散布図の帯において閾値を超え、アクセス遅延が発生しているセクタが増えているかを判断する必要がある。この判断については、図7の散布図のアクセス遅延が起きていることだけに注目した場合、図5のS501のように、代替セクタ発生予測閾値を越えたセクタについては、明らかに何らかの問題が発生していることがわかるが、代替セクタ発生予測閾値以下で、図7の散布図で示す閾値を越えたエリアにアクセス遅延が発生した場合、アクセス遅延の時間だけを持って、本当に故障に至る障害がそのセクタで発生しているかを判断することが難しい。 For the damage caused by the contact of the head physically generated on the disk, the continuity of the sector can be seen in the access delay, and the cause of the occurrence can be identified relatively easily, but in the life prediction, the access delay occurs once. Since the access delay is characterized by the occurrence of the access delay in its neighboring sectors, centering on some sectors where the access time is not recovered thereafter, the distribution of the access delay for each sector is recorded, and it is shown in the figure. It is necessary to determine whether the number of sectors in which access delay is occurring is over the threshold value in the scatter plot zone of 7. As for this judgment, when focusing only on the occurrence of the access delay of the scatter diagram in FIG. 7, some problems obviously occur for the sector exceeding the alternative sector occurrence prediction threshold as in S501 of FIG. However, if an access delay occurs in an area exceeding the threshold shown in the scatter diagram of FIG. 7 below the alternative sector occurrence prediction threshold, a failure that actually leads to a failure with only the access delay time. It is difficult to determine if is occurring in that sector.
そこで、コマンド発行番号iのアクセス時間が閾値を超えたことに加え、コマンド発行番号iの近傍セクタにおいて同様の挙動が見られるかを判定し、寿命に達する障害の進行を予測する。これは、個々のセクタのアクセス遅延はそれほどたいしたものではないが、コマンド発行番号iの近傍エリアで、多くのアクセス遅延が発生することは、このエリアのアクセスが完了する挙動が正常ではなく、少なくともアクセス時間を延長させる何らかの障害が進行していることを意味している。その近傍領域のアクセス遅延が発生しているセクタ(コマンド発行番号)の個数を用いて、精度良い判定ができるように、ステップS404では、近傍セグメントエリアとして同一セクタ数で区切った領域を使用する。ステップS404における、前に5個のセグメント、後に5個のセグメント、ワーニングカウンタが10個以上、といった所定数は一例であり、上述の値以外の所定数を用いてもよい。 Therefore, in addition to the fact that the access time of the command issue number i exceeds the threshold value, it is determined whether similar behavior can be seen in the sector adjacent to the command issue number i, and the progression of the failure reaching the life is predicted. This is because the access delay of each sector is not so great, but it is possible that a large number of access delays occur in the area near the command issue number i that the access completion of this area is not normal. It means that some kind of failure to extend the access time is in progress. In step S404, an area divided by the same number of sectors is used as the near segment area so that accurate determination can be performed using the number of sectors (command issue numbers) in which the access delay of the near area occurs. The predetermined number such as five segments before, five segments after, and ten or more warning counters in step S404 is an example, and a predetermined number other than the above-described values may be used.
ステップS406において、アクセス対象のセグメント内のN個のコマンド発行番号を見た場合に、ゼロでないワーニングカウンタが所定数(例えば2個)以上あれば、当該セグメントにおいて回復できないような障害が発生していると予想されるため、ステップS408においてエラーカウントを1加算し、エラー判定処理にエラーカウンタ値を渡す。この時点で、エラーが発生しているエリアの特定が可能となっていることから、問題エリアの使用を回避する等の処置によりHDD全体として延命へ導くことも可能である。 In step S406, when N command issue numbers in the segment to be accessed are viewed, if there is a predetermined number (for example, two) or more non-zero warning counters, a failure occurs that can not be recovered in the segment. In step S408, the error count is incremented by one, and the error counter value is passed to the error determination processing. At this point, since it is possible to identify the area in which the error has occurred, it is possible to extend the life of the HDD as a whole by taking measures such as avoiding the use of the problem area.
このようにワーニング判定処理では、ワーニングカウンタを加算することにより、エラーにカウントされない障害がHDD300に蓄積していることを判断することができる。また、一定のセグメントエリアでワーニングカウンタが所定数以上発生している場合は、ただちにエラーカウンタを加算することでエラー判定処理につなげることができる。
As described above, in the warning determination process, it is possible to determine that a fault not counted as an error is accumulated in the
図5は、ステップS355のエラー判定処理の詳細な手順を示すフローチャートである。エラー判定処理では、図4のワーニング判定処理においてアクセス時間が閾値を超えたコマンド発行番号領域のアクセスが実際はどの位のアクセス時間を要しているかを判断し、これまでのエラーカウントの累計から、どのような異常を持っているかを特定する。 FIG. 5 is a flowchart showing a detailed procedure of the error determination process of step S355. In the error determination process, it is determined how long the access time of the command issue number area in which the access time exceeds the threshold in the warning determination process of FIG. 4 actually requires the access time. Identify what anomalies you have.
エラー判定処理は図11(b)で示すコマンド発行番号ごとのエラーカウンタの値を加算することで行う。 The error determination process is performed by adding the value of the error counter for each command issue number shown in FIG.
ステップS501において、アクセス時間が代替セクタ発生予測閾値を超えたかどうかを判定する。コマンド実行時間が図9(a)で示す正常時のアクセス時間の合計を越え、事前にHDD300の種類ごとに決められた異常時処理の時間が加わることで大きく遅延している場合、リカバリ処理を含む代替セクタ処理に入っている可能性が高い。このような代替処理等に要するHDD300の異常発生時の処理時間はHDD300ごとに決まっている。このような代替セクタ処理に入っていると判定できるとき(S501のYES)、データが読み出しにくい状態が発生しているため、図4のワーニング判定処理でワーニングカウンタが登録されていたとしても、ステップS502でエラーカウンタを加算する。
In step S501, it is determined whether the access time exceeds the alternative sector occurrence prediction threshold. If the command execution time exceeds the total of the normal access times shown in FIG. 9A and the time for the abnormal processing determined in advance for each type of
このようにアクセス時間が代替セクタ発生予測閾値を超える場合、その発生個数が少なく単独で発生している場合、代替セクタへ移行したならば、以後の再アクセス時のアクセス時間は回復する。しかしながら、その発生箇所では明らかにアクセスに支障を来す問題が発生していることが明確なので、再アクセスでアクセス時間が回復したとして図4のステップS407においてワーニングカウンタがリセットされた場合でも、エラーカウンタとして累計することでカウンタを初期化しないようにする。 As described above, when the access time exceeds the alternative sector occurrence prediction threshold, if the number of occurrences is small and occurs alone, the access time at the time of subsequent re-access is recovered if the sector is shifted to the alternative sector. However, it is clear that there is a problem that obviously causes a problem in access at the location where the error occurred, so even if the warning counter is reset in step S407 in FIG. Do not initialize the counter by accumulating it as a counter.
次に、ステップS503において、アクセス対象のセグメントの前に10個のセグメント、後に10個のセグメントを取った第2近傍セグメントエリアにおいてゼロでないエラーカウンタが5個以上確認された場合(S503のYES)、第2近傍セグメントエリアにおいてアクセス遅延が拡大するものと判定し、ステップS505に進み、HDD停止の警告を発する。これは、第2近傍セグメントエリアにおいて障害が集中して発生していることを示す。LBAが連続する近傍セグメントにおいて連続してエラーが発生すれば、ヘッドの擦れによる同一円周上のディスク盤面の傷やヘッド不良などが原因でこの領域に物理的に書き込み不良の問題が発生している可能性が高いからである。 Next, in step S503, five or more non-zero error counters are confirmed in the second neighboring segment area in which ten segments before the segment to be accessed and ten segments later are taken (YES in S503) Then, it is determined that the access delay is expanded in the second neighboring segment area, and the process proceeds to step S505, where a warning of HDD stop is issued. This indicates that failure is concentrated in the second neighboring segment area. If errors occur continuously in the adjacent segment where LBA continues, a problem of write failure physically occurs in this area due to a scratch on the disk surface on the same circumference due to the rubbing of the head or a head failure. Because there is a high possibility.
このような場合、物理的障害が現在評価しているコマンド発行番号領域にとどまらす、まだ評価していないコマンド発行番号領域にも広がっている可能性が高く、評価の進行過程で読み込みエラーにまで発展し、データを読み出せなくなる恐れがあるため、早急にHDD停止警告を発し、HDDの使用を停止させる必要がある。 In such a case, it is highly likely that the physical fault has stayed in the command issue number area currently being evaluated, and has also spread to the command issue number area not yet evaluated, and a read error occurs during the evaluation process. Since there is a risk that data can not be read out, it is necessary to immediately issue an HDD stop warning and stop the use of the HDD.
アクセス対象のセグメントの前に10個、後に10個という隣接する第2近傍セグメントエリアのセグメント数と、第2近傍セグメントエリア内でのエラーカウンタが5個以上という数は、一例であり、これ以外の値を用いてもよい。最大ディスク1周分の傷を早期に予想するために、連続するセクタが最も少ないディスク最内周で最小の傷が早期に発見できるように、HDD300ごとに、最適な値を設定することが望ましい。
The number of segments in the adjacent second adjacent segment area of 10 before and 10 after the segment to be accessed and the number of 5 or more error counters in the second adjacent segment area are an example, and other than this The value of may be used. It is desirable to set an optimal value for each
ステップS503において、第2近傍セグメントエリアにおけるゼロでないエラーカウンタが5個未満である場合(S503のNO)、ステップS504に進む。そして、ステップS504で全セグメントのエラーカウンタの数が所定値(例えば10個)を超えた場合(S504のYES)、ステップS505でHDDの停止警告を発する。 In step S503, when the number of non-zero error counters in the second neighboring segment area is less than 5 (NO in S503), the process proceeds to step S504. Then, if the number of error counters of all the segments exceeds a predetermined value (for example, 10) in step S504 (YES in S504), an HDD stop warning is issued in step S505.
以上述べたように、本実施の形態のHDD故障予測装置100による故障予測手順によれば、以下のように高い精度でHDD300の故障予測を行い、HDD300内のデータの損失を防ぐことができる。
As described above, according to the failure prediction procedure by the HDD
パーティクルがヘッドの下に付加されることによる異常書き込みや、偶発的にヘッドがセクタにデータを完全に書き込めなかった時の書き損じが発生した場合、一時的にアクセス時間が閾値を超えるが、再度、同じコマンド発行番号領域を上書きすることによりアクセス時間が回復し、以後正常なアクセス時間で動作する。このような場合には、ワーニングカウンタがリセットされ、HDD300が正常動作に復帰したことが判断できる。
If an abnormal write due to particles being added below the head or a write error occurs accidentally when the head can not completely write data to the sector, the access time temporarily exceeds the threshold, but again By overwriting the same command issue number area, the access time is recovered, and thereafter it operates with the normal access time. In such a case, the warning counter is reset, and it can be determined that the
また、代替セクタの発生により機能回復した場合は、単発的であればHDD300の機能を正常化させた物としてそれ以降エラーカウントの累積は進行しないが、近傍セグメントにおいて連続して代替セクタが発生すれば傷やヘッド不良による書き込みミスが発生していると考えられる。これらは、問題発生セクタと前後するセグメントにおいてエラーカウンタの発生が進行することによって、あるいはアクセス時間が代替セクタ発生予想閾値を超えた場合に代替セクタの発生と考えてエラーカウントが加算されることによって、HDD300の故障が近いことを判断することができる。
When the function is recovered due to the occurrence of the alternative sector, if it is single-ended, the error count does not advance since the function of the
さらに、HDD300の寿命による故障については、ワーニングカウンタが登録されたアクセス時間が閾値を超える範囲が特定セグメントに前後して広がって発生しているかどうかを確認することで判断することができる。この場合、視覚的には図7の散布図が正常時と比較して広がりつつあることから判断することができる。
Further, the failure due to the life of the
特に、ワーニングカウンタが登録されたコマンド発行番号領域の再アクセスにおいてワーニングカウンタが所定数(例えば2個)以上発生すれば、書き損じによる回復が見込まれず、このコマンド発行番号領域におけるデータの書き込み異常が考えられ、早期故障への発展が考えられることから、ワーニングカウンタからエラーカウンタへの進行を早めることにより故障発生が近いことをより正確に判断することができる。 In particular, if a predetermined number (for example, two) or more warning counters are generated in re-accessing the command issue number area in which the warning counter is registered, recovery due to a write error is not expected, and data write abnormality in this command issue number area is considered. Since the progress to the early failure can be considered, it is possible to more accurately judge that the occurrence of the failure is close by advancing the progress from the warning counter to the error counter.
このようにワーニングカウンタを蓄積しエラーカウンタへ移行することにより、一般的なHDD300の障害判断に加えて、時間をかけて進行する障害をより正確に判断することができるようになる。
By accumulating the warning counter and shifting to the error counter in this manner, it is possible to more accurately determine the failure that progresses over time, in addition to the general failure determination of the
最終的にエラーカウンタは、累計されたワーニングカウンタの値から、故障予測とする閾値を超えたことを判断し、HDD300に対し停止警告を表示灯などにより知らせるために用いられる。これは、ブザー等による警報であってもよく、本システムの停止機能と連動させてもよい。また、外部のシステムと連携し、ワーニングカウンタやエラーカウンタの値に応じて、HDD等の記憶装置の購入に係る情報(広告情報など)を表示したり、クラウド等を用いたバックアップサービスの利用を促したり、記憶装置の購入やバックアップサービスの利用を促進するための優待サービス(クーポン券の提示など)を実施してもよい。このように、必要度の高いユーザにピンポイントで適切な情報を提供することにより、ユーザの利便性が向上するとともに、関連商品やサービスの売上増加が期待できる。
Finally, the error counter is used to determine that the threshold for failure prediction has been exceeded from the accumulated value of the warning counter, and to notify the
このように、HDD300の正常動作時のアクセス最大時間から閾値を導くことにより、HDD300の正常時のアクセス時間の範囲がわかることから、アクセス時間が閾値を超えたコマンド発行番号領域において異常動作を正確に捉えることができ、HDD300の故障予測を高い精度で行うことができる。
As described above, by deriving the threshold from the maximum access time during normal operation of the
以上、本発明を実施の形態をもとに説明した。実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described above based on the embodiments. It is understood by those skilled in the art that the embodiment is an exemplification, and that various modifications can be made to the combination of each component and each processing process, and such a modification is also within the scope of the present invention. .
上記の説明ではリセットされることのあるワーニングカウンタと、リセットされることのないエラーカウンタを用いて故障予測を行ったが、ワーニングカウンタだけを用いてワーニングカウンタが所定数以上になるかどうかによって故障を判定してもよい。 In the above description, failure prediction is performed using the warning counter that may be reset and the error counter that is not reset, but the failure may depend on whether the warning counter exceeds a predetermined number using only the warning counter. May be determined.
上記の説明では、ディスクの一例としてハードディスクを取り上げて故障予測技術を説明したが、本実施の形態の故障予測技術は、任意の磁気ディスク、あるいは、光ディスクにも適用することができる。 In the above description, the failure prediction technology has been described taking the hard disk as an example of the disk, but the failure prediction technology of the present embodiment can be applied to any magnetic disk or optical disk.
10 HDDコントローラ、 20 一時記憶部、 30 制御部、 40 異常値DB記録部、 100 HDD故障予測装置、 200 ホスト、 300 HDD。 10 HDD controller, 20 temporary storage unit, 30 control unit, 40 abnormal value DB recording unit, 100 HDD failure prediction device, 200 host, 300 HDD.
Claims (7)
前記アクセスパターンにしたがって前記アクセス対象箇所をアクセスしたときのアクセス時間の実測値が前記上限閾値を超えた場合に当該アクセス対象箇所に係る状態情報を前記異常値記録部に登録し、前記状態情報に基づいて、異常検出する制御部と、を含み、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測装置。 An abnormal value recording unit that stores an upper limit threshold of an access time when an access target is accessed according to a predetermined access pattern for a disk drive;
When the measured value of the access time when the access target location is accessed according to the access pattern exceeds the upper threshold, status information related to the access target location is registered in the abnormal value recording unit, and the status information is stored in the status information. based on, viewed contains a control unit for abnormality detection,
The failure prediction apparatus, wherein the predetermined access pattern is a pattern for accessing an access target location after returning the head of the disk drive to an initial position .
前記ディスクドライブに対する所定のアクセスパターンによってアクセス対象箇所をアクセスしたときのアクセス時間の上限閾値を決定して異常値記録部に記録するステップと、
前記アクセスパターンにしたがって前記アクセス対象箇所をアクセスしたときのアクセス時間の実測値が前記上限閾値を超えた場合に当該アクセス対象箇所に係る状態情報を前記異常値記録部に登録し、前記状態情報に基づいて、異常検出するステップと、を含み、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測方法。 Disk drive using device
And recording the abnormal value recording unit determines the upper limit threshold of the access time when accessing an access target portion by a predetermined access pattern for said disk drive,
When the measured value of the access time when the access target location is accessed according to the access pattern exceeds the upper threshold, status information related to the access target location is registered in the abnormal value recording unit, and the status information is stored in the status information. based on, look at including the, the method comprising the steps of abnormality detection,
The failure prediction method, wherein the predetermined access pattern is a pattern for accessing an access target location after returning the head of the disk drive to an initial position .
前記アクセスパターンにしたがって前記アクセス対象箇所をアクセスしたときのアクセス時間の実測値が前記上限閾値を超えた場合に当該アクセス対象箇所に係る状態情報を前記異常値記録部に登録し、前記状態情報に基づいて、異常検出するステップと、をコンピュータに実行させる故障予測プログラムであって、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測プログラム。 Determining an upper limit threshold of access time when an access target location is accessed according to a predetermined access pattern for a disk drive and recording the upper limit threshold in an abnormal value recording unit;
When the measured value of the access time when the access target location is accessed according to the access pattern exceeds the upper threshold, status information related to the access target location is registered in the abnormal value recording unit, and the status information is stored in the status information. based on, a failure prediction program to be executed the steps of anomaly detection, to the computer,
The failure prediction program, wherein the predetermined access pattern is a pattern for accessing an access target location after returning the head of the disk drive to an initial position .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015157266A JP6524848B2 (en) | 2015-08-07 | 2015-08-07 | Failure prediction device, failure prediction method and failure prediction program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015157266A JP6524848B2 (en) | 2015-08-07 | 2015-08-07 | Failure prediction device, failure prediction method and failure prediction program |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019088159A Division JP6610825B2 (en) | 2019-05-08 | 2019-05-08 | Failure prediction apparatus, failure prediction method, and failure prediction program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017037405A JP2017037405A (en) | 2017-02-16 |
| JP6524848B2 true JP6524848B2 (en) | 2019-06-05 |
Family
ID=58047811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015157266A Active JP6524848B2 (en) | 2015-08-07 | 2015-08-07 | Failure prediction device, failure prediction method and failure prediction program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6524848B2 (en) |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11353819A (en) * | 1998-06-08 | 1999-12-24 | Nec Software Hokkaido Ltd | Disk device and its prevention maintenance method |
| JP2001014113A (en) * | 1999-06-29 | 2001-01-19 | Nec Corp | Disk device fault detection system |
| JP2004118397A (en) * | 2002-09-25 | 2004-04-15 | Nec Soft Ltd | Failure occurrence prediction system for magnetic disk device |
| JP2006172636A (en) * | 2004-12-17 | 2006-06-29 | Fuji Xerox Co Ltd | Fault diagnostic apparatus, fault diagnostic program, and fault diagnostic method |
| JP2008084392A (en) * | 2006-09-26 | 2008-04-10 | Nec Corp | Magnetic disk device, failure prediction device, and method for predicting failure of magnetic disk device |
| JP4968078B2 (en) * | 2008-01-16 | 2012-07-04 | ソニー株式会社 | Failure diagnosis apparatus and failure diagnosis method |
| JP5451291B2 (en) * | 2009-09-28 | 2014-03-26 | キヤノン株式会社 | Image forming apparatus, image forming apparatus control method and program |
-
2015
- 2015-08-07 JP JP2015157266A patent/JP6524848B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017037405A (en) | 2017-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111542878B (en) | Method of detecting defective areas on a tape medium | |
| US8755136B1 (en) | Systems and methods for storage device read/write head malfunction detection | |
| US20090161243A1 (en) | Monitoring Disk Drives To Predict Failure | |
| JP5488709B2 (en) | Reference time setting method in storage control device | |
| JP2017037626A (en) | Failure prediction apparatus, failure prediction method, and failure prediction program | |
| JP6610825B2 (en) | Failure prediction apparatus, failure prediction method, and failure prediction program | |
| JP6524848B2 (en) | Failure prediction device, failure prediction method and failure prediction program | |
| CN115762619A (en) | Hard disk failure prediction method, computing device and storage medium | |
| US8711417B2 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium | |
| JP5849491B2 (en) | Disk control device, disk device abnormality detection method, and program | |
| JP2880701B2 (en) | Disk subsystem | |
| JP4627327B2 (en) | Abnormality judgment device | |
| JP7358031B2 (en) | Lifespan prediction device, lifespan prediction method, and lifespan prediction program for nonvolatile semiconductor storage devices | |
| JP5692577B2 (en) | Magnetic disk apparatus and self-diagnosis method | |
| JP2001014113A (en) | Disk device fault detection system | |
| JP2012038362A (en) | Hard disk failure sign detection method | |
| JP2016146071A (en) | Hard disk drive device diagnosis device and copying device with hard disk drive device diagnosis function | |
| JP2017168157A (en) | Recording medium management apparatus, recording medium management method, and recording medium management program | |
| JP5273185B2 (en) | Recording medium control system, recording medium control method, and recording medium control program | |
| US9105274B2 (en) | Optical disc inspection method in optical disc library apparatus and optical disc library apparatus | |
| JP2011014215A (en) | Method of detecting deterioration of composite magnetic head, and magnetic disk inspection apparatus | |
| JP4605374B2 (en) | Storage device testing method and apparatus | |
| US7212479B2 (en) | Apparatus and method of detecting defects on optical recording media | |
| JP2007335013A (en) | Control device and storage device | |
| JP2016207237A (en) | Hard disk management device, hard disk device, hard disk management method and hard disk management program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180330 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181227 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190129 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190326 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190409 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190422 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6524848 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |