JP5601480B2 - Storage device and data storage device replacement method for storage device - Google Patents

Storage device and data storage device replacement method for storage device Download PDF

Info

Publication number
JP5601480B2
JP5601480B2 JP2012074845A JP2012074845A JP5601480B2 JP 5601480 B2 JP5601480 B2 JP 5601480B2 JP 2012074845 A JP2012074845 A JP 2012074845A JP 2012074845 A JP2012074845 A JP 2012074845A JP 5601480 B2 JP5601480 B2 JP 5601480B2
Authority
JP
Japan
Prior art keywords
data storage
storage device
data
threshold
spare
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
JP2012074845A
Other languages
Japanese (ja)
Other versions
JP2013206151A (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 JP2012074845A priority Critical patent/JP5601480B2/en
Publication of JP2013206151A publication Critical patent/JP2013206151A/en
Application granted granted Critical
Publication of JP5601480B2 publication Critical patent/JP5601480B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System (AREA)

Description

本発明は、ストレージ装置及びストレージ装置のデータ保存装置交換方法に関する。   The present invention relates to a storage device and a data storage device replacement method for the storage device.

ストレージ装置において、複数のデータ保存装置を用いてRAIDを構成し、保存データの冗長性を維持するものが知られている。データ保存装置としては、HDD(Hard Disk Drive)が用いられるものが多いが、近年、HDDに代えてSSD(Solid State Drive)を用いるものが提案されている。   Among storage apparatuses, a storage apparatus that configures RAID using a plurality of data storage apparatuses and maintains the redundancy of stored data is known. As a data storage device, an HDD (Hard Disk Drive) is often used, but recently, a device using an SSD (Solid State Drive) instead of the HDD has been proposed.

SSDは、HDDのように内部に動作する部品を有していないため、ランダムアクセスが高速であるという特徴がある。したがって、SSDをデータ保存装置として用いることにより、ストレージ装置のデータアクセス速度がボトルネックとなる問題を解決することができる。   The SSD has a feature that random access is fast because it does not have any components that operate inside like an HDD. Therefore, the problem that the data access speed of the storage apparatus becomes a bottleneck can be solved by using the SSD as the data storage apparatus.

ところが、SSDはデータの書き込み回数に制限があるため、データの書き込み回数が制限回数に到達してしまうと、データの書き込みができなくなり、RAIDの冗長性が維持できなくなるという問題が生じる。   However, since SSD has a limit on the number of times data can be written, if the number of data writes reaches the limit number, data cannot be written, and RAID redundancy cannot be maintained.

このような問題を解決するために、データの消去回数の多い記憶デバイスをスペア記憶デバイスと交換することによって、記憶デバイスの書き込み回数を平準化し、ストレージシステム全体の長寿命化を図ることができる技術が提案されている(下記、特許文献1参照)。   In order to solve such a problem, a storage device with a large number of data erasures can be replaced with a spare storage device, so that the number of write operations of the storage device can be leveled and the life of the entire storage system can be extended. Has been proposed (see Patent Document 1 below).

この技術は、より詳細には、データを格納する複数の記憶デバイスを備えるストレージシステムが以下のように構成されている。すなわち、複数の記憶デバイスには予備の記憶デバイスが含まれ、各記憶デバイスの識別子及び各記憶デバイスに格納されたデータが消去されたデータ消去回数を含む記憶デバイス構成情報が当該ストレージシステムに記憶される。そして、ストレージシステムは、データ消去回数が所定のしきい値を超えた場合には、データ消去回数が所定のしきい値を超えた記憶デバイスに格納されたデータをスペアの記憶デバイスに複製し、データが複製された予備の記憶デバイスの識別子にデータ消去回数が所定のしきい値を超えた記憶デバイスの識別子を割り当てる。   More specifically, in this technique, a storage system including a plurality of storage devices for storing data is configured as follows. That is, a plurality of storage devices include spare storage devices, and storage device configuration information including the identifier of each storage device and the number of times data is erased from which data stored in each storage device is erased is stored in the storage system. The When the number of data erasures exceeds a predetermined threshold, the storage system copies the data stored in the storage device whose number of data erasures exceeds the predetermined threshold to the spare storage device, The identifier of the storage device in which the number of times of data erasure exceeds a predetermined threshold is assigned to the identifier of the spare storage device to which the data has been copied.

特開2010−55247号公報JP 2010-55247 A

上記特許文献1に記載の技術を用いると、記憶デバイスの書き込み回数の平準化を図ることができるが、ストレージシステムにおいて、RAIDが例えばSSDを用いて構成されている場合、データ書き込み時に、複数のSSDが同時に書き込み制限回数に到達する可能性がある。この対策として、SSDが書き込み制限回数前の所定の書き込み回数に到達した場合、当該SSDを交換するように保守通報を保守員に対して出力するように構成することが考えられる。   When the technology described in Patent Document 1 is used, the number of write operations of the storage device can be leveled. However, in a storage system, when a RAID is configured using, for example, SSD, a plurality of data is written at the time of data write. There is a possibility that the SSD reaches the write limit number at the same time. As a countermeasure against this, when the SSD reaches a predetermined number of times of writing before the number of times of writing limit, it may be configured to output a maintenance report to maintenance personnel so as to replace the SSD.

しかし、保守通報を受け取った後、保守員がSSDを交換する前に当該SSDが書き込み制限回数に到達することも可能性として考えられる。また、当該SSDが保守員により交換される場合でも、SSDは復旧動作が完了するまでデータの復元処理が行なわれるが、この復元処理が行なわれている間は冗長性が失われているため、この復元処理中にRAIDを構成する他のSSDに障害が発生した場合、保存データの冗長性を維持できなくなってしまう。   However, after receiving the maintenance notification, it may be possible that the SSD reaches the write limit number before the maintenance staff replaces the SSD. Even when the SSD is replaced by maintenance personnel, the SSD is subjected to data restoration processing until the restoration operation is completed, but redundancy is lost during the restoration processing. If a failure occurs in another SSD constituting the RAID during the restoration process, the redundancy of the stored data cannot be maintained.

本発明は、上記事情に鑑みてなされたものであり、その目的は、複数のデータ保存装置によりRAIDが構成されている場合、これら複数のデータ保存装置が同時に書き込み制限回数に達することを防止し、複数のデータ保存装置が同時に書き込み制限回数に到達して冗長性を維持することができなくなる事態を防止することができるディスクアレイ装置及びディスクアレイ装置のデータ保存装置交換方法を提供することにある。   The present invention has been made in view of the above circumstances, and its object is to prevent a plurality of data storage devices from simultaneously reaching the write limit number when a plurality of data storage devices constitute a RAID. An object of the present invention is to provide a disk array device and a data storage device replacement method for the disk array device that can prevent a situation in which a plurality of data storage devices reach the write limit count at the same time and cannot maintain redundancy. .

本発明は、データを保存するデータ保存装置を複数用いてデータの冗長性を維持するストレージ装置であって、スペア用のデータ保存装置と、前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、を備え、前記第1の管理部は、データの書き込みを行なう場合、前記複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断する第1の判断手段と、前記第1の判断手段で前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断する第2の判断手段と、前記第2の判断手段でデータ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択する第1の選択手段と、当該第1の選択手段で選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込む第1のデータ書込手段と、前記第1のデータ書込手段でデータが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成する第1の再構成手段と、を備えることを特徴とする。   The present invention is a storage device that maintains data redundancy by using a plurality of data storage devices that store data, and includes a spare data storage device and a first number that defines the number of writes to the data storage device A first threshold value storage unit that stores a second threshold value that defines a threshold value and the number of writes that is greater than the first threshold value and less than the write limit number of the data storage device; A write number storage unit that stores the number of data writes to the spare data storage device, and a first management unit that manages the data storage device and the spare data storage device. When writing data, the management unit determines whether or not the number of writes of the plurality of data storage devices has exceeded the first threshold. A first determination unit configured to determine based on the number of times of writing stored in the number storage unit, and the data storage device when the first determination unit determines that there is a data storage device exceeding the first threshold value A second determination unit that determines whether or not there are a plurality of data storage devices, and a second data storage device that selects one data storage device from the plurality of data storage devices when the second determination unit determines that there are a plurality of data storage devices. 1 selection means, first data writing means for writing data stored in the data storage device selected by the first selection means to the spare data storage device, and the first data writing means And a first reconfiguration unit configured to reconfigure the configuration for maintaining the redundancy using a spare data storage device in which data is written.

他の本発明は、データを保存するデータ保存装置を複数用いてデータの冗長性を維持するストレージ装置のデータ保存装置交換方法であって、前記ストレージ装置は、スペア用のデータ保存装置と、前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、を備えるものであり、前記データ保存装置交換方法は、データの書き込みを行なう場合、複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断するステップと、前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断するステップと、前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択するステップと、当該選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込むステップと、前記データが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成するステップと、を有することを特徴とする。   Another aspect of the present invention is a data storage device replacement method for a storage device that uses a plurality of data storage devices for storing data to maintain data redundancy, the storage device comprising a spare data storage device, A first threshold that defines the number of writes to the data storage device and a second threshold that defines the number of writes that is greater than the first threshold and less than the write limit of the data storage device are stored. Managing a first threshold storage unit, a write count storage unit for storing the number of data writes to each data storage device and the spare data storage device, and the data storage device and the spare data storage device A first management unit, wherein the data storage device exchanging method includes a plurality of data when data is written. When there is a step of determining whether or not the number of writes of the storage device exceeds the first threshold based on the number of writes stored in the write number storage unit, and a data storage device that exceeds the first threshold If so, determining whether there are a plurality of data storage devices; if determining that there are a plurality of data storage devices, selecting one data storage device from the plurality of data storage devices; The step of writing the data stored in the selected data storage device to the spare data storage device and the configuration for maintaining the redundancy using the spare data storage device to which the data is written are reconfigured. And a step.

本発明によると、複数のデータ保存装置によりRAIDが構成されている場合、これら複数のデータ保存装置が同時に書き込み制限回数に達することを防止し、複数のデータ保存装置が同時に書き込み制限回数に到達して冗長性を維持することができなくなる事態を防止することができるディスクアレイ装置及びディスクアレイ装置のデータ保存装置交換方法を提供できる。   According to the present invention, when a RAID is configured by a plurality of data storage devices, the plurality of data storage devices are prevented from reaching the write limit number at the same time, and the plurality of data storage devices reach the write limit number at the same time. Thus, it is possible to provide a disk array device and a data storage device replacement method for the disk array device that can prevent a situation where redundancy cannot be maintained.

本発明の第1の実施の形態に係るディスクアレイ装置の構成を示す図である。It is a figure which shows the structure of the disk array apparatus based on the 1st Embodiment of this invention. 同実施の形態に係るSSDデータコピー閾値テーブルの構成を説明するための図である。It is a figure for demonstrating the structure of the SSD data copy threshold value table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの構成を説明するための図である。It is a figure for demonstrating the structure of the SSD write frequency table based on the embodiment. 同実施の形態に係るSSDの自動交換処理を示すフローチャートである。It is a flowchart which shows the automatic exchange process of SSD which concerns on the embodiment. 同実施の形態に係るSSDデータコピー閾値テーブルに設定される閾値の一例を示す図である。It is a figure which shows an example of the threshold value set to the SSD data copy threshold value table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment. 本発明の第2の実施の形態に係るディスクアレイ装置の構成を示す図である。It is a figure which shows the structure of the disk array apparatus based on the 2nd Embodiment of this invention. 同実施の形態に係るSSDデータコピー閾値テーブルの構成を説明するための図である。It is a figure for demonstrating the structure of the SSD data copy threshold value table which concerns on the embodiment. 同実施の形態に係るSSDの交換処理を示すフローチャートである。It is a flowchart which shows the exchange process of SSD which concerns on the embodiment. 同実施の形態に係るSSDデータコピー閾値テーブルに設定される閾値の一例を示す図である。It is a figure which shows an example of the threshold value set to the SSD data copy threshold value table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment. 同実施の形態に係るSSD書き込み回数テーブルの一例を示す図である。It is a figure which shows an example of the SSD write frequency table which concerns on the embodiment.

以下、図面を参照しながら本発明の各実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(第1の実施の形態)
図1は、ストレージ装置であるディスクアレイ装置の構成を示す図である。同図に示すように、ディスクアレイ装置1は、コントローラ2と、1台または複数台のデータ保存装置であるSSD(Solid State Disk)40及び、1台または複数台のスペア用のデータ保存装置(SSD)であるスペアディスク50からなるディスク部3を有する。
(First embodiment)
FIG. 1 is a diagram showing a configuration of a disk array device that is a storage device. As shown in the figure, the disk array device 1 includes a controller 2, an SSD (Solid State Disk) 40 that is one or more data storage devices, and one or more spare data storage devices ( The disk unit 3 is composed of a spare disk 50 which is an SSD).

コントローラ2は、管理ソフトウェアが搭載されている1台もしくは複数台のホスト装置4と接続されている。コントローラ2は、ホスト装置4とのデータの送受信を行うホスト制御部5と、ディスク部3とそれぞれ接続され、SSD40へのデータの読み書きを行うディスク制御部6と、第1の管理部である書き込み回数監視部7と、データコピー指示部8と、第1の閾値記憶部であるSSDデータコピー閾値テーブル10と、書き込み回数記憶部であるSSD書き込み回数テーブル20とを有している。   The controller 2 is connected to one or a plurality of host devices 4 on which management software is installed. The controller 2 is connected to the host controller 5 that transmits / receives data to / from the host device 4, the disk controller 6 that is connected to the disk unit 3 and reads / writes data from / to the SSD 40, and the write that is the first management unit It includes a number monitoring unit 7, a data copy instruction unit 8, an SSD data copy threshold table 10 serving as a first threshold storage unit, and an SSD writing number table 20 serving as a writing number storage unit.

ディスク部40には、複数台のSSD40で構成されるRAID構成60が複数構成されている。   The disk unit 40 includes a plurality of RAID configurations 60 each including a plurality of SSDs 40.

図2は、SSDデータコピー閾値テーブル10の構成を説明するための図である。同図に示すように、SSDデータコピー閾値テーブル10は、後述するSSD40のデータコピーを実行するか否かを判断するための閾値A11及び閾値B12を格納する。閾値A11は所定の書き込み回数を規定しており、また、閾値B12は閾値A11大きい回数を規定する閾値であって、SSD40の書き込み制限回数より小さい書き込み回数を規定する。閾値A11及び閾値B12は、ホスト制御部5を介して、ホスト装置4に搭載されている管理ソフトウェアから変更することができるようになっている。   FIG. 2 is a diagram for explaining the configuration of the SSD data copy threshold table 10. As shown in the figure, the SSD data copy threshold value table 10 stores a threshold value A11 and a threshold value B12 for determining whether or not to execute data copy of the SSD 40 described later. The threshold A11 defines a predetermined number of writes, and the threshold B12 defines a number of times larger than the threshold A11, and defines a number of writes smaller than the write limit number of the SSD 40. The threshold value A11 and the threshold value B12 can be changed from the management software installed in the host device 4 via the host control unit 5.

図3は、SSD書き込み回数テーブル20の構成を説明するための図である。SSD書き込み回数テーブル20は、SSD40を識別するSSD番号21、RAID構成60であるかスペアディスク50であるかを識別するRAID構成番号22、及び書き込み回数23を対応づけて格納する。   FIG. 3 is a diagram for explaining the configuration of the SSD write count table 20. The SSD write count table 20 stores an SSD number 21 for identifying the SSD 40, a RAID configuration number 22 for identifying whether the configuration is the RAID configuration 60 or the spare disk 50, and the write count 23 in association with each other.

書き込み回数監視部7は、SSD40及びスペアディスク50を管理する管理である。書き込み回数監視部7は、SSD書き込み回数テーブル20に格納される各SSD40の書き込み回数に基づいて、書き込み回数が多くなったSSD40をスペアディスク50に交換する処理を行なう。この処理の詳細は、図9等を参照して後述する。   The write count monitoring unit 7 is a management for managing the SSD 40 and the spare disk 50. Based on the number of writes of each SSD 40 stored in the SSD write count table 20, the write count monitoring unit 7 performs a process of replacing the SSD 40 with the increased number of writes with a spare disk 50. Details of this processing will be described later with reference to FIG.

データコピー指示部8は、書き込み回数監視部7からSSD40のデータをスペアディスク50にコピーする指示を受けた場合、当該SSD40から当該スペアディスク50へデータをコピーするようにディスク制御部6へ指示をする。   When the data copy instruction unit 8 receives an instruction from the write count monitoring unit 7 to copy the data of the SSD 40 to the spare disk 50, the data copy instruction unit 8 instructs the disk control unit 6 to copy the data from the SSD 40 to the spare disk 50. To do.

ディスク制御部6は、ディスク部3内の各SSD40への書き込み処理及び各SSD40からのデータの読み出し処理等を制御する。   The disk control unit 6 controls a writing process to each SSD 40 in the disk unit 3 and a data reading process from each SSD 40.

以上のようにディスクアレイ装置1の構成を述べたが、既述の書き込み回数監視部7、データコピー指示部8、SSDデータコピー閾値テーブル10及びSSD書き込み回数テーブル20を除く他のディスクアレイ装置1の構成は、従来よりあるディスクアレイ装置の構成と実質的に同様であり、また本発明とは直接関係しないので、その詳細な構成及び説明は省略する。   Although the configuration of the disk array device 1 has been described above, the other disk array devices 1 except for the above-described write number monitoring unit 7, data copy instruction unit 8, SSD data copy threshold value table 10, and SSD write number table 20. The configuration is substantially the same as the configuration of a conventional disk array device, and is not directly related to the present invention, so the detailed configuration and description thereof will be omitted.

次に、ディスクアレイ装置1のSSD40をスペアディスク50に交換する処理について図4に示すフローチャートと、図5のSSDデータコピー閾値テーブル10、及び図6,図7,図8のSSD書き込み回数テーブル20を使用して説明する。   Next, the processing shown in FIG. 4 for the process of replacing the SSD 40 of the disk array device 1 with the spare disk 50, the SSD data copy threshold table 10 of FIG. 5, and the SSD write count table 20 of FIGS. To explain.

なお、本第1の実施の形態においては、SSD40の書き込み回数制限を100回とし、スペアディスク50である場合は、書き込み回数テーブル20のRAID構成番号22として“FF”が格納されることとし、後述するデータコピー処理を実施した場合、書き込み回数23が5回増加することとする。   In the first embodiment, the write count limit of the SSD 40 is set to 100, and in the case of the spare disk 50, “FF” is stored as the RAID configuration number 22 of the write count table 20. When a data copy process described later is performed, the write count 23 is increased by 5 times.

図4に示すように、ホスト装置4からSSD40へのデータ書き込み処理が実行された場合、コントローラ2は、SSD書き込み回数テーブル20の書き込み対象であるSSD40の書き込み回数を増加させる。   As shown in FIG. 4, when the data writing process from the host device 4 to the SSD 40 is executed, the controller 2 increases the number of writes of the SSD 40 that is a write target in the SSD write number table 20.

次に、書き込み回数監視部7は、書き込み回数テーブル20からRAID構成番号を1つ選択する(S100)。   Next, the write count monitoring unit 7 selects one RAID configuration number from the write count table 20 (S100).

次に、書き込み回数監視部7は、RAID構成番号の選択が終了か否かを判断する(S101)。RAID構成番号の選択が終了したと判断した場合(S101:NO)、言い換えれば、全てのRAID構成番号について選択して後述する処理が終了済みの場合、書き込み回数監視部7はこの処理を終了する。   Next, the write count monitoring unit 7 determines whether or not the selection of the RAID configuration number is finished (S101). When it is determined that the selection of the RAID configuration number has been completed (S101: NO), in other words, when all the RAID configuration numbers have been selected and the processing described below has been completed, the write count monitoring unit 7 ends this processing. .

一方、RAID構成番号を1つ選択した場合(S101:YES)、書き込み回数監視部7は、当該選択したRAID構成番号と同一のRAID構成番号を有するSSD40について、それぞれ書き込み回数23をSSD書き込み回数テーブル20か抽出する(S102)。   On the other hand, when one RAID configuration number is selected (S101: YES), the write count monitoring unit 7 sets the write count 23 for the SSD 40 having the same RAID configuration number as the selected RAID configuration number. 20 are extracted (S102).

例えば、図6に示す例においては、RAID構成番号として“00”が選択された場合、書き込み回数監視部7は、RAID構成番号“00”と同一のRAID構成番号を有するSSD40、すなわち、SSD番号00,SSD番号01,SSD番号02”の書き込み回数“85”,“82”,“50”をそれぞれ抽出する。   For example, in the example illustrated in FIG. 6, when “00” is selected as the RAID configuration number, the write count monitoring unit 7 has the SSD 40 having the same RAID configuration number as the RAID configuration number “00”, that is, the SSD number. The write counts “85”, “82”, and “50” of 00, SSD number 01, SSD number 02 are extracted.

次に、書き込み回数監視部7は、抽出した書き込み回数23のうち、SSDデータコピー閾値テーブル10に格納される閾値A11を超える書き込み回数のSSD40があるか否かを判断する(S103:第1の判断手段)。   Next, the write count monitoring unit 7 determines whether or not there is an SSD 40 whose write count exceeds the threshold A11 stored in the SSD data copy threshold table 10 among the extracted write counts 23 (S103: first) Judgment means).

