[go: up one dir, main page]

JP2017010430A - Information processing apparatus and image forming apparatus - Google Patents

Information processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP2017010430A
JP2017010430A JP2015127578A JP2015127578A JP2017010430A JP 2017010430 A JP2017010430 A JP 2017010430A JP 2015127578 A JP2015127578 A JP 2015127578A JP 2015127578 A JP2015127578 A JP 2015127578A JP 2017010430 A JP2017010430 A JP 2017010430A
Authority
JP
Japan
Prior art keywords
hdd
storage device
control unit
device control
storages
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.)
Granted
Application number
JP2015127578A
Other languages
Japanese (ja)
Other versions
JP6350411B2 (en
Inventor
隆利 西尾
Takatoshi Nishio
隆利 西尾
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015127578A priority Critical patent/JP6350411B2/en
Publication of JP2017010430A publication Critical patent/JP2017010430A/en
Application granted granted Critical
Publication of JP6350411B2 publication Critical patent/JP6350411B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve a processing speed when performing mirroring with a plurality of storages and after detection of impact.SOLUTION: An image forming apparatus 10 comprises: a plurality of storages (first HDD 51, second HDD 52) that are used to perform mirroring; a storage device control part 60 that controls the operation of the storages (first HDD 51, second HDD 52); and first and second G sensors 51a, 52a. The storage device control part 60 executes a format of the storages as necessary on the basis of a result of detection performed by the first and second G sensors 51a, 52a. The storage device control part 60 controls a writing speed (disk rotation speed) of the storages on the basis of a result of detection performed by the first and second G sensors 51a, 52a.SELECTED DRAWING: Figure 1

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).

特開2011−134392号公報JP 2011-134392 A

ところで、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.

本発明は、ミラーリングがなされる複数のストレージと、前記複数のストレージの動作を制御する記憶装置制御部と、前記ストレージに設けられた衝撃センサーとを有する情報処理装置であって、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行する。
また、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージの書き込み速度を制御してもよい。
また、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記複数のストレージの故障の有無を判断し、故障が発生していないと判断したストレージの書き込み速度を上げてもよい。
また、前記記憶装置制御部は、前記ミラーリングを実行する前に、前記複数のストレージに書き込まれたデータのエラー検知処理を行ってもよい。
また、前記複数のストレージの少なくとも1つはHDDであって、前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記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 executes the formatting of the storage based on the detection result of the impact sensor.
The storage device control unit may control the writing speed of the storage based on the detection result of the impact sensor.
In addition, the storage device control unit may determine whether there is a failure in the plurality of storages based on the detection result of the impact sensor, and increase the write speed of the storage that is determined as not having failed. .
Further, the storage device control unit may perform error detection processing of data written in the plurality of storages before executing the mirroring.
Further, at least one of the plurality of storages may be an HDD, and the storage device control unit may control the disk rotation speed of the HDD based on a detection result of the impact sensor.
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.

第1の実施形態に係る、画像形成装置の機能ブロック図である1 is a functional block diagram of an image forming apparatus according to a first embodiment. 第1の実施形態に係る、HDDが衝撃を受けた際のフローチャートである。6 is a flowchart when the HDD is impacted according to the first embodiment. 第2の実施形態に係る、画像形成装置の機能ブロック図であるFIG. 6 is a functional block diagram of an image forming apparatus according to a second embodiment. 第2の実施形態に係る、ストレージが衝撃を受けた際のフローチャートである。It is a flowchart at the time of the storage receiving an impact according to the second embodiment.

以下、本発明を実施するための形態(以下、「実施形態」という)について図面を参照して説明する。)   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 image forming apparatus 10 according to the present embodiment. The image forming apparatus 10 is, for example, a multifunction peripheral (MFP) or a printer. The image forming apparatus 10 includes a control unit 20, a communication processing unit 22, a print execution processing unit 31, a scan execution processing unit 32, a user IF 40, a storage device connection IF 45, and a storage device unit 50.

通信処理部22は、有線LANや無線LAN、USB通信等の通信インターフェイスであり、PC等の外部機器と通信可能に接続される。   The communication processing unit 22 is a communication interface such as a wired LAN, a wireless LAN, or USB communication, and is communicably connected to an external device such as a PC.

