JP2020030707A - Information processor, information processing program, information processing method, and information processing system - Google Patents

Information processor, information processing program, information processing method, and information processing system Download PDF

Info

Publication number
JP2020030707A
JP2020030707A JP2018156829A JP2018156829A JP2020030707A JP 2020030707 A JP2020030707 A JP 2020030707A JP 2018156829 A JP2018156829 A JP 2018156829A JP 2018156829 A JP2018156829 A JP 2018156829A JP 2020030707 A JP2020030707 A JP 2020030707A
Authority
JP
Japan
Prior art keywords
data
writing
unit
test
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018156829A
Other languages
Japanese (ja)
Inventor
有一 伊藤
Yuichi Ito
有一 伊藤
悦子 三浦
Etsuko Miura
悦子 三浦
隆道 赤川
Takamichi Akagawa
隆道 赤川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018156829A priority Critical patent/JP2020030707A/en
Publication of JP2020030707A publication Critical patent/JP2020030707A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide an information processor capable of improving accuracy of a test of a duplication exclusion function, an information processing program, an information processing method and an information processing system.SOLUTION: An operation testing device 1 includes a test data writing unit 122, a usage amount acquisition unit 123, and a verification part 124. The test data writing unit 122 causes a storage device 2 that has a duplication exclusion function to writes predetermined test data. The usage amount acquisition unit 123 acquires a storage space used by the storage device 2 for storing data before and after writing the predetermined test data. The verification part 124 verifies the operation of the duplication exclusion function on the basis of a change in usage before and after the writing of the predetermined test data.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置、情報処理プログラム、情報処理方法及び情報処理システムに関する。   The present invention relates to an information processing device, an information processing program, an information processing method, and an information processing system.

近年、ストレージ装置に保存するデータ量は増加の一途を辿っている。そこで、書き込みデータの容量を削減するため、書き込みデータを所定のサイズ単位で区切り、このサイズ単位毎に同一データかどうかを判定して異なるデータを論理ボリュームへ保存する重複排除機能を備えたストレージ装置が存在する。以下では、所定のサイズ単位を「重複排除単位」という。すなわち、重複排除機能とは、既に書き込んであるデータと重複するデータは書き込まず、重複しないデータを書き込む機能である。   In recent years, the amount of data stored in a storage device has been steadily increasing. Therefore, in order to reduce the amount of write data, a storage device having a deduplication function that separates write data into predetermined size units, determines whether the data is the same for each size unit, and stores different data in a logical volume Exists. Hereinafter, the predetermined size unit is referred to as a “duplication elimination unit”. That is, the duplication elimination function is a function of writing data that does not overlap with data that has already been written and that does not overlap data.

重複排除機能の詳細について説明する。重複排除機能では、重複を判定するために、データ書き込み時に重複排除単位に分けられた分割データから生成したハッシュデータがメモリ上のハッシュキャッシュに保持される。すなわち、ハッシュキャッシュには、既に書き込み済みのデータを表す情報が登録される。そして、ストレージ装置は、データの書き込み時に、書き込むデータから生成したハッシュデータとハッシュキャッシュに登録されたハッシュデータとを参照して論理ボリュームへの書き込み要否を判定する。ハッシュキャッシュ上に同じハッシュデータが存在する場合、ストレージ装置は、データの書き込みを行わずハッシュキデータに対応するデータを示す情報を登録する。これに対して、ハッシュキャッシュ上に同じハッシュデータが存在しない場合、書き込むデータから生成したハッシュデータをハッシュキャッシュに登録し、さらに、データの書き込みを行う。また、ハッシュキャッシュに格納されたデータの容量がハッシュキャッシュの上限に達した場合、ストレージ装置は、参照時間が最も古いハッシュデータを削除する。   The details of the deduplication function will be described. In the deduplication function, in order to determine duplication, hash data generated from divided data divided into deduplication units at the time of data writing is held in a hash cache on a memory. That is, information indicating already written data is registered in the hash cache. Then, at the time of writing the data, the storage device refers to the hash data generated from the data to be written and the hash data registered in the hash cache to determine whether or not it is necessary to write the logical volume. If the same hash data exists in the hash cache, the storage device registers information indicating data corresponding to the hash key data without writing the data. On the other hand, if the same hash data does not exist in the hash cache, the hash data generated from the data to be written is registered in the hash cache, and the data is written. When the capacity of the data stored in the hash cache reaches the upper limit of the hash cache, the storage device deletes the hash data with the oldest reference time.

このような重複排除機能を有するストレージ装置において、重複排除機能が正しく動作するか否かを判定するための動作確認試験が行われる。従来の動作確認試験は、例えば、重複排除されるデータ及び重複排除されないデータを予め計画した順序で書き込み、ストレージ装置の重複排除率が計画通りに変化することをストレージ装置の操作パネルを用いて目視確認する方法で実施される。   In a storage device having such a deduplication function, an operation confirmation test is performed to determine whether or not the deduplication function operates correctly. In a conventional operation check test, for example, data to be deduplicated and data not to be deduplicated are written in a pre-planned order, and the deduplication rate of the storage device is visually observed using an operation panel of the storage device to change as planned. It is implemented in a confirming manner.

なお、ストレージ装置における重複排除の技術として、ハッシュデータの容量が装置内のハッシュキャッシュの容量を超えた場合、容量を超えたハッシュデータを外部の記憶装置に配置されたハッシュキャッシュに配置する従来技術がある。また、ストレージ装置における技術として、現在から過去までの複数の時点での仮想領域と実領域との対応及び仮想領域の負荷情報を用いて、将来の仕様状況を予測し、マイグレーションなどの処理を行う従来技術がある。   As a technique for deduplication in a storage device, a conventional technology in which when the capacity of hash data exceeds the capacity of a hash cache in the device, the hash data exceeding the capacity is stored in a hash cache allocated in an external storage device. There is. In addition, as a technology of the storage device, a future specification situation is predicted using the correspondence between the virtual area and the real area at a plurality of times from the present to the past and load information of the virtual area, and processing such as migration is performed. There is a prior art.

特開2017−49806号公報JP 2017-49806 A 国際公開第2011/092739号International Publication No. 2011/0992739

しかしながら、実運用におけるストレージ装置の使用方法では、論理ボリュームサイズが重複排除単位よりきわめて大きい場合が多い。そのため、従来の試験方法では、実運用素想定した試験を実施する場合、多数の試験パターンを用いた長時間の試験作業が行われる。さらに、試験作業が長時間にわたる場合、試験作業者の人的ミスのリスクも増大する。このため、従来の試験方法では、精度の高い重複排除機能の動作確認試験を実施することが困難であった。また、従来の試験方法では、一定量のデータを書き込み、その後に期待値を確認する手法を取るため、1つのデータ書き込みに対する機能を評価することが難しく、重複排除機能の動作試験の精度を向上させることは困難であった。   However, in the usage of the storage device in actual operation, the logical volume size is often much larger than the deduplication unit. Therefore, in the conventional test method, when performing a test assuming an actual operation element, a long test operation using a large number of test patterns is performed. Further, when the test operation is performed for a long time, the risk of human error of the test operator increases. For this reason, it is difficult for the conventional test method to perform a highly accurate operation check test of the deduplication function. In addition, since the conventional test method uses a method of writing a fixed amount of data and then confirming the expected value, it is difficult to evaluate the function for writing one data, and the accuracy of the operation test of the deduplication function is improved. It was difficult to do.

開示の技術は、上記に鑑みてなされたものであって、重複排除機能の動作試験の精度を向上させる情報処理装置、情報処理プログラム、情報処理方法及び情報処理システムを提供することを目的とする。   The disclosed technology has been made in view of the above, and has as its object to provide an information processing apparatus, an information processing program, an information processing method, and an information processing system that improve the accuracy of an operation test of a deduplication function. .

本願の開示する情報処理装置、情報処理プログラム、情報処理方法及び情報処理システムの一つの態様において、データ書込部は、重複排除機能を備えたデータ処理装置に対して所定の試験データの書き込みを行わせる。使用量取得部は、前記所定の試験データの書き込み前後の、前記データ処理装置がデータを格納した記憶領域の使用量を取得する。検証部は、前記所定の試験データの書き込み前後の前記使用量の変化を基に、重複排除機能の動作を検証する。   In one aspect of the information processing device, the information processing program, the information processing method, and the information processing system disclosed in the present application, the data writing unit writes predetermined test data to a data processing device having a deduplication function. Let it do. The usage amount acquisition unit acquires the usage amount of a storage area in which the data processing device stores data before and after the writing of the predetermined test data. The verification unit verifies the operation of the deduplication function based on the change in the usage amount before and after the writing of the predetermined test data.

1つの側面では、本発明は、重複排除機能の動作試験の精度を向上させることができる。   In one aspect, the present invention can improve the accuracy of the operation test of the deduplication function.

図1は、動作試験装置及びストレージ装置のハードウェア構成図である。FIG. 1 is a hardware configuration diagram of the operation test device and the storage device. 図2は、ストレージ装置のデータ書き込みの流れを説明するための図である。FIG. 2 is a diagram for explaining the flow of data writing in the storage device. 図3は、実施例に係る動作試験装置のブロック図である。FIG. 3 is a block diagram of the operation test device according to the embodiment. 図4は、重複排除機能の動作試験のパターンを表す図である。FIG. 4 is a diagram illustrating a pattern of an operation test of the duplication elimination function. 図5は、新規書き込み且つ既存のデータと一致するパターンの動作試験を説明するための図である。FIG. 5 is a diagram for explaining an operation test of a new write and a pattern that matches existing data. 図6は、新規書き込み且つ既存のデータと一致しないパターンの動作試験を説明するための図である。FIG. 6 is a diagram for explaining an operation test of a pattern that is newly written and does not match existing data. 図7は、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致するパターンの動作試験を説明するための図である。FIG. 7 is a diagram for explaining an operation test of a pattern in which update writing and write destination data are in a deduplicated state and coincide with existing data. 図8は、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致しないパターンの動作試験を説明するための図である。FIG. 8 is a diagram for explaining an operation test of a pattern in which update writing and write destination data are in a deduplicated state and do not match existing data. 図9は、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ既存のデータと一致するパターンの動作試験を説明するための図である。FIG. 9 is a diagram for explaining an operation test of a pattern in which data at the update write and write destination is not in the deduplication state and matches the existing data. 図10は、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ既存のデータと一致しないパターンの動作試験を説明するための図である。FIG. 10 is a diagram for explaining an operation test of a pattern in which update write and write destination data are not in the deduplication state and do not match existing data. 図11は、重複排除機能の動作試験の全体的な処理のフローチャートである。FIG. 11 is a flowchart of the overall processing of the operation test of the deduplication function. 図12は、物理容量が変化しないパターンの判定処理のフローチャートである。FIG. 12 is a flowchart of a process for determining a pattern in which the physical capacity does not change. 図13は、物理容量が増加するパターンの判定処理のフローチャートである。FIG. 13 is a flowchart of a process of determining a pattern in which the physical capacity increases. 図14は、物理容量が減少するパターンの判定処理のフローチャートである。FIG. 14 is a flowchart of a process for determining a pattern in which the physical capacity decreases.

以下に、本願の開示する情報処理装置、情報処理プログラム、情報処理方法及び情報処理システムの実施例を図面に基づいて詳細に説明する。なお、以下の実施例により本願の開示する情報処理装置、情報処理プログラム、情報処理方法及び情報処理システムが限定されるものではない。   Hereinafter, embodiments of an information processing apparatus, an information processing program, an information processing method, and an information processing system disclosed in the present application will be described in detail with reference to the drawings. Note that the information processing apparatus, the information processing program, the information processing method, and the information processing system disclosed in the present application are not limited by the following embodiments.

図1は、動作試験装置及びストレージ装置のハードウェア構成図である。動作試験装置1及びストレージ装置2は、情報処理システム50に含まれる。動作試験装置1は、ストレージ装置2に接続される。動作試験装置1は、ストレージ装置2の重複排除機能の動作試験を行う。   FIG. 1 is a hardware configuration diagram of the operation test device and the storage device. The operation test device 1 and the storage device 2 are included in the information processing system 50. The operation test device 1 is connected to the storage device 2. The operation test device 1 performs an operation test of the deduplication function of the storage device 2.

動作試験装置1は、CPU(Central Processing Unit)11、メモリ12、通信インタフェース13及びHDD(Hard Disk Drive)14を有する。CPU11は、メモリ12、通信インタフェース13及びHDD14とバスを介して接続される。この動作試験装置1が、「情報処理装置」の一例にあたる。   The operation test apparatus 1 includes a CPU (Central Processing Unit) 11, a memory 12, a communication interface 13, and an HDD (Hard Disk Drive) 14. The CPU 11 is connected to the memory 12, the communication interface 13, and the HDD 14 via a bus. The operation test device 1 is an example of an “information processing device”.

通信インタフェース13は、ストレージ装置2との間で通信を行うためのインタフェースである。HDD14は、ストレージ装置2の重複排除機能の動作試験を実施する動作試験プログラムを含む各種プログラムを格納する。   The communication interface 13 is an interface for performing communication with the storage device 2. The HDD 14 stores various programs including an operation test program for performing an operation test of the deduplication function of the storage device 2.

CPU11は、HDD14から動作試験プログラムを含む各種プログラムを読み出してメモリ12上に展開して実行する。動作試験プログラムは、例えば、動作試験で使用する論理ボリューム251及び252の構築や削除をストレージ装置2に指示する。また、動作試験プログラムは、動作試験のスケジューリング、動作試験におけるデータの書き込み指示、記憶領域の使用量の取得、動作の検証及び検証結果の通知などを実行する。   The CPU 11 reads various programs including the operation test program from the HDD 14, loads the programs on the memory 12, and executes the programs. The operation test program instructs the storage device 2 to construct or delete the logical volumes 251 and 252 used in the operation test, for example. In addition, the operation test program executes operation test scheduling, data write instruction in the operation test, acquisition of storage area usage, operation verification, and notification of a verification result.

ストレージ装置2は、データ通信インタフェース21、管理インタフェース22、コントローラ23、メモリ24及びディスクアレイ25を有する。このストレージ装置2が、「データ処理装置」の一例にあたる。   The storage device 2 has a data communication interface 21, a management interface 22, a controller 23, a memory 24, and a disk array 25. The storage device 2 is an example of a “data processing device”.

データ通信インタフェース21は、書き込むデータの入力を受けるインタフェースである。また、データ通信インタフェース21は、読み出すデータを出力するインタフェースである。管理インタフェース22は、動作試験に用いる情報を動作試験装置1に通知するための動作試験の管理用のインタフェースである。   The data communication interface 21 is an interface for receiving input of data to be written. The data communication interface 21 is an interface that outputs data to be read. The management interface 22 is an interface for managing an operation test for notifying the operation test device 1 of information used for the operation test.

ディスクアレイ25は、複数のハードディスクを備えた物理的な記憶装置である。ディスクアレイ25は複数のRAID(Redundant Arrays of Inexpensive Disks)グループを有する。そして、ディスクアレイ25は、RAIDグループの中に論理ボリューム251及び252を有する。ただし、ディスクアレイ25に配置される論理ボリュームの数は特に制限は無い。ここでは、ディスクアレイ25全体で1つの重複排除単位とする。   The disk array 25 is a physical storage device including a plurality of hard disks. The disk array 25 has a plurality of RAID (Redundant Arrays of Inexpensive Disks) groups. The disk array 25 has logical volumes 251 and 252 in a RAID group. However, the number of logical volumes arranged in the disk array 25 is not particularly limited. Here, the entire disk array 25 is a single deduplication unit.

メモリ24は、ハッシュキャッシュ241及びブロックマップ242を有する。ハッシュキャッシュ241は、論理ボリューム251又は252に書き込まれたデータから生成されるハッシュデータを格納する。ブロックマップ242は、ハッシュキャッシュ241に格納されたハッシュデータの生成元となったデータの書き込み先のアドレスを格納する。   The memory 24 has a hash cache 241 and a block map 242. The hash cache 241 stores hash data generated from data written in the logical volume 251 or 252. The block map 242 stores the address of the write destination of the data that is the source of the hash data stored in the hash cache 241.

コントローラ23は、動作試験で使用する論理ボリューム251及び252の構築や削除の指示をデータ通信インタフェース21を介して取得する。そして、コントローラ23は、例えば、ディスクアレイ25における動作試験で使用する論理ボリューム251及び252の構築及び削除を実行する。また、コントローラ23は、動作試験におけるデータの書き込み指示を受けて、論理ボリューム251又は252にデータを書き込む。さらに、コントローラ23は、論理ボリューム251及び252における試験データの格納による記憶領域の使用容量である物理記憶容量をディスクアレイ25から取得する。そして、コントローラ23は、論理ボリューム251及び252の物理記憶容量を、管理インタフェース22を介して動作試験装置1へ通知する。   The controller 23 acquires, via the data communication interface 21, an instruction to construct or delete the logical volumes 251 and 252 used in the operation test. Then, for example, the controller 23 executes construction and deletion of the logical volumes 251 and 252 used in the operation test on the disk array 25. Further, the controller 23 writes data to the logical volume 251 or 252 in response to a data write instruction in the operation test. Further, the controller 23 acquires from the disk array 25 the physical storage capacity that is the used capacity of the storage area by storing the test data in the logical volumes 251 and 252. Then, the controller 23 notifies the operation test apparatus 1 of the physical storage capacities of the logical volumes 251 and 252 via the management interface 22.

他にも、コントローラ23は、実際の運用に関して、指定されたデータのディスクアレイ25への書き込みを重複排除機能を用いて実行する。また、コントローラ23は、指定されたデータのディスクアレイ25からのデータの読み出しを行う。   In addition, the controller 23 executes the writing of the designated data to the disk array 25 using the deduplication function for the actual operation. Further, the controller 23 reads out the designated data from the disk array 25.

ここで、図2を参照して、ストレージ装置2のデータの書き込みの流れについて説明する。図2は、ストレージ装置のデータ書き込みの流れを説明するための図である。ここでは、論理ボリューム252に既に分割データA及び分割データBを含むデータ313が格納されており、ハッシュキャッシュ241には分割データA及び分割データBから生成されたハッシュデータa及びbを含むハッシュデータ311が格納されている。また。ブロックマップ242には、ハッシュデータaの生成元の分割データAのアドレス及びハッシュデータbの生成元の分割データBのアドレスを含むデータ312が登録されている。図2では、「aのアドレス」が、ハッシュデータaの生成元の分割データAのアドレスを表し、「bのアドレス」が、ハッシュデータbの生成元の分割データBのアドレスを表す。   Here, the flow of writing data in the storage device 2 will be described with reference to FIG. FIG. 2 is a diagram for explaining the flow of data writing in the storage device. Here, the data 313 including the divided data A and the divided data B is already stored in the logical volume 252, and the hash data 241 including the hash data a and b generated from the divided data A and the divided data B is stored in the hash cache 241. 311 are stored. Also. In the block map 242, data 312 including the address of the divided data A from which the hash data a is generated and the address of the divided data B from which the hash data b is generated are registered. In FIG. 2, “address of a” represents the address of the divided data A from which the hash data a is generated, and “address of b” represents the address of the divided data B from which the hash data b is generated.

ストレージ装置2のデータ通信インタフェース21は、書込データ301の入力を受ける。そして、データ通信インタフェース21は、コントローラ23に書込データ301を出力する。   The data communication interface 21 of the storage device 2 receives the input of the write data 301. Then, the data communication interface 21 outputs the write data 301 to the controller 23.

コントローラ23は、書込データ301をデータ通信インタフェース21から取得する。そして、コントローラ23は、書込データ301を重複排除単位に分割して分割データ302を生成する。ここでは、分割データA〜Dが生成される。   The controller 23 acquires the write data 301 from the data communication interface 21. Then, the controller 23 divides the write data 301 into deduplication units to generate divided data 302. Here, divided data A to D are generated.

次に、コントローラ23は、分割データA〜Dからハッシュデータa〜dを生成する。そして、コントローラ23は、生成したハッシュデータa〜dがハッシュキャッシュ241に存在するか否かを判定する。   Next, the controller 23 generates hash data a to d from the divided data A to D. Then, the controller 23 determines whether or not the generated hash data a to d exists in the hash cache 241.

ここで、書き込むデータから生成されたハッシュデータがハッシュキャッシュ241に存在する場合には、書き込むデータと同じデータが既に論理ボリューム251又は252に格納されており、書き込むデータは重複排除の対象となる。これに対して、書き込むデータから生成されたハッシュデータがハッシュキャッシュ241に存在しない場合は、書き込むデータと同じデータは論理ボリューム251又は252に存在しないので、書き込むデータは重複排除の対象とならず書き込みの対象となる。   Here, when hash data generated from the data to be written exists in the hash cache 241, the same data as the data to be written has already been stored in the logical volume 251 or 252, and the data to be written is a target of deduplication. On the other hand, if the hash data generated from the data to be written does not exist in the hash cache 241, the same data as the data to be written does not exist in the logical volume 251 or 252. Subject to.

ここでは、ハッシュキャッシュ241にはハッシュデータa及びbが存在するので、コントローラ23は、分割データA及びBを重複排除の対象とする。これに対して、データ303で示すハッシュデータc及びdはいずれもハッシュキャッシュ241に存在しないので、コントローラ23は、分割データC及びDを書き込みの対象とする。   Here, since the hash data a and b exist in the hash cache 241, the controller 23 sets the divided data A and B as targets of deduplication. On the other hand, since none of the hash data c and d indicated by the data 303 exists in the hash cache 241, the controller 23 sets the divided data C and D to be written.

そこで、コントローラ23は、ハッシュデータc及びdをハッシュキャッシュ241に書き込む。次に、コントローラ23は、分割データC及びDの格納先のアドレスをブロックマップ242に登録する。   Therefore, the controller 23 writes the hash data c and d into the hash cache 241. Next, the controller 23 registers the addresses of the storage destinations of the divided data C and D in the block map 242.

その後、コントローラ23は、論理ボリューム251に分割データC及びDを書き込む。また、コントローラ23は、論理ボリューム251における分割データAの格納先に、ブロックマップ242上の同じハッシュデータaとなる分割データのアドレスを示す情報を書き込む。また、コントローラ23は、論理ボリューム251における分割データBの格納先に、ブロックマップ242上の同じハッシュデータbとなる分割データのアドレスを示す情報を書き込む。   After that, the controller 23 writes the divided data C and D in the logical volume 251. Further, the controller 23 writes information indicating the address of the divided data that becomes the same hash data a on the block map 242 in the storage location of the divided data A in the logical volume 251. Further, the controller 23 writes information indicating the address of the divided data that becomes the same hash data b on the block map 242 in the storage location of the divided data B in the logical volume 251.

これにより、論理ボリューム251には、データ305が書き込まれる。ここで、破線の枠で囲われた分割データは、重複排除が行われたデータを表し、実線で囲われた分割データは論理ボリューム251に分割データそのものが書き込まれたデータを表す。重複排除が行われた場合、ブロックマップ242上の位置を示す情報が格納されるが、分割データそのものと比べてサイズは非常に小さく、無視できるサイズと言える。そこで、重複排除が行われた場合、分割データの書き込みによる使用領域の増加は無いと考えることができる。   As a result, the data 305 is written to the logical volume 251. Here, the divided data surrounded by a broken line represents data on which deduplication has been performed, and the divided data surrounded by a solid line represents data obtained by writing the divided data itself in the logical volume 251. When deduplication is performed, information indicating a position on the block map 242 is stored, but the size is very small compared to the divided data itself, and can be said to be negligible. Therefore, when deduplication is performed, it can be considered that there is no increase in the used area due to the writing of the divided data.

データの読み出し時には、コントローラ23は、論理ボリューム251又は252に読み出すデータが格納されている場合、そのデータを読み出して要求元へ送信する。一方、重複排除により論理ボリューム251又は252に読み出すデータが格納されていない場合、コントローラ23は、読み出すアドレスに格納されたブロックマップ242上の位置の情報を取得し、その情報を基にブロックマップ242を参照する。そして、コントローラ23は、同じハッシュデータとなるデータのアドレスを取得し、取得したアドレスに格納されたデータを論理ボリューム251又は252から読み出して送信元へ送信する。このコントローラ23が、「書込制御部」の一例にあたる。   When reading data, if data to be read is stored in the logical volume 251 or 252, the controller 23 reads the data and sends it to the request source. On the other hand, when the data to be read is not stored in the logical volume 251 or 252 due to the deduplication, the controller 23 acquires the information of the position on the block map 242 stored at the address to be read, and based on the information, the block map 242 is obtained. See Then, the controller 23 acquires the address of the data that becomes the same hash data, reads the data stored at the acquired address from the logical volume 251 or 252, and transmits the data to the transmission source. The controller 23 is an example of a “write control unit”.

次に、図3を参照して、本実施例に係る動作試験装置1による重複排除機能の動作試験の機能について説明する。図3は、実施例に係る動作試験装置のブロック図である。ここでは、情報処理システム50に、管理端末装置3も含まれる。   Next, the function of the operation test of the deduplication function by the operation test apparatus 1 according to the present embodiment will be described with reference to FIG. FIG. 3 is a block diagram of the operation test device according to the embodiment. Here, the management terminal device 3 is also included in the information processing system 50.

図3に示すように、動作試験装置1は、ストレージ装置2及び管理端末装置3に接続される。ここで、図3では動作試験を行うストレージ装置2の管理者が利用する管理端末装置3を配置したが、管理者は動作試験装置1の入出力装置を用いて管理端末装置3で行う操作を行ってもよい。   As shown in FIG. 3, the operation test device 1 is connected to a storage device 2 and a management terminal device 3. Here, in FIG. 3, the management terminal device 3 used by the administrator of the storage device 2 performing the operation test is arranged, but the administrator uses the input / output device of the operation test device 1 to perform the operation performed by the management terminal device 3. May go.

動作試験装置1は、試験の全体を統括管理する管理制御部101及び実際に動作試験を実行する試験実行部102を有する。管理制御部101は、操作処理部111、通知部112、テストスケジューラ113及び試験構成構築部114を有する。これらの機能は、図1のCPU11が実行する動作試験プログラムにより実現される。   The operation test apparatus 1 includes a management control unit 101 that integrally controls the entire test and a test execution unit 102 that actually executes the operation test. The management control unit 101 includes an operation processing unit 111, a notification unit 112, a test scheduler 113, and a test configuration construction unit 114. These functions are realized by an operation test program executed by the CPU 11 of FIG.

操作処理部111は、動作試験に用いる論理ボリューム251及び252の設定情報及び動作試験の実行要求を管理端末装置3から受ける。この実行要求には、重複排除機能における重複排除単位の情報、ハッシキャッシュサイズ及び試験データの情報が含まれる。そして、操作処理部111は、論理ボリューム251及び252の設定情報を試験構成構築部114に通知する。また、操作処理部111は、重複排除単位、ハッシュキャッシュサイズ及び試験データの情報を含む動作試験の実行指示をテストスケジューラ113に通知する。   The operation processing unit 111 receives setting information of the logical volumes 251 and 252 used for the operation test and a request for executing the operation test from the management terminal device 3. This execution request includes information on the deduplication unit in the deduplication function, hash cache size, and test data information. Then, the operation processing unit 111 notifies the test configuration construction unit 114 of the setting information of the logical volumes 251 and 252. The operation processing unit 111 also notifies the test scheduler 113 of an operation test execution instruction including information on the deduplication unit, the hash cache size, and the test data.

試験構成構築部114は、動作試験に用いる論理ボリューム251及び252の設定情報の通知を操作処理部111から受ける。そして、試験構成構築部114は、取得した論理ボリュームの設定情報にしたがって、ストレージ装置2に論理ボリューム251及び252を構築させる。この論理ボリューム251及び252が、「格納部」の一例にあたる。   The test configuration construction unit 114 receives from the operation processing unit 111 notification of setting information of the logical volumes 251 and 252 used for the operation test. Then, the test configuration construction unit 114 causes the storage device 2 to construct the logical volumes 251 and 252 according to the acquired logical volume setting information. The logical volumes 251 and 252 are an example of a “storage unit”.

テストスケジューラ113は、重複排除単位、ハッシュキャッシュサイズ及び試験データの情報を含む動作試験の実行指示を操作処理部111から受ける。そして、テストスケジューラ113は、重複排除単位をストレージ装置2に通知する。また、テストスケジューラ113は、ハッシュキャッシュサイズを指定してストレージ装置2にハッシュキャッシュ241を生成させる。   The test scheduler 113 receives from the operation processing unit 111 an operation test execution instruction including information on the deduplication unit, the hash cache size, and the test data. Then, the test scheduler 113 notifies the storage device 2 of the deduplication unit. In addition, the test scheduler 113 causes the storage device 2 to generate the hash cache 241 by designating the hash cache size.

また、テストスケジューラ113は、指定された試験データの作成を試験データ生成部121に指示する。本実施例では、テストスケジューラ113は、実行する動作試験のパターンに応じて3種類の試験データの生成を試験データ生成部121に指示する。さらに、テストスケジューラ113は、実行させる動作試験の複数のパターンそれぞれの設定を実行する順番とともに試験データ書込部122へ通知する。本実施例では、テストスケジューラ113は、図4に示す6種類の動作試験のパターンの情報を試験データ書込部122に通知する。   Further, the test scheduler 113 instructs the test data generation unit 121 to create the specified test data. In the present embodiment, the test scheduler 113 instructs the test data generation unit 121 to generate three types of test data according to the operation test pattern to be executed. Further, the test scheduler 113 notifies the test data writing unit 122 together with the execution order of each of the plurality of patterns of the operation test to be executed. In the present embodiment, the test scheduler 113 notifies the test data writing unit 122 of information on the six types of operation test patterns shown in FIG.

図4は、重複排除機能の動作試験のパターンを表す図である。図4に示すように、動作試験には、新規データの書き込み及びデータの更新書き込みがある。新規データの書き込みは、未だデータの書き込みが行われていない記憶領域へのデータの書き込みである。記憶領域は、例えばLBA(Logical Block Address)で示される。これに対して、データの更新書き込みは、データが既に書き込まれている記憶領域へのデータの書き込みである。   FIG. 4 is a diagram illustrating a pattern of an operation test of the duplication elimination function. As shown in FIG. 4, the operation test includes writing of new data and updating of data. The writing of new data is the writing of data to a storage area to which data has not yet been written. The storage area is indicated by, for example, an LBA (Logical Block Address). On the other hand, the update writing of data is writing of data to a storage area in which data has already been written.

データの更新書き込みは、書き込み先のデータが重複排除されている場合と重複排除されていない場合とに分けられる。書き込み先のデータが重複排除されている場合とは、書き込み先に既に書き込まれた情報として、データそのものではなくブロックマップ242に格納されたアドレスの場所を指定する情報が格納された状態である。また、書き込み先のデータが重複排除されていない場合とは、書き込み先に既に書き込まれた情報として、データそのものが格納された状態である。   Update writing of data is divided into a case where data at a write destination is deduplicated and a case where data is not deduplicated. The case where the data at the write destination has been deduplicated is a state in which not the data itself but the information specifying the location of the address stored in the block map 242 is stored as the information already written at the write destination. The case where the data at the write destination is not deduplicated is a state where the data itself is stored as information already written at the write destination.

さらに、それぞれの場合が、書き込みするデータが既に存在するデータと一致する場合と一致しない場合とに分けられる。これにより、重複排除機能の動作試験は、6種類に分けられる。図4では、それぞれの動作試験を表す番号を図面に向かって下部に表示した。ここでは、新規データの書き込みを「I」で示し、データの更新書き込みを「II」で示した。データの更新書き込みにおいて書き込み先のデータが重複排除されている場合を「1」で表し、重複排除されていない場合を「2」で表した。さらに、書き込みデータが既に存在するデータと一致する場合を「(1)」で表し、一致しない場合を「(2)」で表した。そして、それらの番号を組み合わせて、各動作試験の種類を表した。   Each case is further divided into a case where data to be written matches existing data and a case where data does not match. Thereby, the operation test of the duplication elimination function is divided into six types. In FIG. 4, the numbers representing the respective operation tests are displayed at the bottom of the drawing. Here, writing of new data is indicated by “I”, and updating of data is indicated by “II”. In the data update writing, the case where the data at the write destination is deduplicated is represented by “1”, and the case where the data is not deduplicated is represented by “2”. Further, the case where the write data matches the existing data is represented by “(1)”, and the case where the write data does not match is represented by “(2)”. Then, the numbers were combined to represent the type of each operation test.

テストスケジューラ113は、動作試験の順番として、例えば、「I−(1)」、「II−1−(1)」、「II−2−(2)」、「I−(2)」、「II−1−(2)」、「II−2−(1)」の順番を試験データ書込部122に通知する。   For example, “I- (1)”, “II-1- (1)”, “II-2- (2)”, “I- (2)”, “I- (2)”, The test data writing unit 122 is notified of the order of “II-1- (2)” and “II-2- (1)”.

図3に戻って説明を続ける。通知部112は、検証結果を後述する試験実行部102の検証部124から受信する。そして、通知部112は、受信した検証結果を管理端末装置3へ通知する。これにより、ストレージ装置2の管理者は、ストレージ装置2の重複排除機能の動作検証結果を管理端末装置3から取得することができる。   Returning to FIG. 3, the description will be continued. The notifying unit 112 receives the verification result from the verification unit 124 of the test execution unit 102 described later. Then, the notification unit 112 notifies the management terminal device 3 of the received verification result. Accordingly, the administrator of the storage device 2 can obtain the operation verification result of the deduplication function of the storage device 2 from the management terminal device 3.

試験実行部102は、試験データ生成部121、試験データ書込部122、使用量取得部123及び検証部124を有する。これらの機能は、図1のCPU11が実行する動作試験プログラムにより実現される。   The test execution unit 102 includes a test data generation unit 121, a test data writing unit 122, a usage amount acquisition unit 123, and a verification unit 124. These functions are realized by an operation test program executed by the CPU 11 of FIG.

試験データ生成部121は、実行する試験に応じた試験データの生成の指示をテストスケジューラ113から受ける。そして、試験データ生成部121は、指示にしたがい試験データを生成する。本実施例では、試験データ生成部121は、サイズが同じ3種類の異なる試験データを生成する。そして、試験データ生成部121は、生成した試験データを試験データ書込部122へ出力する。   The test data generation unit 121 receives from the test scheduler 113 an instruction to generate test data according to the test to be executed. Then, the test data generation unit 121 generates test data according to the instruction. In the present embodiment, the test data generation unit 121 generates three types of different test data having the same size. Then, the test data generation unit 121 outputs the generated test data to the test data writing unit 122.

試験データ書込部122は、6種類の動作試験のパターンそれぞれの設定情報を、実行する順番とともにテストスケジューラ113から取得する。さらに、試験データ書込部122は、3種類の異なる試験データの入力を試験データ生成部121から受ける。そして、試験データ書込部122は、指定された順に6種類のパターンの動作試験のそれぞれについてデータの書き込みをストレージ装置2に行わせる。試験データ書込部122は、各パターンの動作試験完了後、論理ボリューム251及び252に書き込んだデータを消去する。   The test data writing unit 122 acquires the setting information of each of the six types of operation test patterns from the test scheduler 113 together with the execution order. Further, the test data writing unit 122 receives input of three different test data from the test data generation unit 121. Then, the test data writing unit 122 causes the storage device 2 to write data for each of the six types of pattern operation tests in the specified order. After completing the operation test of each pattern, the test data writing unit 122 erases the data written to the logical volumes 251 and 252.

ここで、動作試験における試験データ書込部122の動作を詳細に説明する。まず、試験データ書込部122は、ストレージ装置2にデータの書き込みを行わせて初期状態を生成させる。そして、試験データ書込部122は、初期状態の状態生成の完了後、物理容量の取得を使用量取得部123に指示する。ここで、物理容量とは、論理ボリューム251及び252に書き込まれたデータの容量であり、データを書き込むことによる論理ボリューム251及び252の使用量にあたる。その後、試験データ書込部122は、初期状態の論理ボリューム251及び252に対してさらにデータの書き込みを行わせて、ストレージ装置2に書き込み後の状態を生成させる。そして、試験データ書込部122は、書き込み後の状態生成の完了後、物理容量の取得を使用量取得部123に指示する。これにより、試験データ書込部122は、データの書き込み前後の物理容量の取得を使用量取得部123に行わせる。この試験データ書込部122が、「データ書込部」の一例にあたる。   Here, the operation of the test data writing unit 122 in the operation test will be described in detail. First, the test data writing unit 122 causes the storage device 2 to write data to generate an initial state. Then, after completing the generation of the initial state, the test data writing unit 122 instructs the usage amount obtaining unit 123 to obtain the physical capacity. Here, the physical capacity is the capacity of data written in the logical volumes 251 and 252, and corresponds to the usage of the logical volumes 251 and 252 by writing data. Thereafter, the test data writing unit 122 further writes data to the logical volumes 251 and 252 in the initial state, and causes the storage device 2 to generate a state after the writing. Then, after completing the state generation after the writing, the test data writing unit 122 instructs the usage amount obtaining unit 123 to obtain the physical capacity. As a result, the test data writing unit 122 causes the usage amount obtaining unit 123 to obtain the physical capacity before and after writing the data. The test data writing unit 122 is an example of a “data writing unit”.

以下に、試験データ書込部122による動作試験の各パターンにおけるデータの書き込み手順について説明する。ここでは、試験データとして分割データA〜Cが存在する場合で説明する。本実施例では、分割データA〜Cは、いずれも同じデータサイズを有する。   Hereinafter, a procedure of writing data in each pattern of the operation test by the test data writing unit 122 will be described. Here, a case will be described in which divided data A to C exist as test data. In this embodiment, the divided data A to C all have the same data size.

図5は、新規書き込み且つ既存のデータと一致するパターンの動作試験を説明するための図である。すなわち、図5は、I−(1)のパターンの動作試験を表す。試験データ書込部122は、領域403にデータAを書き込み、領域404をデータが書き込まれていない状態のままとして、初期の状態401を生成する。   FIG. 5 is a diagram for explaining an operation test of a new write and a pattern that matches existing data. That is, FIG. 5 illustrates an operation test of the pattern I- (1). The test data writing unit 122 writes the data A in the area 403, and generates the initial state 401 while leaving the area 404 in a state where no data is written.

その後、試験データ書込部122は、領域403に格納された分割データAと一致する分割データAを領域404に書き込ませる。この場合、書き込む分割データAは、既に領域403に存在する分割データAと一致するため重複排除される。そこで、ストレージ装置2は、ブロックマップ242に格納されたアドレスの場所を指定する情報を領域404に書き込み、書き込み後の状態402を生成する。このように、I−(1)のパターンでは、書き込む分割データAは重複排除されるので、重複排除機能の動作が正常であれば、状態402の物理容量は、状態401の物理容量から変化しない。   After that, the test data writing unit 122 causes the divided data A that matches the divided data A stored in the area 403 to be written in the area 404. In this case, the divided data A to be written coincides with the divided data A already existing in the area 403, so that duplication is eliminated. Thus, the storage device 2 writes information specifying the location of the address stored in the block map 242 into the area 404, and generates the post-write state 402. As described above, in the pattern of I- (1), the divided data A to be written is deduplicated. Therefore, if the operation of the deduplication function is normal, the physical capacity in the state 402 does not change from the physical capacity in the state 401. .

図6は、新規書き込み且つ既存のデータと一致しないパターンの動作試験を説明するための図である。すなわち、図6は、I−(2)のパターンの動作試験を表す。試験データ書込部122は、領域413に分割データAを書き込ませ、領域414をデータが書き込まれない状態のままとして、初期状態の状態411を生成する。   FIG. 6 is a diagram for explaining an operation test of a pattern that is newly written and does not match existing data. That is, FIG. 6 illustrates an operation test of the pattern I- (2). The test data writing unit 122 writes the divided data A in the area 413, and generates the initial state 411 while leaving the area 414 in a state where no data is written.

その後、試験データ書込部122は、領域413に格納された分割データAと一致しない分割データBを領域414に書き込ませる。この場合、書き込まれる分割データBは、既に領域413に存在する分割データAと一致しないため重複排除されない。そこで、ストレージ装置2は、分割データBを領域414に書き込み、書き込み後の状態412を生成する。このように、I−(2)のパターンでは、書き込まれる分割データBは重複排除されないので、重複排除機能の動作が正常であれば、状態412の物理容量は、状態411の物理容量から分割データBのサイズ分増加した容量となる。   After that, the test data writing unit 122 causes the divided data B that does not match the divided data A stored in the area 413 to be written in the area 414. In this case, since the divided data B to be written does not match the divided data A already existing in the area 413, the duplicate data is not eliminated. Therefore, the storage apparatus 2 writes the divided data B in the area 414, and generates the state 412 after writing. As described above, in the pattern of I- (2), the divided data B to be written is not deduplicated. Therefore, if the operation of the deduplication function is normal, the physical capacity in the state 412 will be The capacity is increased by the size of B.

図7は、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致するパターンの動作試験を説明するための図である。すなわち、図7は、II−1−(1)のパターンの動作試験を表す。試験データ書込部122は、領域425に分割データAを書き込ませ、領域426に分割データBを書き込ませ、領域424をデータが書き込まれない状態のままとして、状態421を生成する。さらに、試験データ書込部122は、領域424に既に書き込まれた分割データAに一致する分割データAを書き込ませ、初期の状態422を生成する。この場合、書き込まれる分割データAは重複排除されて、領域424にはブロックマップ242に格納されたアドレスの場所を指定する情報が書き込まれる。   FIG. 7 is a diagram for explaining an operation test of a pattern in which update writing and write destination data are in a deduplicated state and coincide with existing data. That is, FIG. 7 illustrates an operation test of the pattern II-1- (1). The test data writing unit 122 causes the division data A to be written in the area 425, the division data B in the area 426, and generates the state 421 while leaving the area 424 in a state where no data is written. Further, the test data writing unit 122 causes the division data A that matches the division data A already written to the area 424 to be written, and generates an initial state 422. In this case, the divided data A to be written is deduplicated, and information specifying the location of the address stored in the block map 242 is written in the area 424.

その後、試験データ書込部122は、領域426に既に格納された分割データBと一致する分割データBを、書き込み先の領域424に格納された分割データAの上に書き込ませる。この場合、書き込まれる分割データBは既に領域426に存在する分割データBと一致するため重複排除される。そこで、ストレージ装置2は、ブロックマップ242に格納されたアドレスの場所を指定する情報を領域424に書き込み、書き込み後の状態423を生成する。この場合、状態422は領域424に重複排除された分割データAの情報が書き込まれた状態であり、状態423は領域424に重複排除された分割データBの情報が書き込まれた状態である。したがって、II−1−(1)のパターンの場合、重複排除機能の動作が正常であれば、状態423の物理容量は、状態422の物理容量から変化しない。   Thereafter, the test data writing unit 122 writes the divided data B that matches the divided data B already stored in the area 426 on the divided data A stored in the write destination area 424. In this case, the divided data B to be written coincides with the divided data B already existing in the area 426, so that duplication is eliminated. Therefore, the storage device 2 writes information specifying the location of the address stored in the block map 242 into the area 424, and generates the post-write state 423. In this case, the state 422 is a state in which the information of the deduplicated divided data A is written in the area 424, and the state 423 is a state in which the information of the deduplicated divided data B is written in the area 424. Therefore, in the case of the pattern II-1- (1), if the operation of the deduplication function is normal, the physical capacity in the state 423 does not change from the physical capacity in the state 422.

図8は、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致しないパターンの動作試験を説明するための図である。すなわち、図8は、II−1−(2)のパターンの動作試験を表す。試験データ書込部122は、領域435に分割データAを書き込ませ、領域434をデータが書き込まれない状態のままとして、状態431を生成する。さらに、試験データ書込部122は、既に領域435に格納された分割データAと一致する分割データAを領域434に書き込ませて、初期の状態432を生成する。この場合、書き込まれる分割データAは重複排除されて、領域434にはブロックマップ242に格納されたアドレスの場所を指定する情報が書き込まれる。   FIG. 8 is a diagram for explaining an operation test of a pattern in which update writing and write destination data are in a deduplicated state and do not match existing data. That is, FIG. 8 shows an operation test of the pattern of II-1- (2). The test data writing unit 122 causes the divided data A to be written in the area 435, and generates the state 431 while leaving the area 434 in a state where no data is written. Further, the test data writing unit 122 causes the divided data A that matches the divided data A already stored in the area 435 to be written in the area 434, and generates the initial state 432. In this case, the divided data A to be written is deduplicated, and information specifying the location of the address stored in the block map 242 is written in the area 434.

その後、試験データ書込部122は、領域435に既に格納された分割データAと一致しない分割データBを、書き込み先の領域434に格納された分割データAの上に書き込ませる。この場合、書き込まれる分割データBは、既に領域435に存在する分割データAと一致しないため重複排除されない。そこで、ストレージ装置2は、分割データBを領域434に書き込ませ、書き込み後の状態433を生成する。この場合、状態432は領域434に重複排除された分割データAの情報が書き込まれた状態であり、状態433は領域434に分割データBが重複排除されずに書き込まれた状態である。したがって、II−1−(2)のパターンの場合、重複排除機能の動作が正常であれば、状態433の物理容量は、状態432の物理容量からデータBのサイズ分増加した容量となる。   Thereafter, the test data writing unit 122 writes the divided data B that does not match the divided data A already stored in the area 435 on the divided data A stored in the write destination area 434. In this case, the divided data B to be written does not coincide with the divided data A already existing in the area 435, and therefore, is not eliminated. Therefore, the storage device 2 causes the divided data B to be written to the area 434, and generates a post-write state 433. In this case, the state 432 is a state in which the information of the demultiplexed divided data A is written in the area 434, and the state 433 is a state in which the divided data B is written in the area 434 without being deduplicated. Therefore, in the case of the pattern II-1- (2), if the operation of the deduplication function is normal, the physical capacity in the state 433 is a capacity increased by the size of the data B from the physical capacity in the state 432.

図9は、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ既存のデータと一致するパターンの動作試験を説明するための図である。すなわち、図9は、II−2−(1)のパターンの動作試験を表す。試験データ書込部122は、領域443にデータAを書き込ませ、領域444にデータBを書き込ませ、初期の状態441を生成する。   FIG. 9 is a diagram for explaining an operation test of a pattern in which data at the update write and write destination is not in the deduplication state and matches the existing data. That is, FIG. 9 illustrates an operation test of the pattern II-2- (1). The test data writing unit 122 causes the data A to be written to the area 443 and the data B to be written to the area 444, and generates the initial state 441.

その後、試験データ書込部122は、既に領域444に格納された分割データBと一致する分割データBを、書き込み先の領域443に格納された分割データAの上に書き込ませ、書き込み後の状態442を生成する。この場合、領域443に書き込まれる分割データBは重複排除されて、領域443にはブロックマップ242に格納されたアドレスの場所を指定する情報が書き込まれる。状態442は領域443に分割データAが重複排除されずに書き込まれた状態であり、状態442は領域443には重複排除された分割データBの情報が書き込まれた状態である。したがって、II−2−(1)のパターンの場合、重複排除機能の動作が正常であれば、状態442の物理容量は、状態441の物理容量から分割データAのサイズ分減少した容量となる。   Thereafter, the test data writing unit 122 causes the divided data B that matches the divided data B already stored in the area 444 to be written on the divided data A stored in the write destination area 443, and the state after the writing. 442 is generated. In this case, the divided data B written in the area 443 is deduplicated, and information specifying the location of the address stored in the block map 242 is written in the area 443. The state 442 is a state in which the divided data A is written to the area 443 without deduplication, and the state 442 is a state in which the information of the deduplicated divided data B is written to the area 443. Therefore, in the case of the pattern II-2- (1), if the operation of the deduplication function is normal, the physical capacity in the state 442 is a capacity reduced by the size of the divided data A from the physical capacity in the state 441.

図10は、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ既存のデータと一致しないパターンの動作試験を説明するための図である。すなわち、図10は、II−2−(2)のパターンの動作試験を表す。試験データ書込部122は、領域453にデータAを書き込ませ、領域454にデータBを書き込ませ、初期の状態451を生成する。   FIG. 10 is a diagram for explaining an operation test of a pattern in which update write and write destination data are not in the deduplication state and do not match existing data. That is, FIG. 10 illustrates an operation test of the pattern II-2- (2). The test data writing unit 122 causes the data A to be written to the area 453 and the data B to be written to the area 454, and generates the initial state 451.

その後、試験データ書込部122は、領域454に既に格納された分割データBと一致しない分割データCを、書き込み先の領域453に格納された分割データAの上に書き込ませ、書き込み後の状態452を生成する。この場合、領域453に書き込まれる分割データBは重複排除されず、領域453には分割データBが書き込まれる。状態451は領域453に分割データAが書き込まれた状態であり、状態452は領域453に分割データCが書き込まれた状態である。したがって、II−2−(2)のパターンの場合、重複排除機能の動作が正常であれば、状態452の物理容量は、状態451の物理容量から変化しない。   After that, the test data writing unit 122 causes the divided data C that does not match the divided data B already stored in the area 454 to be written on the divided data A stored in the write destination area 453, and the state after the writing. 452 is generated. In this case, the divided data B written in the area 453 is not deduplicated, and the divided data B is written in the area 453. State 451 is a state in which the divided data A is written in the area 453, and state 452 is a state in which the divided data C is written in the area 453. Therefore, in the case of the pattern II-2- (2), if the operation of the deduplication function is normal, the physical capacity in the state 452 does not change from the physical capacity in the state 451.

図3に戻って説明を続ける。使用量取得部123は、各パターンの動作試験それぞれにおいて、試験データ書込部122からの指示を受けて、初期状態の物理容量をストレージ装置2から取得する。その後、使用量取得部123は、各パターンの動作試験それぞれにおいて、試験データ書込部122からの指示を受けて、書き込み後の状態の物理容量をストレージ装置2から取得する。そして、使用量取得部123は、各パターンの動作試験それぞれにおいて、各動作試験のパターンの情報とともに初期状態の物理容量及び書き込み後の状態の物理容量を検証部124へ通知する。   Returning to FIG. 3, the description will be continued. The usage amount acquiring unit 123 acquires the physical capacity in the initial state from the storage device 2 in response to an instruction from the test data writing unit 122 in each operation test of each pattern. After that, in each of the operation tests of each pattern, the usage amount acquisition unit 123 receives the instruction from the test data writing unit 122, and acquires the physical capacity in the state after writing from the storage device 2. Then, in each operation test of each pattern, the usage amount acquisition unit 123 notifies the verification unit 124 of the physical capacity in the initial state and the physical capacity in the state after writing, together with the information on the pattern of each operation test.

検証部124は、各動作試験のパターンの情報とともに初期状態の物理容量及び書き込み後の状態の物理容量を使用量取得部123から取得する。検証部124は、各パターンについて初期状態の物理容量及び書き込み後の状態の物理容量の正しい関係を予め記憶する。そして、検証部124は、取得した初期状態の物理容量及び書き込み後の状態の物理容量を用いて各パターンについて重複排除機能が正常に動作しているか否かを判定する。すなわち、検証部124は、データの書き込み前後の論理ボリューム251及び252の使用量の変化を用いて重複排除機能の動作の検証を行う。以下に各パターンの動作試験における検証部124の判定について説明する。   The verification unit 124 acquires the physical capacity in the initial state and the physical capacity in the state after writing from the usage acquisition unit 123 together with the information on the pattern of each operation test. The verification unit 124 stores in advance the correct relationship between the physical capacity in the initial state and the physical capacity in the state after writing for each pattern. Then, the verification unit 124 determines whether the deduplication function is operating normally for each pattern using the acquired physical capacity in the initial state and the physical capacity in the state after writing. That is, the verification unit 124 verifies the operation of the deduplication function using the change in the usage of the logical volumes 251 and 252 before and after the data is written. Hereinafter, the determination of the verification unit 124 in the operation test of each pattern will be described.

まず、新規書き込み且つ既存のデータと一致するパターン、すなわち図4におけるI−(1)のパターンの動作試験の場合について説明する。この場合、検証部124は、初期状態の物理容量と書き込み後の物理容量が変わらなければ重複排除機能の動作が正常であると判定する。逆に、初期状態の物理容量と書き込み後の物理容量が変化した場合、検証部124は、重複排除機能の動作が異常であると判定する。   First, a description will be given of the case of an operation test of a pattern newly written and coincident with existing data, that is, a pattern I- (1) in FIG. In this case, the verification unit 124 determines that the operation of the deduplication function is normal if the physical capacity in the initial state and the physical capacity after writing do not change. Conversely, when the physical capacity in the initial state and the physical capacity after writing change, the verification unit 124 determines that the operation of the deduplication function is abnormal.

次に、新規書き込み且つ既存のデータと一致しないパターン、すなわちI−(2)のパターンの動作試験の場合について説明する。この場合、検証部124は、書き込み後の物理容量が初期状態の物理容量から増加していれば重複排除機能の動作が正常であると判定する。逆に、書き込み後の物理容量が初期状態の物理容量と同じもしくは減少した場合、検証部124は、重複排除機能の動作が異常であると判定する。   Next, a description will be given of a case of an operation test of a newly written pattern that does not match existing data, that is, the pattern of I- (2). In this case, the verification unit 124 determines that the operation of the deduplication function is normal if the physical capacity after writing has increased from the physical capacity in the initial state. Conversely, when the physical capacity after writing is equal to or smaller than the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is abnormal.

次に、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致するパターン、すなわちII−1−(1)のパターンの場合について説明する。この場合、検証部124は、書き込み後の物理容量が初期状態の物理容量から変わらなければ重複排除機能の動作が正常であると判定する。逆に、書き込み後の物理容量が初期状態の物理容量と同じもしくは減少した場合、検証部124は、重複排除機能の動作が異常であると判定する。   Next, a case will be described in which update write and write destination data are in a deduplicated state and have a pattern that matches existing data, that is, a pattern of II-1- (1). In this case, if the physical capacity after writing does not change from the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is normal. Conversely, when the physical capacity after writing is equal to or smaller than the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is abnormal.

次に、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致するパターン、すなわちII−1−(2)のパターンの場合について説明する。この場合、検証部124は、書き込み後の物理容量が初期状態の物理容量から増加していれば重複排除機能の動作が正常であると判定する。逆に、書き込み後の物理容量が初期状態の物理容量と同じもしくは減少した場合、検証部124は、重複排除機能の動作が異常であると判定する。   Next, a case will be described in which update write and write destination data are in a deduplicated state and have a pattern that matches existing data, that is, a pattern of II-1- (2). In this case, the verification unit 124 determines that the operation of the deduplication function is normal if the physical capacity after writing has increased from the physical capacity in the initial state. Conversely, when the physical capacity after writing is equal to or smaller than the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is abnormal.

次に、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ既存のデータと一致するパターン、すなわちII−2−(1)のパターンの場合について説明する。この場合、検証部124は、書き込み後の物理容量が初期状態の物理容量から減少していれば重複排除機能の動作が正常であると判定する。逆に、書き込み後の物理容量が初期状態の物理容量と同じもしくは増加した場合、検証部124は、重複排除機能の動作が異常であると判定する。   Next, a case will be described where the data at the update write and write destinations is not in the deduplication state and is a pattern that matches existing data, ie, the pattern II-2- (1). In this case, the verification unit 124 determines that the operation of the deduplication function is normal if the physical capacity after writing is smaller than the physical capacity in the initial state. Conversely, when the physical capacity after writing is equal to or increased from the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is abnormal.

次に、更新書き込み、書き込み先のデータが重複排除状態、且つ既存のデータと一致するパターン、すなわちII−2−(2)のパターンの場合について説明する。この場合、検証部124は、書き込み後の物理容量が初期状態の物理容量から変わらなければ重複排除機能の動作が正常であると判定する。逆に、書き込み後の物理容量が初期状態の物理容量から変化した場合、検証部124は、重複排除機能の動作が異常であると判定する。   Next, a case will be described where the data at the update write and write destination is in the deduplicated state and matches the existing data, that is, the pattern II-2- (2). In this case, if the physical capacity after writing does not change from the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is normal. Conversely, when the physical capacity after writing changes from the physical capacity in the initial state, the verification unit 124 determines that the operation of the deduplication function is abnormal.

すなわち、I−(1)のパターン、II−1−(1)のパターン及びII−2−(2)のパターンは、物理容量が変化しないパターンと言える。また、I−(2)のパターン及びII−1−(2)のパターンは、物理容量が増加するパターンと言える。また、II−2−(1)のパターンは、物理容量が減少するパターンと言える。   That is, the pattern of I- (1), the pattern of II-1- (1), and the pattern of II-2- (2) can be said to be patterns in which the physical capacity does not change. Also, the pattern of I- (2) and the pattern of II-1- (2) can be said to be patterns in which the physical capacity increases. The pattern II-2- (1) can be said to be a pattern in which the physical capacity decreases.

検証部124は、重複排除機能の動作試験の検証結果の情報を管理制御部101の通知部112へ通知する。   The verification unit 124 notifies the notification unit 112 of the management control unit 101 of information on the verification result of the operation test of the deduplication function.

次に、図11を参照して、重複排除機能の動作試験の全体的な処理の流れについて説明する。図11は、重複排除機能の動作試験の全体的な処理のフローチャートである。   Next, the overall processing flow of the operation test of the deduplication function will be described with reference to FIG. FIG. 11 is a flowchart of the overall processing of the operation test of the deduplication function.

操作処理部111は、動作試験実行の指示を管理端末装置3から受信する(ステップS1)。そして、操作処理部111は、論理ボリューム251及び252の設定を試験構成構築部114に通知する。また、操作処理部111は、重複排除単位、ハッシュキャッシュサイズ及び試験データの情報を含む動作試験の実行指示をテストスケジューラ113に通知する。   The operation processing unit 111 receives an instruction to execute an operation test from the management terminal device 3 (step S1). Then, the operation processing unit 111 notifies the test configuration construction unit 114 of the settings of the logical volumes 251 and 252. The operation processing unit 111 also notifies the test scheduler 113 of an operation test execution instruction including information on the deduplication unit, the hash cache size, and the test data.

試験構成構築部114は、操作処理部111からの指示にしたがい、論理ボリューム251及び252をストレージ装置2に作成させる(ステップS2)。   The test configuration construction unit 114 causes the storage device 2 to create the logical volumes 251 and 252 in accordance with the instruction from the operation processing unit 111 (Step S2).

テストスケジューラ113は、ストレージ装置2、試験データ生成部121及び試験データ書込部122に各種情報を通知して、テストスケジュールを設定する(ステップS3)。ストレージ装置2は、テストスケジューラ113から通知されたハッシュキャッシュサイズにしたがいハッシュキャッシュ241を生成する。また、ストレージ装置2は、テストスケジューラ113から重複排除単位の情報を取得する。試験データ生成部121は、テストスケジューラ113から通知された試験データの情報を用いて試験データを生成する。また、試験データ書込部122は、重複排除機能の動作試験の各種パターンの設定情報及び実行の順番の入力を受ける。   The test scheduler 113 notifies the storage device 2, the test data generator 121, and the test data writer 122 of various types of information, and sets a test schedule (step S3). The storage device 2 generates the hash cache 241 according to the hash cache size notified from the test scheduler 113. Further, the storage system 2 acquires the information of the deduplication unit from the test scheduler 113. The test data generation unit 121 generates test data using the information of the test data notified from the test scheduler 113. Further, the test data writing unit 122 receives input of setting information of various patterns of the operation test of the deduplication function and an execution order.

試験データ書込部122、使用量取得部123及び検証部124は、試験データ生成部121により作成された試験データを用いて、物理容量が変化しないパターンについての判定処理を実行する(ステップS4)。   The test data writing unit 122, the usage amount acquisition unit 123, and the verification unit 124 execute a determination process for a pattern whose physical capacity does not change, using the test data created by the test data generation unit 121 (step S4). .

次に、試験データ書込部122、使用量取得部123及び検証部124は、試験データ生成部121により作成された試験データを用いて、物理容量が増加するパターンについての判定処理を実行する(ステップS5)。   Next, the test data writing unit 122, the usage amount acquisition unit 123, and the verification unit 124 execute a determination process for a pattern in which the physical capacity increases, using the test data created by the test data generation unit 121 ( Step S5).

次に、試験データ書込部122、使用量取得部123及び検証部124は、試験データ生成部121により作成された試験データを用いて、物理容量が減少するパターンについての判定処理を実行する(ステップS6)。   Next, the test data writing unit 122, the usage amount acquisition unit 123, and the verification unit 124 execute a determination process for a pattern in which the physical capacity decreases, using the test data created by the test data generation unit 121 ( Step S6).

その後、検証部124は、検証結果を通知部112へ送信する。通知部112は、検証部124から受信した検証結果を管理端末装置3へ送信し、管理者に動作試験の結果を通知する(ステップS7)。   After that, the verification unit 124 transmits the verification result to the notification unit 112. The notification unit 112 transmits the verification result received from the verification unit 124 to the management terminal device 3, and notifies the administrator of the result of the operation test (Step S7).

次に、図12を参照して、物理容量が変化しないパターンの判定処理の流れについて説明する。図12は、物理容量が変化しないパターンの判定処理のフローチャートである。図12のフローチャートで表した処理は、図11におけるステップS4で実施される処理の一例にあたる。   Next, with reference to FIG. 12, a flow of a process of determining a pattern in which the physical capacity does not change will be described. FIG. 12 is a flowchart of a process for determining a pattern in which the physical capacity does not change. The process represented by the flowchart in FIG. 12 is an example of the process performed in step S4 in FIG.

試験データ書込部122は、新規書込み且つ既存のデータと一致するパターン(I−1のパターン)のテストを実施する(ステップS101)。   The test data writing unit 122 performs a test of a pattern (pattern I-1) that is newly written and matches existing data (step S101).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から変化しないか否かを判定する(ステップS102)。物理容量が変化した場合(ステップS102:否定)、検証部124は、ステップS107に進む。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing does not change from the physical capacity in the initial state (Step S102). When the physical capacity has changed (No at Step S102), the verification unit 124 proceeds to Step S107.

一方、物理容量が変化しない場合(ステップS102:肯定)、試験データ書込部122は、更新書き込み、書き込み先のデータが重複排除状態であり且つ既存のデータと一致するパターン(II−1−(1)のパターン)のテストを実施する(ステップS103)。   On the other hand, when the physical capacity does not change (Yes at Step S102), the test data writing unit 122 updates (writes) the write destination data in the deduplicated state and matches the pattern (II-1- ( The test of (1) pattern) is performed (step S103).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から変化しないか否かを判定する(ステップS104)。物理容量が変化した場合(ステップS104:否定)、検証部124は、ステップS107に進む。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing does not change from the physical capacity in the initial state (Step S104). If the physical capacity has changed (Step S104: No), the verification unit 124 proceeds to Step S107.

一方、物理容量が無変化の場合(ステップS104:肯定)、試験データ書込部122は、更新書き込み、書き込み先のデータが重複排除状態でなく且つ既存のデータと一致しないパターン(II−2−(2)のパターン)のテストを実施する(ステップS105)。   On the other hand, when the physical capacity does not change (step S104: affirmative), the test data writing unit 122 determines that the update write / write destination data is not in the deduplication state and does not match the existing data (II-2-1-1). The test of (2) pattern is performed (step S105).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から変化しないか否かを判定する(ステップS106)。物理容量が変化した場合(ステップS106:否定)、検証部124は、ステップS107に進む。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing does not change from the physical capacity in the initial state (Step S106). When the physical capacity has changed (Step S106: No), the verification unit 124 proceeds to Step S107.

これに対して、物理容量が変化しない場合(ステップS106:肯定)、検証部124は、重複排除機能について物理容量が変化しない場合の動作が正常であると判定する。その後、判定処理は、ステップS108に進む。   On the other hand, when the physical capacity does not change (Yes at Step S106), the verification unit 124 determines that the operation of the deduplication function when the physical capacity does not change is normal. Thereafter, the determination process proceeds to Step S108.

物理容量が変化した場合(ステップS102:否定、又は、ステップS104:否定、又は、ステップS106:否定)、検証部124は、重複排除機能について物理容量が変化しない場合の動作の異常を検出する(ステップS107)。その後、判定処理は、ステップS108へ進む。   When the physical capacity has changed (Step S102: No, or Step S104: No, or Step S106: No), the verification unit 124 detects an abnormality in the operation of the deduplication function when the physical capacity does not change (Step S102: No). Step S107). Thereafter, the determination process proceeds to Step S108.

試験データ書込部122は、論理ボリューム251及び252に書き込んだ書き込みデータを削除する(ステップS108)。   The test data writing unit 122 deletes the write data written in the logical volumes 251 and 252 (Step S108).

次に、図13を参照して、物理容量が増加するパターンの判定処理の流れについて説明する。図13は、物理容量が増加するパターンの判定処理のフローチャートである。図13のフローチャートで表した処理は、図11におけるステップS5で実施される処理の一例にあたる。   Next, with reference to FIG. 13, a description will be given of a flow of a process of determining a pattern in which the physical capacity increases. FIG. 13 is a flowchart of a process of determining a pattern in which the physical capacity increases. The process represented by the flowchart in FIG. 13 is an example of the process performed in step S5 in FIG.

試験データ書込部122は、新規書込み且つ既存のデータと一致しないパターン(I−2のパターン)のテストを実施する(ステップS201)。   The test data writing unit 122 performs a test of a pattern (a pattern of I-2) that is newly written and does not match existing data (step S201).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から増加したか否かを判定する(ステップS202)。物理容量が変化しない又は減少した場合(ステップS202:否定)、検証部124は、ステップS205に進む。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing has increased from the physical capacity in the initial state (Step S202). When the physical capacity does not change or decreases (Step S202: No), the verification unit 124 proceeds to Step S205.

一方、物理容量が増加した場合(ステップS202:肯定)、試験データ書込部122は、更新書き込み、書き込み先のデータが重複排除状態、且つ、既存のデータと一致しないパターン(II−1−(2)のパターン)のテストを実施する(ステップS203)。   On the other hand, when the physical capacity has increased (Yes at Step S202), the test data writing unit 122 performs the update writing, the write destination data is in the deduplication state, and does not match the existing data (II-I- ( The test of (2) pattern) is performed (step S203).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から増加するか否かを判定する(ステップS204)。物理容量が変化しない又は減少した場合(ステップS204:否定)、検証部124は、ステップS205に進む。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing increases from the physical capacity in the initial state (Step S204). When the physical capacity does not change or decreases (Step S204: No), the verification unit 124 proceeds to Step S205.

これに対して、物理容量が増加した場合(ステップS204:肯定)、検証部124は、重複排除機能について物理容量が増加する場合の動作が正常であると判定する。その後、判定処理は、ステップS206に進む。   On the other hand, when the physical capacity increases (Yes at Step S204), the verification unit 124 determines that the operation of the deduplication function when the physical capacity increases is normal. Thereafter, the determination process proceeds to Step S206.

物理容量が変化しない又は減少した場合(ステップS202:否定、又は、ステップS204:否定)、検証部124は、重複排除機能について物理容量が増加する場合の動作の異常を検出する(ステップS205)。その後、判定処理は、ステップS206へ進む。   When the physical capacity does not change or decreases (Step S202: No, or Step S204: No), the verification unit 124 detects an abnormality in the operation of the deduplication function when the physical capacity increases (Step S205). Thereafter, the determination process proceeds to Step S206.

試験データ書込部122は、論理ボリューム251及び252に書き込んだ書き込みデータを削除する(ステップS206)。   The test data writing unit 122 deletes the write data written in the logical volumes 251 and 252 (Step S206).

次に、図14を参照して、物理容量が減少するパターンの判定処理の流れについて説明する。図14は、物理容量が減少するパターンの判定処理のフローチャートである。図14のフローチャートで表した処理は、図11におけるステップS6で実施される処理の一例にあたる。   Next, with reference to FIG. 14, a description will be given of the flow of a process of determining a pattern in which the physical capacity decreases. FIG. 14 is a flowchart of a process for determining a pattern in which the physical capacity decreases. The process represented by the flowchart in FIG. 14 is an example of the process performed in step S6 in FIG.

試験データ書込部122は、更新書き込み、書き込み先のデータが重複排除状態でなく、且つ、既存のデータと一致するパターン(II−2−(1)のパターン)のテストを実施する(ステップS301)。   The test data writing unit 122 performs a test of the pattern (the pattern of II-2- (1)) in which the data at the update writing and writing destination is not in the deduplication state and matches the existing data (step S301). ).

使用量取得部123は、初期状態の物理容量及び書き込み後の物理容量を取得する。そして、検証部124は、初期状態の物理容量及び書き込み後の物理容量を使用量取得部123から取得する。次に、検証部124は、書き込み後の物理容量が初期状態の物理容量から増加するか否かを判定する(ステップS302)。   The usage amount acquisition unit 123 acquires the physical capacity in the initial state and the physical capacity after writing. Then, the verification unit 124 obtains the physical capacity in the initial state and the physical capacity after writing from the usage obtaining unit 123. Next, the verification unit 124 determines whether the physical capacity after writing increases from the physical capacity in the initial state (Step S302).

物理容量が変化しない又は減少した場合(ステップS302:否定)、重複排除機能について物理容量が増加する場合の動作の異常を検出する(ステップS303)。その後、判定処理は、ステップS304へ進む。   When the physical capacity does not change or decreases (Step S302: No), an abnormality in the operation of the deduplication function when the physical capacity increases is detected (Step S303). Thereafter, the determination process proceeds to Step S304.

これに対して、物理容量が増加した場合(ステップS302:肯定)、検証部124は、重複排除機能について物理容量が増加する場合の動作が正常であると判定する。その後、判定処理は、ステップS304に進む。   On the other hand, when the physical capacity increases (Yes at Step S302), the verification unit 124 determines that the operation of the deduplication function when the physical capacity increases is normal. Thereafter, the determination process proceeds to Step S304.

試験データ書込部122は、論理ボリューム251及び252に書き込んだ書き込みデータを削除する(ステップS304)。   The test data writing unit 122 deletes the write data written in the logical volumes 251 and 252 (Step S304).

以上に説明したように、本実施例に係る動作試験装置は、予め決められたパターンにしたがって試験データを書き込み、書き込み前後の物理容量の変化により重複排除機能の動作が正常であるか否かを判定する。これにより、ストレージ装置に変更を加えることなくストレージ装置の重複排除機能の動作の検証が容易に行える。すなわち、実運用素想定した試験を実施する場合にも、人的ミスのリスクを減少させることができ、重複排除機能の動作試験の精度を向上させることができる。   As described above, the operation test apparatus according to the present embodiment writes test data in accordance with a predetermined pattern, and determines whether the operation of the deduplication function is normal based on a change in physical capacity before and after the writing. judge. As a result, the operation of the deduplication function of the storage device can be easily verified without changing the storage device. That is, even when performing a test assuming the actual operation, the risk of human error can be reduced, and the accuracy of the operation test of the deduplication function can be improved.

1 動作試験装置
2 ストレージ装置
3 管理端末装置
11 CPU
12 メモリ
13 通信インタフェース
14 HDD
21 データ通信インタフェース
22 管理インタフェース
23 コントローラ
24 メモリ
25 ディスクアレイ
101 管理制御部
102 試験実行部
111 操作処理部
112 通知部
113 テストスケジューラ
114 試験構成構築部
121 試験データ生成部
122 試験データ書込部
123 使用量取得部
124 検証部
241 ハッシュキャッシュ
242 ブロックマップ
251,252 論理ボリューム
REFERENCE SIGNS LIST 1 operation test device 2 storage device 3 management terminal device 11 CPU
12 memory 13 communication interface 14 HDD
Reference Signs List 21 data communication interface 22 management interface 23 controller 24 memory 25 disk array 101 management control unit 102 test execution unit 111 operation processing unit 112 notification unit 113 test scheduler 114 test configuration construction unit 121 test data generation unit 122 test data writing unit 123 use Volume acquisition unit 124 Verification unit 241 Hash cache 242 Block map 251, 252 Logical volume

Claims (6)

重複排除機能を備えたデータ処理装置に対して所定の試験データの書き込みを行わせるデータ書込部と、
前記所定の試験データの書き込み前後の、前記データ処理装置がデータを格納した記憶領域の使用量を取得する使用量取得部と、
前記所定の試験データの書き込み前後の前記使用量の変化を基に、重複排除機能の動作を検証する検証部と
を備えたことを特徴とする情報処理装置。
A data writing unit for writing predetermined test data to a data processing device having a deduplication function,
Before and after the writing of the predetermined test data, a usage amount acquisition unit that acquires the usage amount of a storage area in which the data processing device stores data,
A verification unit configured to verify operation of a deduplication function based on a change in the usage amount before and after the writing of the predetermined test data.
前記データ書込部は、前記使用量が不変な書き込みパターン、前記使用量が増加する書き込みパターン、及び前記使用量が減少する書き込みパターンのそれぞれのパターンの書き込みを行い、
前記使用量取得部は、それぞれのパターンについての前記使用量を取得し、
前記検証部は、それぞれのパターンについて検証を行う
ことを特徴とする請求項1に記載の情報処理装置。
The data writing unit writes the respective patterns of the write pattern in which the usage amount does not change, the write pattern in which the usage amount increases, and the write pattern in which the usage amount decreases,
The usage amount obtaining unit obtains the usage amount for each pattern,
The information processing apparatus according to claim 1, wherein the verification unit performs verification on each pattern.
前記データ書込部は、前記重複排除機能による重複排除単位の領域毎にデータを書き込むことを特徴とする請求項1又は2に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the data writing unit writes data for each area of a deduplication unit by the deduplication function. 重複排除機能を備えたデータ処理装置に対して所定の試験データの書き込みを行わせ、
前記所定の試験データの書き込み前後の、前記データ処理装置がデータを格納した記憶領域の使用量を取得し、
前記所定の試験データの書き込み前後の前記使用量の変化を基に、重複排除機能の動作を検証する
処理をコンピュータに実行させることを特徴とする情報処理プログラム。
Write predetermined test data to a data processing device having a deduplication function,
Before and after the writing of the predetermined test data, the data processing device obtains the amount of storage space used to store data,
An information processing program for causing a computer to execute a process of verifying an operation of a deduplication function based on a change in the usage amount before and after the writing of the predetermined test data.
重複排除機能を備えたデータ処理装置に対して所定の試験データの書き込みを行わせ、
前記所定の試験データの書き込み前後の、前記データ処理装置がデータを格納した記憶領域の使用量を取得し、
前記所定の試験データの書き込み前後の前記使用量の変化を基に、重複排除機能の動作を検証する
ことを特徴とする情報処理方法。
Write predetermined test data to a data processing device having a deduplication function,
Before and after the writing of the predetermined test data, the data processing device obtains the amount of storage space used to store data,
An information processing method comprising: verifying an operation of a deduplication function based on a change in the usage amount before and after the writing of the predetermined test data.
重複排除機能を備えたデータ処理装置及び前記データ処理装置の動作試験を行う情報処理装置を備えた情報処理システムであって、
前記データ処理装置は、
データを格納する記憶領域を有する格納部と、
前記データから生成されるハッシュデータを格納するハッシュキャッシュと、
特定データを受信し、前記ハッシュキャッシュに特定データから生成された特定ハッシュデータが存在するか否かを判定し、前記特定ハッシュデータが存在しない場合、前記特定ハッシュデータを前記ハッシュキャッシュに格納するとともに、前記特定データを前記格納部に格納させ、前記特定ハッシュデータが存在する場合、既存の前記特定データを示す情報を前記格納部に格納させる書込制御部とを備え、
前記情報処理装置は、
前記データ処理装置の前記書込制御部に対して所定の試験データの書き込みを行わせるデータ書込部と、
前記所定の試験データの書き込み前後の、前記格納部がデータを格納した前記記憶領域の使用量を取得する使用量取得部と、
前記所定の試験データの書き込み前後の前記使用量の変化を基に、前記重複排除機能の動作を検証する検証部と
を備えたことを特徴とする情報処理システム。
An information processing system including a data processing device having a deduplication function and an information processing device for performing an operation test of the data processing device,
The data processing device includes:
A storage unit having a storage area for storing data,
A hash cache for storing hash data generated from the data,
Receiving the specific data, determining whether or not the specific hash data generated from the specific data exists in the hash cache; and storing the specific hash data in the hash cache if the specific hash data does not exist. A write control unit for storing the specific data in the storage unit, and when the specific hash data is present, storing information indicating the existing specific data in the storage unit,
The information processing device,
A data writing unit for writing the predetermined test data to the writing control unit of the data processing device;
Before and after the writing of the predetermined test data, the storage unit obtains a usage amount of the storage area storing data,
An information processing system comprising: a verification unit configured to verify an operation of the deduplication function based on a change in the usage amount before and after the writing of the predetermined test data.
JP2018156829A 2018-08-24 2018-08-24 Information processor, information processing program, information processing method, and information processing system Pending JP2020030707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018156829A JP2020030707A (en) 2018-08-24 2018-08-24 Information processor, information processing program, information processing method, and information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018156829A JP2020030707A (en) 2018-08-24 2018-08-24 Information processor, information processing program, information processing method, and information processing system

Publications (1)

Publication Number Publication Date
JP2020030707A true JP2020030707A (en) 2020-02-27

Family

ID=69622597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018156829A Pending JP2020030707A (en) 2018-08-24 2018-08-24 Information processor, information processing program, information processing method, and information processing system

Country Status (1)

Country Link
JP (1) JP2020030707A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0635613A (en) * 1992-07-21 1994-02-10 Fujitsu Ltd Compression/expansion data testing device
JP2009080696A (en) * 2007-09-26 2009-04-16 Hitachi Ltd Storage sub-system and method for controlling the same
JP2012168906A (en) * 2011-02-17 2012-09-06 Nec Corp Virtual file system
US8983916B2 (en) * 2012-06-15 2015-03-17 Timothy STOAKES Configurable data generator
JP2017049806A (en) * 2015-09-02 2017-03-09 富士通株式会社 Storage control device and storage control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0635613A (en) * 1992-07-21 1994-02-10 Fujitsu Ltd Compression/expansion data testing device
JP2009080696A (en) * 2007-09-26 2009-04-16 Hitachi Ltd Storage sub-system and method for controlling the same
JP2012168906A (en) * 2011-02-17 2012-09-06 Nec Corp Virtual file system
US8983916B2 (en) * 2012-06-15 2015-03-17 Timothy STOAKES Configurable data generator
JP2017049806A (en) * 2015-09-02 2017-03-09 富士通株式会社 Storage control device and storage control program

Similar Documents

Publication Publication Date Title
US9910748B2 (en) Rebuilding process for storage array
US10324831B1 (en) Automated test coverage analysis, execution and reporting
JP5640845B2 (en) Storage system, storage control device, and storage control method
JP2014501997A (en) Storage location selection for data storage based on storage location attributes and data usage statistics
CN111124262B (en) Method, apparatus and computer readable medium for managing Redundant Array of Independent Disks (RAID)
US20120089867A1 (en) Redundant array of independent disk (raid) storage recovery
WO2019210844A1 (en) Anomaly detection method and apparatus for storage device, and distributed storage system
US20140164845A1 (en) Host computer and method for testing sas expanders
KR101337216B1 (en) Computer system and siglature verification server
CN114924923A (en) Method, system, equipment and medium for verifying correctness of hard disk write-in point
JP2015138372A (en) Write inspection program, information processing apparatus, and method for write inspection
CN103824600B (en) Method for testing memory and device
JP6052288B2 (en) Disk array control device, disk array control method, and disk array control program
US8812798B2 (en) Indication of a destructive write via a notification from a disk drive that emulates blocks of a first block size within blocks of a second block size
JP2020030707A (en) Information processor, information processing program, information processing method, and information processing system
US10956038B2 (en) Non-volatile memory drive partitions within microcontrollers
JP2021009561A (en) Data processing system, data processing device, and data processing program
WO2014030249A1 (en) Verification system and verification method for i/o performance of volume
JP6556980B2 (en) Storage control device, storage control method, and storage control program
JP6175566B2 (en) Storage system and storage control method
US20100251013A1 (en) Method for processing bad block in redundant array of independent disks
JP2014041524A (en) Semiconductor memory device, storage device, semiconductor memory device control method, storage control method, and computer program
JP3766079B2 (en) Disk array device and program
JP5146357B2 (en) DATA DIAGNOSIS DEVICE, DATA DIAGNOSIS SYSTEM, DATA DIAGNOSIS METHOD, AND DATA DIAGNOSIS PROGRAM
JP6805838B2 (en) Disk management system, disk management method, and disk management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220906