書き込み回数が閾値A11を超えるSSD40がないと判断した場合(S103:NO)、書き込み回数監視部7は、チェックするRAID構成番号を次の番号にし(S104)、既述のステップS100の処理へ進み、既述の処理を繰り返す。   When it is determined that there is no SSD 40 whose write count exceeds the threshold A11 (S103: NO), the write count monitoring unit 7 sets the RAID configuration number to be checked to the next number (S104), and proceeds to the process of step S100 described above. Repeat the process described above.

一方、書き込み回数が閾値A11を超えるSSD40があると判断した場合(S103:YES)、書き込み回数監視部7は、更に、書き込み回数が閾値A11を超えるSSD40が複数台あったか否かを判断する(S105:第2の判断手段)。   On the other hand, when it is determined that there is an SSD 40 whose write count exceeds the threshold A11 (S103: YES), the write count monitoring unit 7 further determines whether there are a plurality of SSDs 40 whose write count exceeds the threshold A11 (S105). : Second determination means).

書き込み回数が閾値A11を超えたSSD40が複数台あったと判断した場合(S105:YES)、書き込み回数監視部7は、抽出した書き込み回数のうち、最も書き込み回数が多いSSD40のSSD番号を選択する(S106:第1の選択手段)。   When it is determined that there are a plurality of SSDs 40 whose write count exceeds the threshold A11 (S105: YES), the write count monitoring unit 7 selects the SSD number of the SSD 40 with the largest write count among the extracted write counts ( S106: First selecting means).

例えば、図6に示す例においては、SSD番号“00“,SSD番号”01“,SSD番号”02“の書き込み回数として、“85”,“82”,“50”が抽出されるため、これらと図5に示す閾値A11“80”とが比較される。この例においては、書き込み回数“85”,“82”の2つが閾値A11に格納される書き込み回数“80”を超えるため、複数台あると判断される。そして、最も書き込み回数が多いSSD40のSSD番号として、書き込み回数が“85”であるSSD番号“01”が選択される。   For example, in the example shown in FIG. 6, “85”, “82”, and “50” are extracted as the number of times of writing of the SSD number “00”, SSD number “01”, SSD number “02”. And the threshold value A11 “80” shown in FIG. In this example, since the number of times of writing “85” and “82” exceeds the number of times of writing “80” stored in the threshold A11, it is determined that there are a plurality of devices. Then, the SSD number “01” having the write count “85” is selected as the SSD number of the SSD 40 having the highest write count.

また、書き込み回数が閾値A11を超えるSSD40が複数台ないと判断した場合(S105:NO)、書き込み回数監視部7は、抽出した書き込み回数のうち、SSDデータコピー閾値テーブル10に格納される閾値B12を超える書き込み回数となるSSD40があるか否かを判断する(S107)。   When it is determined that there are not a plurality of SSDs 40 whose write count exceeds the threshold A11 (S105: NO), the write count monitoring unit 7 stores the threshold B12 stored in the SSD data copy threshold table 10 among the extracted write counts. It is determined whether or not there is an SSD 40 having a write count exceeding (S107).

書き込み回数が閾値B12を超えるSSD40がないと判断した場合(S107:NO)、書き込み回数監視部7は、既述のステップS103で閾値A11を超えるSSD40がなかったと判断した場合(S103:NO)と同様に、ステップS104へ進み、チェックするRAID構成番号を次の番号にし(S104)、既述のステップS100の処理へ進み、既述の処理を繰り返す。   When it is determined that there is no SSD 40 whose write count exceeds the threshold B12 (S107: NO), the write count monitoring unit 7 determines that there is no SSD 40 that exceeds the threshold A11 at the above-described step S103 (S103: NO). Similarly, the process proceeds to step S104, the RAID configuration number to be checked is set to the next number (S104), the process proceeds to the process of step S100 described above, and the process described above is repeated.

書き込み回数が閾値B12を超えるSSD40があると判断した場合(S107:YES)、書き込み回数監視部7は、該当するSSD40のSSD番号を選択する(S108)。   When it is determined that there is an SSD 40 whose write count exceeds the threshold B12 (S107: YES), the write count monitoring unit 7 selects the SSD number of the corresponding SSD 40 (S108).

既述のステップS106の処理においてSSD40のうち最も書き込み回数が多いSSD40のSSD番号を選択した場合、又は既述のステップS108の処理において該当するSSD40のSSD番号を選択した場合、書き込み回数監視部7は、書き込み回数テーブル20からスペアディスク50に設定されているSSD(RAID構成番号が“FF”となっている。)のうち、最も書き込み回数が少ないスペアディスク50を選択する(S109)。   When the SSD number of the SSD 40 with the largest number of writes is selected among the SSDs 40 in the process of step S106 described above, or when the SSD number of the corresponding SSD 40 is selected in the process of step S108 described above, the write number monitoring unit 7 Selects the spare disk 50 with the smallest number of writes from among the SSDs (RAID configuration number “FF”) set in the spare disk 50 from the number-of-writes table 20 (S109).

例えば、図6に示す例においては、SSD番号“0D”,SSD番号“0E”,SSD番号“0F”はRAID構成番号として“FF”が設定されているため、これらが選択されるスペアディスク50の候補となり、これら候補となったスペアディスク50の書き込み回数がそれぞれ“00”,“10”,“15”であるため、これらのうち最も書き込み回数が少ないSSD番号“0D”がスペアディスク50として選択される。   For example, in the example shown in FIG. 6, since the SSD number “0D”, SSD number “0E”, and SSD number “0F” are set as “FF” as the RAID configuration number, the spare disk 50 from which these are selected. Since the number of writes of the candidate spare disk 50 is “00”, “10”, and “15”, respectively, the SSD number “0D” with the smallest number of writes is the spare disk 50. Selected.

次に、ステップS106又はS108において選択されたSSD40からステップS109において選択したスペアディスク50へのデータコピーが行なわれる(S110:第1のデータ書込手段)。   Next, data is copied from the SSD 40 selected in step S106 or S108 to the spare disk 50 selected in step S109 (S110: first data writing means).

より詳細には、書き込み回数監視部7は、選択されたSSD40から選択されたスペアディスク50へデータコピーを行なう旨をデータコピー指示部8に通知する。当該通知を受け取ったデータコピー指示部8は、上記選択されたSSD40のデータを、上記選択されたスペアディスク50にコピーするようディスク制御部6に指示する。当該指示を受け取ったディスク制御部6はデータコピーを実行する。データコピー完了後は、当該データコピーの完了を示す旨がディスク制御部6からデータコピー指示部8を介して書き込み回数監視部7に送信される。なお、この際、当該スペアディスク50の書き込み回数は、“5”加算される。   More specifically, the write count monitoring unit 7 notifies the data copy instructing unit 8 that data copy is performed from the selected SSD 40 to the selected spare disk 50. Receiving the notification, the data copy instruction unit 8 instructs the disk control unit 6 to copy the data of the selected SSD 40 to the selected spare disk 50. Receiving the instruction, the disk controller 6 executes data copying. After the data copy is completed, information indicating the completion of the data copy is transmitted from the disk control unit 6 to the write count monitoring unit 7 via the data copy instruction unit 8. At this time, “5” is added to the write count of the spare disk 50.

次に、書き込み回数監視部7は、データコピーが完了した後、コピー元のSSD40をスペアディスクに設定する(S111:第1の再構成手段)。より詳細には、書き込み回数監視部7は、コピー元のSSD40のRAID構成番号を“FF”に設定し、上記選択されたスペアディスク50のRAID構成番号をコピー元のSSDに設定されていたRAID構成番号に設定する。これによりRAID構成60の再構成が実行される。   Next, after the data copy is completed, the write count monitoring unit 7 sets the copy source SSD 40 as a spare disk (S111: first reconfiguration unit). More specifically, the write count monitoring unit 7 sets the RAID configuration number of the copy source SSD 40 to “FF”, and the RAID configuration number of the selected spare disk 50 is set to the RAID of the copy source SSD. Set to the configuration number. As a result, the RAID configuration 60 is reconfigured.

例えば、コピー元のSSD番号“00”のRAID構成番号22が図6に示すように、“00”と設定されていたものが、図7に示すように、“FF”に設定される。また、選択されたスペアディスク50のSSD番号“0D”のRAID構成番号22が図6に示すように、“FF”と設定されていたものが、図8に示すように、“00”に設定される。   For example, the RAID configuration number 22 of the copy source SSD number “00” set as “00” as shown in FIG. 6 is set as “FF” as shown in FIG. Further, the RAID configuration number 22 of the SSD number “0D” of the selected spare disk 50 is set as “FF” as shown in FIG. 6 but is set to “00” as shown in FIG. Is done.

次に、書き込み回数監視部7は、データコピーを行なうSSD40が残っているか否かを判断する(S112)。   Next, the write count monitoring unit 7 determines whether or not there is an SSD 40 to perform data copy (S112).

データコピーを行なうSSD40が残っていると判断した場合(S112:YES)、言い換えれば、既述のステップS105の処理で閾値A11を超えると判断されたSSD40が複数台あった場合において、全てのSSD40についてデータコピー処理を行なっていない場合、書き込み回数監視部7は、既述のステップS106へ進み、既述の処理を繰り返す。   When it is determined that there are SSDs 40 to perform data copy (S112: YES), in other words, when there are a plurality of SSDs 40 that are determined to exceed the threshold A11 in the process of step S105, all the SSDs 40 are stored. If the data copy process has not been performed, the write count monitoring unit 7 proceeds to step S106 described above and repeats the process described above.

例えば、図6に示す例において、SSD番号“00”のSSD40のデータをSSD番号“0D”のスペアディスク50にコピーする処理が完了しても、まだ、SSD番号“01”のSSD40の書き込み回数が閾値A11を超えているため、当該SSD番号“01”のSSD40のデータをSSD番号“0D”の次に書き込み回数の少なSSD番号“0E”のスペアディスク50にコピーする処理等が行なわれ、その後、RAID構成60を再構成する処理が行なわれる。   For example, in the example illustrated in FIG. 6, even when the process of copying the data of the SSD 40 with the SSD number “00” to the spare disk 50 with the SSD number “0D” is completed, the number of times the SSD 40 with the SSD number “01” is still written Since the value exceeds the threshold value A11, the process of copying the data of the SSD 40 with the SSD number “01” to the spare disk 50 with the SSD number “0E” with the smallest number of writes after the SSD number “0D” is performed. Thereafter, processing for reconfiguring the RAID configuration 60 is performed.

一方、データコピーを行なうSSD40が残っていないと判断した場合(S112:NO)、書き込み回数監視部7は、既述のステップS104へ進み、チェックするRAID構成番号を次の番号にし(S104)、既述の処理を繰り返す。   On the other hand, when it is determined that there is no SSD 40 to perform data copy (S112: NO), the write count monitoring unit 7 proceeds to the above-described step S104 and sets the RAID configuration number to be checked to the next number (S104). Repeat the process described above.

以上の処理を行なうことにより、ディスクアレイ装置1は、データの書き込みを行なう場合、SSD書き込み回数テーブル20を利用して各SSD40の書き込み回数を調査した結果、RAID構成60内に書き込み回数が閾値A11を超えるSSD40が1つのみの場合、更に、閾値B12を超えるか否かを判断し、当該SSD40が閾値B12を超えている場合、当該SSD40を最も書き込み回数の少ないスペアディスク50に自動的に交換することができる。   By performing the above processing, the disk array device 1 investigates the number of writes of each SSD 40 using the SSD write number table 20 when writing data, and as a result, the number of writes within the RAID configuration 60 is the threshold value A11. If only one SSD 40 exceeds the threshold B12, it is further determined whether or not the threshold B12 is exceeded. If the SSD 40 exceeds the threshold B12, the SSD 40 is automatically replaced with a spare disk 50 with the smallest number of writes. can do.

また、ディスクアレイ装置1は、SSD40の書き込み回数を調査した結果、閾値A11を超えるSSD40が複数台ある場合、当該複数台のSSD40を順次書き込み回数の少ないスペアディスク50に自動的に交換することができる。   Further, as a result of investigating the number of writes of the SSD 40, the disk array device 1 can automatically replace the plurality of SSDs 40 with a spare disk 50 having a smaller number of writes sequentially when there are a plurality of SSDs 40 exceeding the threshold A11. it can.

したがって、ディスクアレイ装置1によると、RAID構成60に含まれるSSD40の書き込み回数が制限回数に達する前にスペアディスク50にデータコピーをし、当該スペアディスク50を書き込み回数が書き込み制限回数に近づいたSSD40と自動的に交換することにより、RAID構成60の冗長性を維持することができる。   Therefore, according to the disk array device 1, before the number of writes of the SSD 40 included in the RAID configuration 60 reaches the limit number, data is copied to the spare disk 50, and the SSD 40 whose number of writes approaches the limit number of writes. The redundancy of the RAID configuration 60 can be maintained by the automatic replacement.

また、ディスクアレイ装置1によると、スペアディスク50へデータコピーするか否かの判断を閾値A11及び閾値B12の2つの閾値を用いて行なうことにより、RAID60を構成するSSD40のうち複数のSSD40が同時に書き込み制限回数に到達することをより確実に防止することができる。   In addition, according to the disk array device 1, by determining whether to copy data to the spare disk 50 using the two threshold values A11 and B12, a plurality of SSDs 40 among the SSDs 40 constituting the RAID 60 can be simultaneously used. Reaching the write limit number can be prevented more reliably.

なお、本第1の実施の形態においては、データの書き込みがSSD40に行なわれた場合、既述のステップS101〜S104を用いて説明したように、全てのRAID構成60について、スペアディスク50への自動交換を行なうための処理を実行する場合で説明したがこれに限るものではない。例えば、データの書き込みがSSD40にあった場合、当該SSD40の属するRAID構成60のみスペアディスク50への自動交換を行なうための処理を実行するようにしても良い。   In the first embodiment, when data is written to the SSD 40, as described with reference to steps S101 to S104, all the RAID configurations 60 are stored in the spare disk 50. Although the case where the process for performing the automatic exchange is executed has been described, the present invention is not limited to this. For example, when data is written to the SSD 40, only the RAID configuration 60 to which the SSD 40 belongs may be subjected to processing for automatic replacement with the spare disk 50.

(第2の実施の形態)
次に、第2の実施の形態について説明する。既述の第1の実施の形態は、複数のSSD40が同時に書き込みの制限回数に到達するのを防止することができるが、ディスクアレイ装置1が複数のRAID構成60を有している場合、当該RAID構成60に含まれる各SSD40が書き込み制限回数に到達しそうな場合に、これらと同数のスペアディスク50を用意しておく必要がある。このスペアディスク50の数が不足していると、ディスクアレイ装置1は、RAID構成60の冗長性を維持できなくなる可能性がある。本第2の実施の形態においては、当該事態を未然に回避するディスクアレイ装置1について説明する。
(Second Embodiment)
Next, a second embodiment will be described. The first embodiment described above can prevent a plurality of SSDs 40 from simultaneously reaching the limit of writing, but when the disk array device 1 has a plurality of RAID configurations 60, When each SSD 40 included in the RAID configuration 60 is likely to reach the write limit number, it is necessary to prepare the same number of spare disks 50 as these. If the number of spare disks 50 is insufficient, the disk array device 1 may not be able to maintain the redundancy of the RAID configuration 60. In the second embodiment, a disk array device 1 that avoids this situation will be described.

図9は、本第2の実施の形態におけるディスクアレイ装置の構成を示す図である。当該ディスクアレイ装置1は、既述の第1の実施の形態のディスクアレイ装置1とは、コントローラ2内に第2の管理部である書き込み回数スケジューラ9を有している点及びデータコピー閾値テーブル10´に格納される閾値の数である点が異なっており、他の部分については同様である。従って、他の構成については、ディスクアレイ装置1と同様な符号を付すこととし、詳細な説明は省略する。   FIG. 9 is a diagram showing the configuration of the disk array device according to the second embodiment. The disk array device 1 is different from the disk array device 1 of the first embodiment described above in that the controller 2 has a write count scheduler 9 which is a second management unit, and a data copy threshold table. The difference is the number of threshold values stored in 10 ′, and the other parts are the same. Accordingly, the other components will be denoted by the same reference numerals as those of the disk array device 1 and will not be described in detail.

データコピー閾値テーブル10´は、図10に示すように、既述の閾値A11,閾値B12に加え、SSD40への書き込み回数を規定する閾値C13,SSD40間の書き込み回数の差を規定する閾値D14を格納する。なお、本第2の実施の形態においては、図12に示すように、データコピー閾値テーブル10´には、閾値C13として“40”、閾値D14として“5”が格納されている。閾値C13及び閾値D14は、閾値A11及び閾値B12と同様に、ホスト制御部5を介して、ホスト装置4に搭載されている管理ソフトウェアから変更することができるようになっている。   As shown in FIG. 10, the data copy threshold table 10 ′ includes a threshold C13 that defines the number of writes to the SSD 40 and a threshold D14 that defines the difference in the number of writes between the SSDs 40 in addition to the above-described threshold A11 and threshold B12. Store. In the second embodiment, as shown in FIG. 12, the data copy threshold table 10 ′ stores “40” as the threshold C13 and “5” as the threshold D14. The threshold C13 and the threshold D14 can be changed from the management software installed in the host device 4 via the host control unit 5 in the same manner as the threshold A11 and the threshold B12.

また、本第2の実施の形態においては、閾値C13及び閾値D14は、閾値A11及び閾値B12と同じデータコピー閾値テーブル10´に格納されることとしたが、閾値A11及び閾値B12とは別のテーブルに設けるようにしても良い。なお、データコピー閾値テーブル10´において、閾値A11及びB12が格納される部分が第1の閾値記憶部を構成し、閾値C13及び閾値D14が格納される部分が第2の閾値格納部を構成する。   In the second embodiment, the threshold C13 and the threshold D14 are stored in the same data copy threshold table 10 ′ as the threshold A11 and the threshold B12, but are different from the threshold A11 and the threshold B12. It may be provided on a table. In the data copy threshold table 10 ′, the portion where the thresholds A11 and B12 are stored constitutes the first threshold storage unit, and the portion where the threshold C13 and threshold D14 are stored constitutes the second threshold storage unit. .

書き込み回数スケジューラ9は、SSD40及びスペアディスク50を管理する管理である。書き込み回数スケジューラ9は、SSD書き込み回数テーブル20に格納される各SSD40の書き込み回数に基づいて、書き込み回数が多くなったSSD40をスペアディスク50に交換する処理を行なう。   The write count scheduler 9 is a management for managing the SSD 40 and the spare disk 50. The write count scheduler 9 performs processing for exchanging the SSD 40 whose write count has increased with the spare disk 50 based on the write count of each SSD 40 stored in the SSD write count table 20.

次に、ディスクアレイ装置1内の書き込み回数が多くなったSSD40を所定のタイミング、例えば、定期的にスペアディスク50に交換する処理について、図11のフローチャートと、図12のデータコピー閾値テーブル10´と、図13,図14,図15のSSD書き込み回数テーブル20を使用して説明する。   Next, regarding the process of replacing the SSD 40 in which the number of writes in the disk array device 1 has increased with a predetermined timing, for example, the spare disk 50 periodically, the flowchart of FIG. 11 and the data copy threshold table 10 ′ of FIG. The description will be made with reference to the SSD write count table 20 shown in FIGS.

先ず、書き込み回数スケジューラ9は、SSD書き込み回数テーブル20からRAID構成番号を選択する(S200)。   First, the write count scheduler 9 selects a RAID configuration number from the SSD write count table 20 (S200).

次に、書き込み回数スケジューラ9は、選択終了か否か、より詳細には、RAID構成番号を選択できたか否かを判断する(S201)。RAID構成番号の選択が終了したと判断した場合(S201:YES)、言い換えれば、全てのRAID構成番号について選択して後述する処理が終了済みの場合、書き込み回数スケジューラ9は、この処理を終了する。   Next, the writing frequency scheduler 9 determines whether or not the selection is completed, more specifically, whether or not the RAID configuration number has been selected (S201). If it is determined that the selection of the RAID configuration number has been completed (S201: YES), in other words, if all the RAID configuration numbers have been selected and the processing described below has been completed, the write count scheduler 9 ends this processing. .

一方、RAID構成番号を1つ選択した場合(S201:YES)、書き込み回数スケジューラ9は、当該選択したRAID構成番号と同一のRAID構成番号を有するSSD40について、それぞれ書き込み回数を、SSD書き込み回数テーブル20を用いてチェックする(S202)。   On the other hand, when one RAID configuration number is selected (S201: YES), the write count scheduler 9 sets the write count for each SSD 40 having the same RAID configuration number as the selected RAID configuration number to the SSD write count table 20. (S202).

例えば、図13に示す例においては、RAID構成番号として“01”が選択された場合、書き込み回数スケジューラ9は、当該選択したRAID構成番号と同一のRAID構成番号を有するSSD番号“03”,SSD番号“04”の書き込み回数23が“41”,“45”であることをチェックする。   For example, in the example shown in FIG. 13, when “01” is selected as the RAID configuration number, the write count scheduler 9 uses the SSD number “03”, SSD having the same RAID configuration number as the selected RAID configuration number. It is checked that the write count 23 of the number “04” is “41”, “45”.

次に、書き込み回数スケジューラ9は、チェックした書き込み回数23のうち、SSDデータコピー閾値テーブル10´に格納された閾値C13を超える書き込み回数のSSD40があるか否かを判断する(S203:第3の判断手段)。   Next, the write count scheduler 9 determines whether or not there is an SSD 40 with the write count exceeding the threshold C13 stored in the SSD data copy threshold table 10 ′ among the checked write count 23 (S203: third). Judgment means).

書き込み回数が閾値C13を超えるSSD40があると判断した場合(S203:YES)、書き込み回数スケジューラ9は、閾値C13を超えたSSD40が複数台あるか否かを判断する(S205:第4の判断手段)。   When it is determined that there is an SSD 40 whose write count exceeds the threshold C13 (S203: YES), the write count scheduler 9 determines whether there are a plurality of SSDs 40 that exceed the threshold C13 (S205: Fourth determination means) ).

既述のステップS203において閾値C13を超えるSSD40がないと判断した場合(S203:NO)、又はステップS204において閾値C13を超えるSSD40が複数台ないと判断した場合(S204:NO)、書き込み回数スケジューラ9は、チェックするRAID構成番号22を次の番号に選択し(S204)、既述のステップS200の処理へ進み、既述の処理を繰り返す。   If it is determined in step S203 that there is no SSD 40 exceeding the threshold C13 (S203: NO), or if it is determined in step S204 that there are not a plurality of SSDs 40 exceeding the threshold C13 (S204: NO), the write count scheduler 9 Selects the RAID configuration number 22 to be checked as the next number (S204), proceeds to the process of step S200 described above, and repeats the process described above.

一方、書き込み回数が閾値C13を超えるSSD40が複数台あったと判断した場合(S205:YES)、書き込み回数スケジューラ9は、書き込み回数が閾値C13を超えているSSD40間の書き込み回数23の差が既述の閾値D14以下か否かを判断する(S206)。   On the other hand, when it is determined that there are a plurality of SSDs 40 whose write count exceeds the threshold C13 (S205: YES), the write count scheduler 9 indicates that the difference in the write count 23 between the SSDs 40 whose write count exceeds the threshold C13 is as described above. It is determined whether or not the threshold value D14 is below (S206).

書き込み回数23の差が閾値D14以下であると判断した場合(S206:YES)、書き込み回数スケジューラ9は、書き込み回数を抽出したSSD40から1つのSSD番号21を選択する(S207:第2の選択手段)。   When it is determined that the difference between the write counts 23 is equal to or less than the threshold D14 (S206: YES), the write count scheduler 9 selects one SSD number 21 from the SSD 40 from which the write count is extracted (S207: second selection means) ).

例えば、図13に示す例において、RAID構成番号22として、“01”を選択した場合、SSD番号“03”,“04”のSSD40の書き込み回数23として“41”,“45”がそれぞれチェックされる。これら書き込み回数は、閾値C13として規定される“40”を超えており、更に、書き込み回数の差分である“5”が閾値D14として規定される“5”以下であるため、例えば、書き込み回数23が多いSSD番号“04”が選択される。   For example, in the example shown in FIG. 13, when “01” is selected as the RAID configuration number 22, “41” and “45” are checked as the write count 23 of the SSD 40 with the SSD numbers “03” and “04”. The The number of times of writing exceeds “40” defined as the threshold value C13, and “5” that is the difference between the number of times of writing is less than or equal to “5” defined as the threshold value D14. The SSD number “04” having a large number is selected.

また、書き込み回数23の差が閾値D14以下でないと判断した場合(S206:NO)、書き込み回数スケジューラ9は、チェックするRAID構成番号22を次の番号にし(S204)、既述の処理を繰り返す。   If it is determined that the difference between the write counts 23 is not less than or equal to the threshold D14 (S206: NO), the write count scheduler 9 sets the RAID configuration number 22 to be checked to the next number (S204) and repeats the above-described processing.

ステップS207において、SSD40を1つ選択した場合、書き込み回数スケジューラ9は、SSD書き込み回数テーブル20からスペアディスク50を1つ選択する(S208)。   When one SSD 40 is selected in step S207, the write count scheduler 9 selects one spare disk 50 from the SSD write count table 20 (S208).

例えば、図13に示す例においては、RAID構成番号22として“FF”が設定されているSSD番号“0E”,“0F”の2つのSSD40から、書き込み回数23が少ない、SSD番号“0F”のSSD40が選択される。   For example, in the example shown in FIG. 13, the SSD number “0F” has a smaller number of writes 23 than the two SSDs 40 with the SSD numbers “0E” and “0F” in which “FF” is set as the RAID configuration number 22. The SSD 40 is selected.

次に、ステップS207において選択したSSD40からステップS208において選択したスペアディスク50へのデータコピーが行なわれる(S209:第2のデータ書込手段)。   Next, data is copied from the SSD 40 selected in step S207 to the spare disk 50 selected in step S208 (S209: second data writing means).

次に、書き込み回数スケジューラ9は、データコピーが完了した後、コピー元のSSD40をスペアディスク50に設定する(S210:第2の再構成手段)。これによりRAID構成60の再構成が実行される。   Next, after the data copy is completed, the write count scheduler 9 sets the copy source SSD 40 as the spare disk 50 (S210: second reconfiguration means). As a result, the RAID configuration 60 is reconfigured.

例えば、図13に示す例においては、コピー元のSSD番号“04”のRAID構成番号が図13に示すように、“01”と設定されていたものが、図14に示すように、“FF”に設定される。また、選択されたスペアディスク50のSSD番号“0F”のRAID構成番号22が図13に示すように、“FF”に設定されていたものが、図14に示すように、“01”に設定される。これによりRAID構成60の再構成が実行される。   For example, in the example shown in FIG. 13, the RAID configuration number of the copy source SSD number “04” set as “01” as shown in FIG. 13 is changed to “FF” as shown in FIG. "Is set. Further, the RAID configuration number 22 of the SSD number “0F” of the selected spare disk 50 is set to “FF” as shown in FIG. 13, but is set to “01” as shown in FIG. Is done. As a result, the RAID configuration 60 is reconfigured.

次に、書き込み回数スケジューラ9は、チェックするRAID構成番号22を次の番号にし(S204)、既述のステップS200へ進み、既述の処理を繰り返す。   Next, the write count scheduler 9 sets the RAID configuration number 22 to be checked to the next number (S204), proceeds to the above-described step S200, and repeats the above-described processing.

このように処理が繰り返されることにより、例えば、図14に示す例においては、次のRAID構成番号として“02”の各SSD40について既述の図11を用いて説明した処理が行われる。RAID構成番号“02”を有するSSD40は、SSD番号SSD番号“05”,“06”,“07”の3つあり、これらの書き込み回数は、それぞれ“60”,“60”,“60”である。これらは全て閾値C13を超えているため、各SSD40間の差分が算出される。この差がいずれのSSD40間においても閾値D14以下であるため、これらのうちから1つのSSD40、例えば、SSD番号“05”のSSD40が選択される。また、例えば、スペアディスク50としてSSD番号“04”が選択される。   By repeating the processing in this manner, for example, in the example shown in FIG. 14, the processing described with reference to FIG. 11 described above is performed for each SSD 40 having the next RAID configuration number “02”. The SSD 40 having the RAID configuration number “02” has three SSD numbers “05”, “06”, and “07”. The number of times of writing is “60”, “60”, and “60”, respectively. is there. Since these all exceed the threshold C13, the difference between the SSDs 40 is calculated. Since this difference is not more than the threshold value D14 between any SSDs 40, one SSD 40, for example, the SSD 40 with the SSD number “05” is selected from these. For example, the SSD number “04” is selected as the spare disk 50.

次に、既述のステップS209の処理と同様にデータコピーが実行される。そして、データコピーが完了した場合、例えば、図14に示す例においては、コピー元のSSD番号“05”のRAID構成番号が図13に示すように、“02”と設定されていたものが、図14に示すように、“FF”に設定される。また、選択されたスペアディスク50のSSD番号“04”のRAID構成番号22が図13に示すように、“FF”に設定されていたものが、図14に示すように、“02”に設定される。これによりRAID構成60の再構成が実行される。   Next, data copy is executed in the same manner as the processing in step S209 described above. When the data copy is completed, for example, in the example shown in FIG. 14, the RAID configuration number of the copy source SSD number “05” is set to “02” as shown in FIG. As shown in FIG. 14, “FF” is set. Further, the RAID configuration number 22 of the SSD number “04” of the selected spare disk 50 that is set to “FF” as shown in FIG. 13 is set to “02” as shown in FIG. Is done. As a result, the RAID configuration 60 is reconfigured.

本第2の実施の形態のディスクアレイ装置2によると、書き込み回数スケジューラ9が図11を参照して説明した処理を、例えば定期的に繰り返すことにより、RAID構成番号22が同一の各SSD40の書き込み回数の差が閾値D41以下になることを防止することができる。言い換えれば、同一RAID構成60内の各SSD40の書き込み回数が均等にならず、RAID構成番号22が同一の各SSD40が同時に書き込み回数制限に到達することを防止することができる。   According to the disk array device 2 of the second embodiment, the write count scheduler 9 periodically repeats the processing described with reference to FIG. 11, for example, to periodically write the SSDs 40 having the same RAID configuration number 22. It is possible to prevent the difference in the number of times from becoming the threshold value D41 or less. In other words, it is possible to prevent the writing times of the SSDs 40 in the same RAID configuration 60 from being equalized and prevent the SSDs 40 having the same RAID configuration number 22 from reaching the writing number limit at the same time.

なお、本発明は上述の実施の形態に限定されるものではなく、その実施に際して様々な変形が可能である。   In addition, this invention is not limited to the above-mentioned embodiment, A various deformation | transformation is possible in the case of the implementation.

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

(付記1)
データを保存するデータ保存装置を複数用いてデータの冗長性を維持するストレージ装置であって、
スペア用のデータ保存装置と、
前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、
各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、
を備え、
前記第1の管理部は、
データの書き込みを行なう場合、前記複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断する第1の判断手段と、
前記第1の判断手段で前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断する第2の判断手段と、
前記第2の判断手段でデータ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択する第1の選択手段と、
当該第1の選択手段で選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込む第1のデータ書込手段と、
前記第1のデータ書込手段でデータが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成する第1の再構成手段と、
を備えることを特徴とするストレージ装置。
(Appendix 1)
A storage device that maintains data redundancy using a plurality of data storage devices for storing data,
Spare data storage device,
A first threshold that defines the number of writes to the data storage device and a second threshold that defines a number of writes that is greater than the first threshold and less than the write limit of the data storage device are stored. A first threshold value storage unit,
A write number storage unit for storing the number of data writes to each data storage device and the spare data storage device;
A first management unit for managing the data storage device and the spare data storage device;
With
The first management unit includes:
A first determination unit configured to determine whether or not the number of writes of the plurality of data storage devices exceeds the first threshold based on the number of writes stored in the write number storage unit when writing data; ,
A second determination unit that determines whether there are a plurality of data storage devices when the first determination unit determines that there is a data storage device that exceeds the first threshold;
A first selection unit that selects one data storage device from the plurality of data storage devices when the second determination unit determines that there are a plurality of data storage devices;
First data writing means for writing data stored in the data storage device selected by the first selection means into the spare data storage device;
First reconfiguring means for reconfiguring the configuration for maintaining the redundancy using a spare data storage device in which data is written by the first data writing means;
A storage apparatus comprising:

(付記2)
第1の前記管理部は、前記第2の判断手段で複数のデータ保存装置がないと判断されるまで、前記第1の選択手段、前記第1のデータ書込手段、及び前記第1の再構成手段を動作させる、ことを特徴とする請求項1に記載のストレージ装置。
(Appendix 2)
The first management unit performs the first selection unit, the first data writing unit, and the first replaying unit until the second determination unit determines that there are no data storage devices. The storage apparatus according to claim 1, wherein the configuration unit is operated.

