JP6610825B2 - Failure prediction apparatus, failure prediction method, and failure prediction program - Google Patents
Failure prediction apparatus, failure prediction method, and failure prediction program Download PDFInfo
- Publication number
- JP6610825B2 JP6610825B2 JP2019088159A JP2019088159A JP6610825B2 JP 6610825 B2 JP6610825 B2 JP 6610825B2 JP 2019088159 A JP2019088159 A JP 2019088159A JP 2019088159 A JP2019088159 A JP 2019088159A JP 6610825 B2 JP6610825 B2 JP 6610825B2
- Authority
- JP
- Japan
- Prior art keywords
- access
- time
- hdd
- failure prediction
- threshold
- 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 failure prediction technique for a disk drive.
ハードディスクは円盤表面に微細な欠陥により不良セクタが発生して読み書きができなくなったり、リトライ動作を繰り返すことにより、データ転送速度が著しく低下することがある。また不良箇所が拡大してハードディスク自体が起動しなくなる障害が発生することもある。 A hard disk may have a bad sector due to minute defects on the surface of the disk, making it impossible to read and write, and repeating the retry operation may significantly reduce the data transfer speed. In addition, a failure may occur and the hard disk itself may fail 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 such a situation, and an object of the present invention is to provide a failure prediction technique capable of predicting the failure occurrence of a disk drive using device and preventing loss of data in the disk. is there.
上記課題を解決するために、本発明のある態様の故障予測装置は、ディスクドライブに対する所定のアクセスパターンを用いてアクセス対象箇所のアクセス時間を測定し、アクセス対象箇所のアクセス時間に関する閾値を算出する閾値算出部と、前記閾値算出部で算出された閾値に基づいて、異常検出する制御部と、を備え、前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンとしている。 In order to solve the above problem, a failure prediction apparatus according to an aspect of the present invention measures an access time of an access target location using a predetermined access pattern for a disk drive, and calculates a threshold related to the access time of the access target location. A threshold calculating unit; and a control unit that detects an abnormality based on the threshold calculated by the threshold calculating unit, wherein the predetermined access pattern is an access target after the head of the disk drive is returned to the initial position. The pattern is to access the location.
本発明の別の態様は、故障予測方法である。この方法は、ディスクドライブ使用機器が、前記ディスクドライブに対する所定のアクセスパターンを用いてアクセス対象箇所のアクセス時間を測定し、アクセス対象箇所のアクセス時間に関する閾値を算出するステップと、前記算出された閾値に基づいて、異常検出するステップと、を実行する故障予測方法であり、前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンとしている。 Another aspect of the present invention is a failure prediction method. In this method, a disk drive using device measures an access time of an access target location using a predetermined access pattern for the disk drive, calculates a threshold value related to the access time of the access target location, and the calculated threshold value And a step of detecting an abnormality based on the method, wherein the predetermined access pattern is a pattern for accessing the access target location after returning the head of the disk drive to the initial position.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.
本発明によれば、ディスクドライブ使用機器について、その障害発生を予測し、ディスク内のデータの損失を防ぐことができる。 According to the present invention, it is possible to predict the failure of a device using a disk drive and prevent loss of data in the disk.
HDDは動作不具合を起こした場合、書き込まれたデータの保証がない。HDDの動作不具合は一旦起きてしまうと、基本的に内部データを読み出すことができないため、大きな損失が発生する。すなわち、故障であることを気がついた段階では、HDD内のどこかのデータを失うことを避けることができない。そこで、本発明の実施の形態に係るHDD故障予測装置100では、運用上のデータの読み出しが正常にできる限界としてのHDDの寿命を予測し、HDDの故障により、データを失うことを回避することを目的とする。
When an HDD malfunctions, there is no guarantee of written data. Once a malfunction of the HDD occurs, internal data cannot be read basically, resulting in a large loss. That is, at the stage where it is noticed that there is a failure, it is impossible to avoid losing some data in the HDD. Therefore, the HDD
転送時間の比較によるHDDの寿命予測について、特許文献1にはアクセス時間を評価する方法が記載されている。しかしながら、HDDの障害について、特に経年劣化に伴う内部パーツの摩耗から来る障害は、現在障害が発生している位置にとどまらず、時間とともに拡大する傾向があるので、その予兆を高い精度でとらえないと、時間の経過とともにHDDの内部データを失う可能性が高くなる。
With regard to HDD life prediction based on comparison of transfer times,
特に、障害へと進行しつつあるエリアを再アクセスすることは重大な障害へ進展する可能性が高いので、障害の進行を予測できることは、その後のHDDの内部データの救済策を講じる手法を決める上で非常に重要な目安となってくる。 In particular, re-accessing an area that is progressing to a failure is likely to progress to a serious failure, so the ability to predict the progression of the failure will determine how to take subsequent HDD internal data remedies. This is a very important guideline.
そこで、本実施の形態のHDD故障予測装置100では、特定のアクセスパターンによるアクセス時間の散布図にもとづいて、アクセス時間によって故障を予測する際に使用する閾値を決定することにより、故障予測の精度を上げる方法を採用する。
Therefore, in the 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 configuration diagram of an HDD
HDDコントローラ10は、ハードディスクドライブのATA規格に基づき、HDD300に対する読み書きのコマンドをホスト200から受け取り、HDD300にデータを書き込んだり、HDD300からデータを読み出す。一時記憶部20は、その転送データをFIFO構造にて一時的に記憶する。
The
制御部30は、HDDコントローラ10の書き込み時のコマンド実行時間(アクセス時間)を測定しHDD300の寿命を判断する。
The
異常値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 outline of the access time of the
正常時のアクセス時間は、図9(a)に示すように、シーク時間、回転待ち時間、集束時間などのヘッド動作に依存する時間と、データ転送時間との合計で表わすことができる。 As shown in FIG. 9A, the normal access time can be represented by the sum of the data transfer time and the time depending on the head operation such as seek time, rotation waiting time, and focusing time.
異常発生時のアクセス時間は、図9(b)に示すように、正常時のアクセス時間に加えて、代替セクタ発生時にはリトライ時間、代替セクタ処理時間等が加わるため、正常アクセス時の数十倍の処理時間を要する。 As shown in FIG. 9B, the access time at the time of occurrence of an abnormality is several tens of times that at the time of normal access because, in addition to the access time at the normal time, a retry time, an alternative sector processing time, etc. are added when an alternative sector occurs. Processing time is required.
HDD300は、一定速度でディスクが回転しているため、ヘッドが目標セクタにアクセスを行う際、アクセスタイミングによっては最大でディスク1周分の回転待ち時間が発生する。また、前回のアクセスが終了した時のヘッド位置によってこれからアクセスする位置までのシーク時間が変動するため、総合的なアクセス時間も変動する。その結果、アクセスに至るまでの集束時間も異なるため、工場出荷時と同じアクセス時間で対象セクタにアクセスできることはなく、アクセスごとにばらつく。
Since the disk rotates in the
特許文献1の故障判定手法では、工場出荷時のデータおよび寿命評価時のデータの両方にばらつきがあるため、高い精度でHDDの故障を予測できないという問題があった。そこで、本実施の形態では、図6に示すアクセスパターンを用いることにより、アクセス時間のばらつきに対処している。
The failure determination method of
図2は、HDD故障予測装置100による故障予測手順を示すフローチャートである。
FIG. 2 is a flowchart showing a failure prediction procedure performed 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, specific capacity data is written corresponding to one command issue number. In this embodiment, the specific capacity is set to 256 sectors. 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で示すところのコマンド発行番号の増加に伴い、アクセス対象のセクタがヘッドのリセット位置から遠くなることによる主にシーク時間の増大が要因である。
If the
なお、コマンド実行時間(アクセス時間)の測定は、HDD故障予測装置100で行ってもいいし、同じアクセスパターンを発生する外部機器で行ってもよい。
Note that the command execution time (access time) may be measured by the HDD
次にステップS202では、ステップS201で測定された散布図における帯の上端に相当する値を検出する。そして、この値をコマンド発行番号毎の閾値(故障予測閾値)として用いる。この値は、シーク時間、回転待ち時間、集束時間などのヘッド動作に依存する待ち時間が極大となる場合のアクセス時間であり、HDD300が正常時である時は、アクセス時間がこの値以下に収まるという特徴がある。従って、この値を故障予測の閾値として用いることにより、アクセス時間がこの閾値を超えたら、HDD300のアクセスが正常でないことが把握できる。この閾値の具体的な検出方法については後述する。
In step S202, a value corresponding to the upper end of the band in the scatter diagram measured in step S201 is detected. This value is used as a threshold value (failure prediction threshold value) for each command issue number. This value is the access time when the waiting time depending on the head operation such as seek time, rotation waiting time, and focusing time is maximized. When the
次にステップS203では、ステップS202で算出した閾値を異常値DB記録部40に登録する。具体的には、図10(a)に示すように、コマンド発行番号と閾値とを対応させて記録する。
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の停止警告を発し、処理を終了する。
In step S204, a failure prediction operation is performed when the
ステップS201〜S203の処理において、制御部30は閾値算出部として動作する。閾値算出部は制御部30とは別の回路としてもよい。
In the processing of steps S201 to S203, the
なお、HDDの型番とファームウェアが同じであれば、図7の散布図の帯から得られる閾値は同じであるから、新たに閾値を作成する必要はないため、ステップS201〜ステップS203を省略し、他のHDDで測定した閾値を用いて、ステップS204の故障予測を開始することができる。他のHDDで測定した閾値を用いる場合、HDD故障予測装置100に閾値算出部を備える必要はない。
If the HDD model number and firmware are the same, the threshold value obtained from the band of the scatter diagram in FIG. 7 is the same, so there is no need to create a new threshold value, so steps S201 to S203 are omitted. The failure prediction in step S204 can be started using the threshold value measured by another HDD. When using a threshold value measured with another HDD, the HDD
ここで、ステップS202の閾値を検出する方法を詳細に説明する。ステップS202の第1の方法を説明する。 Here, the method for detecting the threshold value in step S202 will be described in detail. The first method in 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, the command issue numbers are grouped for every predetermined number N of command issue numbers. Hereinafter, this group is referred to as “command issue segment” or simply “segment”. The predetermined number N is referred to as “segment length”. Here, the predetermined number N (segment length) is set so that one segment includes approximately one or more points at which the waiting time depending on the head operation such as seek time, rotation waiting time, and focusing time is maximized. To do. Typically, N = 30-50 is good. For example, when N = 30, command issue number = 1-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 the access time is detected for each segment. The maximum value is set as a threshold value in the segment. For example, when N = 30 and the command issue number = 12, the access time is maximum and the maximum value is 30 msec in the
この第1の方法で算出した閾値は、1つのセグメントに対応するコマンド発行番号においては、全て同じ値となる。従って、ステップS203において、コマンド発行番号ごとに閾値を記録せずに、図10(b)に示すように、セグメント番号と閾値を対応させて記録してもよい。 The threshold values calculated by the first method are all the same for the command issue numbers corresponding to one segment. Therefore, in step S203, the segment number may be recorded in correspondence with the threshold as shown in FIG. 10B without recording the threshold for each command issue number.
ステップ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 subsequent processing steps, and in step S202, no segment is 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 the command issue number. That is, the threshold value θ [i] corresponding to the command issue number i is calculated according to 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 from 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 so that one or more maximum values of access time are included in (2w + 1) command issue numbers. Typically, w = 15-25 may be used. (2w + 1) may be the same as or different from the segment length N. Assuming that the maximum command issue number used for the measurement in step S201 is P, threshold values θ [w + 1] to θ [Pw] corresponding to i = (w + 1) to (P−w) are respectively calculated according to mathematical formulas. . For i = 1 to w, θ [w + 1] may be used, and for i = (P−w + 1) to P, θ [Pw] may be used.
また、数式(1)に従って算出した値に、更に移動平均処理を行って、閾値を算出してもよい。例えば、数式(1)の左辺を一時変数μ[i]に代入し、数式(2)に従って、μ[i]の移動平均を算出して閾値θ[i]とする。ここで、ε[j]は数式(3)を満たす重み係数である。またLは正の整数であり、典型的には5〜10に設定するとよい。数式(2)に従って閾値を算出することにより、閾値の変化が滑らかになり、精度よく故障予測できる場合がある。 In addition, the threshold may be calculated by further performing a moving average process on the value calculated according to Equation (1). For example, the left side of Expression (1) is substituted into the temporary variable μ [i], and the moving average of μ [i] is calculated according to Expression (2) as the threshold θ [i]. Here, ε [j] is a weighting coefficient that satisfies Equation (3). L is a positive integer and is typically set to 5-10. By calculating the threshold value according to the mathematical formula (2), the change in the threshold value becomes smooth and failure prediction may be possible with high accuracy.
図3は、ステップS204で示した故障予想処理の詳細な手順を示すフローチャートである。 FIG. 3 is a flowchart showing a 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, the occurrence of a replacement sector due to damage to a specific sector causes a large access delay only when the replacement sector occurs. However, even if the same sector is accessed thereafter, the
図3のステップS301では、一時記憶部20からHDD300に転送する先頭のデータが、どのコマンド発行番号に該当するか特定する。例えば、一時記憶部20において、ホスト200からHDD300に通常書き込むのと同じLBAを用いて、転送すべきデータを管理し、転送時に先頭LBAを特定容量で割った値を算出してコマンド発行番号とすればよい。この特定したコマンド発行番号(データ転送に用いる先頭のコマンド発行番号)をiとする。
In step S301 in FIG. 3, it is identified which command issue number corresponds to the top data transferred from the
ステップS305では、一時記憶部20からHDD300に転送するデータ容量(書き込み容量)が、何個分のコマンド発行番号(特定容量)に相当するかを算出する。具体的には、データ容量を特定容量で除算し、その商と余りを算出する。そして、その商を書き込み回数Mとする。
In step S305, it is calculated how many command issue numbers (specific capacities) 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 or not 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, when it is not divisible (when there is a remainder) (NO in S310), the process proceeds to step S315. In step S315, it is confirmed whether or not there is other data in the M + 1-th write area corresponding to the fractional data. If other data exists (YES in S315), the existing data is temporarily stored in step S320. After reading into the
As a result, the number of times of writing increases by one per fraction, so M is incremented by 1 in step S325, and the process proceeds to step S330.
ステップ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 executed. 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 for detecting a fatal failure is executed. In this error determination process, a fatal abnormal sector that is not expected to be recovered is monitored to detect the arrival of the end of life, and when the end of the life is detected, the
ステップS360では、ステップS350およびステップS355の処理で更新したHDD300のワーニングカウンタ値およびエラーカウンタ値を表示する。ユーザ(操作者)は、これらのカウンタ値によってHDD300の状態を監視することができ、必要なときには操作者がこの数値から判断して、独自にHDD300を停止させることもできる。
In step S360, the warning counter value and error counter value of the
ステップ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 has exceeded the operation stop parameter value (YES in S365), the failure prediction process ends. Note that immediately after YES in step S365, a warning message that further alerts the user may be displayed, or a message notifying that the failure prediction process is to be terminated may be displayed.
HDD300へのデータ書き込み中はステップS350およびステップS355の処理をコマンド発行番号に対して行い、使用しているHDD300の故障予測を行う。このため、ステップS370で書き込み回数Mを1減算し、コマンド発行領域iはアクセスが次の領域に移るため、1加算する。
While data is being written to the
最後にステップS375において、書き込み回数Mが0より大きい場合(S375のYES)、所定回数の書き込みに達するまでステップS330〜ステップS370までの一連の処理を繰り返す。書き込み回数Mが0になった場合(S375のNO)、故障予測処理を終了する。 Finally, in step S375, if the number of times of writing M is greater than 0 (YES in S375), a series of processes from step S330 to step S370 are repeated until the predetermined number of times of writing is reached. When the number M of times of writing becomes 0 (NO in S375), the failure prediction process is terminated.
図4は、ステップS350のワーニング判定処理の詳細な手順を示すフローチャートである。ワーニング判定処理では、異常が発生しているエリアを特定し、異常発生エリアがどのように分布しているか(広がっているか)を判定する。 FIG. 4 is a flowchart showing a detailed procedure of the warning determination process in step S350. In the warning determination process, an area where an abnormality has occurred is identified, and it is determined how the abnormality occurrence area is distributed (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 or not 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 with respect to the access time of the
コマンド実行時間が閾値を超えた場合(S401のYES)、ステップS402において、ワーニングカウンタを1つ増やすとともに、コマンド発行番号とそのときのコマンド実行時間(アクセス時間)を異常値DB記録部40に登録する。
When the command execution time exceeds the threshold (YES in S401), in step S402, the warning counter is incremented by 1 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. In step S403, when past warnings corresponding to the command issue number are counted (YES in S403), it is considered that there is a temporary factor at the time of access, and in step S407, the warning count in the command issue number area is set to 0. The warning determination process is terminated.
次に、ステップ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 are taken before the segment to be accessed and five segments are taken after the segment, Check if the scatter plot band is spreading beyond the threshold. Specifically, it is determined whether 10 or more non-zero warning counters have occurred 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 stopping the
ディスク上に物理的に発生したヘッドの接触等による傷では、アクセス遅延にセクタの連続性が見られ、発生の要因を比較的簡単に見分けられるが、寿命予測においては、一度アクセス遅延が発生し、以後アクセス時間の回復することがない幾つかのセクタを中心に、その近傍セクタおいてアクセス遅延が発生する特徴があるので、セクタごとのアクセス遅延の分布を記録し、それがどのように図7の散布図の帯において閾値を超え、アクセス遅延が発生しているセクタが増えているかを判断する必要がある。この判断については、図7の散布図のアクセス遅延が起きていることだけに注目した場合、図5のS501のように、代替セクタ発生予測閾値を越えたセクタについては、明らかに何らかの問題が発生していることがわかるが、代替セクタ発生予測閾値以下で、図7の散布図で示す閾値を越えたエリアにアクセス遅延が発生した場合、アクセス遅延の時間だけを持って、本当に故障に至る障害がそのセクタで発生しているかを判断することが難しい。 Scratches caused by contact with the head that physically occur on the disk show sector continuity in the access delay, and the cause of the occurrence can be identified relatively easily. However, in the life prediction, the access delay occurs once. Since there is a characteristic that an access delay occurs in the neighboring sectors centering on some sectors where the access time does not recover thereafter, the distribution of the access delay for each sector is recorded, and how this is illustrated. It is necessary to determine whether or not the number of sectors in which the threshold is exceeded and access delay occurs in the scatter diagram band of 7 is increased. Regarding this determination, when attention is paid only to the access delay in the scatter diagram of FIG. 7, a certain problem clearly occurs in the sector that exceeds the alternative sector generation prediction threshold as in S501 of FIG. However, if an access delay occurs in an area that is less than or equal to the alternative sector occurrence prediction threshold and exceeds the threshold shown in the scatter diagram of FIG. It is difficult to determine whether or not an error has occurred 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, it is determined whether the same behavior is seen in the sector near the command issue number i, and the progress of the failure reaching the lifetime is predicted. This is because the access delay of each sector is not so great, but many access delays occur in the area near the command issue number i. It means that some kind of obstacle that extends the access time is in progress. In step S404, an area delimited by the same number of sectors is used as a neighboring segment area so that accurate determination can be made using the number of sectors (command issue numbers) in which the access delay occurs in the neighboring area. In Step S404, the predetermined number such as five segments before, five segments after, and 10 or more warning counters 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, 2) of non-zero warning counters, a failure that cannot be recovered in the segment has occurred. In step S408, the error count is incremented by 1, and the error counter value is passed to the error determination process. At this time, since the area where the error has occurred can be specified, it is possible to extend the life of the entire HDD 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 failure that is 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 in step S355. In the error determination process, it is determined how much access time is actually required for access to the command issue number area whose access time exceeds the threshold in the warning determination process of FIG. 4, and from the accumulated error count so far, Identify what abnormalities you have.
エラー判定処理は図11(b)で示すコマンド発行番号ごとのエラーカウンタの値を加算することで行う。 The error determination process is performed by adding the error counter value 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 normal access time shown in FIG. 9A and is significantly delayed due to the abnormal processing time determined for each type of
このようにアクセス時間が代替セクタ発生予測閾値を超える場合、その発生個数が少なく単独で発生している場合、代替セクタへ移行したならば、以後の再アクセス時のアクセス時間は回復する。しかしながら、その発生箇所では明らかにアクセスに支障を来す問題が発生していることが明確なので、再アクセスでアクセス時間が回復したとして図4のステップS407においてワーニングカウンタがリセットされた場合でも、エラーカウンタとして累計することでカウンタを初期化しないようにする。 As described above, when the access time exceeds the alternative sector occurrence prediction threshold, when the number of occurrences is small and the single sector is generated, the access time at the subsequent re-access is restored if the access is shifted to the alternative sector. However, since it is clear that there is a problem that obstructs access clearly at the location where the error occurred, even if the warning counter is reset in step S407 in FIG. The counter is not initialized by accumulating as a counter.
次に、ステップS503において、アクセス対象のセグメントの前に10個のセグメント、後に10個のセグメントを取った第2近傍セグメントエリアにおいてゼロでないエラーカウンタが5個以上確認された場合(S503のYES)、第2近傍セグメントエリアにおいてアクセス遅延が拡大するものと判定し、ステップS505に進み、HDD停止の警告を発する。これは、第2近傍セグメントエリアにおいて障害が集中して発生していることを示す。LBAが連続する近傍セグメントにおいて連続してエラーが発生すれば、ヘッドの擦れによる同一円周上のディスク盤面の傷やヘッド不良などが原因でこの領域に物理的に書き込み不良の問題が発生している可能性が高いからである。 Next, in step S503, when five or more non-zero error counters are confirmed in the second neighboring segment area in which 10 segments are taken before the access target segment and 10 segments are taken later (YES in S503). Then, it is determined that the access delay is extended in the second neighboring segment area, and the process proceeds to step S505 to issue an HDD stop warning. This indicates that failures are concentrated in the second neighboring segment area. If errors occur continuously in adjacent segments where LBA continues, a problem of physical write failure occurs in this area due to scratches on the disk surface on the same circumference due to rubbing of the head or defective heads. This is because there is a high possibility.
BR>アのような場合、物理的障害が現在評価しているコマンド発行番号領域にとどまらす、まだ評価していないコマンド発行番号領域にも広がっている可能性が高く、評価の進行過程で読み込みエラーにまで発展し、データを読み出せなくなる恐れがあるため、早急にHDD停止警告を発し、HDDの使用を停止させる必要がある。 In the case of BR> A, it is highly possible that the physical failure stays in the command issue number area that is currently being evaluated, and has spread to the command issue number area that has not yet been evaluated. Since it may develop into an error and data cannot be read out, it is necessary to promptly issue an HDD stop warning and stop using the HDD.
アクセス対象のセグメントの前に10個、後に10個という隣接する第2近傍セグメントエリアのセグメント数と、第2近傍セグメントエリア内でのエラーカウンタが5個以上という数は、一例であり、これ以外の値を用いてもよい。最大ディスク1周分の傷を早期に予想するために、連続するセクタが最も少ないディスク最内周で最小の傷が早期に発見できるように、HDD300ごとに、最適な値を設定することが望ましい。
The number of adjacent second neighboring segment areas that are 10 before the access target segment and 10 after that, and the number of error counters within the second neighboring segment area are 5 or more are examples, and other than this. The value of may be used. It is desirable to set an optimum 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. If the number of error counters for all 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 performed by the HDD
パーティクルがヘッドの下に付加されることによる異常書き込みや、偶発的にヘッドがセクタにデータを完全に書き込めなかった時の書き損じが発生した場合、一時的にアクセス時間が閾値を超えるが、再度、同じコマンド発行番号領域を上書きすることによりアクセス時間が回復し、以後正常なアクセス時間で動作する。このような場合には、ワーニングカウンタがリセットされ、HDD300が正常動作に復帰したことが判断できる。
If abnormal writing due to particles being added under the head or accidental writing failure when the head could 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 the operation is performed with a normal access time. In such a case, it can be determined that the warning counter is reset and the
また、代替セクタの発生により機能回復した場合は、単発的であればHDD300の機能を正常化させた物としてそれ以降エラーカウントの累積は進行しないが、近傍セグメントにおいて連続して代替セクタが発生すれば傷やヘッド不良による書き込みミスが発生していると考えられる。これらは、問題発生セクタと前後するセグメントにおいてエラーカウンタの発生が進行することによって、あるいはアクセス時間が代替セクタ発生予想閾値を超えた場合に代替セクタの発生と考えてエラーカウントが加算されることによって、HDD300の故障が近いことを判断することができる。
In addition, when the function is restored by the generation of a substitute sector, if it is a single shot, the accumulation of error counts will not proceed since the function of the
さらに、HDD300の寿命による故障については、ワーニングカウンタが登録されたアクセス時間が閾値を超える範囲が特定セグメントに前後して広がって発生しているかどうかを確認することで判断することができる。この場合、視覚的には図7の散布図が正常時と比較して広がりつつあることから判断することができる。
Further, a failure due to the life of the
特に、ワーニングカウンタが登録されたコマンド発行番号領域の再アクセスにおいてワーニングカウンタが所定数(例えば2個)以上発生すれば、書き損じによる回復が見込まれず、このコマンド発行番号領域におけるデータの書き込み異常が考えられ、早期故障への発展が考えられることから、ワーニングカウンタからエラーカウンタへの進行を早めることにより故障発生が近いことをより正確に判断することができる。 In particular, if a predetermined number (for example, two) or more of the warning counter occurs in the re-access of the command issue number area in which the warning counter is registered, recovery due to write failure is not expected, and there is a possibility of data writing abnormality in this command issue number area. Therefore, it is possible to more accurately determine that the occurrence of the failure is near by accelerating the progress from the warning counter to the error counter.
このようにワーニングカウンタを蓄積しエラーカウンタへ移行することにより、一般的なHDD300の障害判断に加えて、時間をかけて進行する障害をより正確に判断することができるようになる。
In this way, by accumulating the warning counter and shifting to the error counter, in addition to the general failure determination of the
最終的にエラーカウンタは、累計されたワーニングカウンタの値から、故障予測とする閾値を超えたことを判断し、HDD300に対し停止警告を表示灯などにより知らせるために用いられる。これは、ブザー等による警報であってもよく、本システムの停止機能と連動させてもよい。また、外部のシステムと連携し、ワーニングカウンタやエラーカウンタの値に応じて、HDD等の記憶装置の購入に係る情報(広告情報など)を表示したり、クラウド等を用いたバックアップサービスの利用を促したり、記憶装置の購入やバックアップサービスの利用を促進するための優待サービス(クーポン券の提示など)を実施してもよい。このように、必要度の高いユーザにピンポイントで適切な情報を提供することにより、ユーザの利便性が向上するとともに、関連商品やサービスの売上増加が期待できる。
Finally, the error counter is used to determine from the accumulated warning counter value that a threshold value for failure prediction has been exceeded and to notify the
このように、HDD300の正常動作時のアクセス最大時間から閾値を導くことにより、HDD300の正常時のアクセス時間の範囲がわかることから、アクセス時間が閾値を超えたコマンド発行番号領域において異常動作を正確に捉えることができ、HDD300の故障予測を高い精度で行うことができる。
Thus, by deriving a threshold value from the maximum access time during normal operation of the
以上、本発明を実施の形態をもとに説明した。実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described based on the embodiments. The embodiments are exemplifications, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are within the scope of the present invention. .
上記の説明ではリセットされることのあるワーニングカウンタと、リセットされることのないエラーカウンタを用いて故障予測を行ったが、ワーニングカウンタだけを用いてワーニングカウンタが所定数以上になるかどうかによって故障を判定してもよい。 In the above description, the failure prediction is performed using the warning counter that may be reset and the error counter that is not reset. However, the failure depends on whether the warning counter exceeds a predetermined number using only the warning counter. May be determined.
上記の説明では、ディスクの一例としてハードディスクを取り上げて故障予測技術を説明したが、本実施の形態の故障予測技術は、任意の磁気ディスク、あるいは、光ディスクにも適用することができる。 In the above description, the failure prediction technique has been described by taking a hard disk as an example of the disk. However, the failure prediction technique of the present embodiment can be applied to any magnetic disk or optical disk.
10 HDDコントローラ、 20 一時記憶部、 30 制御部、 40 異常値D
B記録部、 100 HDD故障予測装置、 200 ホスト、 300 HDD。
10 HDD controller, 20 temporary storage unit, 30 control unit, 40 abnormal value D
B recording unit, 100 HDD failure prediction device, 200 host, 300 HDD.
Claims (6)
前記閾値算出部で算出された閾値に基づいて、異常検出する制御部と、
を備え、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測装置。 A threshold calculation unit that measures an access time of an access target location using a predetermined access pattern to the disk drive, and calculates a threshold value related to the access time of the access target location;
A control unit that detects an abnormality based on the threshold value calculated by the threshold value calculation unit;
With
The failure prediction apparatus according to claim 1, 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.
前記ディスクドライブに対する所定のアクセスパターンを用いてアクセス対象箇所のアクセス時間を測定し、アクセス対象箇所のアクセス時間に関する閾値を算出するステップと、
前記算出された閾値に基づいて、異常検出するステップと、
を実行する故障予測方法であって、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測方法。 The device using the disk drive
Measuring an access time of an access target location using a predetermined access pattern for the disk drive, and calculating a threshold value related to the access time of the access target location;
Detecting an abnormality based on the calculated threshold;
A failure prediction method for executing
The failure prediction method according to claim 1, wherein the predetermined access pattern is a pattern for accessing an access target portion after returning the head of the disk drive to an initial position.
前記算出された閾値に基づいて、異常検出するステップと、
をコンピュータに実行させる故障予測プログラムであって、
前記所定のアクセスパターンは、前記ディスクドライブのヘッドを初期位置に戻した後、アクセス対象箇所にアクセスするパターンであることを特徴とする故障予測プログラム。 Measuring the access time of the access target location using a predetermined access pattern for the disk drive, and calculating a threshold value for the access time of the access target location;
Detecting an abnormality based on the calculated threshold;
A failure prediction program for causing a computer to execute
The failure prediction program according to claim 1, 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 |
|---|---|---|---|
| JP2019088159A JP6610825B2 (en) | 2019-05-08 | 2019-05-08 | Failure prediction apparatus, failure prediction method, and failure prediction program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019088159A JP6610825B2 (en) | 2019-05-08 | 2019-05-08 | Failure prediction apparatus, failure prediction method, and failure prediction program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015157266A Division JP6524848B2 (en) | 2015-08-07 | 2015-08-07 | Failure prediction device, failure prediction method and failure prediction program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019164817A JP2019164817A (en) | 2019-09-26 |
| JP6610825B2 true JP6610825B2 (en) | 2019-11-27 |
Family
ID=68064580
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019088159A Active JP6610825B2 (en) | 2019-05-08 | 2019-05-08 | Failure prediction apparatus, failure prediction method, and failure prediction program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6610825B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116259337B (en) * | 2023-05-15 | 2023-09-05 | 合肥联宝信息技术有限公司 | Disk abnormality detection method, model training method and related device |
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 |
-
2019
- 2019-05-08 JP JP2019088159A patent/JP6610825B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019164817A (en) | 2019-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111542878B (en) | Method of detecting defective areas on a tape medium | |
| US20090161243A1 (en) | Monitoring Disk Drives To Predict Failure | |
| JP5078235B2 (en) | Method for maintaining track data integrity in a magnetic disk storage device | |
| JP2005122338A (en) | Disk array device having spare disk drive and data sparing method | |
| US9766980B1 (en) | RAID failure prevention | |
| CN113179665B (en) | Using error correction-based metrics to identify poorly performing data storage devices | |
| JP2017037626A (en) | Failure prediction apparatus, failure prediction method, and failure prediction program | |
| JP5488709B2 (en) | Reference time setting method in storage control device | |
| US20150279395A1 (en) | Data write management | |
| JP6610825B2 (en) | Failure prediction apparatus, failure prediction method, and failure prediction program | |
| JP6867591B2 (en) | Storage controller, storage control method and storage control program | |
| JP4755510B2 (en) | Data recording apparatus and method for evaluating performance of host data transfer of data recording apparatus | |
| US20060069866A1 (en) | Disk array apparatus, disk array control method and computer program product therefor | |
| WO2019054434A1 (en) | Failure sign detection device, failure sign detection method, and recording medium in which failure sign detection program is stored | |
| JP2007035217A (en) | Data storage processing method for disk storage device and disk storage system | |
| JP6524848B2 (en) | Failure prediction device, failure prediction method and failure prediction program | |
| JP7413908B2 (en) | Storage controller and backup control program | |
| JP2880701B2 (en) | Disk subsystem | |
| JP5451291B2 (en) | Image forming apparatus, image forming apparatus control method and program | |
| JP2004118397A (en) | Failure occurrence prediction system for magnetic disk device | |
| JP4627327B2 (en) | Abnormality judgment device | |
| JP7358031B2 (en) | Lifespan prediction device, lifespan prediction method, and lifespan prediction program for nonvolatile semiconductor storage devices | |
| JP2012038362A (en) | Hard disk failure sign detection method | |
| JP2001014113A (en) | Disk device fault detection system | |
| JP2017168157A (en) | Recording medium management apparatus, recording medium management method, and recording medium management program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190508 |
|
| 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: 20191001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191014 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6610825 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |