JP6350411B2 - Information processing apparatus and image forming apparatus - Google Patents
Information processing apparatus and image forming apparatus Download PDFInfo
- Publication number
- JP6350411B2 JP6350411B2 JP2015127578A JP2015127578A JP6350411B2 JP 6350411 B2 JP6350411 B2 JP 6350411B2 JP 2015127578 A JP2015127578 A JP 2015127578A JP 2015127578 A JP2015127578 A JP 2015127578A JP 6350411 B2 JP6350411 B2 JP 6350411B2
- Authority
- JP
- Japan
- Prior art keywords
- hdd
- data
- writing
- storage device
- impact
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、情報処理装置及び画像形成装置に係り、例えばHDD(Hard Disk Drive)等の大容量記憶装置を備える情報処理装置及び画像形成装置に関する。 The present invention relates to an information processing apparatus and an image forming apparatus, and more particularly to an information processing apparatus and an image forming apparatus that include a large-capacity storage device such as an HDD (Hard Disk Drive).
サーバーシステム、PC、複合機などのような情報処理装置は、複数の記憶装置を備え、冗長性を向上させた処理を行っている。例えば、RAID1はディスクの耐障害性を高める手法であって、同一のデータが複数のディスクに書き込まれる。一方のディスクが故障した場合でも、他方のディスクが処理を続行することができる。すなわち、RAID1では、同じデータを格納したディスクの「コピー」を用意することで、故障に備えており、通常は2台のディスクを使って実現される。 An information processing apparatus such as a server system, a PC, or a multifunction peripheral includes a plurality of storage devices and performs processing with improved redundancy. For example, RAID1 is a technique for increasing the fault tolerance of a disk, and the same data is written to a plurality of disks. Even if one disk fails, the other disk can continue processing. That is, in RAID1, a “copy” of a disk storing the same data is prepared to prepare for a failure, and is normally realized using two disks.
また、データやHDDの保護の観点から、3Dセンサーにより振動や衝撃を検知した際に、実行中のデータアクセスをディスクを回転させているモーターの回転数を制御することでデータの書き込みを実現する技術である(例えば特許文献1参照)。 Also, from the viewpoint of data and HDD protection, when a vibration or impact is detected by a 3D sensor, data writing is executed by controlling the number of rotations of the motor that rotates the disk during data access. It is a technique (for example, refer to Patent Document 1).
ところで、2つのHDDによるRAID1では、片方のHDDが故障した場合や回転が安定しない場合、回転数の遅い方のHDDに合わせた処理となり、待ち時間が発生するという課題がある。また、特許文献1に開示の技術では、RAID1の環境下においてディスクの回転数が一番低いものに合わせて処理を行うため、書き込み時間が長くなるという課題があった。 By the way, in RAID1 with two HDDs, when one HDD fails or rotation is not stable, there is a problem that processing is performed in accordance with the HDD with the lower rotation speed and waiting time occurs. Further, the technique disclosed in Patent Document 1 has a problem that the writing time becomes long because processing is performed in accordance with the disk having the lowest rotational speed in a RAID 1 environment.
本発明はこのような状況に鑑みてなされたものであり、上記課題を解決できる技術を提供することを目的とする。 This invention is made | formed in view of such a condition, and it aims at providing the technique which can solve the said subject.
本発明は、ミラーリングがなされる複数のストレージと、前記複数のストレージの動作を制御する記憶装置制御部と、前記ストレージに設けられた衝撃センサーとを有する情報処理装置であって、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行するか否かを判断し、前記フォーマットが不要の場合、又はフォーマット処理が完了した場合、前記衝撃センサーが検知した衝撃の感度レベルに応じて、前記複数のストレージのディスクの回転数を制御するか否かを判断し、前記複数のストレージが少なくとも第1HDDと第2HDDとを含み、前記第1HDDが衝撃を受けず、前記第2HDDへの前記衝撃の感度レベルがデータの書き込みを行う速度を下げなければならないレベルであった場合、又は前記衝撃の影響により前記第2HDDをフォーマットしていた場合、前記第2HDDのディスクの回転数を下げ、前記第1HDDのディスクの回転数を上げて前記データの書き込みを実行し、回転数を上げた前記第1HDDへの前記データの書き込みが完了後、回転数を下げていた前記第2HDDのディスクの回転数を上げて前記データの書き込みを実行し、前記第1HDD及び前記第2HDDへの前記データの書き込みを完了させ、ミラーリングを実行する。
また、前記記憶装置制御部は、さらに、前記第1HDD及び前記第2HDDへの前記データの書き込みが完了すると、前記第1HDD又は前記第2HDDにおいて前記データの書き込みのエラーの有無をチェックし、前記データの書き込みのエラーがあった場合、エラーがあった領域への再度の前記データの書き込みを実行し、再度の前記データの書き込みの実行完了後、ミラーリングを実行する。
本発明は、ミラーリングがなされる複数のストレージと、前記複数のストレージの動作を制御する記憶装置制御部と、前記ストレージに設けられた衝撃センサーとを有する情報処理装置であって、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行するか否かを判断し、前記フォーマットが不要の場合、又はフォーマット処理が完了した場合、前記衝撃センサーが検知した衝撃の感度レベルに応じて、前記複数のストレージのディスクの回転数を制御するか否かを判断し、前記複数のストレージが少なくともSSDとHDDとを含み、前記HDDへの前記衝撃の感度レベルがデータの書き込みを行う速度を下げなければならないレベルであった場合、又は前記衝撃の影響により前記HDDをフォーマットしていた場合、前記HDDのディスクの回転数を下げ、前記SSDへの前記データの書き込みを実行し、前記SSDへの前記データの書き込みが完了後、回転数を下げていた前記HDDのディスクの回転数を上げて前記データの書き込みを実行し、前記SSD及び前記HDDへの前記データの書き込みを完了させ、ミラーリングを実行する。
また、前記記憶装置制御部は、前記SSD及び前記HDDへの前記データの書き込みが完了すると、前記SSD及び前記HDDにおいて前記データの書き込みのエラーの有無をチェックし、前記データの書き込みのエラーがあった場合、エラーがあった領域への再度の前記データの書き込みを実行し、再度の前記データの書き込みの実行完了後、ミラーリングを実行する。
本発明は、上記の情報処理装置を備える画像形成装置である。
The present invention is an information processing apparatus including a plurality of storages that are mirrored, a storage device control unit that controls operations of the plurality of storages, and an impact sensor provided in the storage, wherein the storage device control The unit determines whether to format the storage based on the detection result of the impact sensor . When the formatting is unnecessary or when the formatting process is completed, the impact detected by the impact sensor is determined. According to the sensitivity level of the plurality of storages, it is determined whether to control the number of rotations of the disks of the plurality of storages, the plurality of storages include at least a first HDD and a second HDD, and the first HDD is not impacted, The sensitivity level of the impact on the second HDD was a level that had to reduce the speed at which data was written. Or when the second HDD is formatted due to the impact, the rotational speed of the disk of the second HDD is decreased, the rotational speed of the disk of the first HDD is increased, and the data writing is executed. After the writing of the data to the first HDD with the increased value is completed, the rotation of the disk of the second HDD that has been decreased in rotation speed is increased, and the data writing is executed, and the data is written to the first HDD and the second HDD. The writing of the data is completed and mirroring is executed.
In addition, when the data writing to the first HDD and the second HDD is completed , the storage device control unit checks whether there is an error in the data writing in the first HDD or the second HDD, and the data If there is an error in writing, the data is written again to the area where the error occurred, and mirroring is executed after the completion of writing the data again.
The present invention is an information processing apparatus including a plurality of storages that are mirrored, a storage device control unit that controls operations of the plurality of storages, and an impact sensor provided in the storage, wherein the storage device control The unit determines whether to format the storage based on the detection result of the impact sensor. When the formatting is unnecessary or when the formatting process is completed, the impact detected by the impact sensor is determined. It is determined whether or not to control the number of rotations of the disks of the plurality of storages according to the sensitivity level of the plurality of storages, the plurality of storages include at least SSD and HDD, and the sensitivity level of the shock to the HDD is data When the write speed of the HDD must be reduced, or the HDD is affected by the impact If the HDD has been formatted, the number of revolutions of the HDD disk is reduced, the writing of the data to the SSD is executed, and the writing of the data to the SSD is completed, and then the number of revolutions of the HDD is reduced. The number of rotations is increased to execute the writing of the data, the writing of the data to the SSD and the HDD is completed, and mirroring is executed.
In addition, when the writing of the data to the SSD and the HDD is completed, the storage device control unit checks whether there is an error in the data writing in the SSD and the HDD, and there is an error in the data writing. In this case, the data is written again to the area where the error occurred, and mirroring is executed after the completion of the data writing .
The present invention is an image forming apparatus including the information processing apparatus.
本発明によると、複数のストレージによりミラーリングを行う場合であって、衝撃を検知した後の処理速度を向上させる技術を実現できる。 According to the present invention, it is possible to realize a technique for improving the processing speed after detecting an impact even when mirroring is performed by a plurality of storages.
以下、本発明を実施するための形態(以下、「実施形態」という)について図面を参照して説明する。) Hereinafter, modes for carrying out the present invention (hereinafter referred to as “embodiments”) will be described with reference to the drawings. )
<第1の実施形態>
本実施形態の概要は次の通りである。
(1)RAID1を使用している環境下において、Gセンサー(3軸加速度センサー)で衝撃を検知し、衝撃の大きさに応じてHDDの回転数をソフトウェアにより制御する。その結果、既存のRAID1よりも速くデータの書き込み処理を行うことが実現される。
(2)片方のHDDが故障していた場合、故障しなかった方のHDDのディスク回転数を上げる制御を実行する。その結果、既存の場合よりも書き込みを早く完了することが可能である。
(3)ミラーリング実行前に、対応していない拡張子や壊れているファイルデータをミラーリングに反映しないようにする。
以下、より具体的に説明する。
<First Embodiment>
The outline of the present embodiment is as follows.
(1) In an environment where RAID 1 is used, an impact is detected by a G sensor (3-axis acceleration sensor), and the rotational speed of the HDD is controlled by software according to the magnitude of the impact. As a result, it is possible to perform data write processing faster than existing RAID1.
(2) If one of the HDDs has failed, control is performed to increase the disk rotation speed of the HDD that has not failed. As a result, writing can be completed earlier than in the existing case.
(3) Before executing mirroring, make sure that unsupported extensions and broken file data are not reflected in mirroring.
More specific description will be given below.
図1は、本実施形態に係る画像形成装置10の概略構成を示すブロック図である。画像形成装置10は、例えば、複合機(MFP)やプリンター等である。画像形成装置10は、制御部20、通信処理部22、印刷実行処理部31、スキャン実行処理部32、ユーザーIF40、記憶装置接続IF45、記憶装置部50とを備える。
FIG. 1 is a block diagram illustrating a schematic configuration of an
通信処理部22は、有線LANや無線LAN、USB通信等の通信インターフェイスであり、PC等の外部機器と通信可能に接続される。
The
制御部20は、MPU(Micro-Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備え、各構成要素を統括的に制御することで、印刷出力処理や、原稿等の読み取り処理、構成要素の動作のステータス監視処理や動作制御等を行う。さらに、制御部20は、本実施形態に特徴的な動作を実現するための要素として、記憶装置制御部60を備える。
The
印刷実行処理部31は、一般的な印刷実行機能を有し、制御部20からの指示により印刷動作を実行する。スキャン実行処理部32は、一般的な構成であって、スキャナー、プラテンガラス、原稿読取スリット等を備え、制御部20からの指示により原稿の読み取り処理を実行する。
The print
ユーザーIF40は、表示パネル部41と、操作ボタン部42を備える。表示パネル部41は、画像形成装置10に関するステータス情報や操作情報等を表示する。操作ボタン部42は、画像形成装置10に対するユーザー操作を受け付ける。なお、操作ボタン部42は、表示パネル部41と一体に構成されるタッチパネル式のIFや物理的ボタンのIFがあり、それらが組み合わさったインターフェイスであってもよい。
The user IF 40 includes a
記憶装置接続IF45は、記憶装置部50との接続及び通信を制御する。また、記憶装置接続IF45は、外部の所定の記憶装置(外付け大容量HDDやメモリーカード)との接続インターフェイスとしても機能する。印刷出力における部数印刷の印刷ジョブやスキャン実行処理部32からの送信ジョブは、円滑な出力やネットワークエラー防止の観点から記憶装置部50にデータを蓄積してから実行される。
The storage device connection IF 45 controls connection and communication with the
記憶装置部50は、第1HDD51と第2HDD52とを備え、RAID1を構成している。第1HDD51は、第1Gセンサー51aを備え、第1HDD51への衝撃や落下を検知して、検知すると第1HDD51のディスク回転速度を下げたり電源を自動でオフする。第2HDD52も、第2Gセンサー52aを備え、第2HDD52への衝撃や落下を検知して、検知すると第2HDD52のディスク回転速度を下げたり電源を自動でオフする。また、第1Gセンサー51a及び第2Gセンサー52aの検知結果は、記憶装置制御部60に通知される。なお、第1HDD51及び第2HDD52を区別しない場合は、単に「HDD」と称する。
The
記憶装置制御部60は、RAID1を構成する第1HDD51と第2HDD52の動作を制御する。すなわち、記憶装置制御部60は、第1HDD51と第2HDD52へのアクセス、すなわち書き込み・読み込み処理、ディスク回転数を制御するとともに、RAID1に基づくミラーリング処理を制御する。なお、ディスク回転数は、記憶装置制御部60に備わるいわゆるソフトウェアツールによって実行される。
The storage
以上の構成による、衝撃を受けた場合の画像形成装置10の動作を以下に説明する。図2は、衝撃センサー(Gセンサー)で衝撃を検知した場合の記憶装置部50の処理を示したフローチャートである。ここでは、第1HDD51が衝撃を受けていない又は受けた衝撃が小さかったHDD、第2HDD52が衝撃を受けたHDDとする。
The operation of the
HDDに搭載されている衝撃センサー(第1Gセンサー51a、第2Gセンサー52a)が衝撃を検知すると(S10)、記憶装置制御部60は、片方または両方のHDDをフォーマットするかどうかを判断する(S12)。フォーマットをする必要があれば(S14のY)、記憶装置制御部60は記憶装置部50のフォーマットを実行する(S16)。フォーマットを実行することで、書き込みを実行しやすい環境を作ることができる。なお、この点を特に考慮しない場合には、フォーマットの実行処理を省いても良い。その場合、以降の処理においてフォーマット有無に基づく判断処理等は不要となる。
When the impact sensors (the
フォーマットが不要の場合(S14のN)、又はフォーマット処理が完了した場合(S16)、記憶装置制御部60は、衝撃センサー(第1Gセンサー51a、第2Gセンサー52a)が検知した衝撃の感度レベルに応じて、第1HDD51及び第2HDD52のディスクの回転数を制御するか判断する(S18)。ここで、上述のフォーマットの有無については、あくまで、ディスク回転制御を実行する際に、フォーマットされたHDDへのデータの読み書きを行ったかどうかを判断するための基準として用いる。よって、フォーマット方法については特に指定はなし。
When the formatting is unnecessary (N in S14) or when the formatting process is completed (S16), the storage
衝撃の感度レベルがHDDへのデータの書き込みに対して問題ないレベルであれば、言い換えると、特に回転制御が不要である場合(S18のa)、記憶装置制御部60は、第1HDD51及び第2HDD52において、現状のディスクの回転数のまま処理を行い(S20)、ミラーリングを実行する(S22)。既存のRAID1の処理と同等である。
If the impact sensitivity level is a level that does not cause a problem with data writing to the HDD, in other words, particularly when rotation control is not required (a in S18), the storage
片方のHDD(ここでは第2HDD52)への衝撃の感度レベルがデータの書き込みを行う速さを下げなければならないレベルであった場合、または衝撃の影響により第2HDD52をフォーマットしていた場合(S18のb)、記憶装置制御部60は、第2HDD52のディスクの回転数を下げ、衝撃を受けなかった第1HDD51のディスクの回転数を上げデータの書き込みを実行する(S24)。
When the sensitivity level of the impact on one HDD (here, the second HDD 52) is a level at which the data writing speed has to be reduced, or when the
なお、第1HDD51及び第2HDD52の両方でフォーマットが実行されていた場合、先にフォーマットを完了した方から前述と同じ手順でデータの書き込みを実行する。
If formatting has been executed in both the
そして、記憶装置制御部60は、S24で回転数を上げた第1HDD51への書き込みが完了後、回転数を下げていた第2HDD52のディスクの回転数を上げて書き込みを実行する(S26)。この際、記憶装置制御部60は、第1HDD51のディスクの回転数は下げ、書き込み時に対応していない拡張子のファイルを書き込んだなどのエラーの有無をチェックする。もしエラーがあった場合は、エラー箇所のみを再度データの書き込みを実行する。
Then, after the writing to the
第1HDD51及び第2HDD52の両方への書き込みが完了すると(S28)、記憶装置制御部60は、第1HDD51及び第2HDD52においてデータの書き込みエラーの有無をチェックする(S30)。
When writing to both the
片方、つまり衝撃の大きかった第2HDD52において書き込みエラーがあった場合(S30のa)、記憶装置制御部60は、エラーがあった領域のみ再度データの書き込みを実行する(S32)。実行完了後、記憶装置制御部60は、ミラーリングを実行する(S22)。なお、この場合、第1HDD51は書き込みエラーがなかった場合、もしくは第2HDD52へのデータ書き込み待ちの際に既に書き込みエラー箇所への再書き込みを完了している場合とする。
If there is a write error in one, that is, the
書き込みエラーがなかった場合(S30のb)、記憶装置制御部60は、S28の処理で書き込み完了した状態のデータの内容をミラーリングする(S22)。
When there is no writing error (b in S30), the storage
第1HDD51及び第2HDD52の両方にデータ書き込みエラーがあった場合(S30のc)、記憶装置制御部60は、第1HDD51及び第2HDD52のそれぞれにおいて、エラーがあった箇所のみ再度データの書き込みを実行し(S34)、完了後、ミラーリングを実行する(S22)。この場合、第2HDD52へのデータ書き込み時に第1HDD51の書き込みエラー箇所への再書き込みが未完了であり、第2HDD52にも書き込みエラー箇所が存在していた場合とする。
When there is a data write error in both the
S18の判断処理において、片方のHDD(第2HDD52)への衝撃の感度レベルがHDD故障レベルであってデータの書き込みを行えないレベルであった場合またはフォーマットを行っても第2HDD52が復旧しなかった場合(S18のc)、記憶装置制御部60は、片方のHDDつまり第2HDD52が物理的に故障したと判断し(S36)、衝撃を受けた第2HDD52のディスクの回転を止め、壊れていない第1HDD51のディスクの回転が安定したら回転数を上げて書き込み処理を行う(S38)。
In the determination process of S18, if the sensitivity level of the impact on one HDD (second HDD 52) is an HDD failure level and data cannot be written, or even if formatting is performed, the
第1HDD51へのデータの書き込みが完了したら、記憶装置制御部60は、データの書き込みエラーの有無をチェックする(S40)。書き込みエラーがなかった場合(S40のN)、記憶装置制御部60は、第1HDD51へのデータの書き込みを完了する(S44)。書き込みエラーがあった場合(S40のY)、記憶装置制御部60は、エラー箇所への再書き込みを実行し(S42)、実行完了後、データの書き込みを完了する(S44)。
When the data writing to the
以上のような処理を行わない画像形成装置10では、RAID1を使用している環境下ではHDD(第1HDD51、第2HDD52)に衝撃が加わった場合、衝撃を受けたHDDの回転が安定するまで衝撃を受けていないHDDは待たなければならなかった。また、記憶装置制御部60のソフトウェアツールでファイルを作成したり、上書き、コピー保存を行う際、稀にプログラム上の書き込みエラーが起こり、拡張子ファイルのプログラムが壊れることがある。ミラーリングではこのように壊れてしまっているデータの場合も、そのまま書き込みを行ってしまう。
In the
しかし、上述のフローチャートで示したように、第1HDD51、第2HDD52のディスクのモーターの回転数を制御することで、既存のRAID1の使用時よりも早くデータの書き込みができるようにすることができる。また、データ書き込み時のデータ破損があるかどうかをミラーリング前にチェックすることで、ミラーリング時に破損したデータを反映させない、すなわち、ミラーリング時に誤った書き込みを少なくすることができる。
However, as shown in the above-described flowchart, by controlling the number of revolutions of the motors of the disks of the
<第2の実施形態>
図3は、本実施形態に係る画像形成装置110の機能ブロック図である。この画像形成装置110は、第1の実施形態の変形例であって、主に異なる部分について説明する。RAID1を構成する記憶装置部150(ストレージ)がHDD151とSSD152との組み合わせとなり、制御部120の記憶装置制御部160の制御内容が一部異なる。また、HDD151には第1Gセンサー151aが、SSD152には第2Gセンサー152aが設けられている。なお、SSD152には物理的回転機構が無いため第2Gセンサー152aが省かれてもよい。その場合、SSD152への衝撃については考慮しないか、第1Gセンサー151aで代替する。なお、HDD151とSSD152を区別しない場合は、「ストレージ」と称する。
<Second Embodiment>
FIG. 3 is a functional block diagram of the
以上の構成による、衝撃を受けた場合の画像形成装置110の動作を以下に説明する。図4は、ストレージの衝撃センサー(第1及び第2Gセンサー151a、152a)で衝撃を検知した場合の記憶装置部150及び記憶装置制御部160の処理を示したフローチャートである。
The operation of the
第1Gセンサー151a、第2Gセンサー152aが衝撃を検知すると(S110)、記憶装置制御部160は、HDD151をフォーマットするかどうかを判断する(S112)。フォーマットをする必要があれば(S114のY)、記憶装置制御部160はHDD151のフォーマットを実行する(S116)。
When the
フォーマットが不要の場合(S114のN)、又はフォーマット処理が完了した場合(S116)、記憶装置制御部160は、SSD152をフォーマットするかどうかを判断する(S118)。フォーマットをする必要があれば(S120のY)、記憶装置制御部160はSSD152のフォーマットを実行する(S122)。
When formatting is not necessary (N of S114) or when the formatting process is completed (S116), the storage
つぎに、記憶装置制御部160は、第1Gセンサー151aが検知した衝撃の感度レベルに応じて、HDD151のディスクの回転数を制御するか判断する(S124)。
Next, the
衝撃の感度レベルがHDD151へのデータの書き込みに対して問題ないレベルであれば、言い換えると、特に回転制御が不要である場合(S124のa)、記憶装置制御部160は、HDD151及びSSD152において、書き込み速度を変更せずに処理を行い(S126)、ミラーリングを実行する(S128)。
If the impact sensitivity level is a level that does not cause a problem with data writing to the
HDD151への衝撃の感度レベルがデータの書き込みを行う速さを下げなければならないレベルであった場合、または衝撃の影響によりHDD151をフォーマットしていた場合(S124のb)、記憶装置制御部60は、HDD151のディスクの回転数を下げ、SSD152の書き込み速度を上げデータの書き込みを実行する(S130)。すなわち、記憶装置制御部160は、SSD152への書き込みを優先する。なお、一般的にHDD151に比べSSD152の方が衝撃に対して強いため、本実施形態ではSSD152への書き込みを先に実行する。しかし両方のストレージ(HDD151、SSD152)のフォーマットが実行されていた場合に限り、先にフォーマットが完了した方のストレージからデータの書き込みを実行する。
When the sensitivity level of the shock to the
つづいて、記憶装置制御部160は、SSD152への書き込みが完了後、回転数を下げていたHDD151のディスクの回転数を上げて書き込みを実行する(S132)。この際、記憶装置制御部160は、SSD152への書き込み時のエラーの有無をチェックする。もしエラーがあった場合は、HDD151への書き込みと同時にSSD152におけるエラー箇所の再度データの書き込みを実行する。
Subsequently, after the writing to the
HDD151及びSSD152の両方への書き込みが完了すると(S134)、記憶装置制御部160は、HDD151及びSSD152においてデータの書き込みエラーの有無をチェックする(S136)。上記の処理で、先にデータの書き込みエラーのチェックが完了しているストレージがある場合、エラーチェックが完了していない方のストレージのみエラーチェックが実施される。
When the writing to both the
HDD151とSSD152のうち片方のストレージにおいて書き込みエラーがあった場合(S136のa)、記憶装置制御部160は、その片方のストレージのエラーがあった領域のみ再度データの書き込みを実行する(S138)。実行完了後、記憶装置制御部160は、ミラーリングを実行する(S128)。なお、この場合、第1HDD151は書き込みエラーなかった場合、もしくは第2HDD152へのデータ書き込み待ちの際に既に書き込みエラー箇所への再書き込みを完了している場合とする。
If there is a write error in one of the
書き込みエラーがなかった場合(S136のb)、記憶装置制御部160は、書き込み完了した状態のデータの内容をミラーリングする(S128)。
When there is no write error (b in S136), the
HDD151とSSD152の両方にデータ書き込みエラーがあった場合(S136のc)、記憶装置制御部160は、HDD151及びSSD152のそれぞれにおいて、エラーがあった箇所のみ再度データの書き込みを実行し(S140)、完了後、ミラーリングを実行する(S128)。
When there is a data write error in both the
S124の判断処理において、片方のストレージへの衝撃の感度レベルが物理的故障レベルであってデータの書き込みを行えないレベルであった場合またはフォーマットを行ってもストレージが復旧しなかった場合(S124のc)、片方のストレージが物理的に故障と判断し(S142)、以降の処理を実行する。 In the determination process of S124, when the sensitivity level of the shock to one storage is a physical failure level and the data cannot be written, or when the storage is not restored even after formatting (S124) c) It is determined that one storage is physically out of order (S142), and the subsequent processing is executed.
記憶装置制御部160は、HDD151が故障していないと判断した場合(S144のN)、HDD151のディスクの回転が安定したら回転数を上げて書き込み処理を行う(S146)。HDD151の故障と判断した場合(S144のY)、記憶装置制御部160は、SSD152への書き込みを実行する(S148)。
If the
HDD151又はSSD152へのデータの書き込みが完了したら、記憶装置制御部160は、データの書き込みエラーの有無をチェックする(S150)。書き込みエラーがなかった場合(S150のN)、記憶装置制御部160は、ストレージへのデータの書き込みを完了する(S152)。書き込みエラーがあった場合(S150のY)、記憶装置制御部160は、エラー箇所への再書き込みを実行し(S154)、実行完了後、データの書き込みを完了する(S152)。
When the data writing to the
以上、本実施形態によると、片方のストレージ(HDD151又はSSD152)が故障していた場合、記憶装置制御部160は、故障しなかった方のストレージのみへの書き込み処理を実行する。もしSSD152が故障していた場合には、記憶装置制御部160は、HDD151のディスク回転数を上げる制御を実行し、既存の場合よりも書き込みを早く完了することができる。また、ミラーリング実行前に、エラーデータをミラーリングに反映しないようにすることができる。また、衝撃検知直後に、HDD151及びSSD152のフォーマットが実行されているかどうかをトリガにしてデータの書き込みを行うことで、HDD151及びSSD152の組み合わせの既存のRAID1より適切な速度でデータの書き込み処理を行うことができる。
As described above, according to the present embodiment, when one storage (
以上、本発明を実施形態をもとに説明した。この実施形態は例示であり、それらの各構成要素の組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。例えば、衝撃の影響によりフォーマットを行ったHDDはデータの読み書きエラーが起こりやすい傾向がある。そこで、フォーマットが実行されている場合には、データの読み書き時の速度を調整し、エラー発生率の軽減が可能である。 The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of these components, and such modifications are also within the scope of the present invention. For example, HDDs that have been formatted due to impacts tend to cause data read / write errors. Therefore, when formatting is performed, it is possible to reduce the error rate by adjusting the speed at which data is read and written.
10、110 画像形成装置
20、120 制御部
22 通信処理部
31 印刷実行処理部
32 スキャン実行処理部
40 ユーザーIF
41 表示パネル部
42 操作ボタン部
45 記憶装置接続IF
50、150 記憶装置部
51 第1HDD
51a、151a 第1Gセンサー
52 第2HDD
52a、152a 第2Gセンサー
60、160 記憶装置制御部
151 HDD
152 SSD
10, 110
41
50, 150
51a, 151a
52a, 152a
152 SSD
Claims (5)
前記記憶装置制御部は、
前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行するか否かを判断し、
前記フォーマットが不要の場合、又はフォーマット処理が完了した場合、前記衝撃センサーが検知した衝撃の感度レベルに応じて、前記複数のストレージのディスクの回転数を制御するか否かを判断し、
前記複数のストレージが少なくとも第1HDDと第2HDDとを含み、前記第1HDDが衝撃を受けず、前記第2HDDへの前記衝撃の感度レベルがデータの書き込みを行う速度を下げなければならないレベルであった場合、又は前記衝撃の影響により前記第2HDDをフォーマットしていた場合、前記第2HDDのディスクの回転数を下げ、前記第1HDDのディスクの回転数を上げて前記データの書き込みを実行し、
回転数を上げた前記第1HDDへの前記データの書き込みが完了後、回転数を下げていた前記第2HDDのディスクの回転数を上げて前記データの書き込みを実行し、前記第1HDD及び前記第2HDDへの前記データの書き込みを完了させ、ミラーリングを実行することを特徴とする情報処理装置。 An information processing apparatus having a plurality of storages that are mirrored, a storage device control unit that controls operations of the plurality of storages, and an impact sensor provided in the storages,
The storage device controller
Based on the detection result of the impact sensor, determine whether to execute the format of the storage ,
When the formatting is unnecessary, or when the formatting process is completed, it is determined whether to control the number of rotations of the plurality of storage disks according to the impact sensitivity level detected by the impact sensor,
The plurality of storages include at least a first HDD and a second HDD, the first HDD is not subjected to an impact, and the sensitivity level of the impact to the second HDD is a level at which a data writing speed must be reduced. Or when the second HDD is formatted due to the impact, the disk speed of the second HDD is decreased, the disk speed of the first HDD is increased, and the data is written.
After the writing of the data to the first HDD with the increased number of rotations is completed, the number of rotations of the disk of the second HDD that has been decreased the number of rotations is increased to execute the writing of the data, and the first HDD and the second HDD An information processing apparatus that completes writing of the data to the disk and executes mirroring .
前記第1HDD及び前記第2HDDへの前記データの書き込みが完了すると、前記第1HDD又は前記第2HDDにおいて前記データの書き込みのエラーの有無をチェックし、 When the writing of the data to the first HDD and the second HDD is completed, the first HDD or the second HDD is checked for an error in writing the data,
前記データの書き込みのエラーがあった場合、エラーがあった領域への再度の前記データの書き込みを実行し、 If there is an error in writing the data, execute the writing of the data again in the area where the error occurred,
再度の前記データの書き込みの実行完了後、ミラーリングを実行することを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein mirroring is executed after completion of execution of writing of the data again.
前記記憶装置制御部は、 The storage device controller
前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行するか否かを判断し、 Based on the detection result of the impact sensor, determine whether to execute the format of the storage,
前記フォーマットが不要の場合、又はフォーマット処理が完了した場合、前記衝撃センサーが検知した衝撃の感度レベルに応じて、前記複数のストレージのディスクの回転数を制御するか否かを判断し、 When the formatting is unnecessary, or when the formatting process is completed, it is determined whether to control the number of rotations of the plurality of storage disks according to the impact sensitivity level detected by the impact sensor,
前記複数のストレージが少なくともSSDとHDDとを含み、前記HDDへの前記衝撃の感度レベルがデータの書き込みを行う速度を下げなければならないレベルであった場合、又は前記衝撃の影響により前記HDDをフォーマットしていた場合、前記HDDのディスクの回転数を下げ、前記SSDへの前記データの書き込みを実行し、 When the plurality of storages include at least an SSD and an HDD, and the sensitivity level of the shock to the HDD is a level at which the data writing speed must be reduced, or the HDD is formatted by the influence of the shock If so, reduce the rotational speed of the HDD disk, write the data to the SSD,
前記SSDへの前記データの書き込みが完了後、回転数を下げていた前記HDDのディスクの回転数を上げて前記データの書き込みを実行し、前記SSD及び前記HDDへの前記データの書き込みを完了させ、ミラーリングを実行することを特徴とする情報処理装置。 After the writing of the data to the SSD is completed, the writing of the data is executed by increasing the number of revolutions of the disk of the HDD whose number of revolutions has been lowered, and the writing of the data to the SSD and the HDD is completed. An information processing apparatus that performs mirroring.
前記SSD及び前記HDDへの前記データの書き込みが完了すると、前記SSD及び前記HDDにおいて前記データの書き込みのエラーの有無をチェックし、 When the writing of the data to the SSD and the HDD is completed, the SSD and the HDD are checked for an error in writing the data,
前記データの書き込みのエラーがあった場合、エラーがあった領域への再度の前記データの書き込みを実行し、 If there is an error in writing the data, execute the writing of the data again in the area where the error occurred,
再度の前記データの書き込みの実行完了後、ミラーリングを実行することを特徴とする請求項3に記載の情報処理装置。 4. The information processing apparatus according to claim 3, wherein mirroring is executed after completion of execution of writing of the data again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015127578A JP6350411B2 (en) | 2015-06-25 | 2015-06-25 | Information processing apparatus and image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015127578A JP6350411B2 (en) | 2015-06-25 | 2015-06-25 | Information processing apparatus and image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017010430A JP2017010430A (en) | 2017-01-12 |
JP6350411B2 true JP6350411B2 (en) | 2018-07-04 |
Family
ID=57763674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015127578A Expired - Fee Related JP6350411B2 (en) | 2015-06-25 | 2015-06-25 | Information processing apparatus and image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6350411B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4630522B2 (en) * | 2002-10-18 | 2011-02-09 | 東芝ストレージデバイス株式会社 | Magnetic disk apparatus and recording position correction method |
JP2007157203A (en) * | 2005-12-01 | 2007-06-21 | Fujitsu Ltd | Data storage device |
JP4798037B2 (en) * | 2006-03-31 | 2011-10-19 | パナソニック株式会社 | Hard disk drive status monitoring device and hard disk drive status monitoring method |
JP5558092B2 (en) * | 2009-12-24 | 2014-07-23 | 株式会社東芝 | Information processing apparatus and data writing control method in information processing apparatus |
US8874958B2 (en) * | 2010-11-09 | 2014-10-28 | International Business Machines Corporation | Error detection in a mirrored data storage system |
-
2015
- 2015-06-25 JP JP2015127578A patent/JP6350411B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2017010430A (en) | 2017-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10720225B2 (en) | Information processing apparatus, control method thereof, and storage mediumMD | |
JP5822527B2 (en) | Information processing apparatus, control method thereof, and control program | |
US20200310821A1 (en) | Information processing apparatus, control method therefor, and storage medium | |
JP5126595B2 (en) | Image processing apparatus and image processing system | |
EP2400423B1 (en) | Data processing apparatus and data processing method of data processing apparatus | |
EP2787440A1 (en) | Information processing device, program, and method | |
JP6078984B2 (en) | Processing device, processing method, processing program, and management device | |
EP2207099A1 (en) | Information processing apparatus, method for controlling the information processing apparatus, and storage medium | |
US8924669B2 (en) | Information processing apparatus, control method, and program | |
US10216595B2 (en) | Information processing apparatus, control method for the information processing apparatus, and recording medium | |
US8643888B2 (en) | Image forming apparatus and method for controlling the same | |
US11099935B2 (en) | Error handling associated with boot program alteration | |
JP5966243B2 (en) | Storage device and storage device control method | |
JP6350411B2 (en) | Information processing apparatus and image forming apparatus | |
JP6406219B2 (en) | Communication apparatus and image forming apparatus | |
US8214683B2 (en) | Image forming apparatus, control method, and storage medium | |
US11126123B2 (en) | Image forming apparatus, method for controlling image forming apparatus, and storage medium | |
US11209761B2 (en) | Image forming apparatus, method for controlling image forming apparatus, and storage medium having controller which executes repair processing on the storage medium | |
JP2007206949A (en) | Disk array device, and method and program for its control | |
US20190095282A1 (en) | Information processing apparatus, information processing system, and control method by the same | |
CN107729170B (en) | Method and device for generating dump file by HBA card | |
JP5625374B2 (en) | Apparatus, abnormality display method and program | |
US9798637B2 (en) | Information processing apparatus and control method of information processing apparatus with access to storage device based on communication with storage device | |
JP6173968B2 (en) | Information processing device | |
US11645026B2 (en) | Image processing apparatus that generates a job log after recovery from power-off that prevents successful ending of a job, method, and non-transitory computer-readable storage medium for storing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170322 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180216 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180227 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180423 |
|
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: 20180508 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180521 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6350411 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |