JP5691227B2 - Storage apparatus and control method thereof - Google Patents

Storage apparatus and control method thereof Download PDF

Info

Publication number
JP5691227B2
JP5691227B2 JP2010087802A JP2010087802A JP5691227B2 JP 5691227 B2 JP5691227 B2 JP 5691227B2 JP 2010087802 A JP2010087802 A JP 2010087802A JP 2010087802 A JP2010087802 A JP 2010087802A JP 5691227 B2 JP5691227 B2 JP 5691227B2
Authority
JP
Japan
Prior art keywords
magnetic disk
data
write data
nonvolatile memory
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010087802A
Other languages
Japanese (ja)
Other versions
JP2011221638A (en
Inventor
嚴之 勝木
嚴之 勝木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2010087802A priority Critical patent/JP5691227B2/en
Publication of JP2011221638A publication Critical patent/JP2011221638A/en
Application granted granted Critical
Publication of JP5691227B2 publication Critical patent/JP5691227B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、磁気ディスクを停止することにより省電力制御を行うストレージ装置及びその制御方法に関する。   The present invention relates to a storage apparatus that performs power saving control by stopping a magnetic disk and a control method therefor.

従来、磁気ディスクを停止することで省電力制御を行う方法がある。例えば、磁気ディスク停止後にI/O(Output/Input)が発生すると自動的に磁気ディスクの稼動を行い、I/Oを実行した後一定期間I/Oが発生しないことを確認後に、再度磁気ディスクを停止することで、省電力化を図る。   Conventionally, there is a method of performing power saving control by stopping a magnetic disk. For example, when I / O (Output / Input) occurs after the magnetic disk is stopped, the magnetic disk is automatically operated, and after confirming that I / O does not occur for a certain period after executing I / O, the magnetic disk is again operated. To save power.

また、一度停止した磁気ディスクを稼働する場合のオーバーヘッドを回避するために、ミラーリング構成されている2つの磁気ディスクのうち1つの磁気ディスクのみを停止した場合に、磁気ディスクを停止している間の差分書き込みをバッファに一時的に格納することで、磁気ディスクへの書き込みを遅延させ、省電力化を図る方法も知られている。例えば、特許文献1のストレージ装置は、2重化構成における片方の磁気ディスクが停止状態のときのデータ書き込み要求に対して他方の磁気ディスクと不揮発性メモリとに同一データの書き込みを行う。   In order to avoid the overhead when operating a magnetic disk that has been stopped once, when only one of the two magnetic disks configured in mirroring is stopped, the magnetic disk is stopped. A method is also known in which differential writing is temporarily stored in a buffer, thereby delaying writing to the magnetic disk to save power. For example, the storage device of Patent Document 1 writes the same data to the other magnetic disk and the non-volatile memory in response to a data write request when one magnetic disk in the duplex configuration is in a stopped state.

一方、特許文献2のストレージ装置のように、外部からの所定の論理ディスクへの使用停止指示に基づいて、省電力機能を有するディスクプールに該所定の論理ディスクを再配置し、複数のディスクプールのそれぞれを構成する磁気ディスクの少なくとも1つに対して電力供給を制御する方法も知られている。   On the other hand, as in the storage device of Patent Document 2, based on an external use stop instruction to a predetermined logical disk, the predetermined logical disk is rearranged in a disk pool having a power saving function, and a plurality of disk pools There is also known a method of controlling power supply to at least one of the magnetic disks constituting each of the above.

特開2009−187450号公報JP 2009-187450 A 特開2008−242971号公報JP 2008-242971 A

しかしながら、特許文献1のストレージ装置は、書き込まれるデータの量が不揮発性メモリの容量以上となると、磁気ディスクを立ち上げて不揮発性メモリから磁気ディスクにデータを移行させる必要がある。そのため、書き込まれるデータの量が多い場合、磁気ディスクの停止時間が短くなるため、消費電力削減効果が低下するおそれがある。かかる問題は、不揮発性メモリの容量を増加させることで緩和できるが、その場合、不揮発性メモリの容量の増大に起因して、初期コストが増大する。   However, when the amount of data to be written exceeds the capacity of the nonvolatile memory, the storage device of Patent Document 1 needs to start up the magnetic disk and transfer the data from the nonvolatile memory to the magnetic disk. For this reason, when the amount of data to be written is large, the magnetic disk stop time is shortened, which may reduce the power consumption reduction effect. Such a problem can be alleviated by increasing the capacity of the nonvolatile memory, but in this case, the initial cost increases due to the increase in the capacity of the nonvolatile memory.

一方、特許文献2のストレージ装置は、磁気ディスクを停止するためにはデータの再配置を行い、停止する磁気ディスクへのアクセスを停止する必要があることに加え、磁気ディスクを停止するためには十分は空き容量を確保しておかなければならないという問題がある。   On the other hand, the storage device of Patent Document 2 needs to relocate data to stop the magnetic disk and stop access to the magnetic disk to be stopped, and to stop the magnetic disk. There is a problem that sufficient free space must be secured.

本発明は以上の点を考慮してなされたものであり、信頼性を維持させつつ、データを蓄積させるスペースを増大させ得るストレージ装置及びその制御方法を提案するものである。   The present invention has been made in consideration of the above points, and proposes a storage apparatus capable of increasing the space for storing data while maintaining reliability and a control method therefor.

かかる課題を解決するために本発明は、ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置であって、前記ライトデータを一時的に格納する不揮発性メモリと、前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルと、前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断する判断部と、前記判断部により前記同一のデータが記憶されていると判断された場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記記憶されているデータの前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新する制御部とを備えることを特徴とする。   In order to solve such a problem, the present invention provides a storage device that writes write data received from a host computer to a master magnetic disk and a mirror magnetic disk that is mirrored with the master disk, and temporarily stores the write data. A non-volatile memory, a table for storing the storage address of the write data in the non-volatile memory and the storage address of the write data in the mirror magnetic disk in association with each other, and stopping the mirror magnetic disk When writing the write data to the nonvolatile memory, the table is referred to, and a determination unit that determines whether the same data as the write data is stored in the nonvolatile memory; and If it is determined that the same data is stored, the write A controller that updates the table for the write data using a storage destination address of the stored data in the nonvolatile memory without writing the data to the nonvolatile memory. To do.

また、本発明は、ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置の制御方法であって、前記ストレージ装置は、前記ライトデータを一時的に格納する不揮発性メモリと、前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルとを有し、判断部が、前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断する第1のステップと、制御部が、前記第1のステップにおいて前記同一のデータが記憶されていると判断した場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記記憶されているデータの前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新する制御部とを備えることを特徴とする。   The present invention also relates to a control method for a storage apparatus that writes write data received from a host computer to a master magnetic disk and a mirror magnetic disk that is mirrored with the master disk. The storage apparatus temporarily stores the write data. A non-volatile memory for storing the write data, and a table for storing the write data storage address in the non-volatile memory and the write data storage address in the mirror magnetic disk in association with each other; However, when the mirror magnetic disk is stopped and the write data is written to the nonvolatile memory, the table is referred to and it is determined whether the same data as the write data is stored in the nonvolatile memory. A first step of performing and the control unit in the first step If it is determined that one data is stored, the write data is not written to the non-volatile memory, and the write data is stored using the storage destination address of the stored data in the non-volatile memory. And a controller for updating the table.

従って、不揮発性メモリにライトデータを書き込む場合、不揮発性メモリへのライトデータの格納量を削減し、停止したミラー磁気ディスクへのライトデータの書き込みまでの時間を延長することにより、ミラー磁気ディスクの停止時間を延長させることができる。   Therefore, when writing write data to the non-volatile memory, the amount of write data stored in the non-volatile memory is reduced, and the time until the write data is written to the stopped mirror magnetic disk is extended. The stop time can be extended.

本発明によれば、消費電力削減効果を向上させ得るストレージ装置及びその制御方法を実現することができる。   According to the present invention, it is possible to realize a storage apparatus and its control method that can improve the power consumption reduction effect.

ストレージシステムのハードウェア構成を示すブロック図の一例である。It is an example of a block diagram showing a hardware configuration of a storage system. ストレージシステムの機能的構成を示すブロック図の一例である。1 is an example of a block diagram illustrating a functional configuration of a storage system. 重複排除管理テーブルの説明に供する概念図の一例である。It is an example of the conceptual diagram with which it uses for description of a deduplication management table. 磁気ディスク状態管理テーブルの説明に供する概念図の一例である。It is an example of the conceptual diagram with which it uses for description of a magnetic disk state management table. データライト処理手順を示すフローチャートの一例である。It is an example of the flowchart which shows a data write processing procedure. 重複データ排除処理手順を示すフローチャートの一例である。It is an example of the flowchart which shows a duplication data removal process procedure. 閾値監視処理手順を示すフローチャートの一例である。It is an example of the flowchart which shows a threshold value monitoring process sequence. 磁気ディスク差分掃き出し準備手順を示すフローチャートの一例である。It is an example of the flowchart which shows the magnetic disk differential sweep preparation procedure. 磁気ディスク差分掃き出し処理手順を示すフローチャートの一例である。It is an example of the flowchart which shows the magnetic disk differential sweep-out process procedure. 磁気ディスク停止処理手順を示すフローチャートの一例である。It is an example of the flowchart which shows a magnetic disk stop process sequence.

以下、本発明の一実施の形態を、図面を参照して詳細に説明する。なお、これにより本発明が限定されるものではない。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited thereby.

図1は、本実施の形態によるストレージシステム1のハードウェア構成の一例を示している。ストレージシステム1は、複数のホスト計算機2がネックワーク3を介してストレージ装置4に接続されることにより構成されている。   FIG. 1 shows an example of a hardware configuration of a storage system 1 according to this embodiment. The storage system 1 is configured by connecting a plurality of host computers 2 to a storage apparatus 4 via a neckwork 3.

ホスト計算機2は、例えば、CPU(Central Processing Unit)やメモリ等の情報処理資源、情報入力装置、情報出力装置を備えたコンピュータ装置である。ホスト計算機2は、例えば、データライト要求をストレージ装置4に送信して、対応するデータをストレージ装置4に書き込む。また、ホスト計算機2は、例えば、データリード要求をストレージ装置4に送信し、対応するデータをストレージ装置4から読み出す。   The host computer 2 is a computer device that includes information processing resources such as a CPU (Central Processing Unit) and a memory, an information input device, and an information output device, for example. For example, the host computer 2 transmits a data write request to the storage apparatus 4 and writes the corresponding data in the storage apparatus 4. For example, the host computer 2 transmits a data read request to the storage device 4 and reads the corresponding data from the storage device 4.

ネットワーク3は、例えば、LAN(Local Area Network)、SAN(Storage Area Network)、インターネット、専用回線、公衆回線等を場合に応じて適宜用いることができる。   As the network 3, for example, a LAN (Local Area Network), a SAN (Storage Area Network), the Internet, a dedicated line, a public line, and the like can be appropriately used according to circumstances.

ストレージ装置4は、例えば、コントローラ部5及び記憶部6により構成されている。ストレージ装置4は、コントローラ部5を最低1つ備えている。コントローラ部5は、当該ストレージ装置4全体を制御する。記憶部6は、ホスト計算機2から送信されるデータを格納する複数のディスク装置7及び複数の不揮発性メモリ装置8から構成されている。   For example, the storage device 4 includes a controller unit 5 and a storage unit 6. The storage apparatus 4 includes at least one controller unit 5. The controller unit 5 controls the entire storage device 4. The storage unit 6 includes a plurality of disk devices 7 and a plurality of nonvolatile memory devices 8 that store data transmitted from the host computer 2.

コントローラ部5は、ホストインタフェース11、CPU12、メモリ13及びディスクインタフェース14により構成されている。ホストインタフェース11は、ホスト計算機2とネットワーク3を介して接続され、ホスト計算機2から送信される各種要求やデータの送受信を制御する。ホストインタフェース11は、ネットワーク3の種類に応じた種々のインタフェースを用いることができる。   The controller unit 5 includes a host interface 11, a CPU 12, a memory 13, and a disk interface 14. The host interface 11 is connected to the host computer 2 via the network 3 and controls transmission / reception of various requests and data transmitted from the host computer 2. As the host interface 11, various interfaces according to the type of the network 3 can be used.

CPU12は、コントローラ部5ごとに1つ備えられる。CPU12は、コントローラ部5全体を制御し、ホストインタフェース11から送信される要求を解釈して、各構成要素に指示を送信する。また、CPU12は、ディスク装置7に対して、RAID(Redundant Arrays of Independent Disks)制御を行うことにより、ストレージ装置4の信頼性、可用性及び性能を向上させる。この場合、CPU12は、ディスク装置7をRAID方式で運用する。CPU12は、1又は複数のディスク装置7により提供される物理的な記憶領域(RAIDグループ)上に、1又は複数の論理的なボリューム(以下、これを論理ボリュームと呼ぶ)を設定する。そして、データは、この論理ボリューム内に所定の大きさのブロック単位で記憶される。   One CPU 12 is provided for each controller unit 5. The CPU 12 controls the entire controller unit 5, interprets a request transmitted from the host interface 11, and transmits an instruction to each component. In addition, the CPU 12 improves the reliability, availability, and performance of the storage apparatus 4 by performing RAID (Redundant Arrays of Independent Disks) control on the disk apparatus 7. In this case, the CPU 12 operates the disk device 7 by the RAID method. The CPU 12 sets one or more logical volumes (hereinafter referred to as logical volumes) on a physical storage area (RAID group) provided by one or more disk devices 7. The data is stored in units of blocks of a predetermined size in this logical volume.

メモリ13は、ホスト計算機2から受信したデータを一時的に格納する。メモリ13は、コントローラ部5内部で使用する各種プログラムや、各種テーブルを格納する。ディスクインタフェース14は、記憶部6のディスク装置7及び不揮発性メモリ装置8と接続され、ホスト計算機2から送信されるデータの送受信を制御する。ディスクインタフェース14は、ファイバチャネル、SAS(Serial Attached SCSI)、SATA(Serial ATA)等の種類に応じた種々のインタフェースを用いることができる。   The memory 13 temporarily stores data received from the host computer 2. The memory 13 stores various programs used in the controller unit 5 and various tables. The disk interface 14 is connected to the disk device 7 and the nonvolatile memory device 8 of the storage unit 6 and controls transmission / reception of data transmitted from the host computer 2. As the disk interface 14, various interfaces corresponding to types such as Fiber Channel, SAS (Serial Attached SCSI), and SATA (Serial ATA) can be used.

図2は、本実施形態のストレージシステム1の機能的構成の一例を示している。ホスト計算機2は、論理ボリューム210に対するI/O(Output/Input)要求機能を有する。   FIG. 2 shows an example of the functional configuration of the storage system 1 of this embodiment. The host computer 2 has an I / O (Output / Input) request function for the logical volume 210.

ストレージ装置4は、例えば、ホスト計算機2からアクセス可能な論理ボリューム210、ディスクグループ220、複数の磁気ディスク221、222、不揮発性メモリ230、I/O制御手段300、重複排除制御手段310(判断部、制御部)、差分掃き出し手段320、磁気ディスク管理手段330、不揮発性メモリ閾値監視手段340、重複排除管理テーブル400及び磁気ディスク状態管理テーブル410により構成されている。   The storage apparatus 4 includes, for example, a logical volume 210 accessible from the host computer 2, a disk group 220, a plurality of magnetic disks 221, 222, a nonvolatile memory 230, an I / O control unit 300, a deduplication control unit 310 (determination unit). Control section), differential sweeping means 320, magnetic disk management means 330, nonvolatile memory threshold value monitoring means 340, deduplication management table 400, and magnetic disk state management table 410.

なお、I/O制御手段300、重複排除制御手段310、差分掃き出し手段320、磁気ディスク管理手段330、不揮発性メモリ閾値監視手段340は、主にCPU12がメモリ13に格納されるプログラムを実行し、各ハードウェアを制御することによって実現することができる。   The I / O control unit 300, the deduplication control unit 310, the differential sweep unit 320, the magnetic disk management unit 330, and the non-volatile memory threshold value monitoring unit 340 mainly execute programs stored in the memory 13 by the CPU 12, This can be realized by controlling each hardware.

論理ボリューム210は、上位装置であるホスト計算機2が認識する論理的な記憶装置であり、物理的な記憶装置であるディスクグループ220の構成要素である磁気ディスク221、222(ディスク装置7)上に構成される。ディスクグループ220は、磁気ディスク(マスタディスク)221と磁気ディスク(ミラーディスク)222によりミラーリング構成されたRAIDグループである。磁気ディスク221及び222(ディスク装置7)は、ホスト計算機2から受信したデータを格納する。不揮発性メモリ230(不揮発性メモリ装置8)は、ホスト計算機2から受信したデータのうち、重複排除後のデータ及び重複排除管理テーブル400を格納する。   The logical volume 210 is a logical storage device that is recognized by the host computer 2 that is the host device, and is on the magnetic disks 221 and 222 (disk device 7) that are components of the disk group 220 that is a physical storage device. Composed. The disk group 220 is a RAID group configured by mirroring with a magnetic disk (master disk) 221 and a magnetic disk (mirror disk) 222. The magnetic disks 221 and 222 (disk device 7) store data received from the host computer 2. The non-volatile memory 230 (non-volatile memory device 8) stores deduplication data and deduplication management table 400 among the data received from the host computer 2.

I/O制御手段300は、磁気ディスク状態管理テーブル410を参照して、論理ボリューム210に対するアクセスを、磁気ディスク221及び磁気ディスク222、又は磁気ディスク221及び不揮発性メモリ230に振り分ける機能を有する。また、I/O制御手段300は、ホスト計算機2から受信したデータを磁気ディスク221及び又は222に書き込むと共に、磁気ディスク221及び又は222からデータを読み出してホスト計算機2に送信する。   The I / O control means 300 refers to the magnetic disk state management table 410 and has a function of distributing access to the logical volume 210 to the magnetic disk 221 and the magnetic disk 222, or the magnetic disk 221 and the nonvolatile memory 230. Further, the I / O control means 300 writes the data received from the host computer 2 to the magnetic disks 221 and / or 222, reads the data from the magnetic disks 221 and / or 222, and transmits it to the host computer 2.

重複排除制御手段310は、I/O制御手段300から受信したデータに対して重複排除技術を適用し、不揮発性メモリ230に重複排除後のデータを書き込むと共に、重複排除管理テーブル400にメタデータ(ハッシュ値、データ格納アドレス、磁気ディスクNo、磁気ディスク格納アドレス)を書き込む機能を有する。   The deduplication control unit 310 applies deduplication technology to the data received from the I / O control unit 300, writes the deduplicated data in the nonvolatile memory 230, and stores metadata (in the deduplication management table 400 with metadata ( (Hash value, data storage address, magnetic disk No, magnetic disk storage address).

差分掃き出し手段320は、磁気ディスク管理手段330からの差分掃き出し指示に従い、重複排除管理テーブル400に基づいて、不揮発性メモリ230からデータを復元し、復元した磁気ディスク222に書き込むべきデータ(差分データ)を、対応する磁気ディスク222に書き込む機能を有する。また、差分掃き出し手段320は、差分データ掃き出し後に、磁気ディスク222の停止指示を行う機能を有する。   The differential sweep unit 320 restores data from the nonvolatile memory 230 based on the deduplication management table 400 in accordance with the differential sweep instruction from the magnetic disk management unit 330, and data (differential data) to be written to the restored magnetic disk 222. Has a function of writing to the corresponding magnetic disk 222. Further, the differential sweeping unit 320 has a function of instructing to stop the magnetic disk 222 after sweeping out the differential data.

磁気ディスク管理手段330は、差分掃き出し手段320からの磁気ディスク222の停止指示又は不揮発性メモリ閾値監視手段340からの閾値超過通知を受信することで、磁気ディスク状態管理テーブル410の更新や参照を行う機能を有する。また、磁気ディスク管理手段330は、I/Oパス切り替え指示により、I/O制御手段300の動作を制御する機能を有する。   The magnetic disk management unit 330 updates or references the magnetic disk state management table 410 by receiving a stop instruction of the magnetic disk 222 from the differential sweeping unit 320 or a threshold excess notification from the nonvolatile memory threshold value monitoring unit 340. It has a function. The magnetic disk management unit 330 has a function of controlling the operation of the I / O control unit 300 in response to an I / O path switching instruction.

不揮発性メモリ閾値監視手段340は、不揮発性メモリ230の書き込み量の閾値監視を行い、閾値を超えた場合に磁気ディスク管理手段330に閾値超過通知を行う機能を有する。   The non-volatile memory threshold value monitoring unit 340 has a function of performing threshold value monitoring of the write amount of the non-volatile memory 230 and notifying the magnetic disk management unit 330 of an over threshold value when the threshold value is exceeded.

図3は、重複排除管理テーブル400の一例を示している。重複排除管理テーブル400は、重複排除制御手段310によって重複排除された重複排除後のデータのアドレスを格納するテーブルである。   FIG. 3 shows an example of the deduplication management table 400. The deduplication management table 400 is a table for storing addresses of data after deduplication that has been deduplicated by the deduplication control unit 310.

重複排除管理テーブル400は、重複排除に用いるハッシュ値、重複排除後のデータを格納するデータ格納アドレス、重複排除後のデータの格納先の磁気ディスクNo及び磁気ディスク格納アドレスを対応付けて格納する。例えば、重複排除管理テーブル400の第1行目は、書き込まれたデータのハッシュ値が「A」であり、重複排除後のデータの格納先が「1200」であり、本来書き込むべき磁気ディスクNoが「2」であり、磁気ディスク222の格納アドレスが「2000」であることを示している。   The deduplication management table 400 stores a hash value used for deduplication, a data storage address for storing data after deduplication, a magnetic disk No. for storing data after deduplication, and a magnetic disk storage address in association with each other. For example, in the first row of the deduplication management table 400, the hash value of the written data is “A”, the storage destination of the data after deduplication is “1200”, and the magnetic disk No. to be originally written is “2”, indicating that the storage address of the magnetic disk 222 is “2000”.

図4は、磁気ディスク状態管理テーブル410の一例を示している。磁気ディスク状態管理テーブル410は、磁気ディスク221、222の状態を格納するテーブルである。   FIG. 4 shows an example of the magnetic disk state management table 410. The magnetic disk state management table 410 is a table that stores the states of the magnetic disks 221 and 222.

磁気ディスク状態管理テーブル410は、磁気ディスク221、222の構成情報である磁気ディスクNo、ミラーディスクNo、磁気ディスク221、222の状態を示すディスク状態、電源状態及びI/Oパス状態を対応付けて格納する。例えば、磁気ディスク管理テーブル410の第1行目は、磁気ディスクNoが「1」であり、ディスク状態が「正常」であり、電源状態が「稼働中」であり、I/Oパス状態が「磁気ディスク」であり、ディスクグループ220を構成しているミラーディスクNoが「2」であることを示している。   The magnetic disk state management table 410 associates the magnetic disk No, the mirror disk No, the disk state indicating the state of the magnetic disks 221, 222, the power state, and the I / O path state, which are configuration information of the magnetic disks 221, 222. Store. For example, in the first row of the magnetic disk management table 410, the magnetic disk No is “1”, the disk status is “normal”, the power status is “in operation”, and the I / O path status is “ This indicates that the mirror disk No. is “2”.

次に、本実施形態のストレージシステム1の動作について詳細に説明する。例えば、ホスト計算機2が論理ボリューム210に対してI/Oを発行する場合を想定する。   Next, the operation of the storage system 1 of this embodiment will be described in detail. For example, assume that the host computer 2 issues an I / O to the logical volume 210.

本実施形態の動作は、ホスト計算機2が論理ボリューム210に対してデータライト要求を発行し、ディスクグループ220の磁気ディスク221及びミラーリング構成にある磁気ディスク222にデータを書き込む動作と、磁気ディスク221及び不揮発性メモリ230とにデータを書き込む動作とに分けられる。   In the operation of this embodiment, the host computer 2 issues a data write request to the logical volume 210 and writes data to the magnetic disk 221 of the disk group 220 and the magnetic disk 222 in the mirroring configuration. The operation is divided into the operation of writing data into the nonvolatile memory 230.

また、磁気ディスク221と不揮発性メモリ230とに書き込む場合において、不揮発性メモリ230への書き込み量が閾値を超えた場合に磁気ディスク222に差分データを書き込む。さらに、磁気ディスク221及び不揮発性メモリ230に書き込む場合においては、磁気ディスク221のミラーディスクである磁気ディスク222を停止する。   In addition, when writing to the magnetic disk 221 and the nonvolatile memory 230, the difference data is written to the magnetic disk 222 when the amount of writing to the nonvolatile memory 230 exceeds the threshold value. Further, when writing to the magnetic disk 221 and the nonvolatile memory 230, the magnetic disk 222 which is a mirror disk of the magnetic disk 221 is stopped.

まず、ホスト計算機2が論理ボリューム210に対してデータライト要求を発行し、ディスクグループ220の磁気ディスク221及びミラーリング構成にある磁気ディスク222に書き込む動作、又は磁気ディスク221及び不揮発性メモリ230に書き込む動作を説明する。   First, the host computer 2 issues a data write request to the logical volume 210 and writes to the magnetic disk 221 in the disk group 220 and the magnetic disk 222 in the mirroring configuration, or writes to the magnetic disk 221 and the nonvolatile memory 230. Will be explained.

図5は、本実施形態のストレージシステム1のデータライト処理を示すフローチャートである。   FIG. 5 is a flowchart showing data write processing of the storage system 1 of the present embodiment.

I/O制御手段300は、ホスト計算機2により発行された論理ボリューム210に対するデータライト要求を受信すると、データライト要求中のI/Oパス切り替え指示の有無を磁気ディスクNoごとに判断する(ステップS11)。   When receiving the data write request for the logical volume 210 issued by the host computer 2, the I / O control means 300 determines whether or not there is an I / O path switching instruction in the data write request for each magnetic disk No (step S11). ).

そして、I/O制御手段300は、I/Oパス切り替え指示がある場合(ステップS11:YES)、I/Oパス切り替え指示の切り替え内容が不揮発メモリ230への切り替え指示であるか否かを判断する(ステップS12)。   When there is an I / O path switching instruction (step S11: YES), the I / O control unit 300 determines whether the switching content of the I / O path switching instruction is a switching instruction to the nonvolatile memory 230. (Step S12).

そして、I/O制御手段300は、切り替え内容が不揮発メモリ230への切り替え指示でない、すなわち、切り替え内容が磁気ディスク222への切り替え指示である場合(ステップS12:NO)、該当する不揮発性メモリ230から該当する磁気ディスク222へのI/Oパス変更処理を行う(ステップS13)。   When the switching content is not a switching instruction to the non-volatile memory 230, that is, the switching content is a switching instruction to the magnetic disk 222 (step S12: NO), the corresponding non-volatile memory 230 is displayed. To change the I / O path to the corresponding magnetic disk 222 (step S13).

これに対して、I/O制御手段300は、切り替え内容が不揮発メモリ230への切り替え指示である場合(ステップS12:YES)、該当する磁気ディスク222から該当する不揮発性メモリ230へのI/Oパス変更処理を行う(ステップS14)。   On the other hand, when the switching content is an instruction to switch to the nonvolatile memory 230 (step S12: YES), the I / O control unit 300 performs I / O from the corresponding magnetic disk 222 to the corresponding nonvolatile memory 230. A path change process is performed (step S14).

続いて、I/O制御手段300は、磁気ディスク状態管理テーブル410のI/Oパス状態に従って、磁気ディスク221及び222に書き込む場合、該当する磁気ディスク221及び222にデータライト要求に対応するデータを書き込む(ステップS15)。また、I/O制御手段300は、磁気ディスク状態管理テーブル410のI/Oパス状態に従って、磁気ディスク221及び不揮発性メモリ230に書き込む場合、該当する磁気ディスク221にデータライト要求に対応するデータを書き込むと共に、当該データを重複排除制御手段310に送信する(ステップS15)。そして、I/O制御手段300は、その後、データライト処理を終了する。   Subsequently, when writing to the magnetic disks 221 and 222 according to the I / O path state of the magnetic disk state management table 410, the I / O control unit 300 stores data corresponding to the data write request on the corresponding magnetic disks 221 and 222. Write (step S15). Further, when the I / O control unit 300 writes data to the magnetic disk 221 and the nonvolatile memory 230 according to the I / O path state of the magnetic disk state management table 410, the data corresponding to the data write request is stored in the corresponding magnetic disk 221. At the same time as writing, the data is transmitted to the deduplication control means 310 (step S15). Then, the I / O control unit 300 thereafter ends the data write process.

図6は、本実施形態のストレージシステム1の重複データ排除処理を示すフローチャートである。   FIG. 6 is a flowchart showing the duplicate data elimination process of the storage system 1 of this embodiment.

重複排除制御手段310は、I/O制御手段300からデータライト要求に対応するデータを受信すると、受信したデータのハッシュ値の演算を行う(ステップS21)。   When receiving the data corresponding to the data write request from the I / O control unit 300, the deduplication control unit 310 calculates the hash value of the received data (step S21).

続いて、重複排除制御手段310は、重複排除管理テーブル400を参照し(ステップS22)、同一のハッシュ値が登録されているか否かをチェックする(ステップS23)。そして、重複排除制御手段310は、同一のハッシュ値が登録されていない場合(ステップS23:NO)、重複排除管理テーブル400に、受信したデータのメタデータ(ハッシュ値、データ格納アドレス、磁気ディスクNo、磁気ディスク格納アドレス)を書き込むと共に、該当する不揮発性メモリ230に、受信したデータを書き込み(ステップS24)、その後、重複データ排除処理を終了する。   Subsequently, the deduplication control unit 310 refers to the deduplication management table 400 (step S22) and checks whether or not the same hash value is registered (step S23). If the same hash value is not registered (step S23: NO), the deduplication control unit 310 stores the received data metadata (hash value, data storage address, magnetic disk number) in the deduplication management table 400. , The magnetic disk storage address) and the received data are written in the corresponding nonvolatile memory 230 (step S24), and then the duplicate data elimination process is terminated.

これに対して、重複排除制御手段310は、同一のハッシュ値が登録されている場合(ステップS23:YES)、受信したデータを該当する不揮発性メモリ230に書き込まずに、同一のハッシュ値のデータのデータ格納アドレスを用いて、受信したデータについて重複排除管理テーブル400を更新する。   On the other hand, when the same hash value is registered (step S23: YES), the deduplication control unit 310 does not write the received data to the corresponding nonvolatile memory 230, but the data of the same hash value. The deduplication management table 400 is updated for the received data using the data storage address.

すなわち、重複排除制御手段310は、該当する不揮発性メモリ230に、受信したデータを書き込まずに、重複排除管理テーブル400に、メタデータ(受信したデータのハッシュ値、同一のハッシュ値のデータのデータ格納アドレス、受信したデータの磁気ディスクNo、受信したデータの磁気ディスク格納アドレス)のみを書き込み(ステップS25)、その後、重複データ排除処理を終了する。   That is, the deduplication control unit 310 does not write the received data in the corresponding nonvolatile memory 230, and stores the metadata (the received data hash value, the data of the same hash value data) in the deduplication management table 400. Only the storage address, the magnetic disk No. of the received data, and the magnetic disk storage address of the received data) are written (step S25), and then the duplicate data elimination process is terminated.

次に、不揮発性メモリ230への書き込みが閾値を超えた場合に磁気ディスク222に差分データを書き込む動作を説明する。   Next, an operation of writing difference data to the magnetic disk 222 when writing to the nonvolatile memory 230 exceeds a threshold will be described.

図7は、本実施形態のストレージシステム1の閾値監視処理を示すフローチャートである。   FIG. 7 is a flowchart showing threshold value monitoring processing of the storage system 1 of this embodiment.

不揮発性メモリ閾値監視手段340は、例えば、所定の監視間隔ごとに不揮発性メモリ230を参照し(ステップS31)、不揮発性メモリ230の書き込み量が予め設定されている閾値を超えたか否かをチェックする(ステップS32)。   For example, the non-volatile memory threshold value monitoring unit 340 refers to the non-volatile memory 230 at predetermined monitoring intervals (step S31), and checks whether or not the write amount of the non-volatile memory 230 exceeds a preset threshold value. (Step S32).

そして、不揮発性メモリ閾値監視手段340は、不揮発性メモリ230の書き込み量が予め設定されている閾値を超えた場合(ステップS32:YES)、対応する磁気ディスク222の閾値超過通知を磁気ディスク管理手段330に行い(ステップS33)、その後、閾値監視処理を終了する。   Then, the nonvolatile memory threshold value monitoring means 340, when the write amount of the nonvolatile memory 230 exceeds a preset threshold value (step S32: YES), notifies the corresponding threshold excess notification of the magnetic disk 222 to the magnetic disk management means. 330 (step S33), and then the threshold value monitoring process is terminated.

図8は、本実施形態のストレージシステム1の磁気ディスク差分掃き出し準備処理を示すフローチャートである。   FIG. 8 is a flowchart showing magnetic disk differential sweep preparation processing of the storage system 1 of this embodiment.

磁気ディスク管理手段330は、磁気ディスク222の閾値超過通知を受信すると、磁気ディスク状態管理テーブル410を参照し(ステップS41)、対応する磁気ディスク222の電源状態を確認する。   When the magnetic disk management unit 330 receives the notification of exceeding the threshold value of the magnetic disk 222, the magnetic disk management unit 330 refers to the magnetic disk state management table 410 (step S41) and confirms the power state of the corresponding magnetic disk 222.

続いて、磁気ディスク管理手段330は、対応する不揮発性メモリ230の差分掃き出し指示を差分掃き出し手段320に通知する(ステップS42)。続いて、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が停止中であるか否かをチェックする(ステップS43)。   Subsequently, the magnetic disk management unit 330 notifies the differential sweep unit 320 of the differential sweep instruction of the corresponding nonvolatile memory 230 (step S42). Subsequently, the magnetic disk management unit 330 checks whether or not the power state of the corresponding magnetic disk 222 is stopped (step S43).

そして、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が停止中でない場合(ステップS43:NO)、その後、差分掃き出し準備処理を終了する。   Then, when the power supply state of the corresponding magnetic disk 222 is not stopped (step S43: NO), the magnetic disk management unit 330 thereafter ends the differential sweep preparation process.

これに対して、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が停止中である場合(ステップS43:YES)、対応する磁気ディスク222の電源状態が稼働となるのを待ち受けると共に、対応する不揮発性メモリ230から対応する磁気ディスク222へのI/Oパス切り替え指示をI/O制御手段300に行う(ステップS44)。   On the other hand, when the power state of the corresponding magnetic disk 222 is stopped (step S43: YES), the magnetic disk management unit 330 waits for the power state of the corresponding magnetic disk 222 to become active, An I / O path switching instruction from the corresponding nonvolatile memory 230 to the corresponding magnetic disk 222 is given to the I / O control means 300 (step S44).

続いて、磁気ディスク管理手段330は、磁気ディスク状態管理テーブル410の電源状態とI/Oパス状態を更新し(ステップS45)、その後、差分掃き出し準備処理を終了する。   Subsequently, the magnetic disk management unit 330 updates the power supply state and the I / O path state of the magnetic disk state management table 410 (step S45), and then ends the differential sweep preparation process.

図9は、本実施形態のストレージシステム1の磁気ディスク差分掃き出し処理を示すフローチャートである。   FIG. 9 is a flowchart showing the magnetic disk differential sweep process of the storage system 1 of this embodiment.

差分掃き出し手段320は、差分掃き出し指示を受信すると、対応する磁気ディスク222が稼働中になるのを待ち受ける(ステップS51)。そして、差分掃き出し手段320は、対応する磁気ディスク222が稼働中になると(ステップS51:YES)、重複排除管理テーブル400を参照し(ステップS52)、対応する磁気ディスク222のメタデータを取得する。   When receiving the differential sweep instruction, the differential sweep unit 320 waits for the corresponding magnetic disk 222 to be in operation (step S51). Then, when the corresponding magnetic disk 222 is in operation (step S51: YES), the differential sweep unit 320 refers to the deduplication management table 400 (step S52) and acquires the metadata of the corresponding magnetic disk 222.

続いて、差分掃き出し手段320は、対応する不揮発性メモリ230に書き込まれたデータを復元した差分データを、対応する磁気ディスク222に書き込む差分掃き出し処理を行う(ステップS53)。続いて、差分掃き出し手段320は、対応する不揮発性メモリ230に書き込まれたデータを消去し(ステップS54)、対応する磁気ディスク222の停止指示を磁気ディスク管理手段330に行い(ステップS55)、その後、差分掃き出し処理を終了する。   Subsequently, the differential sweep unit 320 performs differential sweep processing for writing the differential data obtained by restoring the data written in the corresponding nonvolatile memory 230 to the corresponding magnetic disk 222 (step S53). Subsequently, the differential sweeping unit 320 erases the data written in the corresponding nonvolatile memory 230 (step S54), and instructs the magnetic disk management unit 330 to stop the corresponding magnetic disk 222 (step S55). Then, the differential sweep process is terminated.

図10は、本実施形態のストレージシステム1の磁気ディスク停止処理を示すフローチャートである。   FIG. 10 is a flowchart showing the magnetic disk stop process of the storage system 1 of this embodiment.

磁気ディスク管理手段330は、磁気ディスク222の停止指示を受信すると、磁気ディスク状態管理テーブル410を参照し(ステップS61)、対応する磁気ディスク222の電源状態を確認する。   When the magnetic disk management unit 330 receives an instruction to stop the magnetic disk 222, the magnetic disk management unit 330 refers to the magnetic disk state management table 410 (step S61) and confirms the power state of the corresponding magnetic disk 222.

続いて、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が稼働中であるか否かをチェックする(ステップS62)。そして、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が稼働中でない場合(ステップS62:NO)、その後、磁気ディスク停止処理を終了する。   Subsequently, the magnetic disk management means 330 checks whether or not the power state of the corresponding magnetic disk 222 is in operation (step S62). Then, when the power state of the corresponding magnetic disk 222 is not in operation (step S62: NO), the magnetic disk management unit 330 thereafter ends the magnetic disk stop process.

これに対して、磁気ディスク管理手段330は、対応する磁気ディスク222の電源状態が稼働中である場合(ステップS62:YES)、対応する磁気ディスク222のミラーリング対象ディスクが正常であるか否かをチェックする(ステップS63)。   On the other hand, when the power state of the corresponding magnetic disk 222 is operating (step S62: YES), the magnetic disk management unit 330 determines whether the mirroring target disk of the corresponding magnetic disk 222 is normal. A check is made (step S63).

磁気ディスク管理手段330は、対応する磁気ディスク222のミラーリング対象ディスクが正常でない場合(ステップS63:NO)、その後、磁気ディスク停止処理を終了する。   If the mirroring target disk of the corresponding magnetic disk 222 is not normal (step S63: NO), the magnetic disk management unit 330 thereafter ends the magnetic disk stop process.

これに対して、磁気ディスク管理手段330は、対応する磁気ディスク222のミラーリング対象ディスクが正常である場合(ステップS63:YES)、対応する磁気ディスク222から対応する不揮発性メモリ230へのI/Oパス切り替え指示をI/O制御手段300に行うと共に、対応する磁気ディスク222の電源状態が停止となるのを待ち受ける(ステップS64)。   In contrast, when the mirroring target disk of the corresponding magnetic disk 222 is normal (step S63: YES), the magnetic disk management unit 330 performs I / O from the corresponding magnetic disk 222 to the corresponding nonvolatile memory 230. A path switching instruction is given to the I / O control means 300, and a corresponding power supply state of the magnetic disk 222 is awaited (step S64).

続いて、磁気ディスク管理手段330は、磁気ディスク状態管理テーブル410の電源状態とI/Oパス状態を更新し(ステップS65)、その後、磁気ディスク停止処理を終了する。   Subsequently, the magnetic disk management unit 330 updates the power supply state and I / O path state of the magnetic disk state management table 410 (step S65), and then ends the magnetic disk stop process.

このようにして、ストレージシステム1は、磁気ディスク221とミラーリング構成された磁気ディスク222を停止すると、I/O制御手段300が、ホスト計算機2から受信したデータを磁気ディスク221に書き込むと共に、重複排除制御手段310に送信する。   In this way, when the storage system 1 stops the magnetic disk 221 and the magnetic disk 222 configured to be mirrored, the I / O control means 300 writes the data received from the host computer 2 to the magnetic disk 221 and deduplicates it. It transmits to the control means 310.

そして、重複排除手段310は、I/O制御手段300から受信したデータに対して、重複排除制御手段310を用いて、不揮発性メモリ230に同一のデータがあれば重複排除管理テーブル400に、当該同一のデータのアドレス及び格納先の磁気ディスク222のアドレスをメタデータとして書き込み、受信したデータの書き込みを行わない。一方、重複排除手段310は、不揮発性メモリ230に同一のデータがなければ重複排除管理テーブル400に、受信したデータのアドレス及び格納先の磁気ディスク222のアドレスをメタデータとして書き込みを行うと共に、不揮発性メモリ230に、受信したデータの書き込みを行う。   The deduplication unit 310 uses the deduplication control unit 310 for the data received from the I / O control unit 300, and if there is the same data in the non-volatile memory 230, the deduplication management table 400 The address of the same data and the address of the storage destination magnetic disk 222 are written as metadata, and the received data is not written. On the other hand, if there is no identical data in the non-volatile memory 230, the deduplication unit 310 writes the received data address and the address of the storage destination magnetic disk 222 as metadata in the deduplication management table 400 as well as non-volatile data. The received data is written into the memory 230.

また、ストレージシステム1は、不揮発性メモリ閾値監視手段340によって不揮発性メモリ230の書き込み量が閾値を超えたことが検出された場合、磁気ディスク管理手段330が、I/O制御手段300に対してI/Oパス切り替え指示を行うと共に、差分掃き出し手段320に対して差分掃き出し指示を行う。差分掃き出し手段320は、重複排除管理テーブル400を参照し、不揮発性メモリ230に書き込まれたデータを復元した差分データの、対応する磁気ディスク222への書き込みを行う。   In the storage system 1, when the nonvolatile memory threshold value monitoring unit 340 detects that the write amount of the nonvolatile memory 230 exceeds the threshold value, the magnetic disk management unit 330 controls the I / O control unit 300. An I / O path switching instruction is given, and a differential sweep instruction is given to the differential sweep means 320. The differential sweep unit 320 refers to the deduplication management table 400 and writes the differential data obtained by restoring the data written in the nonvolatile memory 230 to the corresponding magnetic disk 222.

従って、不揮発性メモリ230にデータを書き込む場合、重複排除制御手段310を用いて不揮発性メモリ230へのデータの書き込み量を削減することで、停止した磁気ディスク222への差分データの書き込みまでの時間を延長することにより、磁気ディスク222の停止時間を延長させ、磁気ディスク222に対する消費電力削減効果を向上することができる。   Accordingly, when data is written to the nonvolatile memory 230, the time until the difference data is written to the stopped magnetic disk 222 by reducing the amount of data written to the nonvolatile memory 230 using the deduplication control unit 310. By extending the time, the stop time of the magnetic disk 222 can be extended, and the power consumption reduction effect on the magnetic disk 222 can be improved.

また、不揮発性メモリ230に蓄積される書き込み量を減少させることができるため、搭載する不揮発性メモリ230の削減が可能となり、不揮発性メモリ230の搭載のためのコストを削減することができる。さらに、不揮発性メモリ230への書き込み量の削減により、不揮発性メモリ230の長寿命化及び信頼性の向上が期待できる。   In addition, since the amount of writing stored in the nonvolatile memory 230 can be reduced, it is possible to reduce the amount of the nonvolatile memory 230 to be mounted, and it is possible to reduce the cost for mounting the nonvolatile memory 230. Furthermore, it is possible to expect a longer life and improved reliability of the nonvolatile memory 230 by reducing the amount of writing to the nonvolatile memory 230.

さらに、不揮発性メモリ230に、磁気ディスク221に書き込んだデータと冗長性を有するデータの書き込みを行うことで、磁気ディスク222を停止した場合にも信頼性と冗長性を維持したまま消費電力の削減を行うことができる。   Further, by writing data written to the magnetic disk 221 and data having redundancy in the nonvolatile memory 230, power consumption is reduced while maintaining reliability and redundancy even when the magnetic disk 222 is stopped. It can be performed.

上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.

(付記1)ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置であって、前記ライトデータを一時的に格納する不揮発性メモリと、前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルと、前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断する判断部と、前記判断部により前記同一のデータが記憶されていると判断された場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記記憶されているデータの前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新する制御部とを備えることを特徴とするストレージ装置である。 (Supplementary note 1) A storage device that writes write data received from a host computer to a master magnetic disk and a mirror magnetic disk that is mirrored with the master disk, the nonvolatile memory temporarily storing the write data, A table that stores the storage address of the write data in the nonvolatile memory and the storage address of the write data in the mirror magnetic disk in association with each other, stops the mirror magnetic disk, and stores the write data in the nonvolatile memory When writing write data, referring to the table, the determination unit determines whether or not the same data as the write data is stored in the nonvolatile memory, and the determination unit stores the same data. If it is determined that the write data is stored in the nonvolatile memory Without writing, using a storage address of the nonvolatile memory of the data being the storage, a storage device, characterized in that it comprises a control unit for updating said table for said write data.

(付記2)前記制御部は、前記判断部により前記同一のデータが記憶されていないと判断された場合、前記ライトデータを前記不揮発性メモリに書き込み、書き込んだ前記ライトデータの前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新することを特徴とする付記1に記載のストレージ装置である。 (Additional remark 2) When the said determination part determines that the said same data is not memorize | stored by the said determination part, the said write data will be written in the said non-volatile memory, and the written-in write data in the said non-volatile memory The storage apparatus according to appendix 1, wherein the table is updated with respect to the write data using the storage destination address.

(付記3)前記ライトデータのハッシュ値を算出するハッシュ値算出部を備え、前記テーブルは、前記ハッシュ値を、前記不揮発性メモリ内の格納先アドレス及び前記ミラー磁気ディスク内の格納先アドレスと対応付けて格納し、前記判断部は、前記ライトデータのハッシュ値と同一のハッシュ値が前記テーブルに存在するか否かにより、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断し、前記制御部は、前記判断部により前記ライトデータのハッシュ値と同一のハッシュ値が前記テーブルに存在すると判断された場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記格納されているハッシュ値と対応付けられている前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新する付記1に記載のストレージ装置である。 (Supplementary Note 3) A hash value calculation unit that calculates a hash value of the write data is provided, and the table associates the hash value with a storage destination address in the nonvolatile memory and a storage destination address in the mirror magnetic disk. Whether or not the same data as the write data is stored in the non-volatile memory according to whether or not the same hash value as the hash value of the write data exists in the table. When the determination unit determines that the same hash value as the hash value of the write data exists in the table, the control unit does not write the write data to the nonvolatile memory, and Using the storage destination address in the non-volatile memory associated with the stored hash value, the write data Is the storage device according to appendix 1 for updating the table with.

(付記4)前記不揮発性メモリの前記ライトデータの格納量が予め設定されている閾値を超えたか否かを判断する閾値超過判断部と、前記閾値判断部により前記閾値を超えたと判断された場合、前記テーブルを参照して前記ライトデータを復元し、復元した前記ライトデータを、対応する前記ミラー磁気ディスクに書き込む復元データ書き込み部とを備えること特徴とする付記1に記載のストレージ装置である。 (Additional remark 4) When it is judged that the threshold value excess judgment part which judges whether the storage amount of the said write data of the said non-volatile memory exceeded the preset threshold value, and the said threshold value was exceeded by the said threshold value judgment part The storage apparatus according to appendix 1, further comprising: a restored data writing unit that restores the write data with reference to the table and writes the restored write data to the corresponding mirror magnetic disk.

(付記5)ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置の制御方法であって、前記ストレージ装置は、前記ライトデータを一時的に格納する不揮発性メモリと、前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルとを有し、判断部が、前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断する第1のステップと、制御部が、前記第1のステップにおいて前記同一のデータが記憶されていると判断した場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記記憶されているデータの前記不揮発性メモリ内の格納先アドレスを用いて、前記ライトデータについて前記テーブルを更新する制御部とを備えることを特徴とするストレージ装置の制御方法である。 (Supplementary note 5) A storage device control method for writing write data received from a host computer to a master magnetic disk and a mirror magnetic disk mirrored with the master disk, wherein the storage device temporarily stores the write data A non-volatile memory for storing, and a table for storing the storage address of the write data in the non-volatile memory and the storage address of the write data in the mirror magnetic disk in association with each other; When the mirror magnetic disk is stopped and the write data is written to the nonvolatile memory, the table is referred to determine whether the same data as the write data is stored in the nonvolatile memory. 1 and the control unit in the first step If the data is stored, the write data is not written to the nonvolatile memory, but the write data is stored using the storage address of the stored data in the nonvolatile memory. A storage apparatus control method comprising: a control unit that updates a table.

本発明は、磁気ディスクを停止することにより省電力制御を行うストレージ装置に適用することができる。   The present invention can be applied to a storage apparatus that performs power saving control by stopping a magnetic disk.

1……ストレージシステム、2……ホスト計算機、3……ネットワーク、4……ストレージ装置、5……コントローラ部、6……記憶部、7……ディスク装置、8……不揮発性メモリ装置、11……ホストインタフェース、12……CPU、13……メモリ、14……ディスクインタフェース、210……論理ボリューム、221、222……磁気ディスク、230……不揮発性メモリ、300……I/O制御手段、310……重複排除制御手段、320……差分掃き出し手段、330……磁気ディスク管理手段、340……不揮発性メモリ閾値監視手段、400……重複排除管理テーブル、410……磁気ディスク状態管理テーブル DESCRIPTION OF SYMBOLS 1 ... Storage system, 2 ... Host computer, 3 ... Network, 4 ... Storage apparatus, 5 ... Controller part, 6 ... Memory | storage part, 7 ... Disk apparatus, 8 ... Nonvolatile memory device, 11 ...... Host interface, 12 ... CPU, 13 ... Memory, 14 ... Disk interface, 210 ... Logical volume, 221,222 ... Magnetic disk, 230 ... Non-volatile memory, 300 ... I / O control means , 310 ... Deduplication control means, 320 ... Differential sweeping means, 330 ... Magnetic disk management means, 340 ... Nonvolatile memory threshold value monitoring means, 400 ... Deduplication management table, 410 ... Magnetic disk state management table

Claims (5)

ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置であって、
前記ライトデータを一時的に格納する不揮発性メモリと、
前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルと、
前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータの重複データが前記不揮発性メモリに記憶されているか否かを判断する判断部と、
前記判断部により前記重複データが記憶されていると判断された場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記記憶されている重複データの前記不揮発性メモリ内の格納先アドレスを含むメタデータを前記テーブルに書き込む制御部と
を備えることを特徴とするストレージ装置。
A storage device that writes write data received from a host computer to a master magnetic disk and a mirror magnetic disk that is mirrored with the master disk,
A nonvolatile memory for temporarily storing the write data;
A table for storing the storage destination address of the write data in the nonvolatile memory and the storage destination address of the write data in the mirror magnetic disk in association with each other;
When the mirror magnetic disk is stopped and the write data is written to the nonvolatile memory, the determination unit refers to the table and determines whether duplicate data of the write data is stored in the nonvolatile memory When,
If the determination unit determines that the duplicate data is stored, the write data is not written to the nonvolatile memory, but includes the storage destination address of the stored duplicate data in the nonvolatile memory And a control unit for writing metadata into the table .
前記制御部は、
前記判断部により前記重複データが記憶されていないと判断された場合、前記ライトデータを前記不揮発性メモリに書き込み、書き込んだ前記ライトデータの前記不揮発性メモリ内の格納先アドレスを含むメタデータを前記テーブルに書き込む、
ことを特徴とする請求項1に記載のストレージ装置。
The controller is
When the determination unit determines that the duplicate data is not stored, the write data is written to the nonvolatile memory, and the metadata including the storage destination address of the written data in the nonvolatile memory is Write to the table,
The storage apparatus according to claim 1.
前記ライトデータのハッシュ値を算出するハッシュ値算出部を備え、
前記テーブルは、
前記ハッシュ値を、前記不揮発性メモリ内の格納先アドレス及び前記ミラー磁気ディスク内の格納先アドレスと対応付けて格納し、
前記判断部は、
前記ライトデータのハッシュ値と同一のハッシュ値が前記テーブルに存在するか否かにより、前記ライトデータと同一のデータが前記不揮発性メモリに記憶されているか否かを判断し、
前記制御部は、
前記判断部により前記ライトデータのハッシュ値と同一のハッシュ値が前記テーブルに存在すると判断された場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記格納されているハッシュ値と対応付けられている前記不揮発性メモリ内の格納先アドレスを含むメタデータを前記テーブルに書き込む、
ことを特徴とする請求項1に記載のストレージ装置。
A hash value calculation unit for calculating a hash value of the write data;
The table is
The hash value is stored in association with the storage destination address in the nonvolatile memory and the storage destination address in the mirror magnetic disk,
The determination unit
It is determined whether the same data as the write data is stored in the non-volatile memory according to whether the same hash value as the hash value of the write data exists in the table,
The controller is
When the determination unit determines that the same hash value as the hash value of the write data exists in the table, the write data is associated with the stored hash value without writing the write data to the nonvolatile memory. Writing metadata including a storage destination address in the non-volatile memory to the table;
The storage apparatus according to claim 1.
前記不揮発性メモリの前記ライトデータの格納量が予め設定されている閾値を超えたか否かを判断する閾値超過判断部と、
前記閾値判断部により前記閾値を超えたと判断された場合、前記テーブルを参照して前記ライトデータの差分データを取得し、取得した前記差分データを、対応する前記ミラー磁気ディスクに書き込むデータ書き込み部と、
を備えること特徴とする請求項1に記載のストレージ装置。
A threshold excess determination unit for determining whether or not the storage amount of the write data in the nonvolatile memory exceeds a preset threshold;
A data writing unit for acquiring the difference data of the write data by referring to the table and writing the acquired difference data to the corresponding mirror magnetic disk when the threshold determination unit determines that the threshold is exceeded; ,
The storage apparatus according to claim 1, further comprising:
ホスト計算機から受信したライトデータをマスタ磁気ディスク及び当該マスタディスクとミラーリング構成されたミラー磁気ディスクに書き込むストレージ装置の制御方法であって、
前記ストレージ装置は、
前記ライトデータを一時的に格納する不揮発性メモリと、前記ライトデータの前記不揮発性メモリ内の格納先アドレス及び前記ライトデータの前記ミラー磁気ディスク内の格納先アドレスを対応付けて格納するテーブルと
を有し、
判断部が、前記ミラー磁気ディスクを停止して、前記不揮発性メモリに前記ライトデータを書き込む場合、前記テーブルを参照し、前記ライトデータの重複データが前記不揮発性メモリに記憶されているか否かを判断する第1のステップと、
制御部が、前記第1のステップにおいて前記重複データが記憶されていると判断した場合、前記ライトデータを前記不揮発性メモリに書き込まずに、前記重複データの前記不揮発性メモリ内の格納先アドレスを含むメタデータを前記テーブルに書き込む制御部と
を備えることを特徴とするストレージ装置の制御方法。
A storage device control method for writing write data received from a host computer to a master magnetic disk and a mirror magnetic disk that is mirrored with the master disk.
The storage device
A non-volatile memory that temporarily stores the write data, and a table that associates and stores a storage destination address of the write data in the nonvolatile memory and a storage destination address of the write data in the mirror magnetic disk. Have
When the determination unit stops the mirror magnetic disk and writes the write data to the nonvolatile memory, it refers to the table and determines whether or not duplicate data of the write data is stored in the nonvolatile memory. A first step of determining;
Control unit, if the duplicated data in the first step is determined to be stored, without writing the write data in the nonvolatile memory, a storage destination address of the nonvolatile memory of the duplicate data A controller that writes metadata including the table to the table ;
A method for controlling a storage apparatus, comprising:
JP2010087802A 2010-04-06 2010-04-06 Storage apparatus and control method thereof Expired - Fee Related JP5691227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010087802A JP5691227B2 (en) 2010-04-06 2010-04-06 Storage apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010087802A JP5691227B2 (en) 2010-04-06 2010-04-06 Storage apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2011221638A JP2011221638A (en) 2011-11-04
JP5691227B2 true JP5691227B2 (en) 2015-04-01

Family

ID=45038583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010087802A Expired - Fee Related JP5691227B2 (en) 2010-04-06 2010-04-06 Storage apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5691227B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203437A (en) * 2011-03-23 2012-10-22 Nec Corp Storage device, method and program
WO2014057585A1 (en) * 2012-10-12 2014-04-17 富士通株式会社 Information processing device, information processing method, and information processing program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4625675B2 (en) * 2004-10-20 2011-02-02 株式会社日立製作所 Storage device resource allocation method and storage device
JP2009251725A (en) * 2008-04-02 2009-10-29 Hitachi Ltd Storage controller and duplicated data detection method using storage controller

Also Published As

Publication number Publication date
JP2011221638A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
US10613934B2 (en) Managing RAID parity stripe contention
US7975168B2 (en) Storage system executing parallel correction write
US8135905B2 (en) Storage system and power consumption reduction method for switching on/off the power of disk devices associated with logical units in groups configured from the logical units
US9684591B2 (en) Storage system and storage apparatus
US7502955B2 (en) Disk array system and control method thereof
US9213490B2 (en) Computer system and data migration method
US8924622B2 (en) Extender storage pool system
US8930745B2 (en) Storage subsystem and data management method of storage subsystem
US10296429B2 (en) Storage device
JP2007156597A (en) Storage device
US9304710B2 (en) Storage system and data transfer method of storage system
JP2014096072A (en) Disk array having mirror configuration and rebuild method of the same
US20170220249A1 (en) Systems and Methods to Maintain Consistent High Availability and Performance in Storage Area Networks
JP2008250458A (en) Storage system, and method for managing storage system
US8433949B2 (en) Disk array apparatus and physical disk restoration method
JP5691227B2 (en) Storage apparatus and control method thereof
US20150067285A1 (en) Storage control apparatus, control method, and computer-readable storage medium
US20130159765A1 (en) Storage subsystem and method for recovering data in storage subsystem
JP5505329B2 (en) Disk array device and control method thereof
WO2019043815A1 (en) Storage system
US20160224446A1 (en) Storage controller, method, and storage medium
WO2016006108A1 (en) Storage and control method therefor
JP2014041523A (en) Data management device, and data management method
JP5691234B2 (en) Disk array device and mirroring control method
US20140019678A1 (en) Disk subsystem and method for controlling memory access

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140331

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140529

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: 20150106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150119

R150 Certificate of patent or registration of utility model

Ref document number: 5691227

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees