[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2018063491A - Control device, control method, and program - Google Patents

Control device, control method, and program Download PDF

Info

Publication number
JP2018063491A
JP2018063491A JP2016200361A JP2016200361A JP2018063491A JP 2018063491 A JP2018063491 A JP 2018063491A JP 2016200361 A JP2016200361 A JP 2016200361A JP 2016200361 A JP2016200361 A JP 2016200361A JP 2018063491 A JP2018063491 A JP 2018063491A
Authority
JP
Japan
Prior art keywords
mirroring
control
disk
storage
control device
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
JP2016200361A
Other languages
Japanese (ja)
Inventor
奈音 笹原
Naoto Sasahara
奈音 笹原
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 JP2016200361A priority Critical patent/JP2018063491A/en
Publication of JP2018063491A publication Critical patent/JP2018063491A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively use the performance of a storage device having a faster access speed among storage devices having different access speeds when mirroring is performed using the storage devices having different access speeds.SOLUTION: A control device for performing mirroring using storage devices having different access speeds includes control means for performing control to exclude particular data from mirroring objects.SELECTED DRAWING: Figure 1

Description

本発明は、制御装置、制御方法及びプログラムに関する。   The present invention relates to a control device, a control method, and a program.

近年、SSD(Solid State Drive)の普及に伴い、補助記憶装置としてSSDが画像形成装置に具備されるようになってきている。従来の補助記憶装置と比較すると、SSDはアクセス速度、発熱、動作音、耐衝撃性能、消費電力、サイズといった観点で優れているが、一方で書き換え回数に制限がある。
一方、ディスクのミラーリング制御装置は、2台のディスクが同時に故障することが少ないことを利用した耐故障性を向上させる装置である。ミラーリング制御装置では、一般的に型番が同じディスクを2台接続してミラーリングを構成する。SSDを2台用いてミラーリングを構成すれば、よりアクセス速度にすぐれたシステムを構築できる。しかし、SSDはHDDに比べて高価なため、コストを考慮してSSDとHDDとのように異なる特性を持つディスクを2台利用してミラーリングを構成することも想定される。
In recent years, with the widespread use of SSD (Solid State Drive), SSDs have been provided in image forming apparatuses as auxiliary storage devices. Compared with conventional auxiliary storage devices, SSDs are superior in terms of access speed, heat generation, operation sound, impact resistance, power consumption, and size, but on the other hand, the number of rewrites is limited.
On the other hand, a disk mirroring control device is a device that improves fault tolerance utilizing the fact that two disks are unlikely to fail at the same time. In the mirroring control device, generally, two disks having the same model number are connected to form mirroring. If mirroring is configured using two SSDs, a system with higher access speed can be constructed. However, since the SSD is more expensive than the HDD, it is assumed that mirroring is configured using two disks having different characteristics such as the SSD and the HDD in consideration of the cost.

特開平08−063379号公報Japanese Patent Laid-Open No. 08-063379 特開2012−43246号公報JP 2012-43246 A

特許文献1に記載の技術では、先行技術では保存されたデータを読み込む際の処理については考慮がなされていない。
一方、特許文献2に記載の技術では、容量が少ないSSDと容量が多いHDDとを用いてミラーリングを構成した場合、非ミラーリング領域はHDDにしか作られず、非ミラーリング領域に保存されるデータの読み書きは、SSDの速度を活かすことができない。
本発明の目的の一つは、アクセス速度の異なるストレージを用いてミラーリングを行った場合においても、アクセス速度の異なるストレージのうち、アクセス速度のより速い方のストレージの性能を有効に利用することを目的とする。
In the technique described in Patent Document 1, the prior art does not consider processing when reading stored data.
On the other hand, in the technique described in Patent Document 2, when mirroring is configured using an SSD having a small capacity and an HDD having a large capacity, the non-mirroring area is created only in the HDD, and data read / write is performed in the non-mirroring area. Cannot take advantage of the speed of SSD.
One of the objects of the present invention is to effectively use the performance of the storage device with the higher access speed among the storage devices with different access speeds even when mirroring is performed using the storage with different access speeds. Objective.

本発明は、アクセス速度の異なるストレージを用いてミラーリングを行う制御装置であって、特定のデータはミラー対象から外す制御を行う制御手段を有する。   The present invention is a control device that performs mirroring using storages with different access speeds, and includes control means for performing control for removing specific data from a mirror target.

本発明の一つによれば、アクセス速度の異なるストレージを用いてミラーリングを行った場合においても、アクセス速度の異なるストレージのうち、アクセス速度のより速い方のストレージの性能を有効に利用することができる。   According to one aspect of the present invention, even when mirroring is performed using storage with different access speeds, it is possible to effectively use the performance of the storage with the higher access speed among the storages with different access speeds. it can.

ミラーリング制御装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a mirroring control apparatus. ミラーリング設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a mirroring setting process. ミラーリング領域情報の一例を示す図である。It is a figure which shows an example of mirroring area | region information. 各ストレージの領域の一例を示す図である。It is a figure which shows an example of the area | region of each storage. データの読み書きを行う制御処理の一例を示すフローチャートである。It is a flowchart which shows an example of the control processing which reads / writes data. 非ミラーリング領域のリビルド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the rebuild process of a non-mirroring area | region.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<実施形態1>
図1は、ミラーリング制御装置のハードウェア構成の一例を示す図である。
ミラーリング制御装置100は、ROM102又は例えばHDDやSSD等の不揮発性記憶装置であるストレージ1(Storage1)110に記憶されたプログラムを実行するCPU101を備える。CPU101は、システムバス115に接続される各デバイスを総括的に制御する。不揮発性記憶装置はミラーリング制御装置100に複数台接続可能であり、オプションとして不揮発性記憶装置であるストレージ2(Storage2)111を拡張可能である。ストレージ1(110)、ストレージ2(111)は、ディスクコントローラ(DISKC2)109、ディスクコントローラ(DISKC3)118によってそれぞれ読み書きの制御が行われる。実施形態1では、ストレージ1(110)をSSD、ストレージ2(111)をHDDで構成した場合を例に説明を行う。
ストレージ1(110)、ストレージ2(111)のミラーリング領域には同一のデータが書かれるように制御されるが、どちらかのストレージがマスターとなっており、他方はスレーブとなっている。マスターとスレーブとは故障や着脱等により入れ替わるため、以降マスターとスレーブと表現した場合は、ストレージ1(110)、ストレージ2(111)のどちらかを表すものとする。
RAM103は、CPU101の主メモリ、ワークエリア、ストレージ1(110)、111に読み書きするデータのバッファ等として機能する。
ミラーリング制御装置100は、ディスクコントローラ(DISKC1)116を介して、ホスト(HOST Controller)117と接続され、ストレージ1(110)、111に読み書きするデータの授受を行う。データ転送ユニット119は、ディスクコントローラ109、116、118と接続され、ディスクコントローラ間のデータ転送を行う。
本実施形態では、ホスト117及びストレージ1(110)、111はミラーリング制御装置100の外部に接続されているが、ミラーリング制御装置100の内部に包含されていてもよい。
CPU101が、ROM102、又はストレージ1(110)等に記憶されたプログラムに基づき処理を実行することにより、ミラーリング制御装置100の機能、及び後述する図2、5、6等のフローチャートの処理の全部又は一部が実現される。
<Embodiment 1>
FIG. 1 is a diagram illustrating an example of a hardware configuration of the mirroring control device.
The mirroring control device 100 includes a CPU 101 that executes a program stored in a ROM 102 or a storage 1 (Storage 1) 110 that is a nonvolatile storage device such as an HDD or an SSD. The CPU 101 generally controls each device connected to the system bus 115. A plurality of nonvolatile storage devices can be connected to the mirroring control device 100, and the storage 2 (Storage 2) 111, which is a nonvolatile storage device, can be expanded as an option. Storage 1 (110) and storage 2 (111) are read / written by a disk controller (DISKC2) 109 and a disk controller (DISKC3) 118, respectively. In the first embodiment, a case where the storage 1 (110) is an SSD and the storage 2 (111) is an HDD will be described as an example.
Control is performed so that the same data is written in the mirroring areas of the storage 1 (110) and the storage 2 (111), but one of the storages is a master and the other is a slave. Since the master and the slave are interchanged due to failure, attachment / detachment, and the like, the expression “master” and “slave” hereinafter represents either storage 1 (110) or storage 2 (111).
A RAM 103 functions as a main memory, a work area of the CPU 101, a buffer for data read from and written to the storage 1 (110) and 111, and the like.
The mirroring control device 100 is connected to a host (HOST Controller) 117 via a disk controller (DISKC1) 116, and exchanges data to be read and written to the storages 1 (110) and 111. The data transfer unit 119 is connected to the disk controllers 109, 116, and 118, and transfers data between the disk controllers.
In this embodiment, the host 117 and the storage 1 (110), 111 are connected to the outside of the mirroring control device 100, but may be included inside the mirroring control device 100.
When the CPU 101 executes processing based on a program stored in the ROM 102 or the storage 1 (110) or the like, all of the functions of the mirroring control device 100 and the processing of flowcharts shown in FIGS. Part is realized.

次に、非ミラーリング領域の制御方法について説明する。
始めに、図2のミラーリング設定処理について説明する。
S201において、CPU101は、ホスト117からミラーリング領域情報を受け付けて、データのミラーリングを行う領域と行わない領域との設定を行う。ミラーリング領域情報は、例えば、図3に示すようなものであり、CPU101は、ホスト117から受け付けたミラーリング領域情報を例えばROM102に記憶する。アドレスはストレージのLBA(Logical Block Addressing)を表すものであり、図3では16進数で表記している。上述の設定例における各ストレージの領域は図4のようになる。図4において、ストレージ1(110)及びストレージ2(111)のアドレス00〜0Fの領域がミラーリング領域として、アドレス0F〜FFの網掛け領域が非ミラーリング領域として設定される。どこからどこまでのアドレス空間をミラーリングするかの設定は、ホスト117が任意に指定できる。例えば、ホスト117は、パーティションごとにミラーリングを行うか否かの設定を行い、パーティションに対応するアドレスとミラーリング有無との対応情報をディスクコントローラ(DISKC1)116に送信する。CPU101は、ディスクコントローラ116を介してホスト117から受け付けたアドレスとミラーリング有無との対応情報をROM102に保存し、ミラーリング領域の設定とする。
Next, a method for controlling the non-mirroring area will be described.
First, the mirroring setting process of FIG. 2 will be described.
In step S <b> 201, the CPU 101 receives mirroring area information from the host 117 and sets an area where data is to be mirrored and an area where data is not to be mirrored. The mirroring area information is, for example, as shown in FIG. 3, and the CPU 101 stores the mirroring area information received from the host 117 in the ROM 102, for example. The address represents an LBA (Logical Block Addressing) of the storage, and is represented by a hexadecimal number in FIG. Each storage area in the above setting example is as shown in FIG. In FIG. 4, the areas of addresses 0 to 0F of the storage 1 (110) and storage 2 (111) are set as mirroring areas, and the shaded areas of addresses 0F to FF are set as non-mirroring areas. The host 117 can arbitrarily specify where to mirror the address space. For example, the host 117 sets whether to perform mirroring for each partition, and transmits correspondence information between the address corresponding to the partition and the presence / absence of mirroring to the disk controller (DISKC1) 116. The CPU 101 stores correspondence information between the address received from the host 117 via the disk controller 116 and the presence / absence of mirroring in the ROM 102, and sets the mirroring area.

次に、非ミラーリング領域使用ディスクの設定処理の説明を行う。
S202において、CPU101は、ホスト117から非ミラーリング領域使用ディスクの指定番号を受け付けたか否かを判定する。CPU101は、ホスト117から非ミラーリング領域使用ディスクの指定番号を受け付けた場合(S202−Yes)、S204に進み、非ミラーリング領域使用ディスクの指定番号を受け付けなかった場合(S202−No)、S203に進む。
S204において、CPU101は、指定されたディスク番号を非ミラーリング領域使用ディスクとしてROM102に保存する。
一方、S203において、CPU101は、マスターディスクの番号を非ミラーリング領域使用ディスクとしてROM102に保存する。マスターディスクは後から動的に変更される場合がある。しかし、マスターディスクが変更されても、CPU101は、非ミラーリング領域使用ディスクとしてROM102に保存されたディスクの番号は変更しない。
Next, the setting process of the non-mirroring area using disk will be described.
In step S <b> 202, the CPU 101 determines whether a designated number for a non-mirroring area use disk has been received from the host 117. If the CPU 101 accepts the designated number of the non-mirroring area use disk from the host 117 (S202-Yes), it proceeds to S204, and if it does not accept the designation number of the non-mirroring area use disk (S202-No), proceeds to S203. .
In S204, the CPU 101 stores the designated disk number in the ROM 102 as a non-mirroring area use disk.
On the other hand, in S203, the CPU 101 stores the master disk number in the ROM 102 as a non-mirroring area using disk. The master disk may change dynamically later. However, even if the master disk is changed, the CPU 101 does not change the disk number stored in the ROM 102 as a non-mirroring area use disk.

次に、図5のデータの読み書きを行う制御方法について説明する。
ディスクにデータを書き込む際やディスクからデータを読み込む際、ホスト117は、ファイルシステムを通してATAコマンドをディスクコントローラ(DISKC1)116に送信する。S301において、CPU101は、ディスクコントローラ116を介してホスト117から読込み又は書込みのATAコマンドを受け付ける。
S302において、CPU101は、アクセス要求されたアドレスをROM102に保存されているミラーリング領域の設定情報と照合する。CPU101は、照合の結果、アクセス要求されたアドレスが非ミラーリング領域であった場合(S302−No)、S307に進み、アクセス要求されたアドレスがミラーリング領域であった場合(S302−Yes)、S303に進む。
S307において、CPU101は、ホスト117から受け付けたATAコマンドを、ROM102に設定されている非ミラーリング領域使用ディスクへ送信する。
一方、S303において、CPU101は、アクセス要求が読み込みコマンドか、書込みコマンドかを判定する。CPU101は、アクセス要求が読み込みコマンドの場合(S303−Yes)、S306に進み、アクセス要求が書込みコマンドの場合(S303−No)、S304に進む。
S304において、CPU101は、書込みコマンドをマスターに送信する。
S305において、CPU101は、書込みコマンドをスレーブに送信する。このとき、CPU101は、書込みコマンドをディスクに送信する際は、マスターとスレーブとのディスクに順次、コマンドを送信してもよいし、マスターとスレーブとに同時に送信してもよい。例えば、CPU101は、RAM103に保持されているデータを、データ転送ユニット119を制御し、DISKC2(109)、DISKC3(110)を介してストレージ1(110)、ストレージ2(111)に書き込む。
一方、S306において、CPU101は、読み込みコマンドをマスターに送信する。
Next, a control method for reading and writing data in FIG. 5 will be described.
When writing data to the disk or reading data from the disk, the host 117 transmits an ATA command to the disk controller (DISKC1) 116 through the file system. In step S <b> 301, the CPU 101 receives a read or write ATA command from the host 117 via the disk controller 116.
In step S <b> 302, the CPU 101 collates the access requested address with the mirroring area setting information stored in the ROM 102. If the address requested for access is a non-mirroring area (S302-No) as a result of collation, the CPU 101 proceeds to S307. If the address requested for access is a mirroring area (S302-Yes), the CPU 101 proceeds to S303. move on.
In step S <b> 307, the CPU 101 transmits the ATA command received from the host 117 to the non-mirroring area use disk set in the ROM 102.
On the other hand, in S303, the CPU 101 determines whether the access request is a read command or a write command. If the access request is a read command (S303-Yes), the CPU 101 proceeds to S306. If the access request is a write command (S303-No), the CPU 101 proceeds to S304.
In S304, the CPU 101 transmits a write command to the master.
In S305, the CPU 101 transmits a write command to the slave. At this time, when transmitting the write command to the disk, the CPU 101 may sequentially transmit the command to the master and slave disks, or may simultaneously transmit to the master and slave. For example, the CPU 101 controls the data transfer unit 119 to write the data held in the RAM 103 to the storage 1 (110) and storage 2 (111) via the DISKC2 (109) and DISKC3 (110).
On the other hand, in S306, the CPU 101 transmits a read command to the master.

このように、ミラーリング領域へのアクセスか非ミラーリング領域へのアクセスかを判別し、アクセス先の領域に応じて読み書きのコマンドを送信するディスクを決定する。このことで、従来のミラーリングの動作をさせつつ、データの不整合を生じること無く非ミラーリング領域を使用できるようになる。   Thus, it is determined whether the access is to the mirroring area or the non-mirroring area, and the disk to which the read / write command is transmitted is determined according to the access destination area. This makes it possible to use the non-mirroring area without causing data inconsistency while performing the conventional mirroring operation.

次に、図6を用いて非ミラーリング領域使用ディスクの変更動作についての説明を行う。
非ミラーリング領域使用ディスクを変更する際は、変更後のデータ不整合を起こさないために、先に非ミラーリング領域使用ディスクとしていたディスクの非ミラーリング領域を、変更先ディスクの非ミラーリング領域にコピーする必要がある。ここではその処理について説明を行う。
S401において、CPU101は、ディスクコントローラ116を介してホスト117から非ミラーリング領域使用ディスクの指定を変更するコマンドを受け付ける。
S402において、CPU101は、指定されたディスクが現在、非ミラーリング領域使用ディスクとして設定しているディスクと同一か否かを判定する。CPU101は、判定の結果、同一であった場合(S402−Yes)、非ミラーリング領域使用ディスクの変更処理を終了し、異なるディスクが指定されていた場合(S402−No)、S403に進む。
S403において、CPU101は、非ミラーリング領域のリビルド処理を行う。ストレージ1(110)が非ミラーリング領域使用ディスクとして設定されている場合を例に、リビルド処理の説明を行う。CPU101の制御に基づき、データ転送ユニット119は、DISKC2(109)を介してストレージ1(110)からデータを読み、そのままDISKC3(110)を介してストレージ2(111)に書き込む。データ転送ユニット119は、これをストレージ1(110)の非ミラーリング領域の全域に対して行う。リビルド処理が完了すると、ストレージ1(110)とストレージ2(111)との非ミラーリング領域には同一のデータが書かれた状態になる。
リビルド処理が完了すると、S404において、CPU101は、ROM102に保存されている非ミラーリング領域使用ディスクの設定情報を、ホスト117から指定されたディスク番号へ変更する。
データ転送処理において、データ転送ユニット119を使用した動作として説明したが、データ転送ユニット119を使用せずに、CPU101が直接、データ転送処理を行ってもよい。
Next, the operation of changing the non-mirroring area using disk will be described with reference to FIG.
When changing a disk that uses a non-mirroring area, it is necessary to copy the non-mirroring area of the disk that was previously used as the non-mirroring area disk to the non-mirroring area of the target disk in order to prevent data inconsistency after the change. There is. This process will be described here.
In step S <b> 401, the CPU 101 receives a command for changing the designation of a non-mirroring area use disk from the host 117 via the disk controller 116.
In S402, the CPU 101 determines whether or not the designated disk is the same as the disk currently set as the non-mirroring area use disk. If the determination result is the same (S402-Yes), the CPU 101 finishes the process of changing the non-mirroring area use disk, and if a different disk is specified (S402-No), the process proceeds to S403.
In step S403, the CPU 101 performs a rebuild process for the non-mirroring area. The rebuild process will be described by taking as an example the case where the storage 1 (110) is set as a non-mirroring area use disk. Based on the control of the CPU 101, the data transfer unit 119 reads data from the storage 1 (110) via the DISKC2 (109) and writes the data as it is to the storage 2 (111) via the DISKC3 (110). The data transfer unit 119 performs this for the entire non-mirroring area of the storage 1 (110). When the rebuild process is completed, the same data is written in the non-mirroring areas of the storage 1 (110) and the storage 2 (111).
When the rebuild process is completed, in step S <b> 404, the CPU 101 changes the setting information of the non-mirroring area use disk stored in the ROM 102 to the disk number designated by the host 117.
In the data transfer process, the operation using the data transfer unit 119 has been described. However, the CPU 101 may directly perform the data transfer process without using the data transfer unit 119.

以上に示したように、本実施形態の情報処理によれば通常のミラーリングシステムの機能を保ったまま、ミラーリングする必要のないデータは任意のディスクで読み書きを行うことができるようになる。これによりSSDとHDDとのようなアクセス速度の異なるディスクを用いてミラーリングシステムを構築したときに、読み書き回数の多い一時データ等をSSDのみで扱うようにすることで、HDDへの読み書きによる速度低下を低減させることができる。また、SSDを2台用いてミラーリングシステムを構築したときにも、片方のディスクのみに書き込まれるデータを作ることで、ディスク間に寿命の差を付けることができ、ディスクが同時に壊れてシステムが復旧できなくなるリスクを抑えることができる。   As described above, according to the information processing of this embodiment, data that does not need to be mirrored can be read and written on an arbitrary disk while maintaining the function of a normal mirroring system. As a result, when a mirroring system is constructed using disks with different access speeds, such as SSD and HDD, temporary data with a large number of read / write operations is handled only by SSD, thereby reducing the speed due to read / write to HDD. Can be reduced. In addition, even when a mirroring system is constructed using two SSDs, by creating data that can be written to only one of the disks, it is possible to make a difference in the life between the disks, and the disk breaks at the same time and the system is restored. The risk of becoming impossible can be reduced.

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

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではない。
例えば、アクセス速度の異なるSSD、HDを用いてミラーリングを行うミラーリング制御装置100は、特定のデータ(例えば、画像のような一時データ)はミラー対象から外す制御を行うようにしてもよい。このようにすることにより、例えば、HDDの読み書き回数を減らし、その分の速度低下を軽減することができる。また、ミラーリング制御装置100は、ミラー対象から外したデータの書き込み先のストレージをマスターのストレージが変更された場合であっても固定するよう制御してもよい。
As mentioned above, although preferable embodiment of this invention was explained in full detail, this invention is not limited to the specific embodiment which concerns.
For example, the mirroring control apparatus 100 that performs mirroring using SSDs and HDs having different access speeds may perform control to exclude specific data (for example, temporary data such as images) from the mirror target. By doing so, for example, the number of times of reading and writing of the HDD can be reduced, and the speed reduction can be reduced accordingly. Further, the mirroring control device 100 may perform control so that the storage to which data excluded from the mirror target is written is fixed even when the master storage is changed.

上述した各実施形態の処理によれば、複数のディスクを利用してミラーリングを構成する際に、任意のディスクで非ミラーリング領域を利用できるようになる。これにより、SSDとHDDとのようにアクセス速度の異なるディスクを使用してミラーリングを構成したときに、以下の効果を有する。即ち、SSDの一部を非ミラーリング領域として利用することで、非ミラーリングデータはHDDのアクセス速度の影響を受けず、高速な読み書きを行うことができるようになる。
また、SSDを2台用いてミラーリングを構成した場合でも、一部のデータを片方のディスクのみで読み書きすることにより、2台のディスクに寿命の差を付けることができ、2台同時にディスクが壊れてシステムの復旧ができなくなる問題を回避することができる。
According to the processing of each embodiment described above, when configuring mirroring using a plurality of disks, a non-mirroring area can be used with an arbitrary disk. As a result, when mirroring is configured using disks having different access speeds such as SSD and HDD, the following effects are obtained. That is, by using a part of the SSD as a non-mirroring area, non-mirroring data can be read / written at high speed without being affected by the access speed of the HDD.
In addition, even when mirroring is configured using two SSDs, reading and writing a part of data with only one of the disks can give a difference in the life of the two disks, and the two disks are damaged at the same time. Therefore, the problem that the system cannot be recovered can be avoided.

100 ミラーリング制御装置
101 CPU
100 mirroring control device 101 CPU

Claims (9)

アクセス速度の異なるストレージを用いてミラーリングを行う制御装置であって、
特定のデータはミラー対象から外す制御を行う制御手段を有する制御装置。
A control device that performs mirroring using storage with different access speeds,
A control device having control means for performing control for removing specific data from a mirror target.
前記制御手段は、前記ミラー対象から外したデータの書き込み先のストレージをマスターのストレージが変更された場合であっても固定する請求項1記載の制御装置。   The control device according to claim 1, wherein the control unit fixes a storage to which data excluded from the mirror target is written even when a master storage is changed. ミラーリングを構成する複数のストレージにミラーリング領域と非ミラーリング領域とを設定する設定手段と、
前記複数のストレージのうちの一のストレージの非ミラーリング領域へのアクセス要求があった場合、指定されているディスクにアクセスする制御手段と、
を有する制御装置。
Setting means for setting a mirroring area and a non-mirroring area in a plurality of storages constituting the mirroring;
Control means for accessing a designated disk when there is an access request to a non-mirroring area of one of the plurality of storages;
Control device.
前記非ミラーリング領域へのアクセス要求があった場合に使用するディスクを指定する指定手段を更に有する請求項3記載の制御装置。   The control apparatus according to claim 3, further comprising a designation unit that designates a disk to be used when there is an access request to the non-mirroring area. 前記指定手段は、前のディスクと異なるディスクが指定された場合、非ミラーリング領域のリビルド処理を行い、ディスクを切り返る請求項4記載の制御装置。   The control device according to claim 4, wherein when the disk different from the previous disk is specified, the specifying unit performs rebuild processing of the non-mirroring area and switches the disk. 前記複数のストレージには、アクセス速度の異なるストレージが含まれる請求項3乃至5何れか1項記載の制御装置。   The control device according to claim 3, wherein the plurality of storages include storages having different access speeds. アクセス速度の異なるストレージを用いてミラーリングを行う制御装置が実行する制御方法であって、
特定のデータはミラー対象から外す制御を行う制御工程を含む制御方法。
A control method executed by a control device that performs mirroring using storage with different access speeds,
A control method including a control step of performing control for removing specific data from a mirror target.
制御装置が実行する制御方法であって、
ミラーリングを構成する複数のストレージにミラーリング領域と非ミラーリング領域とを設定する設定工程と、
前記複数のストレージのうちの一のストレージの非ミラーリング領域へのアクセス要求があった場合、指定されているディスクにアクセスする制御工程と、
を含む制御方法。
A control method executed by a control device,
A setting step for setting a mirroring area and a non-mirroring area in a plurality of storages constituting the mirroring;
A control step of accessing a designated disk when there is an access request to a non-mirroring area of one of the plurality of storages;
Control method.
コンピュータを、請求項1乃至6何れか1項記載の制御装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the control apparatus in any one of Claims 1 thru | or 6.
JP2016200361A 2016-10-11 2016-10-11 Control device, control method, and program Pending JP2018063491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016200361A JP2018063491A (en) 2016-10-11 2016-10-11 Control device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016200361A JP2018063491A (en) 2016-10-11 2016-10-11 Control device, control method, and program

Publications (1)

Publication Number Publication Date
JP2018063491A true JP2018063491A (en) 2018-04-19

Family

ID=61967840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016200361A Pending JP2018063491A (en) 2016-10-11 2016-10-11 Control device, control method, and program

Country Status (1)

Country Link
JP (1) JP2018063491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135819A (en) * 2019-02-26 2020-08-31 富士通株式会社 Memory control device, memory control program, and memory control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135819A (en) * 2019-02-26 2020-08-31 富士通株式会社 Memory control device, memory control program, and memory control method
JP7334423B2 (en) 2019-02-26 2023-08-29 富士通株式会社 Memory control device, memory control program, and memory control method

Similar Documents

Publication Publication Date Title
US7127557B2 (en) RAID apparatus and logical device expansion method thereof
JP2015207289A (en) Storage system and method of operating storage controller
JP2009116783A (en) Storage system for restoring data stored in failed storage device
US9836223B2 (en) Changing storage volume ownership using cache memory
JP2010049502A (en) Storage subsystem and storage system having the same
JP2008269374A (en) Storage system and control method
US8832396B2 (en) Storage apparatus and its control method
CN106610788B (en) Hard disk array control method and device
US20150269098A1 (en) Information processing apparatus, information processing method, storage, storage control method, and storage medium
JP2012212192A (en) Host server with virtual storage for virtual machine
JPWO2015141219A1 (en) Storage system, control device, data access method and program
JP2018063491A (en) Control device, control method, and program
JP2015052853A (en) Storage controller, storage control method, and program
WO2016006108A1 (en) Storage and control method therefor
JP5505329B2 (en) Disk array device and control method thereof
JP4936088B2 (en) Disk array device, disk array system, and cache control method
JP2006318017A (en) Raid constitution conversion method, device and program, and disk array device using the same
WO2014112062A1 (en) Storage device and data migration method
US9779002B2 (en) Storage control device and storage system
US10089201B2 (en) Storage device, storage system and non-transitory computer-readable storage medium for mirroring of data
JP6175566B2 (en) Storage system and storage control method
WO2018055686A1 (en) Information processing system
JP2020177501A (en) Storage system, drive housing thereof, and parity operation method
US10705905B2 (en) Software-assisted fine-grained data protection for non-volatile memory storage devices
JP2013045218A (en) Data copy processing system, storage device, and data copy processing method