制御部20は、MPU(Micro-Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備え、各構成要素を統括的に制御することで、印刷出力処理や、原稿等の読み取り処理、構成要素の動作のステータス監視処理や動作制御等を行う。さらに、制御部20は、本実施形態に特徴的な動作を実現するための要素として、記憶装置制御部60を備える。   The control unit 20 includes an MPU (Micro-Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. It performs read processing, status monitoring processing of component operations, operation control, and the like. Furthermore, the control unit 20 includes a storage device control unit 60 as an element for realizing an operation characteristic of the present embodiment.

印刷実行処理部31は、一般的な印刷実行機能を有し、制御部20からの指示により印刷動作を実行する。スキャン実行処理部32は、一般的な構成であって、スキャナー、プラテンガラス、原稿読取スリット等を備え、制御部20からの指示により原稿の読み取り処理を実行する。   The print execution processing unit 31 has a general print execution function, and executes a printing operation according to an instruction from the control unit 20. The scan execution processing unit 32 has a general configuration and includes a scanner, a platen glass, a document reading slit, and the like, and executes a document reading process according to an instruction from the control unit 20.

ユーザーIF40は、表示パネル部41と、操作ボタン部42を備える。表示パネル部41は、画像形成装置10に関するステータス情報や操作情報等を表示する。操作ボタン部42は、画像形成装置10に対するユーザー操作を受け付ける。なお、操作ボタン部42は、表示パネル部41と一体に構成されるタッチパネル式のIFや物理的ボタンのIFがあり、それらが組み合わさったインターフェイスであってもよい。   The user IF 40 includes a display panel unit 41 and an operation button unit 42. The display panel unit 41 displays status information, operation information, and the like regarding the image forming apparatus 10. The operation button unit 42 receives a user operation on the image forming apparatus 10. The operation button unit 42 includes a touch panel type IF and a physical button IF which are integrated with the display panel unit 41, and may be an interface in which these are combined.

記憶装置接続IF45は、記憶装置部50との接続及び通信を制御する。また、記憶装置接続IF45は、外部の所定の記憶装置(外付け大容量HDDやメモリーカード)との接続インターフェイスとしても機能する。印刷出力における部数印刷の印刷ジョブやスキャン実行処理部32からの送信ジョブは、円滑な出力やネットワークエラー防止の観点から記憶装置部50にデータを蓄積してから実行される。   The storage device connection IF 45 controls connection and communication with the storage device unit 50. The storage device connection IF 45 also functions as a connection interface with a predetermined external storage device (external large-capacity HDD or memory card). The print job for the number of copies in the print output and the transmission job from the scan execution processing unit 32 are executed after data is accumulated in the storage device unit 50 from the viewpoint of smooth output and network error prevention.

記憶装置部50は、第1HDD51と第2HDD52とを備え、RAID1を構成している。第1HDD51は、第1Gセンサー51aを備え、第1HDD51への衝撃や落下を検知して、検知すると第1HDD51のディスク回転速度を下げたり電源を自動でオフする。第2HDD52も、第2Gセンサー52aを備え、第2HDD52への衝撃や落下を検知して、検知すると第2HDD52のディスク回転速度を下げたり電源を自動でオフする。また、第1Gセンサー51a及び第2Gセンサー52aの検知結果は、記憶装置制御部60に通知される。なお、第1HDD51及び第2HDD52を区別しない場合は、単に「HDD」と称する。   The storage device unit 50 includes a first HDD 51 and a second HDD 52, and configures RAID1. The first HDD 51 includes a first G sensor 51a, detects an impact or a drop on the first HDD 51, and when detected, lowers the disk rotation speed of the first HDD 51 or automatically turns off the power. The second HDD 52 also includes a second G sensor 52a, which detects an impact or a drop on the second HDD 52, and when detected, lowers the disk rotation speed of the second HDD 52 or automatically turns off the power. The detection results of the first G sensor 51 a and the second G sensor 52 a are notified to the storage device control unit 60. When the first HDD 51 and the second HDD 52 are not distinguished, they are simply referred to as “HDD”.

記憶装置制御部60は、RAID1を構成する第1HDD51と第2HDD52の動作を制御する。すなわち、記憶装置制御部60は、第1HDD51と第2HDD52へのアクセス、すなわち書き込み・読み込み処理、ディスク回転数を制御するとともに、RAID1に基づくミラーリング処理を制御する。なお、ディスク回転数は、記憶装置制御部60に備わるいわゆるソフトウェアツールによって実行される。   The storage device control unit 60 controls the operations of the first HDD 51 and the second HDD 52 constituting the RAID 1. That is, the storage device control unit 60 controls access to the first HDD 51 and the second HDD 52, that is, write / read processing, disk rotation speed, and mirroring processing based on RAID1. The disk rotation speed is executed by a so-called software tool provided in the storage device control unit 60.

以上の構成による、衝撃を受けた場合の画像形成装置10の動作を以下に説明する。図2は、衝撃センサー(Gセンサー)で衝撃を検知した場合の記憶装置部50の処理を示したフローチャートである。ここでは、第1HDD51が衝撃を受けていない又は受けた衝撃が小さかったHDD、第2HDD52が衝撃を受けたHDDとする。   The operation of the image forming apparatus 10 when subjected to an impact with the above configuration will be described below. FIG. 2 is a flowchart showing processing of the storage device unit 50 when an impact is detected by the impact sensor (G sensor). Here, it is assumed that the first HDD 51 is not impacted or the impact received is small, and the second HDD 52 is impacted.

HDDに搭載されている衝撃センサー(第1Gセンサー51a、第2Gセンサー52a)が衝撃を検知すると(S10)、記憶装置制御部60は、片方または両方のHDDをフォーマットするかどうかを判断する(S12)。フォーマットをする必要があれば(S14のY)、記憶装置制御部60は記憶装置部50のフォーマットを実行する(S16)。フォーマットを実行することで、書き込みを実行しやすい環境を作ることができる。なお、この点を特に考慮しない場合には、フォーマットの実行処理を省いても良い。その場合、以降の処理においてフォーマット有無に基づく判断処理等は不要となる。   When the impact sensors (the first G sensor 51a and the second G sensor 52a) mounted on the HDD detect an impact (S10), the storage device control unit 60 determines whether to format one or both HDDs (S12). ). If it is necessary to format (Y of S14), the storage device control unit 60 executes the formatting of the storage device unit 50 (S16). By executing the format, it is possible to create an environment where writing is easy to execute. If this point is not particularly taken into consideration, the format execution process may be omitted. In that case, determination processing based on the presence / absence of formatting is not necessary in the subsequent processing.

フォーマットが不要の場合(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 device control unit 60 sets the sensitivity level of the impact detected by the impact sensors (the first G sensor 51a and the second G sensor 52a). Accordingly, it is determined whether to control the rotation speed of the disks of the first HDD 51 and the second HDD 52 (S18). Here, the presence / absence of the above-described format is used as a reference for determining whether or not data has been read / written from / to the formatted HDD when performing disk rotation control. Therefore, there is no specification about the formatting method.

衝撃の感度レベルが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 device control unit 60 performs the first HDD 51 and the second HDD 52. Then, the process is performed with the current rotational speed of the disk (S20), and mirroring is executed (S22). This is equivalent to the existing RAID1 processing.

片方の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 second HDD 52 is formatted due to the impact (S18) b) The storage device control unit 60 decreases the rotational speed of the disk of the second HDD 52, increases the rotational speed of the disk of the first HDD 51 that has not been shocked, and executes data writing (S24).

なお、第1HDD51及び第2HDD52の両方でフォーマットが実行されていた場合、先にフォーマットを完了した方から前述と同じ手順でデータの書き込みを実行する。   If formatting has been executed in both the first HDD 51 and the second HDD 52, data writing is executed in the same procedure as described above from the one that has completed formatting first.

そして、記憶装置制御部60は、S24で回転数を上げた第1HDD51への書き込みが完了後、回転数を下げていた第2HDD52のディスクの回転数を上げて書き込みを実行する(S26)。この際、記憶装置制御部60は、第1HDD51のディスクの回転数は下げ、書き込み時に対応していない拡張子のファイルを書き込んだなどのエラーの有無をチェックする。もしエラーがあった場合は、エラー箇所のみを再度データの書き込みを実行する。   Then, after the writing to the first HDD 51 whose rotational speed has been increased in S24 is completed, the storage device control unit 60 increases the rotational speed of the disk of the second HDD 52 whose rotational speed has been decreased and executes the writing (S26). At this time, the storage device control unit 60 checks the presence / absence of an error, such as writing a file with an extension that is not supported at the time of writing, by reducing the rotational speed of the disk of the first HDD 51. If there is an error, write the data again only at the error location.

第1HDD51及び第2HDD52の両方への書き込みが完了すると(S28)、記憶装置制御部60は、第1HDD51及び第2HDD52においてデータの書き込みエラーの有無をチェックする(S30)。   When writing to both the first HDD 51 and the second HDD 52 is completed (S28), the storage device control unit 60 checks whether there is a data write error in the first HDD 51 and the second HDD 52 (S30).

片方、つまり衝撃の大きかった第2HDD52において書き込みエラーがあった場合(S30のa)、記憶装置制御部60は、エラーがあった領域のみ再度データの書き込みを実行する(S32)。実行完了後、記憶装置制御部60は、ミラーリングを実行する(S22)。なお、この場合、第1HDD51は書き込みエラーがなかった場合、もしくは第2HDD52へのデータ書き込み待ちの際に既に書き込みエラー箇所への再書き込みを完了している場合とする。   If there is a write error in one, that is, the second HDD 52 having a large impact (a in S30), the storage device control unit 60 executes data writing again only in the area where the error occurred (S32). After completion of the execution, the storage device control unit 60 executes mirroring (S22). In this case, it is assumed that there is no write error in the first HDD 51, or rewriting to the write error portion has already been completed when waiting for data writing to the second HDD 52.

書き込みエラーがなかった場合(S30のb)、記憶装置制御部60は、S28の処理で書き込み完了した状態のデータの内容をミラーリングする(S22)。   When there is no writing error (b in S30), the storage device control unit 60 mirrors the content of the data that has been written in the processing in S28 (S22).

第1HDD51及び第2HDD52の両方にデータ書き込みエラーがあった場合(S30のc)、記憶装置制御部60は、第1HDD51及び第2HDD52のそれぞれにおいて、エラーがあった箇所のみ再度データの書き込みを実行し(S34)、完了後、ミラーリングを実行する(S22)。この場合、第2HDD52へのデータ書き込み時に第1HDD51の書き込みエラー箇所への再書き込みが未完了であり、第2HDD52にも書き込みエラー箇所が存在していた場合とする。   When there is a data write error in both the first HDD 51 and the second HDD 52 (c in S30), the storage device control unit 60 executes data writing again only at the location where the error has occurred in each of the first HDD 51 and the second HDD 52. (S34) After completion, mirroring is executed (S22). In this case, it is assumed that rewriting to the write error location of the first HDD 51 has not been completed at the time of data writing to the second HDD 52 and a write error location exists also in the second HDD 52.

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 second HDD 52 is not restored. In the case (c in S18), the storage device control unit 60 determines that one HDD, that is, the second HDD 52 has physically failed (S36), stops the rotation of the disk of the second HDD 52 that has been shocked, and is not broken. When the rotation of the disk of 1 HDD 51 is stabilized, the rotation speed is increased and the writing process is performed (S38).

第1HDD51へのデータの書き込みが完了したら、記憶装置制御部60は、データの書き込みエラーの有無をチェックする(S40)。書き込みエラーがなかった場合(S40のN)、記憶装置制御部60は、第1HDD51へのデータの書き込みを完了する(S44)。書き込みエラーがあった場合(S40のY)、記憶装置制御部60は、エラー箇所への再書き込みを実行し(S42)、実行完了後、データの書き込みを完了する(S44)。   When the data writing to the first HDD 51 is completed, the storage device control unit 60 checks whether there is a data writing error (S40). If there is no write error (N in S40), the storage device controller 60 completes the writing of data to the first HDD 51 (S44). When there is a write error (Y in S40), the storage device control unit 60 executes rewriting to the error location (S42), and after the execution is completed, the data writing is completed (S44).

以上のような処理を行わない画像形成装置10では、RAID1を使用している環境下ではHDD(第1HDD51、第2HDD52)に衝撃が加わった場合、衝撃を受けたHDDの回転が安定するまで衝撃を受けていないHDDは待たなければならなかった。また、記憶装置制御部60のソフトウェアツールでファイルを作成したり、上書き、コピー保存を行う際、稀にプログラム上の書き込みエラーが起こり、拡張子ファイルのプログラムが壊れることがある。ミラーリングではこのように壊れてしまっているデータの場合も、そのまま書き込みを行ってしまう。   In the image forming apparatus 10 that does not perform the above processing, when an impact is applied to the HDD (first HDD 51, second HDD 52) in an environment where RAID 1 is used, the impact is applied until the rotation of the affected HDD is stabilized. HDD which did not receive had to wait. In addition, when a file is created, overwritten, or copied and saved by a software tool of the storage device control unit 60, a write error on the program rarely occurs and the program of the extension file may be broken. In mirroring, even in the case of data that has been broken in this way, data is written as it is.

しかし、上述のフローチャートで示したように、第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 first HDD 51 and the second HDD 52, data can be written earlier than when using the existing RAID1. Also, by checking before data mirroring whether there is data corruption at the time of data writing, data corrupted at the time of mirroring is not reflected, that is, erroneous writing at the time of mirroring can be reduced.

<第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 image forming apparatus 110 according to the present embodiment. This image forming apparatus 110 is a modification of the first embodiment, and mainly different parts will be described. The storage device unit 150 (storage) constituting the RAID 1 is a combination of the HDD 151 and the SSD 152, and the control content of the storage device control unit 160 of the control unit 120 is partially different. Further, the HDD 151 is provided with a first G sensor 151a, and the SSD 152 is provided with a second G sensor 152a. Since the SSD 152 does not have a physical rotation mechanism, the second G sensor 152a may be omitted. In that case, the impact on the SSD 152 is not considered, or the first G sensor 151a is substituted. If the HDD 151 and the SSD 152 are not distinguished, they are referred to as “storage”.

以上の構成による、衝撃を受けた場合の画像形成装置110の動作を以下に説明する。図4は、ストレージの衝撃センサー(第1及び第2Gセンサー151a、152a)で衝撃を検知した場合の記憶装置部150及び記憶装置制御部160の処理を示したフローチャートである。   The operation of the image forming apparatus 110 in the above configuration when receiving an impact will be described below. FIG. 4 is a flowchart showing processing of the storage device unit 150 and the storage device control unit 160 when an impact is detected by the storage impact sensor (first and second G sensors 151a and 152a).

第1Gセンサー151a、第2Gセンサー152aが衝撃を検知すると(S110)、記憶装置制御部160は、HDD151をフォーマットするかどうかを判断する(S112)。フォーマットをする必要があれば(S114のY)、記憶装置制御部160はHDD151のフォーマットを実行する(S116)。   When the first G sensor 151a and the second G sensor 152a detect an impact (S110), the storage device control unit 160 determines whether to format the HDD 151 (S112). If it is necessary to format (Y in S114), the storage device controller 160 executes formatting of the HDD 151 (S116).

フォーマットが不要の場合(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 device control unit 160 determines whether to format the SSD 152 (S118). If it is necessary to format (Y in S120), the storage device controller 160 executes the formatting of the SSD 152 (S122).

つぎに、記憶装置制御部160は、第1Gセンサー151aが検知した衝撃の感度レベルに応じて、HDD151のディスクの回転数を制御するか判断する(S124)。   Next, the storage device controller 160 determines whether to control the number of revolutions of the disk of the HDD 151 according to the impact sensitivity level detected by the first G sensor 151a (S124).

衝撃の感度レベルが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 HDD 151, in other words, if rotation control is not particularly required (a in S 124), the storage device control unit 160 includes the HDD 151 and the SSD 152. Processing is performed without changing the writing speed (S126), and mirroring is executed (S128).

HDD151への衝撃の感度レベルがデータの書き込みを行う速さを下げなければならないレベルであった場合、または衝撃の影響によりHDD151をフォーマットしていた場合(S124のb)、記憶装置制御部60は、HDD151のディスクの回転数を下げ、SSD152の書き込み速度を上げデータの書き込みを実行する(S130)。すなわち、記憶装置制御部160は、SSD152への書き込みを優先する。なお、一般的にHDD151に比べSSD152の方が衝撃に対して強いため、本実施形態ではSSD152への書き込みを先に実行する。しかし両方のストレージ(HDD151、SSD152)のフォーマットが実行されていた場合に限り、先にフォーマットが完了した方のストレージからデータの書き込みを実行する。   When the sensitivity level of the shock to the HDD 151 is a level at which the speed at which data is written must be reduced, or when the HDD 151 is formatted due to the impact (b in S124), the storage device control unit 60 Then, the rotational speed of the disk of the HDD 151 is decreased, the writing speed of the SSD 152 is increased, and data writing is executed (S130). That is, the storage device controller 160 gives priority to writing to the SSD 152. Since the SSD 152 is generally more resistant to impact than the HDD 151, in this embodiment, writing to the SSD 152 is executed first. However, only when the formatting of both storages (HDD 151 and SSD 152) has been executed, data is written from the storage whose formatting has been completed first.

つづいて、記憶装置制御部160は、SSD152への書き込みが完了後、回転数を下げていたHDD151のディスクの回転数を上げて書き込みを実行する(S132)。この際、記憶装置制御部160は、SSD152への書き込み時のエラーの有無をチェックする。もしエラーがあった場合は、HDD151への書き込みと同時にSSD152におけるエラー箇所の再度データの書き込みを実行する。   Subsequently, after the writing to the SSD 152 is completed, the storage device control unit 160 increases the number of revolutions of the disk of the HDD 151 whose number of revolutions has been lowered and executes the writing (S132). At this time, the storage device control unit 160 checks whether there is an error when writing to the SSD 152. If there is an error, at the same time as writing to the HDD 151, data is written again at the error location in the SSD 152.

HDD151及びSSD152の両方への書き込みが完了すると(S134)、記憶装置制御部160は、HDD151及びSSD152においてデータの書き込みエラーの有無をチェックする(S136)。上記の処理で、先にデータの書き込みエラーのチェックが完了しているストレージがある場合、エラーチェックが完了していない方のストレージのみエラーチェックが実施される。   When the writing to both the HDD 151 and the SSD 152 is completed (S134), the storage device controller 160 checks whether there is a data write error in the HDD 151 and the SSD 152 (S136). In the above processing, if there is a storage for which the data write error check has been completed first, the error check is performed only on the storage for which the error check has not been completed.

HDD151とSSD152のうち片方のストレージにおいて書き込みエラーがあった場合(S136のa)、記憶装置制御部160は、その片方のストレージのエラーがあった領域のみ再度データの書き込みを実行する(S138)。実行完了後、記憶装置制御部160は、ミラーリングを実行する(S128)。なお、この場合、第1HDD151は書き込みエラーなかった場合、もしくは第2HDD152へのデータ書き込み待ちの際に既に書き込みエラー箇所への再書き込みを完了している場合とする。   If there is a write error in one of the HDD 151 and the SSD 152 (a in S136), the storage device controller 160 executes data writing again only in the area where the error occurred in one storage (S138). After the execution is completed, the storage device control unit 160 executes mirroring (S128). In this case, it is assumed that there is no write error in the first HDD 151 or that rewriting to the write error portion has already been completed when waiting for data writing to the second HDD 152.

書き込みエラーがなかった場合(S136のb)、記憶装置制御部160は、書き込み完了した状態のデータの内容をミラーリングする(S128)。   When there is no write error (b in S136), the storage device controller 160 mirrors the content of the data that has been written (S128).

HDD151とSSD152の両方にデータ書き込みエラーがあった場合(S136のc)、記憶装置制御部160は、HDD151及びSSD152のそれぞれにおいて、エラーがあった箇所のみ再度データの書き込みを実行し(S140)、完了後、ミラーリングを実行する(S128)。   When there is a data write error in both the HDD 151 and the SSD 152 (c in S136), the storage device control unit 160 executes data write again only in the HDD 151 and the SSD 152 where there is an error (S140). After completion, mirroring is executed (S128).

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 storage device controller 160 determines that the HDD 151 has not failed (N in S144), when the disk rotation of the HDD 151 is stable, the storage device controller 160 increases the rotation speed and performs the writing process (S146). If it is determined that the HDD 151 has failed (Y in S144), the storage device controller 160 executes writing to the SSD 152 (S148).

HDD151又はSSD152へのデータの書き込みが完了したら、記憶装置制御部160は、データの書き込みエラーの有無をチェックする(S150)。書き込みエラーがなかった場合(S150のN)、記憶装置制御部160は、ストレージへのデータの書き込みを完了する(S152)。書き込みエラーがあった場合(S150のY)、記憶装置制御部160は、エラー箇所への再書き込みを実行し(S154)、実行完了後、データの書き込みを完了する(S152)。   When the data writing to the HDD 151 or the SSD 152 is completed, the storage device controller 160 checks whether there is a data writing error (S150). If there is no write error (N in S150), the storage device controller 160 completes the writing of data to the storage (S152). When there is a write error (Y in S150), the storage device controller 160 executes rewriting to the error location (S154), and after the execution is completed, the data writing is completed (S152).

以上、本実施形態によると、片方のストレージ(HDD151又はSSD152)が故障していた場合、記憶装置制御部160は、故障しなかった方のストレージのみへの書き込み処理を実行する。もしSSD152が故障していた場合には、記憶装置制御部160は、HDD151のディスク回転数を上げる制御を実行し、既存の場合よりも書き込みを早く完了することができる。また、ミラーリング実行前に、エラーデータをミラーリングに反映しないようにすることができる。また、衝撃検知直後に、HDD151及びSSD152のフォーマットが実行されているかどうかをトリガにしてデータの書き込みを行うことで、HDD151及びSSD152の組み合わせの既存のRAID1より適切な速度でデータの書き込み処理を行うことができる。   As described above, according to the present embodiment, when one storage (HDD 151 or SSD 152) has failed, the storage device control unit 160 executes the writing process only to the storage that has not failed. If the SSD 152 is out of order, the storage device control unit 160 executes control to increase the disk rotation number of the HDD 151 and can complete the writing earlier than in the existing case. Also, it is possible to prevent error data from being reflected in mirroring before executing mirroring. Also, immediately after the impact is detected, data is written at a speed more appropriate than the existing RAID 1 of the combination of the HDD 151 and the SSD 152 by writing data by using whether the formatting of the HDD 151 and the SSD 152 is executed as a trigger. be able to.

以上、本発明を実施形態をもとに説明した。この実施形態は例示であり、それらの各構成要素の組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。例えば、衝撃の影響によりフォーマットを行った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 Image forming apparatus 20, 120 Control unit 22 Communication processing unit 31 Print execution processing unit 32 Scan execution processing unit 40 User IF
41 Display panel section 42 Operation button section 45 Storage device connection IF
50, 150 Storage unit 51 First HDD
51a, 151a First G sensor 52 Second HDD
52a, 152a Second G sensor 60, 160 Storage device controller 151 HDD
152 SSD

Claims (6)

ミラーリングがなされる複数のストレージと、前記複数のストレージの動作を制御する記憶装置制御部と、前記ストレージに設けられた衝撃センサーとを有する情報処理装置であって、
前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージのフォーマットを実行することを特徴とする情報処理装置。
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 information processing apparatus according to claim 1, wherein the storage device control unit executes formatting of the storage based on a detection result of the impact sensor.
前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記ストレージの書き込み速度を制御することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the storage device control unit controls a write speed of the storage based on a detection result of the impact sensor. 前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記複数のストレージの故障の有無を判断し、故障が発生していないと判断したストレージの書き込み速度を上げることを特徴とする請求項2に記載の情報処理装置。   The storage device control unit determines whether or not there is a failure in the plurality of storages based on the detection result of the impact sensor, and increases the write speed of the storage that is determined to have no failure. The information processing apparatus according to claim 2. 前記記憶装置制御部は、前記ミラーリングを実行する前に、前記複数のストレージに書き込まれたデータのエラー検知処理を行うことを特徴とする請求項1から3までのいずれかに記載に情報処理装置。   4. The information processing apparatus according to claim 1, wherein the storage device control unit performs error detection processing of data written in the plurality of storages before executing the mirroring. 5. . 前記複数のストレージの少なくとも1つはHDDであって、
前記記憶装置制御部は、前記衝撃センサーの検知結果をもとに、前記HDDのディスク回転速度を制御することを特徴とする請求項1から4までのいずれかに記載の情報処理装置。
At least one of the plurality of storages is an HDD,
5. The information processing apparatus according to claim 1, wherein the storage device control unit controls a disk rotation speed of the HDD based on a detection result of the impact sensor. 6.
請求項1〜5までのいずれかに記載の情報処理装置を備えることを特徴とする画像形成装置。   An image forming apparatus comprising the information processing apparatus according to claim 1.
JP2015127578A 2015-06-25 2015-06-25 Information processing apparatus and image forming apparatus Expired - Fee Related JP6350411B2 (en)

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 true JP2017010430A (en) 2017-01-12
JP6350411B2 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2871147B2 (en) 1991-03-29 1999-03-17 住友金属鉱山株式会社 Solvent extraction method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004139677A (en) * 2002-10-18 2004-05-13 Fujitsu Ltd Magnetic disk drive and recording position correction method
US20070125151A1 (en) * 2005-12-01 2007-06-07 Fujitsu Limited Data storage device
US20070230011A1 (en) * 2006-03-31 2007-10-04 Matsushita Electric Industrial Co., Ltd. Apparatus and method of monitoring hard disk drive
JP2011134392A (en) * 2009-12-24 2011-07-07 Toshiba Corp Information processing apparatus and data writing control method in information processing apparatus
JP2012104112A (en) * 2010-11-09 2012-05-31 Internatl Business Mach Corp <Ibm> Method, computer program and system for error detection in mirrored data storage system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004139677A (en) * 2002-10-18 2004-05-13 Fujitsu Ltd Magnetic disk drive and recording position correction method
US20040114269A1 (en) * 2002-10-18 2004-06-17 Fujitsu Limited Method of and apparatus for correcting data recording position on recording medium
US20070125151A1 (en) * 2005-12-01 2007-06-07 Fujitsu Limited Data storage device
JP2007157203A (en) * 2005-12-01 2007-06-21 Fujitsu Ltd Data storage device
US20070230011A1 (en) * 2006-03-31 2007-10-04 Matsushita Electric Industrial Co., Ltd. Apparatus and method of monitoring hard disk drive
JP2008198322A (en) * 2006-03-31 2008-08-28 Matsushita Electric Ind Co Ltd Hard disk state monitoring device and hard disk state monitoring method
JP2011134392A (en) * 2009-12-24 2011-07-07 Toshiba Corp Information processing apparatus and data writing control method in information processing apparatus
JP2012104112A (en) * 2010-11-09 2012-05-31 Internatl Business Mach Corp <Ibm> Method, computer program and system for error detection in mirrored data storage system

Also Published As

Publication number Publication date
JP6350411B2 (en) 2018-07-04

Similar Documents

Publication Publication Date Title
US8135906B2 (en) Online storage capacity expansion of a raid storage system
US7325179B2 (en) Storage system comprising logical circuit configured in accordance with information in memory on PLD
US8312313B2 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
US10720225B2 (en) Information processing apparatus, control method thereof, and storage mediumMD
US8458423B2 (en) Data processing apparatus and data processing method of data processing apparatus
JP5126595B2 (en) Image processing apparatus and image processing system
EP2787440A1 (en) Information processing device, program, and method
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
JP5966243B2 (en) Storage device and storage device control method
JP6350411B2 (en) Information processing apparatus and image forming apparatus
CN106610788A (en) Hard disk array control method and device
JP6406219B2 (en) Communication apparatus and image forming apparatus
US11126123B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
JP5625374B2 (en) Apparatus, abnormality display method and program
US11209761B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium having controller which executes repair processing on the storage medium
US20100293411A1 (en) Image forming apparatus, control method, and storage medium
US11630586B2 (en) Information processing apparatus and method for controlling the same
US20190095282A1 (en) Information processing apparatus, information processing system, and control method by the same
JP2017045320A (en) Virtual machine system and virtual machine program
JP6173968B2 (en) Information processing device
US20150309900A1 (en) Information processing apparatus and control method of information processing apparatus
WO2017078679A1 (en) Recovery from data corruption in a storage array
US20250252019A1 (en) Information processing system and non-transitory computer-readable storage medium

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 Request for written amendment filed

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