JP2021039674A - Data storage device, control device, stored data management method, and program - Google Patents
Data storage device, control device, stored data management method, and program Download PDFInfo
- Publication number
- JP2021039674A JP2021039674A JP2019162193A JP2019162193A JP2021039674A JP 2021039674 A JP2021039674 A JP 2021039674A JP 2019162193 A JP2019162193 A JP 2019162193A JP 2019162193 A JP2019162193 A JP 2019162193A JP 2021039674 A JP2021039674 A JP 2021039674A
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- data
- memory
- duplicated
- control unit
- 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
Links
Images
Abstract
Description
本発明は、データの記憶に関し、特に、記憶したデータのバックアップに関する。 The present invention relates to the storage of data, and more particularly to the backup of the stored data.
情報処理装置(以下、「ホスト装置」とも呼ぶ)には、一般的に、記憶装置が接続されている。 A storage device is generally connected to an information processing device (hereinafter, also referred to as a "host device").
記憶装置としては、ハードディスク装置又はSolid State Drive(SSD)などの不揮発性記憶装置が多く用いられている。 As the storage device, a hard disk device or a non-volatile storage device such as a Solid State Drive (SSD) is often used.
しかし、このような不揮発性記憶装置は、アクセスにおける遅延時間(レイテンシ)が長い。 However, such a non-volatile storage device has a long delay time (latency) in access.
そこで、大量のデータを複数のホスト装置間で共有し、かつ、より短いレイテンシでデータにアクセスできるようにするため、所定の機能を備えた拡張記憶装置(Expanded Memory Unit:EMU)が用いられている。 Therefore, in order to share a large amount of data among a plurality of host devices and to access the data with a shorter latency, an expanded storage device (Expanded Memory Unit: EMU) having a predetermined function is used. There is.
EMUは、データを保持するデバイスとして、DIMM(Dual Inline Memory Module)などの揮発性デバイスを用いて短いレイテンシを実現している。 The EMU uses a volatile device such as a DIMM (Dual Inline Memory Module) as a device for holding data to achieve a short latency.
しかし、揮発性デバイスは、電力の供給が停止するとデータを消失する。つまり、停電時など電力の供給が喪失した場合、揮発性デバイスのデータが消失してしまう。 However, volatile devices lose data when the power supply is cut off. That is, if the power supply is lost, such as during a power outage, the data on the volatile device will be lost.
これを防ぐため方法の一つとして、バッテリバックアップ方式がある。バッテリバックアップ方式は、EMUをバッテリに接続しておき、停電時などにおいて、バッテリから電力の供給を受けて、データを保持する。 As one of the methods to prevent this, there is a battery backup method. In the battery backup method, the EMU is connected to the battery, and in the event of a power failure or the like, power is supplied from the battery to hold the data.
しかし、バッテリバックアップ方式は、停電などの復旧までに十分な時間を想定した場合、大容量のバッテリが必要となる。大容量のバッテリは、購入費用が大きく、また、広い設置場所が必要となる。つまり、バッテリバックアップ方式には、費用が大きい、及び、広い設置場所が必要となるという問題点があった。 However, the battery backup method requires a large-capacity battery, assuming a sufficient time for recovery from a power failure or the like. Large-capacity batteries are expensive to purchase and require a large installation space. That is, the battery backup method has problems that the cost is high and a large installation space is required.
そこで、バッテリの容量を削減するための技術が提案されている(例えば、特許文献1ないし3を参照)。
Therefore, a technique for reducing the capacity of the battery has been proposed (see, for example,
特許文献1ないし3に記載された技術は、停電時などにおいて、揮発性記憶装置のデータを、不揮発性記憶装置にバックアップする。
The techniques described in
特許文献1ないし3の記載された技術の詳細は、次のとおりである。
The details of the techniques described in
特許文献1に記載されたストレージシステムは、それぞれが揮発性メモリを備えた第1のコントローラと、及び、第2のコントローラとを備える。そして、電源が遮断された場合、特許文献1に記載されたストレージシステムは、第1のコントローラの揮発性メモリのデータを第2のコントローラの揮発性メモリに集約する。そして、特許文献1に記載されたストレージシステムは、データの集約後、第1のコントローラの電力の供給を停止して、バックアップにおける電力の消費を削減する。
The storage system described in
特許文献2に記載されたファクシミリ装置は、本体とサブブロックとを備える。そして、本体及びサブブロックは、それぞれ揮発性メモリを備える。さらに、サブブロックは、不揮発性メモリを備える。そして、特許文献2に記載されたファクシミリ装置は、本体の揮発メモリのデータを、サブブロックの揮発メモリに複製する。そして、電源断の検出時、特許文献2に記載されたファクシミリ装置は、サブブロック以外への電力の供給を停止して、電力の消費を削減する。なお、バックアップとしては、特許文献2に記載されたファクシミリ装置は、サブブロックの揮発メモリのデータを不揮発性メモリにバックアップする。
The facsimile machine described in
特許文献3に記載された電力低減装置は、データ退避処理が完了した揮発性メモリから、順次、電力の供給を停止する。
The power reduction device described in
しかし、情報処理装置は、その規模及び扱うデータ量が、常に増加傾向にある。そのため、使用される記憶装置の数は、増大している。特に、EMUは、拡張機能を実現するため、一般的な記憶装置より消費電力が大きい。そのため、記憶装置、特にEMUなど高機能の記憶装置は、さらなる消費電力を削減が求められている。 However, the scale and amount of data handled by information processing devices are constantly increasing. Therefore, the number of storage devices used is increasing. In particular, the EMU consumes more power than a general storage device in order to realize an extended function. Therefore, storage devices, particularly high-performance storage devices such as EMU, are required to further reduce power consumption.
また、記憶装置は、機能の違いなど伴い、それぞれ消費電力が異なる製品がある。しかし、特許文献1ないし3に記載の技術は、記憶装置の消費電力を考慮していない。つまり、特許文献1ないし3に記載の技術は、バックアップなどにおいて、記憶装置を考慮した消費電力の削減を実現できないという問題点があった。
In addition, some storage devices have different power consumption due to differences in functions and the like. However, the techniques described in
本発明の目的は、上記問題点を解決して、バックアップにおける電力の消費を削減するデータ記憶装置などを提供することにある。 An object of the present invention is to solve the above problems and provide a data storage device or the like that reduces power consumption in backup.
本発明の一形態におけるデータ記憶装置は、
データを揮発に保存する第1の記憶装置と、
第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と、
第1の記憶装置が保存したデータを第2の記憶装置に複製し、
電力の供給の停止を検出すると、
第1の記憶装置が保存するデータの中で第2の記憶装置に複製していないデータを第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると第1の記憶装置への電力の供給を停止し、
第2の記憶装置が保存するデータを第3の記憶装置にバックアップし、第2の記憶装置が保存するデータのバックアップ後に第2の記憶装置及び第3の記憶装置への電力の供給を停止する制御装置と
を含む。
The data storage device according to one embodiment of the present invention is
A first storage device that stores data in a volatile manner,
A second storage device that stores data volatilely with less power consumption than the first storage device,
A third storage device that stores data non-volatilely,
The data stored in the first storage device is duplicated in the second storage device,
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the data is transferred to the first storage device. Stop the power supply and
The data stored in the second storage device is backed up to the third storage device, and the power supply to the second storage device and the third storage device is stopped after the data stored in the second storage device is backed up. Including control device.
本発明の一形態における制御装置は、
データを揮発に保存する第1の記憶装置と、
第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と、に接続され、
第1の記憶装置が保存したデータを第2の記憶装置に複製し、
電力の供給の停止を検出すると、
第1の記憶装置が保存するデータの中で第2の記憶装置に複製していないデータを第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると第1の記憶装置への電力の供給を停止し、
第2の記憶装置が保存するデータを第3の記憶装置にバックアップし、第2の記憶装置が保存するデータのバックアップ後に第2の記憶装置及び第3の記憶装置への電力の供給を停止する。
The control device according to one embodiment of the present invention is
A first storage device that stores data in a volatile manner,
A second storage device that stores data volatilely with less power consumption than the first storage device,
Connected to a third storage device that stores data non-volatilely
The data stored in the first storage device is duplicated in the second storage device,
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the data is transferred to the first storage device. Stop the power supply and
The data stored in the second storage device is backed up to the third storage device, and the power supply to the second storage device and the third storage device is stopped after the data stored in the second storage device is backed up. ..
本発明の一形態における記憶データ管理方法は、
データを揮発に保存する第1の記憶装置と、
第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と
を含むデータ記憶装置が、
第1の記憶装置が保存したデータを第2の記憶装置に複製し、
電力の供給の停止を検出すると、
第1の記憶装置が保存するデータの中で第2の記憶装置に複製していないデータを第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると第1の記憶装置への電力の供給を停止し、
第2の記憶装置が保存するデータを第3の記憶装置にバックアップし、第2の記憶装置が保存するデータのバックアップ後に第2の記憶装置及び第3の記憶装置への電力の供給を停止する。
The storage data management method in one embodiment of the present invention is
A first storage device that stores data in a volatile manner,
A second storage device that stores data volatilely with less power consumption than the first storage device,
A data storage device, including a third storage device that stores data non-volatilely,
The data stored in the first storage device is duplicated in the second storage device,
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the data is transferred to the first storage device. Stop the power supply and
The data stored in the second storage device is backed up to the third storage device, and the power supply to the second storage device and the third storage device is stopped after the data stored in the second storage device is backed up. ..
本発明の一形態におけるプログラムは、
データを揮発に保存する第1の記憶装置と、
第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と
に接続されたコンピュータに、
第1の記憶装置が保存したデータを第2の記憶装置に複製する処理と、
電力の供給の停止を検出すると、
第1の記憶装置が保存するデータの中で第2の記憶装置に複製していないデータを第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると第1の記憶装置への電力の供給を停止する処理と、
第2の記憶装置が保存するデータを第3の記憶装置にバックアップし、第2の記憶装置が保存するデータのバックアップ後に第2の記憶装置及び第3の記憶装置への電力の供給を停止する処理と
を実行させる。
The program in one embodiment of the present invention
A first storage device that stores data in a volatile manner,
A second storage device that stores data volatilely with less power consumption than the first storage device,
On a computer connected to a third storage device that stores data non-volatilely,
The process of replicating the data stored in the first storage device to the second storage device,
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the data is transferred to the first storage device. The process of stopping the power supply and
The data stored in the second storage device is backed up to the third storage device, and the power supply to the second storage device and the third storage device is stopped after the data stored in the second storage device is backed up. Process and execute.
本発明に基づけば、バックアップにおける電力の消費を削減するとの効果を奏することができる。 Based on the present invention, it is possible to achieve the effect of reducing the power consumption in backup.
次に、本発明における実施形態について図面を参照して説明する。 Next, an embodiment of the present invention will be described with reference to the drawings.
なお、各図面は、本発明の実施形態を説明するためのものである。ただし、本発明は、各図面の記載に限られるわけではない。 It should be noted that each drawing is for explaining an embodiment of the present invention. However, the present invention is not limited to the description of each drawing.
また、各図面の同様の構成には、同じ符号を付し、その繰り返しの説明を、省略する場合がある。ただし、図面の煩雑化を避けるため、同様の構成の符号を省略する場合もある。 Further, the same reference numerals may be given to the same configurations in the drawings, and the repeated description thereof may be omitted. However, in order to avoid complication of the drawing, the reference numerals having the same configuration may be omitted.
また、以下の説明に用いる図面において、本発明の説明に関係しない部分の構成については、記載を省略し、図示しない場合もある。 Further, in the drawings used in the following description, the description of the structure of the portion not related to the description of the present invention may be omitted and not shown.
また、図面中の矢印の方向は、一例を示すものであり、ブロック間の信号の向きを限定するものではない。 Further, the direction of the arrow in the drawing shows an example, and does not limit the direction of the signal between the blocks.
<第1の実施形態>
以下、図面を参照して、第1の実施形態について説明する。
<First Embodiment>
Hereinafter, the first embodiment will be described with reference to the drawings.
[構成の説明]
まず、第1の実施形態にかかるデータ記憶装置10の構成について、図面を参照して説明する。
[Description of configuration]
First, the configuration of the
図1は、第1の実施形態にかかるデータ記憶装置10の構成の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the configuration of the
データ記憶装置10は、第1の記憶装置110と、第2の記憶装置120と、第3の記憶装置130と、制御装置140とを含む。
The
第1の記憶装置110は、揮発性(transitory)記憶装置である。第1の記憶装置110は、制御装置140に制御されて、データを保存する。さらに、第1の記憶装置110は、制御装置140に制御されて、保存したデータを、第2の記憶装置120、及び、第3の記憶装置130に送信する。
The
なお、第1の記憶装置110から第2の記憶装置120及び/又は第3の記憶装置130へのデータの送信は、第1の記憶装置110が直接的に送信してもよく、間接的に送信してもよい。例えば、制御装置140又は図示しない構成(例えば、Direct Memory Access(DMA)回路)が、第1の記憶装置110からデータを受信し、受信したデータを第2の記憶装置120及び/又は第3の記憶装置130に送信してもよい。
The data may be transmitted directly from the
なお、揮発性記憶装置とは、「データを揮発に保存する装置」である。ここで、「データを揮発に保存する装置」とは、電力の供給が停止した場合に、データを保存しない記憶装置である。揮発性記憶装置は、例えば、Dynamic Random Access memory(D−RAM)を搭載したDIMMで構成された記憶装置である。 The volatile storage device is a "device that stores data in a volatile state". Here, the "device that stores data in a volatile manner" is a storage device that does not store data when the power supply is stopped. The volatile storage device is, for example, a storage device composed of DIMMs equipped with a Dynamic Random Access memory (D-RAM).
第1の記憶装置110は、単にデータを保存するだけでなく、所定の機能(例えば、RAS機能)を実現する。なお、第1の記憶装置110が実現する機能は、RAS機能に限定されない。
The
第2の記憶装置120は、揮発性記憶装置である。そして、第2の記憶装置120は、第1の記憶装置110が備える機能の少なくとも一部を備えない。あるいは、第2の記憶装置120は、第1の記憶装置110が備える機能の少なくとも一部の機能の性能が低い。そのため、第2の記憶装置120は、第1の記憶装置110より消費電力が少ない。
The
さらに、第2の記憶装置120は、制御装置140に制御されて、第1の記憶装置110が保存しているデータを保存する。つまり、第2の記憶装置120は、第1の記憶装置110が保存するデータの複製を保存する。なお、以下の説明では、第2の記憶装置120が、第1の記憶装置110が保存するデータの複製を保存することを、単に「複製する」と呼ぶ場合もある。
Further, the
第2の記憶装置120におけるデータを複製するやり方は、任意である。制御装置140が、所定のタイミングで第1の記憶装置110のデータを第2の記憶装置120に複製してもよい。あるいは、図示しない構成(例えば、DMA回路)が、データを複製してもよい。
The method of duplicating the data in the
第3の記憶装置130は、不揮発性(non−transitory)記憶装置である。第3の記憶装置130は、バックアップ装置として、制御装置140に制御されて、第1の記憶装置110及び第2の記憶装置120が保存しているデータを保存する。
The
なお、以下の説明において、第1の記憶装置110及び第2の記憶装置120の保存されているデータを、第3の記憶装置130に保存することを、単に、「バックアップする」とも呼ぶ。
In the following description, storing the stored data of the
不揮発性記憶装置とは、「データを不揮発に保存する装置」である。ここで、「データを不揮発に保存する装置」とは、電力の供給が停止した場合でも、データを保存している記憶装置である。 The non-volatile storage device is a "device that stores data non-volatilely". Here, the "device that stores data non-volatilely" is a storage device that stores data even when the power supply is stopped.
制御装置140は、データ記憶装置10の各構成を制御する。さらに、制御装置140は、電力の供給の停止を検出する、又は、電力の供給の停止に関する情報(電源情報)を受信すると、データ記憶装置10におけるデータのバックアップ動作を制御する。バックアップ動作については、後ほど詳細に説明する。
The
なお、図1は、各構成を1つ示しているが、これは説明の便宜のための一例である。データ記憶装置10は、第1の記憶装置110、第2の記憶装置120、第3の記憶装置130、及び、制御装置140のいずれか一部、又は全てについて、複数含んでもよい。
Note that FIG. 1 shows one configuration for each configuration, which is an example for convenience of explanation. The
[動作の説明]
次に、第1の実施形態にかかるデータ記憶装置10の動作について、図面を参照して説明する。
[Explanation of operation]
Next, the operation of the
(1)データの複製の動作
まず、データを複製する動作を説明する。
(1) Data duplication operation First, the operation of duplicating data will be described.
図2は、第1の実施形態にかかるデータ記憶装置10におけるデータを複製する動作の一例を示すフロー図である。
FIG. 2 is a flow chart showing an example of an operation of duplicating data in the
制御装置140は、複製の開始を検出すると、以下で説明する動作を開始する(ステップS201)。
When the
ここで、複製の開始の検出は、データ記憶装置10の運用に沿って決定されればよい。例えば、制御装置140は、図示しない外部の装置(例えば、ホスト装置)から、データの記録の指示(例えば、ライト命令)を複製の開始と判定してもよい。あるいは、制御装置140は、第1の記憶装置110におけるデータを保存する領域の確保を、データの保存の開始と判定してもよい。
Here, the detection of the start of replication may be determined according to the operation of the
あるいは、制御装置140は、ホスト装置から、複製の開始の指示を受けてもよい。このように、制御装置140は、第1の記憶装置110がデータを保存するタイミングとは異なるタイミングでデータを複製してもよい。
Alternatively, the
次に、制御装置140は、第2の記憶装置120において、データを複製する領域を確保する(ステップS202)。
Next, the
そして、制御装置140は、第1の記憶装置110が保存しているデータを、第2の記憶装置120に複製する(ステップS203)。
Then, the
なお、データ記憶装置10は、複製の動作を分割して実行してもよい。例えば、データ記憶装置10が複数の第1の記憶装置110を含む場合、制御装置140は、第1の記憶装置110それぞれに対する複製動作を分けて実行してもよい。ただし、データ記憶装置10は、複数の複製動作を並列に実行してもよい。
The
また、第1の記憶装置110は、一部の領域にデータを保存している場合がある。この場合、制御装置140は、第1の記憶装置110がデータを保存している領域を複製すればよい。
In addition, the
(2)バックアップ動作
次に、図面を参照して、バックアップ動作を説明する。
(2) Backup operation Next, the backup operation will be described with reference to the drawings.
図3は、第1の実施形態にかかるデータ記憶装置10におけるバックアップ動作の一例を示すフロー図である。
FIG. 3 is a flow chart showing an example of a backup operation in the
制御装置140は、電力の供給の停止を検出すると以下の動作を開始する(ステップS211)。
When the
制御装置140は、第1の記憶装置110が保存するデータの中で、第2の記憶装置120に複製していないデータ(以下、「未複製データ」と呼ぶ)がある否かを判定する(ステップS212)。
The
未複製データがある場合(ステップS212でYes)、制御装置140は、未複製データを第3の記憶装置130にバックアップする(ステップS213)。
When there is unreplicated data (Yes in step S212), the
全ての未複製データのバックアップが完了した場合、又は、未複製データがない場合(ステップS212でNo)、制御装置140は、第1の記憶装置110に供給している電力を停止する(ステップS214)。ここで、消費電力が多い第1の記憶装置110への電力の供給を停止して、以下のバックアップ動作を実行するため、データ記憶装置10は、装置全体としての消費電力を削減できる。
When the backup of all the unreplicated data is completed, or when there is no unreplicated data (No in step S212), the
次に、制御装置140は、第2の記憶装置120に複製されたデータを、第3の記憶装置130にバックアップする(ステップS215)。
Next, the
第2の記憶装置120のデータのバックアップが終了すると、制御装置140は、データ記憶装置10への電力の供給を停止する(ステップS216)。
When the backup of the data of the
ただし、データ記憶装置10は、一部の構成への電力の供給を継続してもよい。例えば、データ記憶装置10が一部の構成に対してホットスタート機能を備える場合、データ記憶装置10は、ホットスタート機能に関連する構成に電力の供給を継続してもよい。ただし、データ記憶装置10は、第2の記憶装置120及び第3の記憶装置130については電力の供給は停止することが望ましい。
However, the
なお、制御装置140は、第1の記憶装置110における未複製データを第3の記憶装置130へのバックアップする動作に替えて、未複製データを第2の記憶装置120に複製してもよい。この場合、制御装置140は、第2の記憶装置120への複製の完了時に第1の記憶装置110への電力の供給を停止し、第2の記憶装置120から第3の記憶装置130に、複製したデータをバックアップする。
The
[効果の説明]
次に第1の実施形態にかかるデータ記憶装置10の効果について説明する。
[Explanation of effect]
Next, the effect of the
第1の実施形態かかるデータ記憶装置10は、バックアップにおける電力の消費を削減するとの効果を得ることができる。
First Embodiment Such a
その理由は、次のとおりである。 The reason is as follows.
データ記憶装置10は、第1の記憶装置110と、第2の記憶装置120と、第3の記憶装置130と、制御装置140とを含む。第1の記憶装置110は、データを揮発に保存する。第2の記憶装置120は、第1の記憶装置110より少ない消費電力で、データを揮発に保存する。第3の記憶装置130は、データを不揮発に保存する。制御装置140は、第1の記憶装置110が保存したデータを第2の記憶装置120に複製する。そして、制御装置140は、電力の供給の停止を検出すると、第1の記憶装置110が保存するデータの中で第2の記憶装置120に複製していないデータを第3の記憶装置130にバックアップする。そして、制御装置140は、複製していないデータのバックアップ後に第1の記憶装置110への電力の供給を停止する。さらに、制御装置140は、第2の記憶装置120が保存するデータを第3の記憶装置130にバックアップし、第2の記憶装置120が保存するデータのバックアップ後に第2の記憶装置120及び第3の記憶装置130への電力の供給を停止する。
The
このように構成されたデータ記憶装置10は、消費電力が多い第1の記憶装置110への電力の供給を、第1の記憶装置110の未複製データのバックアップの期間とし、未複製データのバックアップ後の第1の記憶装置110への電力の供給を停止する。そのため、データ記憶装置10は、バックアップ動作における第1の記憶装置110への電力の供給を削減する。
The
さらに、データ記憶装置10は、消費電力が少ない第2の記憶装置120のデータについても、未複製データのバックアップ後に、第3の記憶装置130にバックアップする。そのため、全てのデータは、第3の記憶装置130にバックアップされる。したがって、データ記憶装置10は、全てのデータを不揮発性記憶装置である第3の記憶装置130にバックアップし、データの喪失を防ぐことができる。
Further, the
なお、特許文献1に記載の技術は、2つ以上のコントローラを使用し、コントローラ単位で電力の供給を制御する。特許文献2に記載の技術も、同様である。このように、特許文献1及び2に記載の技術は、複数のコントローラを必要とする。コントローラは、一般的に消費電力が大きい構成である。そのため、コントローラは、少ない方が好ましい。しかし、特許文献1及び2は、単体のコントローラで実現できる技術を開示してない。
The technique described in
一方、データ記憶装置10は、1つの制御装置140を用いてバックアップ動作を実現する。そのため、データ記憶装置10は、複数のコントローラを用いた場合に比べ、バックアップにおける消費電力を削減できる。
On the other hand, the
<第2の実施形態>
次に、より詳細な構成を含む実施形態として、第2の実施形態を説明する。
<Second embodiment>
Next, a second embodiment will be described as an embodiment including a more detailed configuration.
なお、本実施形態にかかるデータ記憶装置10の一例として、以下の説明では、拡張記憶装置(Expanded Memory Unit(EMU))を用いる。
As an example of the
EMUは、記憶装置としての少なくとも一部の機能を拡張する装置である。例えば、EMUは、主記憶装置と外部記憶装置との中間に位置して、階層化記憶装置を実現してもよい。あるいは、EMUは、例えば、RAS機能を実現する記憶装置でもよい。ここで、RAS機能とは、信頼性(Reliability)と、可用性(Availability)と、保守性(Serviceability)とをまとめた機能である。 The EMU is a device that extends at least a part of the functions as a storage device. For example, the EMU may be located between the main storage device and the external storage device to realize the layered storage device. Alternatively, the EMU may be, for example, a storage device that realizes a RAS function. Here, the RAS function is a function that combines reliability, availability, and maintainability.
なお、以下の説明では、第1の記憶装置110の一例として、RAS機能を備えたRASメモリを用いる。
In the following description, a RAS memory having a RAS function is used as an example of the
また、第2の記憶装置120の一例として、ホスト装置と接続する入出力(Input and Output(IO))ボードに含まれるIO用メモリを用いる。
Further, as an example of the
ただし、これらは、第1の記憶装置110、及び、第2の記憶装置120を、上記に限定するものではない。
However, these do not limit the
また、第3の記憶装置130の一例として、不揮発性記憶装置である、Solid State Drive(SSD)を用いる。ただし、これは、第3の記憶装置130を、SSDに限定するものではない。例えば、第3の記憶装置130は、他の不揮発性記憶装置(例えば、ハードディスク装置、又は、光磁気ディスク装置)でもよい。
Further, as an example of the
次に、第2の実施形態にかかるEMU1000の構成について説明する。
Next, the configuration of the
図4は、第2の実施形態にかかるEMU1000の構成の一例を示すブロック図である。
FIG. 4 is a block diagram showing an example of the configuration of the
EMU1000は、複数のメモリボード1100と、複数のIOボード1200とを含む。以下の説明では、一例として、EMU1000は、3つのメモリボード1100−A、メモリボード1100−B、及びメモリボード1100−C、並びに、2つのIOボード1200−A及びIOボード1200−Bを含む。ただし、本実施形態のEMU1000が含むメモリボード1100とIOボード1200の数は、上記に限定されない。EMU1000は、1つ以上のメモリボード1100と、1つ以上のIOボード1200とを含めばよい。
The
メモリボード1100及びIOボード1200は、所定のネットワークなどの通信路、又は、バスを介して、相互に接続されている。
The
さらに、EMU1000は、電源制御部1300と、メモリ利用情報1400とを含む。
Further, the
なお、メモリボード1100の少なくとも一部は、異なる構成を含んでもよい。ただし、以下の説明において、メモリボード1100−A、メモリボード1100−B及びメモリボード1100−Cは、同様の構成を含むとする。そのため、以下の説明において、メモリボード1100を区別せずに説明する場合、メモリボード1100を用いて説明する。また、各メモリボード1100を区別して説明する場合、メモリボード1100−A、メモリボード1100−B及びメモリボード1100−Cのいずれかを用いて説明する。
It should be noted that at least a part of the
また、IOボード1200の少なくとも一部は、異なる構成を含んでもよい。ただし、以下の説明では、IOボード1200−A及びIOボード1200−Bは、同様の構成を含む。そのため、以下の説明において、IOボード1200を区別せずに説明する場合、IOボード1200を用いて説明する。また、IOボード1200を区別して説明する場合、IOボード1200−A及びIOボード1200−Bのどちらかを用いて説明する。
Also, at least a portion of the
さらに、EMU1000は、所定の通信路を介して、ホスト装置3000と接続されている。以下の説明では、一例として、EMU1000は、2台のホスト装置3000−A及びホスト装置3000−Bとに接続されている。ただし、EMU1000が接続されるホスト装置3000の数は、上記に限定されない。EMU1000は、1台以上のホスト装置3000に接続されていればよい。
Further, the
以下の説明において、ホスト装置3000を区別せずに説明をする場合、ホスト装置3000を用いて説明する。また、ホスト装置3000を区別して説明する場合、ホスト装置3000−A又はホスト装置3000−Bを用いて説明する。
In the following description, when the
各構成の詳細について説明する。 Details of each configuration will be described.
メモリボード1100は、RASメモリ1110と、RASメモリコントローラ1120とを含む。
The
RASメモリ1110は、RAS機能を備え、EMU1000がホスト装置3000から受信したデータを保存する。
The
RASメモリコントローラ1120は、RASメモリ1110を制御する。
The
なお、メモリボード1100は、1つのRASメモリ1110に限られず、複数のRASメモリ1110を含んでもよい。
The
さらに、RASメモリコントローラ1120は、データ複製制御部1121を含む。
Further, the
データ複製制御部1121は、RASメモリ1110が保存しているデータを、IOボード1200に複製する。データ複製制御部1121の複製動作については、後ほど詳細に説明する。
The data
IOボード1200は、IOカード1210と、SSD1220と、Micro Processing Unit(MPU)1230と、IO用メモリ1240とを含む。
The
IOカード1210は、ホスト装置3000とのインタフェースである。IOカード1210は、複数のホスト装置3000と接続可能である。
The
なお、IOボード1200は、1つに限らず、複数のIOカード1210を含んでもよい。
The
SSD1220は、不揮発性記憶装置の一例であり、ホスト装置3000から受信したデータのバックアップ先である。
The
MPU1230は、IO制御部1231と、IO用メモリコントローラ1232とを含む。
The
IO制御部1231は、IOカード1210及びSSD1220を制御する。
The
IO用メモリコントローラ1232は、IO用メモリ1240を制御する。
The
IO用メモリ1240は、IO制御部1231の動作するときに必要な情報と、RASメモリ1110のデータの複製とを保存する。
The
なお、以下の説明において、IO制御部1231の動作するときに必要な情報を保存する領域を、「IO制御領域」と呼ぶ。また、RASメモリ1110のデータの複製を保存する領域を、「データ複製領域」と呼ぶ。
In the following description, the area for storing the information necessary for the operation of the
電源制御部1300は、EMU1000の各構成に供給される電力を制御する。
The power
なお、電源制御部1300の制御単位は、任意である。例えば、電源制御部1300は、メモリボード1100及びIOボード1200それぞれへの電力の供給を制御してもよい。あるいは、電源制御部1300は、より細かな範囲(例えば、RASメモリ1110それぞれ)の電力の供給を制御してもよい。
The control unit of the power
ただし、以下の説明では、電源制御部1300は、メモリボード1100を制御単位として、電力の供給を制御する。
However, in the following description, the power
なお、EMU1000の電力の供給元は、任意である。例えば、図4に例示するように、EMU1000は、バッテリを搭載し、所定の電源に接続された無停電電源装置(Uniterruptible Power Supply:UPS)2000から、電力の供給を受けてもよい。 The power supply source of the EMU1000 is arbitrary. For example, as illustrated in FIG. 4, the EMU1000 may be supplied with power from an uninterruptible power supply (UPS) 2000 equipped with a battery and connected to a predetermined power source.
このような構成の場合、所定の電源からのUPS2000への電力の供給の喪失時には、EMU1000には、UPS2000に搭載されたバッテリから電力が供給される。そして、電源制御部1300が、UPS2000から電力の供給に関連する情報(例えば、電源からの供給からバッテリからの供給に切り替わった通知)を受けると、EMU1000は、後ほど説明する動作を実行して、データのバックアップを実行する。なお、この通知は、電源情報の一例である。
In such a configuration, when the power supply to the
メモリ利用情報1400は、IO制御部1231がRASメモリ1110の制御するときに利用する情報(単に「利用情報」とも呼ぶ)を保存する。メモリ利用情報1400を保存する構成は、任意である。例えば、EMU1000は、図示しないフラッシュメモリに、メモリ利用情報1400を保存してもよい。あるいは、メモリ利用情報1400は、いずれかのSSD1220に保存されてもよい。
The
なお、以下の説明において、RASメモリ1110は、複数の領域に分割されているとする。そのため、メモリ利用情報1400は、それぞれの領域が利用されているか否かを示す情報を保存する。ただし、これは、本実施形態を限定するものではない。少なくとも一部のRASメモリ1110は、領域に分割されていなくてもよい。また、各領域の容量は、同じでもよく、少なくとも一部の領域で異なっていてもよい。
In the following description, it is assumed that the
図5は、メモリ利用情報1400として保存される情報の一例を示す図である。
FIG. 5 is a diagram showing an example of information stored as
メモリ利用情報1400にデータ形式は、任意である。図5は、テーブル形式の一例である。ただし、メモリ利用情報1400のデータ形式は、他の形式(例えば、データベース形式)でもよい。
The data format of the
図5に示されているメモリ利用情報1400は、電源制御部1300の制御の単位であるメモリボード1100それぞれに含まれる領域に関する情報を保存する。
The
図5に示されている「利用状況」は、領域が利用中であるか否かを示す情報の一例である。また、「複製完了フラグ」は、領域のデータの複製が完了しているか否かを示す情報の一例である。 The “usage status” shown in FIG. 5 is an example of information indicating whether or not the area is in use. Further, the "replication completion flag" is an example of information indicating whether or not the duplication of the data in the area is completed.
なお、メモリ利用情報1400は、他の情報を保存してもよい。また、図5に示されているメモリ利用情報1400において、各メモリボード1100が含む領域の数は、同じである。ただし、図5における領域の数は、一例である。メモリボード1100は、それぞれ異なる数の領域に分割されてもよい。
The
IO制御部1231は、ホスト装置3000から、RASメモリ1110の領域の割当て要求及び開放要求を受けた場合に、メモリ利用情報1400の利用状況を更新する。
The
複製完了フラグについては、後ほど詳細に説明する。 The replication completion flag will be described in detail later.
RASメモリ1110及びRASメモリコントローラ1120は、一般的なメモリとしての機能及び一般的なメモリコントローラとして機能を実現する回路だけでなく、RAS機能を実現するための回路を含む。
The
例えば、この回路は、EMU1000の運用を継続したままRASメモリ1110の交換を実現するための回路、又は、ホスト装置3000からの書き込みデータを冗長化する(例えば、複数のRASメモリ1110にデータを書き込む)回路である。
For example, this circuit makes the write data from the
これらの回路を含むため、RASメモリ1110及びRASメモリコントローラ1120を含むメモリボード1100は、IOボード1200より、消費電力が大きい。
Since these circuits are included, the
なお、データを冗長化する場合、ホスト装置3000がRASメモリ1110に保存できるデータ量は、RASメモリ1110の総容量より小さい。
When making data redundant, the amount of data that the
一方、IO用メモリ1240及びIO用メモリコントローラ1232は、一般的なメモリデバイス及び一般的なメモリコントローラと同様の機能を実現するため、上記のRAS機能を実現するための回路を搭載していない。そのため、IO用メモリ1240及びIO用メモリコントローラ1232の消費電力は、RASメモリ1110及びRASメモリコントローラ1120の消費電力より小さい。
On the other hand, the
さらに、データを冗長化などの機能を実現しないため、IO用メモリ1240に保存できるデータ量は、IO用メモリ1240の容量と等しい。
Further, since the function such as data redundancy is not realized, the amount of data that can be stored in the
なお、1つのIOボード1200におけるIO用メモリ1240の容量は、少なくとも、RASメモリ1110における1つの領域の容量以上であることが望ましい。これは、領域単位で複製動作を実行する場合に、1つのIO用メモリ1240を用いて動作を完了できるためである。
It is desirable that the capacity of the
さらに、IO用メモリ1240の容量は、少なくとも1つのメモリボード1100上の全てのRASメモリ1110の全領域のデータを保存できる容量であることがより望ましい。このように構成すると、EMU1000は、全ての領域が利用中のメモリボード1100の全てのデータを、IO用メモリ1240に複製することができる。この場合、後ほど説明するように、EMU1000は、メモリボード1100への電力の供給を、早期に停止できるためである。
Further, it is more desirable that the capacity of the
なお、IO用メモリ1240及びIO用メモリコントローラ1232が、RAS機能を含まなくても、EMU1000としてのRAS機能が確保される理由を説明する。
The reason why the RAS function as the EMU1000 is secured even if the
IO用メモリ1240におけるデータ複製領域に保存されているデータは、RASメモリ1110に保存されているデータの複製である。
The data stored in the data duplication area in the
つまり、EMU1000の運用中にIO用メモリ1240のデータ複製領域に保存されたデータが失われても、オリジナルのデータは、RASメモリ1110に保存されている。そのため、ホスト装置3000などにおけるEMU1000を用いた運用は、IO用メモリ1240に保存されたデータの影響を受けない。
That is, even if the data saved in the data duplication area of the
あるいは、IO用メモリ1240上のIO制御領域のデータが失われた場合、そのIOボード1200は、動作できなくなる。しかし、通常の運用されているRAS機能を実現するようなEMU1000は、複数のIOボード1200を搭載して、ホスト装置3000との接続を多重化する。そのため、たとえ1つのIOボード1200が動作でない場合でも、EMU1000は、他のIOボード1200を用いてホスト装置3000と接続し、運用を継続できる。
Alternatively, if the data in the IO control area on the
なお、データ記憶装置10は、データ転送のために、回路などのハードウェアで構成されたDirect Memory Access(DMA)を含んでもよい。
The
図面を参照して、DMAを用いた動作の一例を説明する。 An example of operation using DMA will be described with reference to the drawings.
図6は、第2の実施形態にかかるDMAの動作を説明するための図である。なお、図面を明確とするため、図6は、構成としてのDMAの図示を省略している。 FIG. 6 is a diagram for explaining the operation of DMA according to the second embodiment. In addition, in order to clarify the drawing, FIG. 6 omits the illustration of DMA as a configuration.
IOカード1210がホスト装置3000からのRASメモリ1110へのアクセスの要求を受信すると、DMAは、ホスト装置3000とRASメモリ1110とのアクセスを実行する(図6の白抜きの矢印)。
When the
IOカード1210がホスト装置3000からのEMU1000の制御要求(例えば、メモリ領域の割当て要求)を受信すると、DMAは、ホスト装置3000から受け取った制御要求をIO用メモリ1240のIO制御領域に書き込む(図6の黒色の矢印)。
When the
なお、IO制御部1231が、IO用メモリ1240のIO制御領域に書き込まれた制御要求を読み出し、処理する。そして、IO制御部1231は、制御要求の処理の結果を、IO用メモリ1240に書き込む。さらに、IO制御部1231は、IOカード1210を制御して、制御要求の処理の結果を、IO用メモリ1240からホスト装置3000に送る。
The
[動作の説明]
次に、図面を参照して、EMU1000の動作について説明する。
[Explanation of operation]
Next, the operation of the EMU1000 will be described with reference to the drawings.
(1)データ複製動作
まず、RASメモリ1110からIO用メモリ1240にデータを複製する動作を説明する。
(1) Data duplication operation First, an operation of duplicating data from the
図9は、第2の実施形態にかかるEMU1000における複製の動作の一例を示すフロー図である。 FIG. 9 is a flow chart showing an example of the duplication operation in the EMU1000 according to the second embodiment.
EMU1000は、ホスト装置3000から、RASメモリ1110の新たな領域の割当て要求を受信した場合、又は、ホスト装置3000からデータの複製の要求を受けた場合に、データを複製する動作を開始する。
The
まず、IO制御部1231は、メモリ利用情報1400を参照し、IO用メモリ1240への複製の対象となるRASメモリ1110の領域を選択する(ステップS310)。
First, the
複製の対象となる領域を決定するやり方は任意である。 The method of determining the area to be duplicated is arbitrary.
例えば、IO制御部1231は、IO用メモリ1240におけるデータを複製する領域のサイズに、利用中の領域が全て収まるメモリボード1100(電源制御単位)の中で、最も利用中の領域が多いメモリボード1100における利用中の領域を選択する。
For example, the
図5に示されているメモリ利用情報1400の場合について説明する。
The case of the
例えば、IO用メモリ1240におけるデータを複製する領域のサイズが6領域分の場合、IO制御部1231は、複製の対象となる領域として、6つの領域が利用中であるメモリボード1100−Bの領域1ないし6を選択する。
For example, when the size of the area for duplicating data in the
あるいは、IO用メモリ1240におけるデータを複製する領域のサイズが3領域分の場合、利用中の領域が3つであるメモリボード1100を選択することが望ましい。そこで、IO制御部1231は、メモリボード1100−Cの利用中の領域1ないし3を、複製する対象の領域として選択する。
Alternatively, when the size of the area for duplicating data in the
次に、IO制御部1231は、複製の対象となった領域を含むメモリボード1100のデータ複製制御部1121に対し、複製の対象となる領域と、複製先のIO用メモリ1240におけるデータ複製領域とを通知する(ステップS320)。
Next, the
データ複製制御部1121は、RASメモリ1110の複製対象の領域のデータを、IO用メモリ1240に複製する(図6の網掛けの矢印)(ステップS330)。なお、必要に応じて、データ複製制御部1121は、IO用メモリコントローラ1232を利用する。
The data
このように、IO制御部1231は、データ複製制御部1121及びIO用メモリコントローラ1232を用いて、RASメモリ1110のデータをIO用メモリ1240に複製する。
In this way, the
なお、複製を実行中に、ホスト装置3000から複製の対象となっているRASメモリ1110の領域に書き込みが発生した場合、データ複製制御部1121は、その領域のデータが複製済みか否かに対応して、次のように動作する。
If the
図7は、第2の実施形態にかかるデータ複製制御部1121の動作を説明するための図である。
FIG. 7 is a diagram for explaining the operation of the data
既にデータを複製済みの領域の場合、データ複製制御部1121は、書き込みデータを、RASメモリ1110及びIO用メモリ1240に書き込む(図7の右図「IO用メモリに複製済みの領域の場合」)。詳細には、データ複製制御部1121は、RASメモリ1110の対応する領域、及び、IO用メモリ1240のデータ複製領域に、データを書き込む。
In the case of an area where data has already been duplicated, the data
データの複製を未実施の領域の場合、データ複製制御部1121は、RASメモリ1110にデータを書き込む(図7の左図「IO用メモリに未複製の領域の場合」)。
In the case of an area where data duplication has not been performed, the data
RASメモリ1110からIO用メモリ1240へのデータの複製が完了すると、データ複製制御部1121は、複製が完了した領域に対応するメモリ利用情報1400の複製完了フラグを、「完了」を示す値に変更する(ステップS340)。
When the duplication of data from the
なお、メモリ利用情報1400を変更する構成は、データ複製制御部1121に限定されない。例えば、データ複製制御部1121が完了通知をIO制御部1231に通知してもよい。そして、完了通知を受信したIO制御部1231が、複製が完了した領域に対応するメモリ利用情報1400の複製完了フラグを、「完了」を示す値に変更してもよい。
The configuration for changing the
なお、複製完了後も、データ複製制御部1121は、RASメモリ1110における複製の対象となっている領域に対するホスト装置3000からの書き込みデータを、RASメモリ1110とIO用メモリ1240との両方に書き込む。
Even after the duplication is completed, the data
(2)バックアップの動作
次に、バックアップ動作について説明する。
(2) Backup operation Next, the backup operation will be described.
図8は、第2の実施形態にかかるEMU1000におけるバックアップ動作を説明するための図である。 FIG. 8 is a diagram for explaining a backup operation in the EMU1000 according to the second embodiment.
図10は、第2の実施形態にかかるEMU1000におけるバックアップ動作の一例を示すフロー図である。
FIG. 10 is a flow chart showing an example of a backup operation in the
電源制御部1300は、電力の供給状態(例えば、UPS2000の状態)を監視する(ステップS410)。
The power
そして、電力の供給の停止を検出した場合(ステップS410でYes)、電源制御部1300は、バックアップを実行するIO制御部1231に、バックアップを指示する(ステップS420)。
Then, when the stop of the power supply is detected (Yes in step S410), the power
なお、EMU1000が複数のIOボード1200を含む場合、電源制御部1300は、所定の規則に沿って順番にIO制御部1231にバックアップを指示してもよく、少なくとも一部の複数のIO制御部1231に並列的にバックアップを指示してもよい。
When the
さらに、複数のIOボード1200を用いてメモリボード1100のデータの冗長性を確保するため、電源制御部1300は、複数のIO制御部1231に、同じメモリボード1100のデータに関するバックアップを指示してもよい。
Further, in order to secure the data redundancy of the
バックアップ指示を受けたIO制御部1231は、まず、メモリ利用情報1400を参照し、利用中のRASメモリ1110の全ての領域が、複製完了となっているメモリボード1100があるか否かを確認する(ステップS430)。
Upon receiving the backup instruction, the
全ての領域が複製完了となっているメモリボード1100がある場合、IO制御部1231は、電源制御部1300を制御して、そのメモリボード1100への電力の供給を停止する(ステップS440)。例えば、図5におけるメモリボード1100−Aは、利用中の領域が全て複製完了となっている。この場合、IO制御部1231は、メモリボード1100−Aへの電力の供給を停止する。
When there is a
全ての領域が複製完了となっているメモリボード1100への電力の供給を停止した後、IO制御部1231は、残りのメモリボード1100の中で、最も利用中の領域が少ないメモリボード1100を選択する。そして、IO制御部1231は、選択したメモリボード1100における利用中の領域のデータを、SSD1220にバックアップする(図8の白抜きの矢印)(ステップS450)。IO制御部1231は、必要に応じて、IO用メモリコントローラ1232を用いてもよい。
After stopping the supply of power to the
なお、対象となるメモリボード1100が複数ある場合、IO制御部1231は、所定の規則(例えば、ラウンドロビン)に沿ってメモリボード1100を選択する。あるいは、その場合、IO制御部1231は、少なくも一部のメモリボード1100のバックアップを並列に実行してもよい。
When there are a plurality of
そして、メモリボード1100の利用中の領域のデータのSSD1220へのバックアップが完了すると、IO制御部1231は、電源制御部1300を制御して、バックアップしたメモリボード1100への電力の供給を停止する(ステップS460)。
Then, when the backup of the data in the used area of the
IO制御部1231は、全てのメモリボード1100の利用中の領域のデータを、SSD1220にバックアップするまで、上記動作(ステップS450からS460)を繰り返す。
The
IO制御部1231が、利用中の領域が少ないメモリボード1100からSSD1220にバックアップする理由を説明する。
The reason why the
メモリボード1100からSSD1220へのバックアップの時間は、概ね、利用中の領域の量に比例する。つまり、利用中の領域が少ないメモリボード1100のバックアップは、利用中の領域が多いメモリボード1100のバックアップより早く終了する。
The backup time from the
そこで、IO制御部1231は、利用中の領域が少ないメモリボード1100(バックアップ時間が短いメモリボード1100)のデータからバックアップして、可能な限り早く、電力を供給するメモリボード1100の数を減らす。その結果、IO制御部1231は、EMU1000への電力の供給を、より早く削減することができる。
Therefore, the
全てのメモリボード1100への電力の供給を停止すると、IO制御部1231は、IO用メモリ1240におけるデータ複製領域のデータを、SSD1220にバックアップする(図8の黒色の矢印)(ステップS470)。
When the power supply to all the
データ複製領域のデータのバックアップが完了すると、IO制御部1231は、電源制御部1300を制御して、EMU1000全体、又は、EMU1000における停止可能な範囲の構成への電力の供給を停止する(ステップS480)。
When the backup of the data in the data replication area is completed, the
この動作で、EMU1000におけるバックアップの動作は、終了となる。 With this operation, the backup operation in the EMU1000 ends.
[効果の説明]
次に、第2の実施形態の効果について説明する。
[Explanation of effect]
Next, the effect of the second embodiment will be described.
第2の実施形態のEMU1000は、第1の実施形態の同様の効果を実現できる。 The EMU1000 of the second embodiment can realize the same effect as that of the first embodiment.
その理由は、EMU1000に含まれる構成が、第1の実施形態の構成に対応した機能を実現するためである。
The reason is that the configuration included in the
具体的には、RASメモリ1110は、第1の記憶装置110の一例である。IO用メモリ1240は、第2の記憶装置120の一例である。SSD1220は、第3の記憶装置130の一例である。
Specifically, the
IO制御部1231は、制御装置140の一例である。ただし、IO制御部1231は、必要に応じて、データ複製制御部1121及びIO用メモリコントローラ1232を用いて動作を実現する。そのため、IO制御部1231、データ複製制御部1121及びIO用メモリコントローラ1232の組合せも、制御装置140の一例である。
The
(変形例)
なお、データ複製制御部1121は、メモリボード1100に含まれなくてもよい。
(Modification example)
The data
図11は、第2の実施形態の変形例のブロック図である。 FIG. 11 is a block diagram of a modified example of the second embodiment.
図11に示すEMU1001は、図4の示されるEMU1000と比較し、メモリボード1100に含まれていたデータ複製制御部1121に替えて、メモリボード1100と別構成であるデータ複製制御部1500を含む点が異なる。
Compared with the
データ複製制御部1500は、複数のメモリボード1100上のRASメモリ1110へのデータを、IO用メモリ1240に複製する。
The data
そのほかの構成及び動作(例えば、バックアップ動作)は、既に説明した図4に示されているEMU1000と同様である。 Other configurations and operations (for example, backup operation) are the same as those of the EMU1000 shown in FIG. 4 described above.
そのため、本変形例のEMU1001は、EMU1000と同様の効果を実現できる。 Therefore, the EMU1001 of this modification can realize the same effect as the EMU1000.
<ハードウェア構成>
次に、データ記憶装置10及びEMU1000のハードウェア構成について、データ記憶装置10を用いて説明する。
<Hardware configuration>
Next, the hardware configuration of the
データ記憶装置10の各構成部は、ハードウェア回路で構成されてもよい。
Each component of the
あるいは、データ記憶装置10において、各構成部は、ネットワークを介して接続した複数の装置を用いて、構成されてもよい。
Alternatively, in the
あるいは、データ記憶装置10において、複数の構成部は、1つのハードウェアで構成されてもよい。
Alternatively, in the
また、データ記憶装置10は、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを含むコンピュータ装置を用いて実現されてもよい。データ記憶装置10は、上記構成に加え、さらに、入出力接続回路(IOC:Input and Output Circuit)を含むコンピュータ装置を用いて実現されてもよい。データ記憶装置10は、上記構成に加え、さらに、ネットワークインターフェース回路(NIC:Network Interface Circuit)を含むコンピュータ装置を用いて実現されてもよい。
Further, the
以下、ハードウェアの詳細な説明として、制御装置140を用いて説明する。
Hereinafter, as a detailed description of the hardware, the
図12は、制御装置140のハードウェア構成の一例である情報処理装置600の構成を示すブロック図である。
FIG. 12 is a block diagram showing a configuration of an
情報処理装置600は、CPU610と、ROM620と、RAM630と、内部記憶装置640と、IOC650と、NIC680とを含み、コンピュータ装置を構成している。
The
CPU610は、ROM620及び/又は内部記憶装置640からプログラムを読み込む。そして、CPU610は、読み込んだプログラムに基づいて、RAM630と、内部記憶装置640と、IOC650と、NIC680とを制御する。そして、CPU610を含むコンピュータは、これらの構成を制御し、制御装置140としての各機能を実現する。
The
CPU610は、各機能を実現する際に、RAM630又は内部記憶装置640を、プログラムの一時記憶媒体として使用してもよい。
The
また、CPU610は、コンピュータで読み取り可能にプログラムを記憶した記憶媒体700が含むプログラムを、図示しない記憶媒体読み取り装置を用いて読み込んでもよい。あるいは、CPU610は、NIC680を介して、図示しない外部の装置からプログラムを受け取り、RAM630又は内部記憶装置640に保存して、保存したプログラムを基に動作してもよい。
Further, the
ROM620は、CPU610が実行するプログラム及び固定的なデータを記憶する。ROM620は、例えば、P−ROM(Programmable−ROM)又はフラッシュROMである。
The
RAM630は、CPU610が実行するプログラム及びデータを一時的に記憶する。RAM630は、例えば、D−RAMである。
The
内部記憶装置640は、情報処理装置600が長期的に保存するデータ及びプログラムを記憶する。また、内部記憶装置640は、CPU610の一時記憶装置として動作してもよい。内部記憶装置640は、例えば、ハードディスク装置、光磁気ディスク装置、SSD又はディスクアレイ装置である。
The
ROM620と内部記憶装置640とは、不揮発性(non−transitory)の記憶媒体である。一方、RAM630は、揮発性(transitory)の記憶媒体である。そして、CPU610は、ROM620、内部記憶装置640、又は、RAM630に記憶されているプログラムを基に動作可能である。つまり、CPU610は、不揮発性記憶媒体又は揮発性記憶媒体を用いて動作可能である。
The
IOC650は、CPU610と、他の機器とのデータを仲介する。IOC650は、例えば、保守装置などとの接続を実現するIOインターフェースカード又はUniversal Serial Bus(USB)カードである。さらに、IOC650は、USBのような有線に限らず、無線を用いてもよい。
The IOC650 mediates data between the
NIC680は、ネットワークを介した図示しない他の装置(例えば、第1の記憶装置110、第2の記憶装置120、及び/又は、第3の記憶装置130)とのデータのやり取りを中継する。NIC680は、例えば、Local Area Network(LAN)カード又はFiber Channel(FC)カードである。さらに、NIC680は、有線に限らず、無線を用いてもよい。
The NIC680 relays the exchange of data with other devices (for example, a
このように構成された情報処理装置600は、制御装置140と同様の効果を得ることができる。
The
その理由は、情報処理装置600のCPU610が、プログラムに基づいて制御装置140と同様の機能を実現できるためである。
The reason is that the
なお、制御装置140の一例であるIO制御部1231に限らず、RASメモリコントローラ1120、データ複製制御部1121、IO用メモリコントローラ1232は、情報処理装置600と同様の構成で実現されてもよい。
The
以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成及び詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the invention of the present application has been described above with reference to the embodiment, the invention of the present application is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made within the scope of the present invention in the configuration and details of the present invention.
本発明は、揮発性デバイスのデータを不揮発性デバイスにバックアップする情報処理装置に適用可能である。 The present invention is applicable to an information processing device that backs up data of a volatile device to a non-volatile device.
10 データ記憶装置
110 第1の記憶装置
120 第2の記憶装置
130 第3の記憶装置
140 制御装置
610 CPU
620 ROM
630 RAM
640 内部記憶装置
650 IOC
680 NIC
700 記憶媒体
1000 EMU
1001 EMU
1100 メモリボード
1110 RASメモリ
1120 RASメモリコントローラ
1121 データ複製制御部
1200 IOボード
1210 IOカード
1220 SSD
1230 MPU
1231 IO制御部
1232 IO用メモリコントローラ
1240 IO用メモリ
1300 電源制御部
1400 メモリ利用情報
1500 データ複製制御部
2000 UPS
3000 ホスト装置
10
620 ROM
630 RAM
640
680 NIC
700
1001 EMU
1100
1230 MPU
1231
3000 host device
Claims (7)
前記第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と、
前記第1の記憶装置が保存したデータを前記第2の記憶装置に複製し、
電力の供給の停止を検出すると、
前記第1の記憶装置が保存するデータの中で前記第2の記憶装置に複製していないデータを前記第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると前記第1の記憶装置への電力の供給を停止し、
前記第2の記憶装置が保存するデータを前記第3の記憶装置にバックアップし、前記第2の記憶装置が保存するデータのバックアップ後に前記第2の記憶装置及び前記第3の記憶装置への電力の供給を停止する制御装置と
を含むデータ記憶装置。 A first storage device that stores data in a volatile manner,
A second storage device that volatilely stores data with less power consumption than the first storage device.
A third storage device that stores data non-volatilely,
The data stored in the first storage device is duplicated in the second storage device, and the data is reproduced.
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the first storage device Stop supplying power to the storage device,
The data stored in the second storage device is backed up in the third storage device, and after the data stored in the second storage device is backed up, the power to the second storage device and the third storage device is supplied. A data storage device that includes a control device that stops the supply of data.
バックアップの開始前に、全てのデータを前記第2の記憶装置に複製した前記第1の記憶装置への電力の供給を停止する
請求項1に記載のデータ記憶装置。 The control device
The data storage device according to claim 1, wherein the supply of electric power to the first storage device in which all the data is duplicated in the second storage device is stopped before the start of backup.
前記領域が利用中であるか否かを示す利用情報と、を含み、
前記制御装置が、
前記利用情報を用いて、利用中の前記領域の数が少ない前記第1の記憶装置から、データを前記第3の記憶装置にバックアップする
請求項1又は2に記載のデータ記憶装置。 A plurality of the first storage devices divided into a plurality of areas,
Includes usage information indicating whether or not the area is in use,
The control device
The data storage device according to claim 1 or 2, wherein data is backed up from the first storage device in which the number of the regions in use is small to the third storage device by using the usage information.
前記第1の記憶装置から前記第2の記憶装置にデータを複製中に複製済みの前記第1の記憶装置の前記領域にデータの書き込みが発生した場合、前記第1の記憶装置及び前記第2の記憶装置にデータを書き込む
請求項3に記載にデータ記憶装置。 The control device
When data is written to the area of the first storage device that has been duplicated while data is being duplicated from the first storage device to the second storage device, the first storage device and the second storage device The data storage device according to claim 3, wherein data is written to the storage device of the above.
前記第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と、に接続され、
前記第1の記憶装置が保存したデータを前記第2の記憶装置に複製し、
電力の供給の停止を検出すると、
前記第1の記憶装置が保存するデータの中で前記第2の記憶装置に複製していないデータを前記第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると前記第1の記憶装置への電力の供給を停止し、
前記第2の記憶装置が保存するデータを前記第3の記憶装置にバックアップし、前記第2の記憶装置が保存するデータのバックアップ後に前記第2の記憶装置及び前記第3の記憶装置への電力の供給を停止する
制御装置。 A first storage device that stores data in a volatile manner,
A second storage device that volatilely stores data with less power consumption than the first storage device.
Connected to a third storage device that stores data non-volatilely
The data stored in the first storage device is duplicated in the second storage device, and the data is reproduced.
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the first storage device Stop supplying power to the storage device,
The data stored in the second storage device is backed up in the third storage device, and after the data stored in the second storage device is backed up, the power to the second storage device and the third storage device is supplied. Control device that stops the supply of.
前記第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と
を含むデータ記憶装置が、
前記第1の記憶装置が保存したデータを前記第2の記憶装置に複製し、
電力の供給の停止を検出すると、
前記第1の記憶装置が保存するデータの中で前記第2の記憶装置に複製していないデータを前記第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると前記第1の記憶装置への電力の供給を停止し、
前記第2の記憶装置が保存するデータを前記第3の記憶装置にバックアップし、前記第2の記憶装置が保存するデータのバックアップ後に前記第2の記憶装置及び前記第3の記憶装置への電力の供給を停止する
記録データ管理方法。 A first storage device that stores data in a volatile manner,
A second storage device that volatilely stores data with less power consumption than the first storage device.
A data storage device, including a third storage device that stores data non-volatilely,
The data stored in the first storage device is duplicated in the second storage device, and the data is reproduced.
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the first storage device Stop supplying power to the storage device,
The data stored in the second storage device is backed up in the third storage device, and after the data stored in the second storage device is backed up, the power to the second storage device and the third storage device is supplied. Recorded data management method to stop the supply of.
前記第1の記憶装置より少ない消費電力で、データを揮発に保存する第2の記憶装置と、
データを不揮発に保存する第3の記憶装置と
に接続されたコンピュータに、
前記第1の記憶装置が保存したデータを前記第2の記憶装置に複製する処理と、
電力の供給の停止を検出すると、
前記第1の記憶装置が保存するデータの中で前記第2の記憶装置に複製していないデータを前記第3の記憶装置にバックアップし、複製していないデータのバックアップが完了すると前記第1の記憶装置への電力の供給を停止する処理と、
前記第2の記憶装置が保存するデータを前記第3の記憶装置にバックアップし、前記第2の記憶装置が保存するデータのバックアップ後に前記第2の記憶装置及び前記第3の記憶装置への電力の供給を停止する処理と
を実行させるプログラム。 A first storage device that stores data in a volatile manner,
A second storage device that volatilely stores data with less power consumption than the first storage device.
On a computer connected to a third storage device that stores data non-volatilely,
A process of copying the data stored in the first storage device to the second storage device, and
When it detects a power outage,
Among the data stored in the first storage device, the data that has not been duplicated in the second storage device is backed up in the third storage device, and when the backup of the non-duplicated data is completed, the first storage device The process of stopping the supply of power to the storage device,
The data stored in the second storage device is backed up in the third storage device, and after the data stored in the second storage device is backed up, the power to the second storage device and the third storage device is supplied. A program that executes the process of stopping the supply of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019162193A JP6901534B2 (en) | 2019-09-05 | 2019-09-05 | Data storage device, control device, stored data management method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019162193A JP6901534B2 (en) | 2019-09-05 | 2019-09-05 | Data storage device, control device, stored data management method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021039674A true JP2021039674A (en) | 2021-03-11 |
JP6901534B2 JP6901534B2 (en) | 2021-07-14 |
Family
ID=74849083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019162193A Active JP6901534B2 (en) | 2019-09-05 | 2019-09-05 | Data storage device, control device, stored data management method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6901534B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002358169A (en) * | 2001-05-31 | 2002-12-13 | Hitachi Ltd | Semiconductor disk device |
JP2008225916A (en) * | 2007-03-13 | 2008-09-25 | Fujitsu Ltd | Power reduction device in data backup |
JP2011018236A (en) * | 2009-07-09 | 2011-01-27 | Fujitsu Ltd | Control device, control method and storage system |
JP2012034286A (en) * | 2010-08-02 | 2012-02-16 | Ricoh Co Ltd | Facsimile apparatus |
WO2014192113A1 (en) * | 2013-05-30 | 2014-12-04 | 株式会社日立製作所 | Storage system and data backup method |
JP2018010557A (en) * | 2016-07-15 | 2018-01-18 | 富士通株式会社 | Storage system and management device |
-
2019
- 2019-09-05 JP JP2019162193A patent/JP6901534B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002358169A (en) * | 2001-05-31 | 2002-12-13 | Hitachi Ltd | Semiconductor disk device |
JP2008225916A (en) * | 2007-03-13 | 2008-09-25 | Fujitsu Ltd | Power reduction device in data backup |
JP2011018236A (en) * | 2009-07-09 | 2011-01-27 | Fujitsu Ltd | Control device, control method and storage system |
JP2012034286A (en) * | 2010-08-02 | 2012-02-16 | Ricoh Co Ltd | Facsimile apparatus |
WO2014192113A1 (en) * | 2013-05-30 | 2014-12-04 | 株式会社日立製作所 | Storage system and data backup method |
JP2018010557A (en) * | 2016-07-15 | 2018-01-18 | 富士通株式会社 | Storage system and management device |
Also Published As
Publication number | Publication date |
---|---|
JP6901534B2 (en) | 2021-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3732869B2 (en) | External storage device | |
JP4041473B2 (en) | Autonomous power loss recovery for multi-cluster storage subsystems | |
JP2008108145A (en) | Computer system, and management method of data using the same | |
JP2005228288A (en) | Disk array apparatus and disk array apparatus control method | |
JP7060789B2 (en) | Electronic systems, information processing equipment and control methods | |
US7421538B2 (en) | Storage control apparatus and control method thereof | |
JP4662743B2 (en) | Data duplex system | |
JP2011170589A (en) | Storage control device, storage device, and storage control method | |
JP2005196490A (en) | System and method for data duplication | |
KR100827287B1 (en) | Semiconductor secondary memory unit and data saving method using the same | |
CN115273922A (en) | Abnormal power-down protection device for domestic double-control disk array | |
JP2000357059A (en) | Disk array device | |
CN110837444A (en) | Memory fault processing method and device | |
US8171324B2 (en) | Information processing device, data writing method, and program for the same | |
JP6901534B2 (en) | Data storage device, control device, stored data management method, and program | |
JP2015191414A (en) | Control device, disk array device, and control method, and computer program | |
JP3776438B2 (en) | Storage device | |
JP2002099390A (en) | Disk controller | |
US7779293B2 (en) | Technology to control input/output device bridges | |
JP2009104369A (en) | Disk sub-system | |
JP2006260141A (en) | Control method for storage system, storage system, storage control device, control program for storage system, and information processing system | |
JP2008059007A (en) | Semiconductor storage device | |
US9836359B2 (en) | Storage and control method of the same | |
JP5773446B2 (en) | Storage device, redundancy recovery method, and program | |
JP2002278706A (en) | Disk array device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190905 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200824 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200929 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201023 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210309 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210415 |
|
C60 | Trial request (containing other claim documents, opposition documents) |
Free format text: JAPANESE INTERMEDIATE CODE: C60 Effective date: 20210415 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20210423 |
|
C21 | Notice of transfer of a case for reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C21 Effective date: 20210427 |
|
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: 20210525 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210617 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6901534 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |