JP6205909B2 - Information processing apparatus and program - Google Patents
Information processing apparatus and program Download PDFInfo
- Publication number
- JP6205909B2 JP6205909B2 JP2013139645A JP2013139645A JP6205909B2 JP 6205909 B2 JP6205909 B2 JP 6205909B2 JP 2013139645 A JP2013139645 A JP 2013139645A JP 2013139645 A JP2013139645 A JP 2013139645A JP 6205909 B2 JP6205909 B2 JP 6205909B2
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- storage
- determined
- defective
- processing
- 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
Description
本発明は、情報処理装置及びプログラムに関する。 The present invention relates to an information processing apparatus and a program.
特許文献1は、記憶装置制御部と記憶装置部としてのハードディスクから構成されるハードディスク装置において、前記記憶装置制御部に、予め設定された時間を経過して上位装置からのアクセスが行われない場合、前記憶装置制御部が自立的にハードディスクへ読み出し動作を行うことで、故障を検出する検出手段を有することを特徴とするハードディスク装置について開示している。
In
また、前記記憶装置制御部に、更に、前記ハードディスク装置内のメモリに、ハードディスク障害情報管理テーブルとして、故障時に報告される予めきめられたデータの中で、修復不可能な故障時に報告されるデータを予め格納しておき、前記検出手段で検出された故障が修復可能であるかを、前記ハードディスク障害情報管理テーブルと比較し、検出された故障がハードディスク上の修復可能な故障と判断すれば、ハードディスクに対して欠陥領域を修復させる処理要求を行う修復要求手段を有することについて開示している。 In addition, the hard disk failure information management table as a hard disk failure information management table is stored in the storage device control unit, and the data reported in the case of a failure that cannot be repaired among the previously determined data reported at the time of failure. Is stored in advance, whether the failure detected by the detection means can be repaired, compared with the hard disk failure information management table, and if the detected failure is determined to be a repairable failure on the hard disk, It discloses that it has a repair request means for making a processing request for repairing a defective area to a hard disk.
また、前記記憶装置制御部に、更に、検出された故障が修復不可能な故障と判断されれば、異常情報として、装置の外部へ通知する通知手段を有することについて開示している。 Further, it is disclosed that the storage device control unit further has a notification means for notifying the outside of the device as abnormality information when it is determined that the detected failure is an irreparable failure.
引用文献2は、一次記憶部(画像メモリ)の画像データ(入力画像、圧縮変換後の画像データ)をHDDに保存する際、HDDに不良セクタがあるとフラグメンテーションが発生する可能性があるので、不良セクタの発生情報を元にアクセスを不可能とする領域を登録したテーブルをメモリ制御部側に保有し、DMA転送において領域を確保する(例えば、連続或いは分断領域のいずれかを指示して確保)ときに、テーブルを参照することにより、アクセス不可能領域の使用を回避し、高速且つ適切な転送動作条件の設定を行うことを可能にすることについて開示している。
Since Cited
引用文献3は、HDDを接続して使用可能な画像処理装置であって、前記画像処理装置の起動処理を制御する主制御部と、HDDを制御するストレージコントローラを有し、ストレージコントローラは、画像処理装置の起動処理においてHDDに記憶されている情報を読み出し、当該読み出しの速度を測定し、測定結果に基づいてHDDに不具合が発生していることを判断し、不具合が発生している場合にHDDの記憶領域を修復することについて開示している。
The cited
本発明の目的は、記憶装置に対するデータの読み取り又は書き込み処理が遅延すること抑制することができる情報処理装置及びプログラムを提供することである。 An object of the present invention is to provide an information processing apparatus and program capable of suppressing a delay in reading or writing data to a storage device.
請求項1に係る本発明は、記憶装置が提供する記憶領域のうち、記憶領域の状態が不良の予備段階であると前記記憶装置により判定された記憶領域の数を前記記憶装置から取得する取得手段と、前記取得手段により取得された数が予め定められた閾値以上である場合に、前記不良の予備段階であると前記記憶装置により判定された記憶領域のうち不良な記憶領域であると前記記憶装置により判定される記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行うよう前記記憶装置に指示する処理指示手段とを有する情報処理装置である。
The present invention according to
請求項2に係る本発明は、前記処理指示手段は、前記取得手段により取得された数が第1の閾値以上又は該第1の閾値よりも大きい第2の閾値以上である場合に前記記憶装置に指示し、前記取得手段により取得された数が第2の閾値以上であると判定されてから前記切り替える処理が実施されるまでの期間が、前記取得手段により取得された数が第1の閾値以上であると判定されてから前記切り替える処理が実施されるまでの期間よりも短いことを特徴とする請求項1記載の情報処理装置である。
According to a second aspect of the present invention, the processing instructing unit is configured to store the storage device when the number acquired by the acquiring unit is equal to or greater than a first threshold or greater than a second threshold greater than the first threshold. The number acquired by the acquisition unit is the first threshold after the time when the switching process is performed after the number acquired by the acquisition unit is determined to be greater than or equal to the second threshold. The information processing apparatus according to
請求項3に係る本発明は、前記処理指示手段は、前記取得手段により取得された数が、複数の予め定められた閾値のうち自装置の処理性能に応じて選択される閾値以上である場合に、前記記憶装置に指示する請求項1又は2記載の情報処理装置である。
According to a third aspect of the present invention, in the process instruction unit, the number acquired by the acquisition unit is equal to or greater than a threshold selected according to the processing performance of the own apparatus among a plurality of predetermined thresholds. The information processing apparatus according to
請求項4に係る本発明は、記憶領域が不良の予備段階の状態であるか否かを判定する予備段階判定手段と、前記予備段階判定手段により不良の予備段階の状態であると判定された記憶領域が不良の状態であるか否かを判定する不良判定手段と、前記不良判定手段により不良と判定された記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行う処理手段とを備えた記憶装置と、前記記憶装置が提供する記憶領域のうち、記憶領域の状態が不良の予備段階であると判定された記憶領域の数を前記記憶装置から取得する取得手段と、前記取得手段により取得された数が予め定められた閾値以上である場合に、前記処理手段による処理を行うよう前記記憶装置に指示する処理指示手段とを有する情報処理装置である。
In the present invention according to
請求項5に係る本発明は、記憶装置が提供する記憶領域のうち、記憶領域の状態が不良の予備段階であると前記記憶装置により判定された記憶領域の数を前記記憶装置から取得するステップと、取得された数が予め定められた閾値以上である場合に、前記不良の予備段階であると前記記憶装置により判定された記憶領域のうち不良な記憶領域であると前記記憶装置により判定される記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行うよう前記記憶装置に指示するステップとをコンピュータに実行させるプログラムである。
The present invention according to
請求項1に係る本発明によれば、本構成を有しない場合に比較して、記憶装置に対するデータの読み取り又は書き込み処理が遅延すること抑制することができる情報処理装置を提供することができる。 According to the first aspect of the present invention, it is possible to provide an information processing apparatus that can suppress a delay in reading or writing data to or from a storage device as compared with the case where the present configuration is not provided.
請求項2に係る本発明によれば、請求項1に係る本発明の効果に加え、読み取り又は書き込み処理に遅延が発生する確率に応じて、遅延を抑制するための処理の実施時期を制御することができる情報処理装置を提供することができる。 According to the second aspect of the present invention, in addition to the effect of the first aspect of the present invention, the execution timing of the process for suppressing the delay is controlled according to the probability that the read or write process will be delayed. It is possible to provide an information processing apparatus that can
請求項3に係る本発明によれば、請求項1又は2に係る本発明の効果に加え、情報処理装置に要求される性能に応じて、遅延を抑制するための処理の実施を制御することができる情報処理装置を提供することができる。 According to the third aspect of the present invention, in addition to the effect of the present invention according to the first or second aspect, the execution of processing for suppressing delay is controlled according to the performance required for the information processing apparatus. It is possible to provide an information processing apparatus that can
請求項4に係る本発明によれば、本構成を有しない場合に比較して、記憶装置に対するデータの読み取り又は書き込み処理が遅延すること抑制することができる情報処理装置を提供することができる。 According to the fourth aspect of the present invention, it is possible to provide an information processing apparatus that can suppress a delay in reading or writing data to or from a storage device as compared with the case where the present configuration is not provided.
請求項5に係る本発明によれば、本構成を有しない場合に比較して、記憶装置に対するデータの読み取り又は書き込み処理が遅延すること抑制することができるプログラムを提供することができる。 According to the fifth aspect of the present invention, it is possible to provide a program that can suppress a delay in reading or writing data to or from a storage device as compared with a case where the present configuration is not provided.
[背景]
まず、本発明の理解を助けるために、本発明が発明されるに至った背景について説明する。
[background]
First, in order to help understanding of the present invention, the background that led to the present invention will be described.
ハードディスクドライブにおいては、ディスクの物理的な損傷や経年劣化などにより、データの読み取り又は書き込みを行うことができなくなる記憶領域(不良セクタ)が発生する。ハードディスクドライブは、記憶領域が不良セクタであると判定した場合、当該不良セクタへのアクセスを代替する記憶領域である代替セクタへと、読み取り先又は書き込み先を切り替え、当該不良セクタへのアクセスが行われないよう制御する。 In a hard disk drive, a storage area (bad sector) where data cannot be read or written is generated due to physical damage or aging of the disk. When the hard disk drive determines that the storage area is a bad sector, the hard disk drive switches the reading destination or the writing destination to an alternative sector that is a storage area that substitutes access to the bad sector, and accesses the bad sector. Control so as not to break.
ハードディスクドライブ内の制御装置では、読み取り又は書き込みが正常に行えないセクタがあった場合、まず、当該セクタを不良状態の予備段階の状態を示すペンディングセクタとして正常なセクタと区別する。そして、ペンディングセクタのうち、次回アクセス時においても読み取り又は書き込みが正常に行えないセクタについて、不良状態のセクタであることを示す不良セクタとして区別する。なお、この次回アクセス時において、正常に読み取り又は書き込みが行われた場合、当該セクタはペンディングセクタから正常なセクタへと状態が戻される。 In the control device in the hard disk drive, when there is a sector that cannot be read or written normally, first, the sector is distinguished from a normal sector as a pending sector indicating a state of a preliminary stage in a defective state. Of the pending sectors, a sector that cannot be normally read or written at the next access is distinguished as a defective sector indicating a defective sector. Note that when reading or writing is normally performed at the time of this next access, the state of the sector is returned from the pending sector to the normal sector.
図1は、ハードディスクドライブ100の機能構成を示すブロック図である。
読取書込制御部102は、ハードディスクドライブ100を利用する機器からの読取指示又は書込指示を受け付け、受け付けた指示に基づいた読取又は書込みを行うよう制御する。
FIG. 1 is a block diagram showing a functional configuration of the
The read /
予備段階判定部104は、読取指示又は書込指示で指定された読取先又は書込み先のセクタについて、不良の予備段階の状態であるか否かを判定する。不良の予備段階の状態であると判定した場合、ペンディングセクタとして、当該セクタの位置を位置情報格納部106に記録する。
The preliminary
位置情報格納部106は、予備段階判定部104によりペンディグセクタであると判定されたセクタの位置情報を格納する。
The position
不良判定部108は、ペンディングセクタであると判定されたセクタについて、不良な状態であるか否かを判定する。不良な状態であると判定した場合、不良セクタであるとして、代替処理部110に代替処理を行うよう通知する。不良な状態ではないと判定した場合、当該ペンディグセクタの位置情報を位置情報格納部106から削除し、当該ペンディングセクタを正常なセクタへと戻す。
The
代替処理部110は、不良判定部108により不良セクタであると判定されたセクタについて、読み取り先又は書き込み先を、当該不良セクタへの読み取り又は書き込みを代替する代替セクタへと切り替える処理を行う。具体的には、不良セクタへの参照に対して、不良セクタとは物理的な位置が異なる代替セクタを参照するよう論理的な位置情報を切り替える。また、代替処理部110は、この切り替えを示す位置情報などの代替情報を代替情報格納部112に格納し、位置情報格納部106に格納されている当該不良セクタの位置情報を削除する。以下、代替処理部110による処理を代替処理という。
The
なお、ハードディスクドライブ100は、ハードディスクドライブ100を利用する機器からの指示があった場合にも、ペンディングセクタについて不良状態であるか正常状態であるかを判定し、不良な状態であるときには、代替処理を行う機能を備えている。
Note that the
図2は、ハードディスクドライブ100におけるデータの読み取り又は書込みの動作の一例を示すフローチャートである。
FIG. 2 is a flowchart showing an example of data reading or writing operation in the
ステップ10(S10)において、読み取り又は書き込みの指示に基づくアクセス先のセクタについて、位置情報格納部106にペンディングセクタとして位置情報が記録されているか否かを判定する。当該セクタの位置情報が記録されている場合には、ペンディングセクタであるとしてステップ12へ移行し、記録されていない場合には正常なセクタであるとしてステップ32へ移行する。
In step 10 (S10), it is determined whether or not position information is recorded as a pending sector in the position
ステップ12(S12)において、シーク動作及びサーチ動作を行い、ハードディスクドライブ100のヘッドが、アクセス先のセクタに位置するよう制御する。
In step 12 (S12), a seek operation and a search operation are performed, and control is performed so that the head of the
ステップ14(S14)において、アクセス先のセクタにヘッドが正常に位置したか否かを判定し、正常な場合、ステップ16へ移行し、アクセス先のセクタにヘッドが位置していない場合には、ステップ20へ移行する。 In step 14 (S14), it is determined whether or not the head is normally positioned in the access destination sector. If normal, the process proceeds to step 16, and if the head is not positioned in the access sector, Control goes to step 20.
ステップ16(S16)において、読取処理または書き込み処理が行われる。 In step 16 (S16), a reading process or a writing process is performed.
ステップ18(S18)において、読取処理または書き込み処理が正常に完了しているかの確認(ベリファイ)が行われ、正常に完了している場合にはステップ30へ移行し、正常に完了していない場合には、ステップ22へ移行する。 In step 18 (S18), whether or not the reading process or the writing process is normally completed is verified (verification). If the reading process or the writing process is normally completed, the process proceeds to step 30. Then, the process proceeds to step 22.
ステップ20(S20)及びステップ22(S22)では、再試行(リトライ)が許容されているか否かを判定し、許容される場合にはステップ12へ戻り、リトライされる。一方、リトライが許容されない場合には、当該ペンディングセクタは、不良セクタであると判定され、ステップ24へ移行する。なお、例えば、予め定められたリトライ回数以内であればリトライが許容される。 In step 20 (S20) and step 22 (S22), it is determined whether or not a retry (retry) is permitted. If it is permitted, the process returns to step 12 and is retried. On the other hand, if the retry is not permitted, the pending sector is determined to be a bad sector, and the process proceeds to step 24. For example, if the number of retries is within a predetermined number, retries are allowed.
ステップ24(S24)において、不良セクタについて代替処理が行われ、代替セクタへとアクセス先が切り換えられる。 In step 24 (S24), replacement processing is performed for the defective sector, and the access destination is switched to the replacement sector.
ステップ26(S26)において、ステップ24における処理による代替情報が記録される。
In step 26 (S26), the substitute information by the process in
ステップ28(S28)において、代替セクタに対する読み取り又は書き込み処理が行われる。 In step 28 (S28), a read or write process for the alternative sector is performed.
ステップ30(S30)において、S10で確認した位置情報を位置情報格納部106から削除する。
In step 30 (S30), the position information confirmed in S10 is deleted from the position
図3は、ハードディスクドライブ100におけるデータの読み取り又は書込みの動作の一例を示すフローチャートであり、図2に示すS32についてのフローチャートである。図3に図示したフローチャートは、アクセス先のセクタが正常な状態のセクタである場合の読み取り又は書き込みの動作の一例を表している。
FIG. 3 is a flowchart showing an example of data reading or writing operation in the
ここで、ステップ100(S100)〜ステップ110(S110)は、それぞれ図2におけるステップ12〜ステップ22と同様の動作を行う。ただし、図2とは異なり、ステップ106において、読取処理又は書き込み処理が正常に完了したと判定された場合、正常に終了したものとして動作を終了する。また、ステップ108及びステップ110において、リトライが許容されない場合、アクセス先のセクタはペンディングセクタであると判定され、ステップ112へ移行し、ステップ112において、アクセス先のセクタの位置情報が位置情報格納部106に記録される。
Here, Step 100 (S100) to Step 110 (S110) perform the same operations as
以上示したように、あるセクタに対する読み取り又は書き込みの指示をした場合に、読み取り又は書き込みが正常に完了しない場合には、当該セクタはペンディングセクタへと移行する。そして、次回このセクタに対する読み取り又は書き込みの指示があった場合に読み取り又は書き込みが正常に完了しない場合には、不良セクタへと移行し、代替処理が行われる。代替処理が行われる際には、図2のステップ20又はステップ22におけるリトライ動作に加え、ステップ24〜ステップ30に示す処理が行われるため、読み取り又は書き込みが完了するまでの時間がその分だけ遅延することとなる。
As described above, when a reading or writing instruction is given to a certain sector, if the reading or writing is not completed normally, the sector shifts to a pending sector. When the next read or write instruction is issued to this sector, if the read or write is not completed normally, the process shifts to a defective sector and a substitute process is performed. When the alternative processing is performed, the processing shown in
[実施形態]
次に、本発明の実施形態に係る情報処理装置の一例としての画像形成装置2について説明する。
画像形成装置2は、例えば図示しない端末装置からネットワークを介して送信されてきた画像データ、又は図示しない光学的に画像を読み取るスキャナなどの読み取り装置から送信されてきた画像データを用紙に印刷する。
[Embodiment]
Next, an
The
図4は、画像形成装置2のハードウェア構成の一例を示すブロック図である。図4に示すように、画像形成装置2は、上述のハードディスクドライブ100を備えている。
FIG. 4 is a block diagram illustrating an example of a hardware configuration of the
画像形成装置2は、図4に示されるように、CPU4、メモリ6、記憶装置としてのハードディスクドライブ(HDD)100、ネットワークを介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)10、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置12、スキャナ14、プリンタ16を有する。これらの構成要素は、制御バス18を介して互いに接続されている。
As shown in FIG. 4, the
CPU4は、制御プログラムに基づく処理を実行して、ハードディスクドライブ100に対するデータの読み取り又は書き込みなど画像形成装置2の動作を制御する。なお、制御プログラムはCD−ROM等の記憶媒体に格納してCPU4に提供することも可能である。
The
図5は、上記の制御プログラムが実行されることにより実現される画像形成装置2の機能構成を示すブロック図である。
FIG. 5 is a block diagram showing a functional configuration of the
SMART情報取得部20は、ハードディスクドライブ100からSMART情報を取得し、取得した情報をメモリ6に記憶する。SMART(Self−Monitoring, Analysis and ReportingTechnology)とは、ハードディスクドライブの自己診断機能であり、SMART情報は、ハードディスクドライブの各診断項目の状態値から構成されており、現在のペンディングセクタの数(Current Pending Sector数)、すなわち不良の予備段階であると判定されたセクタの数を示す情報も含まれる。
The SMART
代替処理指示部22は、SMART情報取得部20により取得されたペンディングセクタ数が、予め定められた閾値以上である場合に、ペンディングセクタのうち不良セクタであると判定されるセクタについて、読み取り先又は書き込み先を、このセクタへの読み取り又は書き込みを代替する代替セクタへと切り替える処理(以下、事前代替処理という)を行うようハードディスクドライブ100に指示する。この指示を受けたハードディスクドライブ100は、ペンディングセクタについて、例えば読み取り又は書き込みをテストする動作を行い、各ペンディングセクタについて不良セクタ又は正常なセクタへと状態を移行させる。そして、不良セクタへと状態が移行したセクタについては、上記代替処理部110における代替処理を行う。
The alternative
ここで、例えば画像形成装置2における画像形成処理などの処理中にハードディスクドライブ100への読み取り又は書き込み処理が発生した場合を想定する。読み取り又は書き込み処理におけるアクセス先がペンディングセクタであるとき、代替処理が行われる可能性があり、代替処理が行われると、その処理時間分だけ読み取り又は書き込み時間が遅延することとなり、画像形成処理などの処理に影響を与える。例えば、画像形成処理において、アクセス時間がタイムアウトとなったり、アクセス自体がエラーになるなどし、画像形成処理の生産性が低下したり、場合によっては画像形成処理がエラーにより停止することもありうる。上記遅延が発生する可能性は、ハードディスクドライブ100に存在するペンディングセクタ数が多くなるにつれ上昇する。本実施形態では、予め定められた時期に事前に代替処理を行うよう代替処理指示部22が指示を出すため、画像形成処理などの処理の際に代替処理が発生する可能性が代替処理指示部22を有しない場合に比べ低下する。
Here, for example, a case is assumed in which reading or writing processing to the
本実施形態の代替処理指示部22は、テーブル格納部24に格納されたテーブル情報と、SMART情報取得部20により取得されたペンディングセクタ数とに基づいて、ハードディスクドライブ100に上記指示を行うか否かを判定する。
The alternative
テーブル格納部24は、SMART情報取得部20により取得されたペンディングセクタ数に応じた動作を規定するテーブル情報を格納している。テーブル情報としては、SMART情報取得部20により取得されたペンディングセクタ数がどれくらいの場合に上記指示を行うか否か、また、上記指示を行う場合、SMART情報取得部20により取得されたペンディングセクタ数がどれくらいのときにどの時期に代替処理を行うかを規定している。
The
また、本実施形態のテーブル格納部24は、複数のテーブル情報を格納しており、画像形成装置2の処理性能に応じて使用されるテーブル情報は異なる。例えば、画像形成装置2の処理性能が予め定められた基準よりも高い場合、処理性能が予め定められた基準よりも低い画像形成装置に比べて、ハードディスクドライブ100における読み取り又は書き込み処理に要する時間の遅延が画像形成処理などの処理に与える影響は大きい。よって、例えば、画像形成装置2の処理性能が予め定められた基準よりも高い場合、処理性能が予め定められた基準よりも低い画像形成装置に比べ、上記指示に基づく代替処理の実施頻度を高くするようテーブル情報を設定する。
In addition, the
図6は、テーブル格納部24が格納するテーブル情報の一例を示す模式図である。図6(a)は、画像形成装置2の処理性能が予め定められた基準よりも高い場合に用いられるテーブル情報を示し、図6(b)は、画像形成装置2の処理性能が予め定められた基準よりも低い場合に用いられるテーブル情報を示す。
FIG. 6 is a schematic diagram illustrating an example of table information stored in the
図6(a)に示した例では、SMART情報取得部20により取得されたペンディングセクタ数が0〜4である場合、代替処理指示部22はハードディスクドライブ100に上記指示を行わない旨の規定がされている。ペンディングセクタ数が5〜9である場合、画像形成装置2がスリープ状態へ移行した時に事前代替処理を行うようハードディスクドライブ100に指示する旨の規定がされている。スリープ状態では、スリープ状態へ移行する前の状態と比較し、画像形成装置2の消費電力が小さく、また、画像形成装置2の動作による振動が少ない。
In the example shown in FIG. 6A, when the number of pending sectors acquired by the SMART
ペンディングセクタ数が10〜14である場合、画像形成装置2が画像形成処理などのジョブの実行中でない場合には、即時、事前代替処理を行うようハードディスクドライブ100に指示し、ジョブの実行中の場合には、全てのジョブが終了した時に、事前代替処理を行うようハードディスクドライブ100に指示する旨の規定がされている。このように、ペンディングセクタ数が5〜9の場合に比べ、より早く事前代替処理が行われるよう規定されている。
When the number of pending sectors is 10 to 14, when the
ペンディングセクタ数が15以上である場合、画像形成装置2がジョブの実行中でない場合には、即時、画像形成装置2をスリープ状態へ強制的に移行の上、事前代替処理を行うようハードディスクドライブ100に指示し、ジョブの実行中の場合には、現在実行中のジョブの次のジョブの実行前に、画像形成装置2をスリープ状態へ強制的に移行の上、事前代替処理を行うようハードディスクドライブ100に指示する旨の規定がされている。
When the number of pending sectors is 15 or more and the
これに対し、図6(b)に示した例では、図6(a)と比べ、各対応を実施するためのペンディングセクタ数の閾値が大きく設定されている。 On the other hand, in the example shown in FIG. 6B, the threshold of the number of pending sectors for performing each correspondence is set larger than in FIG. 6A.
なお、画像形成装置2の処理性能が予め定められた基準よりも低い場合に用いられるテーブル情報は、図6(b)に限らず、例えば、図7に示すように構成してもよい。
The table information used when the processing performance of the
次に、画像形成装置2において事前代替処理が行われる際の動作について説明する。
図8は、画像形成装置2において事前代替処理が行われる際の動作の一例を示すフローチャートである。なお、図8に示す動作は、画像形成装置2において、予め定められた時間間隔で行われてもよいし、予め定められた時期に行われてもよいし、使用者から指示を受付けることにより行われてもよい。
Next, an operation when the preliminary substitution process is performed in the
FIG. 8 is a flowchart illustrating an example of an operation when the preliminary substitution process is performed in the
ステップ200(S200)において、画像形成装置2の処理性能を示す性能情報を取得する。例えば、性能情報は、予めメモリ6又はハードディスクドライブ100などに記憶されており、記憶されている性能情報を読み出してもよいし、ネットワークを介し、性能情報を受信してもよい。
In step 200 (S200), performance information indicating the processing performance of the
ステップ202(S202)において、テーブル格納部24に格納されているテーブル情報のうち、ステップ200で取得した性能情報に対応するテーブルを選択する。
In step 202 (S202), the table corresponding to the performance information acquired in step 200 is selected from the table information stored in the
ステップ204(S204)において、ハードディスクドライブ100からSMART情報を読み出す。
In step 204 (S204), the SMART information is read from the
ステップ206(S206)において、読み出したSMART情報をメモリ6に記憶する。
In step 206 (S206), the read SMART information is stored in the
ステップ208(S208)において、ステップ206で記憶されたSMART情報のうち、ペンディングセクタ数を参照し、ステップ202で選択したテーブルに基づいて、ペンディングセクタ数に応じた対応を決定する。 In step 208 (S208), the number of pending sectors in the SMART information stored in step 206 is referred to, and the correspondence corresponding to the number of pending sectors is determined based on the table selected in step 202.
ステップ210(S210)において、ステップ208で決定した対応を行う。 In step 210 (S210), the response determined in step 208 is performed.
2 画像形成装置
20 SMART情報取得部
22 代替処理指示部
24 テーブル格納部
100 ハードディスクドライブ
102 読取書込制御部
104 予備段階判定部
106 位置情報格納部
108 不良判定部
110 代替処理部
112 代替情報格納部
2
Claims (5)
前記取得手段により取得された数が予め定められた閾値以上である場合に、前記不良の予備段階であると前記記憶装置により判定された記憶領域のうち不良な記憶領域であると前記記憶装置により判定される記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行うよう前記記憶装置に指示する処理指示手段と
を有する情報処理装置。 An acquisition unit that acquires, from the storage device, the number of storage regions determined by the storage device as being in a defective preliminary stage among storage regions provided by the storage device;
When the number acquired by the acquisition unit is equal to or greater than a predetermined threshold, the storage device determines that the storage device is a defective storage region among the storage regions determined by the storage device as being in the preliminary stage of the failure. An information processing apparatus comprising: a processing instruction unit that instructs the storage device to perform a process of switching a read destination or a write destination to a storage area that replaces reading or writing to the storage area for the determined storage area.
請求項1記載の情報処理装置。 The processing instruction means instructs the storage device when the number acquired by the acquisition means is equal to or greater than a first threshold or a second threshold greater than the first threshold, and is acquired by the acquisition means The period from when it is determined that the number obtained is greater than or equal to a second threshold to when the switching process is performed is determined after the number obtained by the obtaining unit is greater than or equal to the first threshold The information processing apparatus according to claim 1, wherein the information processing apparatus is shorter than a period until switching processing is performed.
請求項1又は2記載の情報処理装置。 The processing instruction unit instructs the storage device when the number acquired by the acquisition unit is equal to or greater than a threshold selected according to the processing performance of the own device among a plurality of predetermined thresholds. Item 3. The information processing apparatus according to item 1 or 2.
前記予備段階判定手段により不良の予備段階の状態であると判定された記憶領域が不良の状態であるか否かを判定する不良判定手段と、
前記不良判定手段により不良と判定された記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行う処理手段と
を備えた記憶装置と、
前記記憶装置が提供する記憶領域のうち、記憶領域の状態が不良の予備段階であると判定された記憶領域の数を前記記憶装置から取得する取得手段と、
前記取得手段により取得された数が予め定められた閾値以上である場合に、前記処理手段による処理を行うよう前記記憶装置に指示する処理指示手段と
を有する
情報処理装置。 Preliminary stage determination means for determining whether or not the storage area is in a defective preliminary stage;
A failure determination means for determining whether or not the storage area determined to be in a defective preliminary stage state by the preliminary stage determination means;
A storage device comprising: processing means for performing processing for switching a reading destination or a writing destination to a storage area that substitutes reading or writing to the storage area for the storage area determined to be defective by the defect determination means;
An acquisition unit that acquires, from the storage device, the number of storage regions that are determined to be in a defective preliminary stage among the storage regions provided by the storage device;
An information processing apparatus comprising: a processing instruction unit that instructs the storage device to perform processing by the processing unit when the number acquired by the acquiring unit is equal to or greater than a predetermined threshold value.
取得された数が予め定められた閾値以上である場合に、前記不良の予備段階であると前記記憶装置により判定された記憶領域のうち不良な記憶領域であると前記記憶装置により判定される記憶領域について、読み取り先又は書き込み先を、該記憶領域への読み取り又は書き込みを代替する記憶領域へと切り替える処理を行うよう前記記憶装置に指示するステップと
をコンピュータに実行させるプログラム。 Acquiring from the storage device the number of storage regions determined by the storage device as being in a defective preliminary stage among the storage regions provided by the storage device;
Memory that is determined by the storage device to be a defective storage region among the storage regions that are determined by the storage device to be in the preliminary stage of the failure when the obtained number is equal to or greater than a predetermined threshold. A program for causing a computer to execute a step of instructing the storage device to perform a process of switching a read destination or a write destination to a storage area that replaces reading or writing to the storage area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013139645A JP6205909B2 (en) | 2013-07-03 | 2013-07-03 | Information processing apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013139645A JP6205909B2 (en) | 2013-07-03 | 2013-07-03 | Information processing apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015014824A JP2015014824A (en) | 2015-01-22 |
JP6205909B2 true JP6205909B2 (en) | 2017-10-04 |
Family
ID=52436537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013139645A Active JP6205909B2 (en) | 2013-07-03 | 2013-07-03 | Information processing apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6205909B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7138890B2 (en) * | 2018-10-17 | 2022-09-20 | アツミ電氣株式会社 | Abnormal Occurrence Risk Detection Method for Electronic Recording Medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4397770B2 (en) * | 2004-09-17 | 2010-01-13 | 富士通株式会社 | Storage medium control apparatus, storage medium control method, and storage medium control program |
JP2008148226A (en) * | 2006-12-13 | 2008-06-26 | Canon Inc | Image forming apparatus performing degeneracy operation utilizing hdd self-diagnosis function |
JP2011180673A (en) * | 2010-02-26 | 2011-09-15 | Mitsubishi Electric Corp | Apparatus for diagnosis of disk deterioration |
-
2013
- 2013-07-03 JP JP2013139645A patent/JP6205909B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015014824A (en) | 2015-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5488709B2 (en) | Reference time setting method in storage control device | |
JP5521926B2 (en) | Storage system, control device, and storage device | |
US9065941B2 (en) | Image processing apparatus and method for controlling the same | |
US11977754B2 (en) | External indicators for adaptive in-field recalibration | |
JP6205909B2 (en) | Information processing apparatus and program | |
JP4775843B2 (en) | Storage system and storage control method | |
US11321001B2 (en) | Information processing apparatus equipped with storage using flash memory, control method therefor, and storage medium | |
US11019227B2 (en) | Storage control apparatus equipped with storage device, method of controlling same, and storage medium | |
JP2006343923A (en) | Disk recording device | |
US10573345B2 (en) | Information processing apparatus, control method thereof and storage medium | |
JP5217452B2 (en) | Information processing apparatus and system, and storage area management method and program | |
CN105302677A (en) | Information-processing device and method | |
JP5181795B2 (en) | RAID system and error sector repair method | |
KR100713769B1 (en) | Device, method, and computer product for disk management | |
US20200264946A1 (en) | Failure sign detection device, failure sign detection method, and recording medium in which failure sign detection program is stored | |
JP2013149112A (en) | Management method for storage medium | |
JP3841595B2 (en) | Storage device alternation processing time judgment test method | |
JP5273185B2 (en) | Recording medium control system, recording medium control method, and recording medium control program | |
JP2011068109A (en) | Image forming apparatus, control method and program of image forming apparatus | |
JP2007323377A (en) | Recording apparatus, method for writing management data and method for repairing management data | |
JP6079868B2 (en) | Error analysis method, information processing apparatus, and error analysis program | |
US11630586B2 (en) | Information processing apparatus and method for controlling the same | |
JP2010061242A (en) | Storage device, control device, and control program | |
CN106959827B (en) | Information processing method, information processing apparatus, and server | |
JP2006269032A (en) | Method for prevention processing of read abnormality in device unique information of medium storage device, and medium storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161207 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170110 |
|
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: 20170808 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170821 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6205909 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |