JP2020060869A - Information processing device, control method of information processing device, and program - Google Patents

Information processing device, control method of information processing device, and program Download PDF

Info

Publication number
JP2020060869A
JP2020060869A JP2018190321A JP2018190321A JP2020060869A JP 2020060869 A JP2020060869 A JP 2020060869A JP 2018190321 A JP2018190321 A JP 2018190321A JP 2018190321 A JP2018190321 A JP 2018190321A JP 2020060869 A JP2020060869 A JP 2020060869A
Authority
JP
Japan
Prior art keywords
error
occurred
information processing
storage means
hdd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018190321A
Other languages
Japanese (ja)
Inventor
英孝 田淵
Hidetaka Tabuchi
英孝 田淵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018190321A priority Critical patent/JP2020060869A/en
Publication of JP2020060869A publication Critical patent/JP2020060869A/en
Pending legal-status Critical Current

Links

Images

Abstract

To enable reconstruction of mirroring without replacement of storage means when the storage means performing the mirroring can recover from an error.SOLUTION: An information processing device includes first storage means and second storage means that perform mirroring using one thereof for writing and reading data while using the other thereof for writing data so as to respectively store same data. The information processing device, when detecting an error having occurred in one of the first storage means and the second storage means, controls the other thereof with no error having occurred, to continue processing, and performs a recovery process for the one thereof with the error having occurred. If the storage means performing the mirroring can recover from the error, the information processing device enables reconstruction of the mirroring without replacing the storage means.SELECTED DRAWING: Figure 6

Description

本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関する。   The present invention relates to an information processing device, a method of controlling the information processing device, and a program.

HDD(ハードディスクドライブ)は、磁気式の記憶手段であり、PC(パーソナルコンピュータ)やサーバや画像形成装置等の様々な情報処理装置に搭載されている。例えば、画像形成装置では、印刷ジョブ処理において画像データや装置のログ等がHDDに格納されている。   The HDD (hard disk drive) is a magnetic storage unit and is installed in various information processing apparatuses such as a PC (personal computer), a server, and an image forming apparatus. For example, in the image forming apparatus, image data, apparatus logs, and the like are stored in the HDD during print job processing.

情報処理装置において、HDDの突発的な故障や製品寿命による記憶情報の喪失等に対する対策として、同一の情報を2つ以上のHDDに記憶し、一方が他方を補うミラーリングの構成が知られている。ミラーリング構成を採用した情報処理装置において、HDDの故障が発生した場合には、故障していないHDDで処理を継続するとともに、故障したHDDを特定して交換を実施する。例えば特許文献1には、ミラーリング構成を採用した画像形成装置において、交換が必要なHDDの場所の特定を容易にするために、そのHDDが配置されている物理的位置を表示する手法が開示されている。   In an information processing apparatus, as a measure against a sudden failure of an HDD, loss of stored information due to product life, and the like, a configuration of mirroring is known in which the same information is stored in two or more HDDs, one of which supplements the other. . In the information processing apparatus adopting the mirroring configuration, when a failure occurs in the HDD, the processing is continued with the HDD that has not failed, and the failed HDD is identified and replaced. For example, Patent Document 1 discloses a method of displaying a physical position where an HDD is arranged in an image forming apparatus adopting a mirroring configuration in order to easily identify a location of the HDD that needs to be replaced. ing.

特開2017−81111号公報JP, 2017-81111, A

ミラーリング構成を採用した画像形成装置において、故障等によりHDDのエラーが発生した場合、サービスマンコールが行われて、エラーが発生したHDDの交換が実施される。しかし、HDDのエラーは、HDD自体の故障の場合だけでなく、ゴミやグリス等による一時的なエラーの場合もあり、交換しなくともリカバリ処理を行うことで復帰できる場合がある。従来の手法では、ミラーリング構成を採用した画像形成装置においてHDDのエラーが発生すると、ゴミやグリス等による一時的なエラーでありHDDエラーから復帰できる場合を含めて、エラーが発生したHDDの交換が実施されてしまっていた。本発明は、このような事情に鑑みてなされたものであり、ミラーリングを行う記憶手段がエラーから復帰可能な場合、記憶手段の交換を実施せずにミラーリングを再構築できるようにすることを目的とする。   In the image forming apparatus adopting the mirroring structure, when an error occurs in the HDD due to a failure or the like, a serviceman call is made to replace the HDD in which the error has occurred. However, the error of the HDD is not only a failure of the HDD itself but also a temporary error due to dust, grease, etc. In some cases, the recovery process can be recovered without replacement. In the conventional method, when an HDD error occurs in an image forming apparatus adopting a mirroring configuration, the HDD in which the error has occurred can be replaced, including the case where the error is temporary due to dust or grease and the HDD error can be recovered. Had been implemented. The present invention has been made in view of such circumstances, and an object of the present invention is to enable mirroring to be reconstructed without exchanging the storage means when the storage means performing the mirroring can recover from an error. And

本発明に係る情報処理装置は、一方がデータの書き込み及び読み出しの対象となり、他方がデータの書き込みの対象となってミラーリングを行い、同じデータを記憶する第1の記憶手段及び第2の記憶手段と、前記第1の記憶手段及び前記第2の記憶手段のいずれかにエラーが発生したことを検出した場合、前記エラーが発生していない記憶手段で処理を継続するよう制御し、前記エラーが発生した記憶手段のリカバリ処理を行う制御手段とを有することを特徴とする。   In the information processing apparatus according to the present invention, one is a target of data writing and reading and the other is a target of data writing, and mirroring is performed to store the same data. When it is detected that an error has occurred in either the first storage unit or the second storage unit, the storage unit in which the error has not occurred is controlled to continue processing, and the error is detected. And a control means for performing recovery processing of the generated storage means.

本発明によれば、ミラーリングを行う記憶手段がエラーから復帰可能な場合には、記憶手段の交換を実施せずにミラーリングの再構築が可能となる。   According to the present invention, when the storage means that performs mirroring can recover from an error, the mirroring can be reconstructed without replacing the storage means.

本発明の実施形態における情報処理装置としての画像形成装置の構成例を示す図である。FIG. 1 is a diagram showing a configuration example of an image forming apparatus as an information processing apparatus according to an embodiment of the present invention. 本実施形態におけるメインコントローラ部の構成例を示す図である。It is a figure which shows the structural example of the main controller part in this embodiment. 本実施形態におけるHDDの構成例を示す概略図である。It is a schematic diagram showing an example of composition of HDD in this embodiment. 本実施形態における画像形成装置の動作を説明する図である。It is a figure explaining operation | movement of the image forming apparatus in this embodiment. 本実施形態における画像形成装置のHDDエラー表示の例を示す図である。FIG. 6 is a diagram showing an example of an HDD error display of the image forming apparatus in this embodiment. 本実施形態における画像形成装置のHDDエラー発生時の処理例を示すフローチャートである。6 is a flowchart illustrating a processing example when an HDD error occurs in the image forming apparatus according to the present exemplary embodiment.

以下、本発明の実施形態を図面に基づいて説明する。
以下では、本発明の一実施形態における情報処理装置として、画像形成装置を一例に説明する。なお、本実施形態に記載の構成要素はあくまで例示であり、本発明の範囲をそれらのみに限定する趣旨のものではない。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Hereinafter, an image forming apparatus will be described as an example of an information processing apparatus according to an embodiment of the present invention. Note that the constituent elements described in the present embodiment are merely examples, and the scope of the present invention is not intended to be limited thereto.

図1は、本実施形態における情報処理装置としての画像形成装置の構成例を示すブロック図である。本実施形態における画像形成装置100は、例えばプリント機能、スキャナ機能、コピー機能、FAX(ファクシミリ)機能等の複数の機能を有するMFP(Multi Function Peripheral)である。   FIG. 1 is a block diagram showing a configuration example of an image forming apparatus as an information processing apparatus in this embodiment. The image forming apparatus 100 in the present embodiment is, for example, an MFP (Multi Function Peripheral) having a plurality of functions such as a print function, a scanner function, a copy function, and a FAX (facsimile) function.

画像形成装置100は、電源部101、メインコントローラ部102、スキャナ部103、プリンタ部104、操作部105、及び表示部106を有する。電源部101は、画像形成装置100が有する各機能部に対して電源供給を行う。スキャナ部103は、原稿から光学的に画像を読み取り画像データを生成する。プリンタ部104は、例えば電子写真方式に従って記録媒体(用紙)に画像を形成する。   The image forming apparatus 100 includes a power supply unit 101, a main controller unit 102, a scanner unit 103, a printer unit 104, an operation unit 105, and a display unit 106. The power supply unit 101 supplies power to each functional unit of the image forming apparatus 100. The scanner unit 103 optically reads an image from a document and generates image data. The printer unit 104 forms an image on a recording medium (paper) according to, for example, an electrophotographic method.

メインコントローラ部102は、画像形成装置100が有する各機能部を統括的に制御したり、各種処理を行ったりする。例えば、メインコントローラ部102は、スキャナ部103、FAX111、外部装置112等から入力される画像データを処理してプリンタ部104へ出力する処理を行う。また、例えば、メインコントローラ部102は、操作部105へ入力されるユーザ指示に応じて、スキャナ部103やプリンタ部104を含む画像形成装置100の統括的な動作を制御する。表示部106は、画像形成装置100の各種状態を表示する。表示部106は、例えば、画像形成装置100でのコピーの状況や設定、エラー発生時のエラー表示等を表示する。   The main controller unit 102 comprehensively controls each functional unit of the image forming apparatus 100 and performs various processes. For example, the main controller unit 102 performs a process of processing image data input from the scanner unit 103, the FAX 111, the external device 112, etc., and outputting the image data to the printer unit 104. Further, for example, the main controller unit 102 controls overall operation of the image forming apparatus 100 including the scanner unit 103 and the printer unit 104 according to a user instruction input to the operation unit 105. The display unit 106 displays various states of the image forming apparatus 100. The display unit 106 displays, for example, a copy status and settings in the image forming apparatus 100, an error display when an error occurs, and the like.

画像形成装置100は、動作モードとして、ジョブモード、スタンバイモード、及びスリープモードを有する。ジョブモードは、コピー動作やスキャン動作等のジョブを実行し、画像形成装置100のすべての部分に通電される動作モードである。スタンバイモードは、ジョブの受け付けを待機している状態であり、スキャナ部103及びプリンタ部104以外の部分に通電されている動作モードである。スリープモードは、必要最小限の負荷(FAX111等の外部との通信部やメインコントローラ部102)以外は動作しない動作モードである。   The image forming apparatus 100 has a job mode, a standby mode, and a sleep mode as operation modes. The job mode is an operation mode in which a job such as a copy operation or a scan operation is executed and all parts of the image forming apparatus 100 are energized. The standby mode is a state of waiting for job reception, and is an operation mode in which parts other than the scanner unit 103 and the printer unit 104 are energized. The sleep mode is an operation mode that does not operate except for a minimum load (a communication unit with the outside such as the FAX 111 or the main controller unit 102).

画像形成装置100は、操作部105やPC等の外部装置112より要求されるジョブを受けると、ジョブモードとなって画像形成動作等のジョブに応じた動作を行う。画像形成装置100は、ジョブの実行が終了するとスタンバイモードへと移行する。画像形成装置100は、スタンバイモードに移行した後、一定時間が経過しても本装置が使用されない場合や操作部105においてスリープモードへ移行させる操作が行われた場合、スリープモードへと移行する。   When the image forming apparatus 100 receives a job requested by the operation unit 105 or an external device 112 such as a PC, the image forming apparatus 100 enters a job mode and performs an operation according to the job such as an image forming operation. The image forming apparatus 100 shifts to the standby mode when the job execution is completed. After shifting to the standby mode, the image forming apparatus 100 shifts to the sleep mode when the apparatus is not used for a certain period of time or when the operation unit 105 performs an operation to shift to the sleep mode.

図2は、本実施形態におけるメインコントローラ部102の構成例を示すブロック図である。図2において、図1に示した構成要素と同一の機能を有する構成要素には同一の符号を付し、重複する説明は省略する。メインコントローラ部102は、CPU(Central Processing Unit)201、メモリ部202、HDD(ハードディスクドライブ)203、204、及び画像処理部205を有する。   FIG. 2 is a block diagram showing a configuration example of the main controller unit 102 in this embodiment. 2, constituent elements having the same functions as those of the constituent elements shown in FIG. 1 are designated by the same reference numerals, and redundant description will be omitted. The main controller unit 102 includes a CPU (Central Processing Unit) 201, a memory unit 202, HDDs (hard disk drives) 203 and 204, and an image processing unit 205.

CPU201は、画像形成装置100全体の制御を行う中央演算装置である。CPU201は、HDD203、204等に格納されたプログラムをメモリ部202に展開して実行することで、画像形成装置100の各機能部に係る制御を行う。例えば、CPU201は、操作部105、FAX111、外部装置112等からの信号を受けて、画像形成装置100が有する各機能部を制御してコピー機能、プリント機能、FAX機能等の各機能を実現する。CPU201は、HDD−A203及びHDD−B204の制御を行うHDD制御部206を有する。   The CPU 201 is a central processing unit that controls the entire image forming apparatus 100. The CPU 201 controls the respective functional units of the image forming apparatus 100 by expanding the program stored in the HDDs 203, 204 and the like into the memory unit 202 and executing the program. For example, the CPU 201 receives signals from the operation unit 105, the FAX 111, the external device 112, and the like, controls each functional unit of the image forming apparatus 100, and realizes each function such as a copy function, a print function, and a FAX function. . The CPU 201 has an HDD control unit 206 that controls the HDD-A 203 and the HDD-B 204.

HDD制御部206は、CPU201からの命令に応じて、HDD−A203及びHDD−B204の少なくとも一方に対して、データの書き込み(ライト)又は読み出し(リード)を行う。また、HDD制御部206は、HDD−A203及びHDD−B204のミラーリングを行う。ここで、ミラーリングとは、2つ以上のHDDに同じデータ(情報)を書き込むことにより、あるHDDが故障した場合に、他のHDDのデータを用いてデータを復元することが可能なシステムである。   The HDD control unit 206 writes (writes) or reads (reads) data to or from at least one of the HDD-A 203 and the HDD-B 204 according to a command from the CPU 201. The HDD control unit 206 also mirrors the HDD-A 203 and the HDD-B 204. Here, the mirroring is a system in which, by writing the same data (information) to two or more HDDs, if one HDD fails, the data can be restored using the data of another HDD. .

ミラーリングにおいては、2つ以上のHDDのうちの1つのHDDがデータの書き込み及び読み出しの対象となるマスターの記憶デバイスとなり、残りのHDDがデータの書き込みのみが対象となるスレーブの記憶デバイスとなる。図2に示す例では、2つのHDD203、204のうちの一方のHDDがデータの書き込み及び読み出しの対象となるマスターの記憶デバイスとなり、他方のHDDがデータの書き込みのみが対象となるスレーブの記憶デバイスとなる。以下の説明では、HDD−A203をマスターの記憶デバイスとし、HDD−B204をスレーブの記憶デバイスとする。   In the mirroring, one of the two or more HDDs is a master storage device for writing and reading data, and the remaining HDDs are slave storage devices for only writing data. In the example shown in FIG. 2, one of the two HDDs 203 and 204 serves as a master storage device for writing and reading data, and the other HDD serves as a slave storage device for writing data only. Becomes In the following description, the HDD-A 203 is the master storage device and the HDD-B 204 is the slave storage device.

メモリ部202は、CPU201で実行されるジョブ等のデータを一時的に格納する記憶デバイスであり、例えばDDR SDRAM等の揮発性メモリである。HDD−A203及びHDD−B204は、データを記憶する不揮発性の記憶デバイスである。例えば、CPU201は、HDD203、204等に格納されるプログラムに従い、メモリ部202をワークメモリとして用いて、画像形成装置100の各部を制御する。   The memory unit 202 is a storage device that temporarily stores data such as jobs executed by the CPU 201, and is, for example, a volatile memory such as DDR SDRAM. The HDD-A 203 and the HDD-B 204 are non-volatile storage devices that store data. For example, the CPU 201 controls each unit of the image forming apparatus 100 by using the memory unit 202 as a work memory according to a program stored in the HDDs 203 and 204.

なお、不揮発性の記憶デバイスとしては、HDD以外の記憶デバイスであってもよく、例えばSSD(ソリッドステートドライブ)等の不揮発性の記憶デバイスであってもよい。また、HDD203、204は、メインコントローラ部102の外部に設ける構成であってもよいし、画像形成装置100の外部に設ける構成であってもよい。また、図2に示す例では、CPU201とHDD203、204とが直接接続されている構成としているが、CPU201とは別の不図示のディスクアレイ装置(ディスクアレイコントローラ、ストレージコントローラ)を用いて制御を行う構成としてもよい。   The non-volatile storage device may be a storage device other than the HDD, for example, a non-volatile storage device such as SSD (solid state drive). The HDDs 203 and 204 may be provided outside the main controller unit 102 or may be provided outside the image forming apparatus 100. In the example shown in FIG. 2, the CPU 201 and the HDDs 203 and 204 are directly connected, but control is performed using a disk array device (disk array controller, storage controller) (not shown) other than the CPU 201. It may be configured to perform.

画像処理部205は、CPU201、プリンタ部104、及びスキャナ部103に接続され、入力される画像データに各種の画像処理を施して出力する。例えば、画像処理部205は、スキャナ部103から出力されたデジタル画像を色空間変換等の画像処理を行い、画像処理後のデータをCPU201に出力する。また、例えば、画像処理部205は、スキャナ部103で読み取られた画像データを基に色空間変換等の画像処理を行い、ビットマップデータに変換してプリンタ部104に出力する。   The image processing unit 205 is connected to the CPU 201, the printer unit 104, and the scanner unit 103, performs various kinds of image processing on input image data, and outputs the image data. For example, the image processing unit 205 performs image processing such as color space conversion on the digital image output from the scanner unit 103, and outputs the image-processed data to the CPU 201. Further, for example, the image processing unit 205 performs image processing such as color space conversion based on the image data read by the scanner unit 103, converts the image data into bitmap data, and outputs the bitmap data to the printer unit 104.

図3は、本実施形態におけるHDD203、204の構成例を示す概略図である。HDD203、204は、磁気ヘッド302を磁気ディスク301上のセクタ303まで移動させてデータの書き込みや読み出し、そしてデータの消去を行う。HDD203、204は、外部からの振動や温度・湿度の環境等によってデータを読み書きするセクタ303がずれて、データの書き込みや読み出しを実行することができずにエラーが発生することがある。また、HDD203、204は、データの書き込み又は読み取り中の不意な電源断や、ゴミやグリス等の影響によってセクタ303へのデータの書き込みや読み出しが正常に完了しないことが要因でエラーが発生することがある。本実施形態では、HDD203、204においてデータの書き込み若しくは読み出しができないエラー領域をCPU201が検出した場合、HDD制御部206は、エラーから復帰させるためのリカバリ処理を行う。   FIG. 3 is a schematic diagram showing a configuration example of the HDDs 203 and 204 in this embodiment. The HDDs 203 and 204 move the magnetic head 302 to the sector 303 on the magnetic disk 301 to write / read data and erase data. In the HDDs 203 and 204, the sector 303 for reading and writing data may be displaced due to external vibration, temperature / humidity environment, and the like, and writing and reading of data may not be performed, and an error may occur. An error may occur in the HDDs 203 and 204 due to an unexpected power failure during writing or reading of data, or the fact that writing or reading of data to or from the sector 303 cannot be completed normally due to the influence of dust or grease. There is. In the present embodiment, when the CPU 201 detects an error area in which data cannot be written or read in the HDDs 203 and 204, the HDD control unit 206 performs recovery processing for recovering from the error.

次に、図4(A)及び図4(B)を参照して、HDDにエラーが発生した場合のシステム処理構成の変化について説明する。図4(A)及び図4(B)は、本実施形態における画像形成装置の動作を説明する図である。   Next, with reference to FIGS. 4A and 4B, a change in system processing configuration when an error occurs in the HDD will be described. 4A and 4B are diagrams illustrating the operation of the image forming apparatus according to the present exemplary embodiment.

図4(A)は、正常に動作している時のシステム処理構成を示している。HDD制御部206によりシステム制御が行われており、HDD−A203がデータの書き込み及び読み出しが行われるマスターとして機能し、HDD−B204がデータの書き込みのみが行われるスレーブとして機能している。すなわち、処理システム401での処理において書き込むデータは、HDD−A203及びHDD−B204に書き込まれ、処理システム401での処理において読み出すデータは、HDD−A203から読み出される。   FIG. 4 (A) shows the system processing configuration when operating normally. The HDD control unit 206 controls the system, the HDD-A 203 functions as a master for writing and reading data, and the HDD-B 204 functions as a slave for only writing data. That is, the data to be written in the processing of the processing system 401 is written in the HDD-A 203 and the HDD-B 204, and the data to be read in the processing of the processing system 401 is read from the HDD-A 203.

図4(A)に示したシステム処理構成において、HDD−A203にエラーが発生した場合、図4(B)に示すように構成が変化する。HDD制御部206は、エラーが発生していないHDD−B204へ一時的にマスター機能を移し、処理システム401は、HDD−B204を用いて処理を継続する。また、HDD制御部206は、HDD−B204へマスター機能を移行すると同時に、エラーが発生したHDD−A203のリカバリ処理を実施する。   In the system processing configuration shown in FIG. 4A, when an error occurs in the HDD-A 203, the configuration changes as shown in FIG. 4B. The HDD control unit 206 temporarily transfers the master function to the HDD-B 204 in which no error has occurred, and the processing system 401 continues the processing using the HDD-B 204. Further, the HDD control unit 206 transfers the master function to the HDD-B 204 and, at the same time, carries out recovery processing of the HDD-A 203 in which the error has occurred.

リカバリ処理の例としては、フォーマットを行うことやエラーが発生していないHDD(HDD−B204)のデータをエラーが発生したHDD(HDD−A203)に対してコピーすることが挙げられる。リカバリ処理を実施する対象領域は、HDDの全領域としてもよいし、エラーが発生したセクタのみとしてもよいし、エラーが発生したセクタを含む所定範囲の領域としてもよい。   Examples of the recovery processing include formatting and copying the data of the HDD (HDD-B204) in which no error has occurred to the HDD (HDD-A203) in which the error has occurred. The target area on which the recovery process is performed may be the entire area of the HDD, only the sector in which the error has occurred, or an area within a predetermined range including the sector in which the error has occurred.

リカバリ処理が終了した後、HDD制御部206は、リカバリ処理したHDD−A203へのセルフテスト(自己診断処理)を行い、エラーの有無を確認する。セルフテストの結果、エラーが発生していなければ、HDD制御部206は、HDD−A203のリカバリ処理が成功したと判定して、図4(A)に示したシステム処理構成となるようにミラーリングの再構築を行う。一方、エラーが発生していれば、HDD制御部206は、HDD−A203のリカバリ処理が失敗したと判定して、図4(B)に示したシステム処理構成を継続させ、図5に一例を示すように表示部106にHDDの故障が発生した旨の表示を行う。   After the recovery process is completed, the HDD control unit 206 performs a self-test (self-diagnosis process) on the recovered HDD-A 203 to check whether there is an error. If no error has occurred as a result of the self-test, the HDD control unit 206 determines that the recovery processing of the HDD-A 203 has succeeded, and performs mirroring so that the system processing configuration shown in FIG. Rebuild. On the other hand, if an error has occurred, the HDD control unit 206 determines that the recovery processing of the HDD-A 203 has failed and continues the system processing configuration shown in FIG. 4B, and an example is shown in FIG. As shown, the display unit 106 displays that an HDD failure has occurred.

なお、図4(A)に示したシステム処理構成において、HDD−B204にエラーが発生した場合、マスターであるHDD−A203を用いて処理を継続しつつ、HDD制御部206は、エラーが発生したHDD−B204のリカバリ処理を実施する。そして、HDD−B204のリカバリ処理が成功すると、HDD制御部206は、図4(A)に示したシステム処理構成となるようにミラーリングの再構築を行う。また、HDD−B204のリカバリ処理が失敗すると、HDD−B204を用いずにHDD−A203を用いたシステム処理構成を継続し、表示部106にHDDの故障が発生した旨の表示を行う。   In the system processing configuration shown in FIG. 4A, when an error occurs in the HDD-B 204, the HDD control unit 206 continues the processing using the master HDD-A 203 and the error occurs. The recovery processing of the HDD-B 204 is executed. Then, when the recovery processing of the HDD-B 204 is successful, the HDD control unit 206 rebuilds the mirroring so that the system processing configuration shown in FIG. Further, when the recovery process of the HDD-B 204 fails, the system processing configuration using the HDD-A 203 is continued without using the HDD-B 204, and the display unit 106 displays that the HDD has failed.

次に、本実施形態における画像形成装置100のHDDエラー発生時の処理例を説明する。図6は、本実施形態における画像形成装置100のHDDエラー発生時の処理例を示すフローチャートである。HDDエラーが発生する前は、HDD203、204がミラーリング構成となっており、HDD−A203がマスターとして機能し、HDD−B204がスレーブとして機能しているものとする。   Next, a processing example when the HDD error of the image forming apparatus 100 according to the present embodiment occurs will be described. FIG. 6 is a flowchart showing a processing example when the HDD error of the image forming apparatus 100 according to the present embodiment occurs. Before the HDD error occurs, it is assumed that the HDDs 203 and 204 have a mirroring configuration, the HDD-A 203 functions as a master, and the HDD-B 204 functions as a slave.

ステップS601にて、CPU201のHDD制御部206が、HDD203、204のいずれかでデータの書き込みや読み出しを実行することができないエラーを検出すると、ステップS602へ進む。ステップS602にて、HDD制御部206は、エラーが発生したHDDの特定を行う。   In step S601, when the HDD control unit 206 of the CPU 201 detects an error in which data cannot be written or read in any of the HDDs 203 and 204, the process proceeds to step S602. In step S602, the HDD control unit 206 identifies the HDD in which the error has occurred.

次に、ステップS603にて、HDD制御部206は、エラーが発生したHDDがHDD−A203であるか否かを判定する。エラーが発生したHDDがHDD−A203でない、すなわちHDD−B204にエラーが発生したとHDD制御部206が判定した場合(No)、ステップS604にて、HDD制御部206は、HDD−A203でシステム処理を継続させるよう制御する。一方、HDD−A203にエラーが発生したとHDD制御部206が判定した場合(Yes)、ステップS605にて、HDD制御部206は、HDD−B204へ一時的にマスター機能を移し、HDD−B204でシステム処理を継続させるよう制御する。   Next, in step S603, the HDD control unit 206 determines whether the HDD in which the error has occurred is the HDD-A203. If the HDD in which the error has occurred is not the HDD-A 203, that is, if the HDD control unit 206 determines that an error has occurred in the HDD-B 204 (No), the HDD control unit 206 causes the HDD-A 203 to perform system processing in step S604. Control to continue. On the other hand, when the HDD control unit 206 determines that an error has occurred in the HDD-A 203 (Yes), the HDD control unit 206 temporarily transfers the master function to the HDD-B 204 in step S605, and the HDD-B 204 proceeds. Control to continue system processing.

そして、ステップS606にて、HDD制御部206は、エラーが発生したHDDのリカバリ処理を開始し、ステップS607にて、リカバリ処理が終了したとHDD制御部206が判定すると、ステップS608へ進む。ステップS608にて、HDD制御部206は、リカバリ処理を行ったHDDに対してセルフテストを行い、エラーの有無を確認することでリカバリが成功したか否かを判定する。リカバリが成功したとHDD制御部206が判定した場合(Yes)、ステップS609にて、HDD制御部206は、ミラーリングを再構築して、HDD−A203をマスターとし、HDD−B204をスレーブとして処理を継続する。リカバリが失敗したとHDD制御部206が判定した場合(No)、ステップS610にて、HDD制御部206は、図5に示したようにHDD故障の発生とサービスマンコールを行う旨を表示部106に表示させる。   Then, in step S606, the HDD control unit 206 starts recovery processing of the HDD in which the error has occurred, and in step S607, when the HDD control unit 206 determines that the recovery processing has ended, the processing proceeds to step S608. In step S608, the HDD control unit 206 performs a self-test on the HDD that has been subjected to the recovery process, and checks whether or not there is an error to determine whether or not the recovery has succeeded. When the HDD control unit 206 determines that the recovery has succeeded (Yes), the HDD control unit 206 rebuilds the mirroring in step S609 and processes the HDD-A203 as the master and the HDD-B204 as the slave. continue. When the HDD control unit 206 determines that the recovery has failed (No), in step S610, the HDD control unit 206 displays the occurrence of the HDD failure and the fact that the serviceman call will be performed as shown in FIG. To display.

以上のように、ミラーリング構成を採用した本実施形態における画像形成装置において、HDD203、204のうちの一方にエラーが発生した場合、エラーが発生していないHDDで処理を継続し、エラーが発生したHDDのリカバリ処理を自動で実施する。これにより、HDD内のゴミ等による一時的なエラーが発生した場合、自動的にリカバリ処理を実施することで、HDDの交換を実施せずにHDDエラーから自動で復帰することが可能となる。   As described above, in the image forming apparatus according to the present embodiment that employs the mirroring configuration, when an error occurs in one of the HDDs 203 and 204, the HDD in which no error has occurred continues processing and an error occurs. HDD recovery processing is automatically executed. As a result, when a temporary error occurs due to dust in the HDD or the like, the recovery process is automatically performed, so that it is possible to automatically recover from the HDD error without replacing the HDD.

また、従来は、HDDのエラーが発生すると、HDDエラーから復帰できる場合であっても、HDDの交換が実施されてしまい、サービスマンとユーザともに負担となっていた。それに対して本実施形態では、HDDエラーから自動で復帰できる場合には、サービスマンコールを行わずに継続して処理を実行することが可能となるため、サービスマンコールの頻度が減少し、ユーザ、サービスマンともに負担を軽減することが可能である。   Further, conventionally, when an HDD error occurs, even if the HDD error can be recovered, the HDD is replaced, which places a burden on both the service person and the user. On the other hand, in the present embodiment, when it is possible to automatically recover from the HDD error, the processing can be continuously executed without performing the serviceman call, so that the frequency of the serviceman call is reduced and the user , Both service personnel can reduce the burden.

なお、本実施形態では、2つのHDDを搭載している例を示したが、3つ以上のHDDを搭載した場合についても同様に適用が可能である。また、本実施形態では、エラーを検出した際にはリカバリ処理を行うようにしているが、エラーの検出回数を計測する計測部を設け、エラーの検出回数が所定の回数以上となった場合、リカバリ処理を行わないようにしてもよい。すなわち、エラーの検出回数が所定の回数以上である場合、エラーを検出してもリカバリ処理を行うことなく、HDD故障の発生とサービスマンコールを行う旨を表示部106に表示させることも可能である。また、本実施形態では、リカバリ処理が成功した場合、エラー発生前のシステム処理構成となるようにミラーリングの再構築を行う例を示したが、リカバリ処理されたHDDをスレーブとして加えるようにしてミラーリングの再構築を行うようにしてもよい。   It should be noted that in the present embodiment, an example in which two HDDs are mounted is shown, but the same can be applied to a case where three or more HDDs are mounted. Further, in the present embodiment, the recovery process is performed when an error is detected. However, a measuring unit that measures the number of times of error detection is provided, and when the number of error detection is equal to or more than a predetermined number, The recovery process may not be performed. That is, when the number of times of error detection is a predetermined number or more, even if an error is detected, it is possible to display on the display unit 106 that the occurrence of the HDD failure and the serviceman call are performed without performing the recovery process. is there. Further, in the present embodiment, when the recovery process is successful, the example of performing the rebuilding of the mirroring so that the system processing configuration before the error occurs is shown. However, the recovery-processed HDD is added as a slave to perform the mirroring. May be reconstructed.

また、本実施形態では、情報処理装置として画像形成装置100を一例に説明したが、これに限定されるものではない。複数のHDDを備えてミラーリングを行う機能を持ち、かつエラーが発生した時に自動でリカバリ処理を行い、リカバリ処理が成功した時にミラーリングを再構築する機能を有する任意の情報処理装置に適用することが可能である。   Further, in the present embodiment, the image forming apparatus 100 is described as an example of the information processing apparatus, but the information processing apparatus is not limited to this. It can be applied to any information processing apparatus having a plurality of HDDs and having a function of performing mirroring, automatically performing recovery processing when an error occurs, and reconstructing mirroring when the recovery processing is successful. It is possible.

(本発明の他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other Embodiments of the Present Invention)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、前記実施形態は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   It should be noted that each of the above-described embodiments is merely an example of the embodiment in carrying out the present invention, and the technical scope of the present invention should not be limitedly interpreted by these. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

100:画像形成装置 102:メインコントローラ部 103:スキャナ部 104:プリンタ部 105:操作部 106:表示部 201:CPU 202:メモリ部 203、204:HDD(ハードディスクドライブ) 205:画像処理部 100: image forming apparatus 102: main controller section 103: scanner section 104: printer section 105: operating section 106: display section 201: CPU 202: memory section 203, 204: HDD (hard disk drive) 205: image processing section

Claims (14)

一方がデータの書き込み及び読み出しの対象となり、他方がデータの書き込みの対象となってミラーリングを行い、同じデータを記憶する第1の記憶手段及び第2の記憶手段と、
前記第1の記憶手段及び前記第2の記憶手段のいずれかにエラーが発生したことを検出した場合、前記エラーが発生していない記憶手段で処理を継続するよう制御し、前記エラーが発生した記憶手段のリカバリ処理を行う制御手段とを有することを特徴とする情報処理装置。
A first storage means and a second storage means for storing the same data, one of which is a target of data writing and reading and the other of which is a data writing target to perform mirroring.
When it is detected that an error has occurred in either the first storage unit or the second storage unit, the storage unit in which the error has not occurred is controlled to continue processing, and the error has occurred. An information processing apparatus comprising: a control unit that performs a recovery process of a storage unit.
前記制御手段は、前記エラーが発生した記憶手段がデータの書き込み及び読み出しの対象となる記憶手段である場合、前記エラーが発生していない記憶手段をデータの書き込み及び読み出しの対象となる記憶手段に移行させることを特徴とする請求項1記載の情報処理装置。   When the storage means in which the error has occurred is a storage means for writing and reading data, the control means sets the storage means in which no error has occurred to the storage means for writing and reading data. The information processing apparatus according to claim 1, wherein the information processing apparatus is moved. 前記リカバリ処理では、前記エラーが発生した記憶手段に対してフォーマットを行うことを特徴とする請求項1又は2記載の情報処理装置。   3. The information processing apparatus according to claim 1, wherein in the recovery process, the storage unit in which the error has occurred is formatted. 前記リカバリ処理では、前記エラーが発生していない記憶手段が記憶しているデータを前記エラーが発生した記憶手段に対してコピーすることを特徴とする請求項1〜3の何れか1項に記載の情報処理装置。   4. The recovery processing copies data stored in the storage unit in which the error has not occurred to the storage unit in which the error has occurred. Information processing equipment. 前記制御手段は、前記リカバリ処理が終了した後の記憶手段に対してエラーの有無を確認するセルフテストを行い、セルフテストの結果、エラーが発生していなければ前記第1の記憶手段及び前記第2の記憶手段のミラーリングの再構築を行うことを特徴とする請求項1〜4の何れか1項に記載の情報処理装置。   The control means performs a self-test for checking the presence / absence of an error in the storage means after the recovery processing is completed, and as a result of the self-test, if no error occurs, the first storage means and the first storage means. The information processing apparatus according to any one of claims 1 to 4, wherein the mirroring of the second storage unit is reconstructed. 前記制御手段は、前記エラーが発生した記憶手段がデータの書き込み及び読み出しの対象となる記憶手段である場合、前記セルフテストの結果、エラーが発生していなければ前記リカバリ処理が行われた記憶手段をデータの書き込み及び読み出しの対象となる記憶手段にし、前記エラーが発生していない記憶手段をデータの書き込みの対象となる記憶手段にすることを特徴とする請求項5記載の情報処理装置。   When the storage unit in which the error has occurred is a storage unit to which data is written and read, the control unit stores the recovery process if no error has occurred as a result of the self-test. 6. The information processing apparatus according to claim 5, wherein the storage means for writing and reading data is a storage means, and the storage means for which the error has not occurred is a storage means for writing data. 前記制御手段は、前記セルフテストの結果、エラーが発生していれば記憶手段の故障が発生したことを表示手段に表示させることを特徴とする請求項5又は6記載の情報処理装置。   7. The information processing apparatus according to claim 5, wherein the control unit causes the display unit to display that a failure of the storage unit has occurred if an error has occurred as a result of the self-test. 前記制御手段は、前記エラーが発生した記憶手段の全領域に対して前記リカバリ処理を行うことを特徴とする請求項1〜7の何れか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 7, wherein the control unit performs the recovery process on the entire area of the storage unit in which the error has occurred. 前記制御手段は、前記エラーが発生した領域のみに対して前記リカバリ処理を行うことを特徴とする請求項1〜7の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the control unit performs the recovery process only on an area where the error has occurred. 前記制御手段は、前記エラーが発生した領域を含む所定範囲の領域に対して前記リカバリ処理を行うことを特徴とする請求項1〜7の何れか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 7, wherein the control unit performs the recovery process on an area within a predetermined range including the area where the error has occurred. 前記エラーの検出回数を計測する計測手段を有し、
前記制御手段は、前記計測手段により計測された前記エラーの検出回数が所定の回数以上である場合、前記エラーが発生した記憶手段のリカバリ処理を行わずに、記憶手段の故障が発生したことを表示手段に表示させることを特徴とする請求項1〜10の何れか1項に記載の情報処理装置。
A measuring unit for measuring the number of times the error is detected,
When the number of times of detecting the error measured by the measuring unit is a predetermined number or more, the control unit determines that a failure of the storage unit has occurred without performing recovery processing of the storage unit in which the error has occurred. The information processing apparatus according to claim 1, wherein the information processing apparatus displays the information on a display unit.
前記情報処理装置は、画像形成装置であることを特徴とする請求項1〜11の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information processing apparatus is an image forming apparatus. 一方がデータの書き込み及び読み出しの対象となり、他方がデータの書き込みの対象となってミラーリングを行い、同じデータを記憶する第1の記憶手段及び第2の記憶手段を有する情報処理装置の制御方法であって、
前記第1の記憶手段及び前記第2の記憶手段のいずれかにエラーが発生したことを検出した場合、前記エラーが発生していない記憶手段で処理を継続するよう制御する工程と、
前記エラーが発生した記憶手段のリカバリ処理を行う工程とを有することを特徴とする情報処理装置の制御方法。
A method of controlling an information processing apparatus having a first storage means and a second storage means for storing the same data, one of which is a target of data writing and reading and the other of which is a data writing target and which performs mirroring There
When it is detected that an error has occurred in any of the first storage unit and the second storage unit, a step of controlling the storage unit in which the error has not occurred to continue the processing,
And a step of performing recovery processing of the storage unit in which the error has occurred.
一方がデータの書き込み及び読み出しの対象となり、他方がデータの書き込みの対象となってミラーリングを行い、同じデータを記憶する第1の記憶手段及び第2の記憶手段を有する情報処理装置のコンピュータに、
前記第1の記憶手段及び前記第2の記憶手段のいずれかにエラーが発生したことを検出した場合、前記エラーが発生していない記憶手段で処理を継続するよう制御するステップと、
前記エラーが発生した記憶手段のリカバリ処理を行うステップとを実行させるためのプログラム。
One of the data write / read targets and the other data write target performs mirroring, and a computer of an information processing apparatus having a first storage unit and a second storage unit that stores the same data,
When it is detected that an error has occurred in any of the first storage means and the second storage means, a step of controlling the storage means in which the error has not occurred to continue processing,
And a step of performing recovery processing of the storage means in which the error has occurred.
JP2018190321A 2018-10-05 2018-10-05 Information processing device, control method of information processing device, and program Pending JP2020060869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018190321A JP2020060869A (en) 2018-10-05 2018-10-05 Information processing device, control method of information processing device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018190321A JP2020060869A (en) 2018-10-05 2018-10-05 Information processing device, control method of information processing device, and program

Publications (1)

Publication Number Publication Date
JP2020060869A true JP2020060869A (en) 2020-04-16

Family

ID=70219874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018190321A Pending JP2020060869A (en) 2018-10-05 2018-10-05 Information processing device, control method of information processing device, and program

Country Status (1)

Country Link
JP (1) JP2020060869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11954365B2 (en) 2021-04-05 2024-04-09 Canon Kabushiki Kaisha Information processing apparatus that controls memory system, method of controlling same, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11954365B2 (en) 2021-04-05 2024-04-09 Canon Kabushiki Kaisha Information processing apparatus that controls memory system, method of controlling same, and storage medium

Similar Documents

Publication Publication Date Title
US20130332780A1 (en) Information processing apparatus capable of appropriately providing notification of storage unit failure prediction, control method therefor, and storage medium
KR101251717B1 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
JP5506568B2 (en) Data processing apparatus, data processing method for data processing apparatus, and program
US20060132958A1 (en) Fault diagnosis apparatus, recording medium recording fault diagnosis program and fault diagnosis method
JP2009230608A (en) Storage system, control device, image forming apparatus and control program
US8643888B2 (en) Image forming apparatus and method for controlling the same
KR100827287B1 (en) Semiconductor secondary memory unit and data saving method using the same
US10154156B2 (en) Image forming apparatus and method for controlling image forming apparatus
JP2020060869A (en) Information processing device, control method of information processing device, and program
JP4908462B2 (en) Image processing system and image processing apparatus
JP2012103873A (en) Image processing device and mirroring determination method
JP2010026961A (en) Control device, control method, and program
US20200210297A1 (en) Information processing apparatus and method of controlling information processing apparatus
US20190095282A1 (en) Information processing apparatus, information processing system, and control method by the same
JP6520640B2 (en) Image formation system
JP7263067B2 (en) Information processing device and information processing device control method
JPH0930091A (en) Printer control device
US10992825B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
JP2021086373A (en) Information processing apparatus, and method of controlling information processing apparatus
JP2021108054A (en) Information processing device, control method of the same, and program
JP2021179730A (en) Information processing apparatus, control method thereof, and program
JP2021082198A (en) Information processing apparatus, method for controlling the same, and program
JP2018180811A (en) Storage control device, main controller, storage control method, and program
JP2021105843A (en) Information processing apparatus and method for controlling information processing apparatus
JP2021105844A (en) Information processing apparatus and method for controlling information processing apparatus