(付記3)
前記第1の閾値より少ない書き込み回数を規定する第3の閾値及び前記データ保存装置間の書き込み回数の差を規定する第4の閾値を記憶する第2の閾値記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第2の管理部と、
を備え、
前記第2の管理部は、
前記複数のデータ保存装置の書き込み回数が前記第3の閾値を超えたか否かを所定のタイミングで前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断する第3の判断手段と、
前記第3の判断手段で前記第3の閾値を超えたデータ保存装置があるか否かを判断する第4の判断手段と、
前記第4の判断手段で前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置間の書き込み回数の差が前記第4の閾値以下であるか否かを判断し、書き込み回数の差が前記第4の閾値以下と判断されたデータ保存装置から1つを選択する第2の選択手段と、
前記第2の選択手段で選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込む第2のデータ書込手段と、
前記第2のデータ書込手段でデータが書き込まれたスペア用のデータ保存装置を用いて前冗長性を維持する構成を再構成する第2の再構成手段と、
を備えることを特徴とする請求項1又は2に記載のストレージ装置。
(Appendix 3)
A second threshold value storage unit that stores a third threshold value that defines a smaller number of times of writing than the first threshold value and a fourth threshold value that defines a difference in the number of times of writing between the data storage devices;
A second management unit for managing the data storage device and the spare data storage device;
With
The second management unit
Third determination means for determining whether or not the number of writes of the plurality of data storage devices exceeds the third threshold based on the number of writes stored in the write number storage unit at a predetermined timing;
Fourth determination means for determining whether or not there is a data storage device that exceeds the third threshold by the third determination means;
When the fourth determining means determines that there are a plurality of the data storage devices, it is determined whether or not the difference in the number of writes between the plurality of data storage devices is less than or equal to the fourth threshold, Second selection means for selecting one of the data storage devices determined to have a difference equal to or less than the fourth threshold;
Second data writing means for writing data stored in the data storage device selected by the second selection means into the spare data storage device;
Second reconfiguring means for reconfiguring a configuration for maintaining pre-redundancy using a spare data storage device in which data is written by the second data writing means;
The storage apparatus according to claim 1, further comprising:

(付記4)
データを保存するデータ保存装置を複数用いてデータの冗長性を維持するストレージ装置のデータ保存装置交換方法であって、
前記ストレージ装置は、
スペア用のデータ保存装置と、
前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、
各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、
を備えるものであり、
前記データ保存装置交換方法は、
データの書き込みを行なう場合、複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断するステップと、
前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断するステップと、
前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択するステップと、
当該選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込むステップと、
前記データが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成するステップと、
を有することを特徴とするストレージ装置のデータ保存装置交換方法。
(Appendix 4)
A data storage device replacement method for a storage device that maintains data redundancy using a plurality of data storage devices for storing data,
The storage device
Spare data storage device,
A first threshold that defines the number of writes to the data storage device and a second threshold that defines a number of writes that is greater than the first threshold and less than the write limit of the data storage device are stored. A first threshold value storage unit,
A write number storage unit for storing the number of data writes to each data storage device and the spare data storage device;
A first management unit for managing the data storage device and the spare data storage device;
It is equipped with
The data storage device exchange method is:
When writing data, determining whether or not the number of writes of a plurality of data storage devices exceeds the first threshold based on the number of writes stored in the write number storage unit;
Determining that there are a plurality of data storage devices when it is determined that there is a data storage device exceeding the first threshold; and
If it is determined that there are a plurality of the data storage devices, selecting one data storage device from the plurality of data storage devices;
Writing the data stored in the selected data storage device to the spare data storage device;
Reconfiguring the configuration to maintain the redundancy using a spare data storage device in which the data is written;
A data storage device replacement method for a storage device, comprising:

本発明は、データを保存するデータ保存装置を交換可能なストレージ装置及びこのストレージ装置のデータ保存装置交換方法に広く適用可能である。   The present invention can be widely applied to a storage device that can replace a data storage device that stores data and a data storage device replacement method for the storage device.

1・・・ディスクアレイ装置
2・・・コントローラ
3・・・ディスク部
4・・・ホスト装置
5・・・ホスト制御部
6・・・ディスク制御部
7・・・書き込み回数監視部
8・・・データコピー指示部
9・・・書き込み回数スケジューラ
10,10´・・・SSDデータコピー閾値テーブル
20・・・SSD書き込み回数テーブル
40・・・SSD
50・・・スペアディスク
60・・・RAID構成
DESCRIPTION OF SYMBOLS 1 ... Disk array apparatus 2 ... Controller 3 ... Disk part 4 ... Host apparatus 5 ... Host control part 6 ... Disk control part 7 ... Write frequency monitoring part 8 ... Data copy instruction unit 9... Write count scheduler 10, 10 '... SSD data copy threshold table 20... SSD write count table 40.
50 ... Spare disk 60 ... RAID configuration

Claims (3)

データを保存するデータ保存装置を複数用いてデータの冗長性を維持する構成を複数有するストレージ装置であって、
スペア用のデータ保存装置と、
前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、
各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、
前記第1の閾値より少ない書き込み回数を規定する第3の閾値及び前記データ保存装置間の書き込み回数の差を規定する第4の閾値を記憶する第2の閾値記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第2の管理部と、
を備え、
前記第1の管理部は、
データの書き込みを行なう場合、前記複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断する第1の判断手段と、
前記第1の判断手段で前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断する第2の判断手段と、
前記第2の判断手段でデータ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択する第1の選択手段と、
前記第2の判断手段でデータ保存装置が複数無いと判断した場合、当該データ保存装置の書き込み回数が前記第2の閾値を超えているか否かを判断する第2の閾値判断手段と、
前記第2の判断手段で前記第2の閾値を超えていると判断した場合、当該判断されたデータ保存装置を選択するデータ保存装置選択手段と、
前記第1の選択手段で選択したデータ保存装置又は前記データ保存装置選択手段で選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込む第1のデータ書込手段と、
前記第1のデータ書込手段でデータが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成する第1の再構成手段と、
前記第2の管理部は、
前記複数のデータ保存装置の書き込み回数が前記第3の閾値を超えたか否かを定期的に前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断する第3の判断手段と、
前記第3の判断手段で前記第3の閾値を超えたデータ保存装置が複数あるか否かを判断する第4の判断手段と、
前記第4の判断手段で前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置間の書き込み回数の差が前記第4の閾値以下であるか否かを判断し、書き込み回数の差が前記第4の閾値以下と判断されたデータ保存装置から1つを選択する第2の選択手段と、
前記第2の選択手段で選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込む第2のデータ書込手段と、
前記第2のデータ書込手段でデータが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成する第2の再構成手段と、
前記スペア用のデータ保存装置にデータが書き込まれた前記データ保存装置をスペア用のデータ保存装置に交換する交換手段と、
を備えることを特徴とするストレージ装置。
A storage device having a plurality of configurations for maintaining data redundancy by using a plurality of data storage devices for storing data,
Spare data storage device,
A first threshold that defines the number of writes to the data storage device and a second threshold that defines a number of writes that is greater than the first threshold and less than the write limit of the data storage device are stored. A first threshold value storage unit,
A write number storage unit for storing the number of data writes to each data storage device and the spare data storage device;
A first management unit for managing the data storage device and the spare data storage device;
A second threshold value storage unit that stores a third threshold value that defines a smaller number of times of writing than the first threshold value and a fourth threshold value that defines a difference in the number of times of writing between the data storage devices;
A second management unit for managing the data storage device and the spare data storage device;
With
The first management unit includes:
A first determination unit configured to determine whether or not the number of writes of the plurality of data storage devices exceeds the first threshold based on the number of writes stored in the write number storage unit when writing data; ,
A second determination unit that determines whether there are a plurality of data storage devices when the first determination unit determines that there is a data storage device that exceeds the first threshold;
A first selection unit that selects one data storage device from the plurality of data storage devices when the second determination unit determines that there are a plurality of data storage devices;
A second threshold value judging means for judging whether or not the number of writes of the data storage device exceeds the second threshold value when it is judged by the second judgment means that there are not a plurality of data storage devices;
A data storage device selection unit for selecting the determined data storage device when the second determination unit determines that the second threshold value is exceeded;
A first data writing means for writing data stored in the data storage device selected by the first selection means or the data storage device selected by the data storage device selection means to the spare data storage device;
First reconfiguring means for reconfiguring the configuration for maintaining the redundancy using a spare data storage device in which data is written by the first data writing means;
The second management unit
Third determining means for periodically determining whether or not the number of writes of the plurality of data storage devices exceeds the third threshold based on the number of writes stored in the write number storage unit;
Fourth determination means for determining whether or not there are a plurality of data storage devices that exceed the third threshold by the third determination means;
When the fourth determining means determines that there are a plurality of the data storage devices, it is determined whether or not the difference in the number of writes between the plurality of data storage devices is less than or equal to the fourth threshold, Second selection means for selecting one of the data storage devices determined to have a difference equal to or less than the fourth threshold;
Second data writing means for writing data stored in the data storage device selected by the second selection means into the spare data storage device;
Second reconfiguring means for reconfiguring the configuration for maintaining the redundancy using a spare data storage device in which data is written by the second data writing means;
Exchange means for exchanging the data storage device in which data is written in the spare data storage device with a spare data storage device;
A storage apparatus comprising:
第1の前記管理部は、前記第2の判断手段で複数のデータ保存装置がないと判断されるまで、前記第1の選択手段、前記第1のデータ書込手段、及び前記第1の再構成手段を動作させる、ことを特徴とする請求項1に記載のストレージ装置。   The first management unit performs the first selection unit, the first data writing unit, and the first replaying unit until the second determination unit determines that there are no data storage devices. The storage apparatus according to claim 1, wherein the configuration unit is operated. データを保存するデータ保存装置を複数用いてデータの冗長性を維持する構成を複数有するストレージ装置のデータ保存装置交換方法であって、
前記ストレージ装置は、
スペア用のデータ保存装置と、
前記データ保存装置への書き込み回数を規定する第1の閾値及び前記第1の閾値より大きい書き込み回数であって、前記データ保存装置の書き込み制限回数より小さい書き込み回数を規定する第2の閾値を記憶する第1の閾値記憶部と、
各データ保存装置及び前記スペア用のデータ保存装置へのデータ書き込み回数をそれぞれ記憶する書き込み回数記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第1の管理部と、
前記第1の閾値より少ない書き込み回数を規定する第3の閾値及び前記データ保存装置間の書き込み回数の差を規定する第4の閾値を記憶する第2の閾値記憶部と、
前記データ保存装置及び前記スペア用のデータ保存装置を管理する第2の管理部と、
を備えるものであり、
前記第1の管理部が、
データの書き込みを行なう場合、複数のデータ保存装置の書き込み回数が前記第1の閾値を超えたか否かを前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断するステップと、
前記第1の閾値を超えたデータ保存装置があると判断した場合、当該データ保存装置が複数あるか否かを判断するステップと、
前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置から1つのデータ保存装置を選択するステップと、
前記データ保存装置が複数無いと判断した場合、当該データ保存装置の書き込み回数が前記第2の閾値を超えているか否かを判断するステップと、
前記第2の閾値を超えていると判断した場合、当該判断されたデータ保存装置を選択するステップと、
前記選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込むステップと、
前記データが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成するステップと、
を実行し、
前記第2の管理部が、
前記複数のデータ保存装置の書き込み回数が前記第3の閾値を超えたか否かを定期的に前記書き込み回数記憶部に記憶される書き込み回数に基づいて判断するスップと、
前記第3の判断手段で前記第3の閾値を超えたデータ保存装置が複数あるか否かを判断するステップと、
前記データ保存装置が複数あると判断した場合、当該複数のデータ保存装置間の書き込み回数の差が前記第4の閾値以下であるか否かを判断し、書き込み回数の差が前記第4の閾値以下と判断されたデータ保存装置から1つを選択するステップと、
前記選択したデータ保存装置に保存されたデータを前記スペア用のデータ保存装置に書き込むステップと、
前記データが書き込まれたスペア用のデータ保存装置を用いて前記冗長性を維持する構成を再構成するステップと、
前記スペア用のデータ保存装置にデータが書き込まれた前記データ保存装置をスペア用のデータ保存装置に交換するステップと、
実行することを特徴とするストレージ装置のデータ保存装置交換方法。
A data storage device replacement method for a storage device having a plurality of configurations for maintaining data redundancy using a plurality of data storage devices for storing data,
The storage device
Spare data storage device,
A first threshold that defines the number of writes to the data storage device and a second threshold that defines a number of writes that is greater than the first threshold and less than the write limit of the data storage device are stored. A first threshold value storage unit,
A write number storage unit for storing the number of data writes to each data storage device and the spare data storage device;
A first management unit for managing the data storage device and the spare data storage device;
A second threshold value storage unit that stores a third threshold value that defines a smaller number of times of writing than the first threshold value and a fourth threshold value that defines a difference in the number of times of writing between the data storage devices;
A second management unit for managing the data storage device and the spare data storage device;
It is equipped with
The first management unit
When writing data, determining whether or not the number of writes of a plurality of data storage devices exceeds the first threshold based on the number of writes stored in the write number storage unit;
Determining that there are a plurality of data storage devices when it is determined that there is a data storage device exceeding the first threshold; and
If it is determined that there are a plurality of the data storage devices, selecting one data storage device from the plurality of data storage devices;
If it is determined that there are not a plurality of the data storage devices, the step of determining whether or not the number of writes of the data storage device exceeds the second threshold;
If it is determined that the second threshold value is exceeded, the step of selecting the determined data storage device;
And writing the data stored in the selected data storage device in the data storage device for the spare,
Reconfiguring the configuration to maintain the redundancy using a spare data storage device in which the data is written;
Run
The second management unit
A step of periodically determining whether or not the number of writes of the plurality of data storage devices exceeds the third threshold based on the number of writes stored in the write number storage unit;
Determining whether or not there are a plurality of data storage devices exceeding the third threshold by the third determining means;
When it is determined that there are a plurality of the data storage devices, it is determined whether or not the difference in the number of writings between the plurality of data storage devices is equal to or less than the fourth threshold value, Selecting one of the data storage devices determined to be:
Writing the data stored in the selected data storage device to the spare data storage device;
Reconfiguring the configuration to maintain the redundancy using a spare data storage device in which the data is written;
Replacing the data storage device in which data is written in the spare data storage device with a spare data storage device;
A data storage device replacement method for a storage device, characterized in that:
JP2012074845A 2012-03-28 2012-03-28 Storage device and data storage device replacement method for storage device Expired - Fee Related JP5601480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012074845A JP5601480B2 (en) 2012-03-28 2012-03-28 Storage device and data storage device replacement method for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012074845A JP5601480B2 (en) 2012-03-28 2012-03-28 Storage device and data storage device replacement method for storage device

Publications (2)

Publication Number Publication Date
JP2013206151A JP2013206151A (en) 2013-10-07
JP5601480B2 true JP5601480B2 (en) 2014-10-08

Family

ID=49525163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012074845A Expired - Fee Related JP5601480B2 (en) 2012-03-28 2012-03-28 Storage device and data storage device replacement method for storage device

Country Status (1)

Country Link
JP (1) JP5601480B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6225603B2 (en) * 2013-09-25 2017-11-08 日本電気株式会社 Storage system and storage system control method
JP6476959B2 (en) 2015-02-13 2019-03-06 富士通株式会社 Storage control device, storage system, and control program
JP6515752B2 (en) * 2015-09-07 2019-05-22 富士通株式会社 Storage control device, control method, and control program
JP6565560B2 (en) * 2015-10-01 2019-08-28 富士通株式会社 Storage control device and control program
JP6926595B2 (en) * 2017-03-30 2021-08-25 日本電気株式会社 Storage array device, storage system, storage array control method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4783545B2 (en) * 2003-05-21 2011-09-28 パナソニック株式会社 Component mounting equipment
JP4863814B2 (en) * 2006-08-04 2012-01-25 株式会社日立製作所 Storage system that suppresses storage media group failures
JP4942446B2 (en) * 2006-10-11 2012-05-30 株式会社日立製作所 Storage apparatus and control method thereof
JP5242264B2 (en) * 2008-07-07 2013-07-24 株式会社東芝 Data control apparatus, storage system, and program

Also Published As

Publication number Publication date
JP2013206151A (en) 2013-10-07

Similar Documents

Publication Publication Date Title
US7133966B2 (en) Disk array device having spare disk drive and data sparing method
US10067707B2 (en) System and method for determination and reallocation of pending sectors caused by media fatigue
JP5601480B2 (en) Storage device and data storage device replacement method for storage device
US7890791B2 (en) Disk array device, operating method thereof and program-storing medium
JP2008015769A (en) Storage system and writing distribution method
JP4764909B2 (en) RAID level migration method and system
WO2009118917A1 (en) Storage device using flash memory
JP2014522537A (en) Use to manage data placement on flash-based storage
TWI501252B (en) Solid state storage system for controlling reserved area and method of controlling the same
JP2010186282A (en) Disk array control device
JP6206160B2 (en) Storage control device, storage control program, and storage control method
JP2010128773A (en) Disk array device, disk control method therefor, and disk control program therefor
TWI550404B (en) Identifying memory regions that contain remapped memory locations
JP6565560B2 (en) Storage control device and control program
JP5503508B2 (en) Plant control system, equalized data selection device, and equalized data selection method
US9569329B2 (en) Cache control device, control method therefor, storage apparatus, and storage medium
JP2009104369A (en) Disk sub-system
JP2006004078A (en) Disk control device, disk patrol method, and disk patrol program
JP4246754B2 (en) Hierarchical control device of hierarchical storage system, maintenance method and program for duplex media
JP6015700B2 (en) Information storage device and information storage method
JP6556980B2 (en) Storage control device, storage control method, and storage control program
JP2007164823A (en) Storage device
JP6175566B2 (en) Storage system and storage control method
WO2016139774A1 (en) Information processing device and information processing system
JP6237202B2 (en) Semiconductor memory device and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140416

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140805

R150 Certificate of patent or registration of utility model

Ref document number: 5601480

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees