JP7056874B2 - Controls, disk array devices, control methods, and programs - Google Patents
Controls, disk array devices, control methods, and programs Download PDFInfo
- Publication number
- JP7056874B2 JP7056874B2 JP2019045456A JP2019045456A JP7056874B2 JP 7056874 B2 JP7056874 B2 JP 7056874B2 JP 2019045456 A JP2019045456 A JP 2019045456A JP 2019045456 A JP2019045456 A JP 2019045456A JP 7056874 B2 JP7056874 B2 JP 7056874B2
- Authority
- JP
- Japan
- Prior art keywords
- storage area
- data
- storage
- information
- area
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 41
- 238000003860 storage Methods 0.000 claims description 295
- 230000007850 degeneration Effects 0.000 claims description 46
- 238000011084 recovery Methods 0.000 claims description 20
- 238000013500 data storage Methods 0.000 claims description 13
- 238000007726 management method Methods 0.000 description 105
- 230000008569 process Effects 0.000 description 31
- 238000012545 processing Methods 0.000 description 18
- 230000008859 change Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000010365 information processing Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008602 contraction Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Hardware Redundancy (AREA)
- Debugging And Monitoring (AREA)
Description
本発明は、制御装置、ディスクアレイ装置、制御方法、及びプログラムに関する。 The present invention relates to a control device, a disk array device, a control method, and a program.
近年、物理ディスクの大容量化に伴い、物理ディスクに障害が発生した場合、復旧時間が容量に比例して延びている。特許文献1には、関連する技術として、復旧時間を短縮するための技術が開示されている。
In recent years, with the increase in the capacity of a physical disk, when a failure occurs in the physical disk, the recovery time is extended in proportion to the capacity.
特許文献1に記載の技術では、後に生じる復旧時間を短縮するために物理ディスクのプールに予備記憶装置を組み込む。しかしながら、障害発生時に、障害が発生したディスクのデータを一時的に他の物理ディスクに復旧するために、他の多くの物理ディスクを利用し冗長性を復旧する必要があり、復旧には時間が必要であった。
In the technique described in
本発明は、上記の課題を解決する、制御装置、ディスクアレイ装置、制御方法、及びプログラムを提供することにある。 The present invention is to provide a control device, a disk array device, a control method, and a program that solve the above problems.
本発明の第1の態様によれば、複数の記憶装置を用いて構成される記憶域プールを制御する制御装置であって、通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎に同一の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得部と、前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御部と、を備える制御装置である。 According to the first aspect of the present invention, it is a control device that controls a storage area pool configured by using a plurality of storage devices, and is a storage area for data to be stored in the storage area pool and the above-mentioned. It is the first storage area information indicating the storage area of any of the spare areas in which data can be stored , and is the identification information of each of the plurality of storage devices and the identification of a plurality of groups provided in the same number of the storage devices. For each storage area identified by information, the data storage area indicates the data recorded in that area, and at least one of the spare areas for each group is different from the other storage devices. The first storage area information indicating that the same data for each group is stored in at least two storage devices, and the second storage area indicating the storage area and the spare area at the time of shrinkage. The data at the time of withdrawal for each storage area specified by the area information, the identification information of each of the plurality of storage devices, and the identification information of a plurality of groups provided in the same number of the storage devices. The second storage area information indicating at least the identification information of the data for each storage area, the acquisition unit for acquiring the data, and the first storage area information and the second storage area information when the shrinkage occurs. Based on this, the data recorded in the first storage area information corresponding to the identification information of the retracted storage device is transferred from the storage area of another storage device in the same group as the storage area of the data to the spare area. The data is rearranged by copying , and when the contracted state is released, the rearranged data is returned to the original arrangement based on the first storage area information and the second storage area information. It is a control device including a control unit for performing control for the purpose.
本発明の第2の態様によれば、複数の記憶装置と、上記の制御装置と、を備えるディスクアレイ装置である。 According to the second aspect of the present invention, it is a disk array device including a plurality of storage devices and the above-mentioned control device.
本発明の第3の態様によれば、複数の記憶装置を用いて構成される記憶域プールを制御する制御装置において、通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得ステップと、前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御ステップと、を含む、制御方法である。 According to the third aspect of the present invention, in the control device that controls the storage area pool configured by using a plurality of storage devices, the storage area of the data to be stored in the storage area pool and the data in the normal time are stored in the storage area pool. The first storage area information indicating any storage area of the storage area , which is the identification information of each of the plurality of storage devices and the identification information of a plurality of groups provided in the same number of the storage devices. For each storage area specified by, the data storage area indicates the data recorded in that area, and at least one of the spare areas for each group is set in the storage device different from the other groups. The first storage area information indicating that the data for each group is stored in at least two storage devices, and the second storage area information indicating the storage area and the spare area at the time of shrinkage. For each storage area specified by the identification information of each of the plurality of storage devices and the identification information of a plurality of groups provided in the same number of the storage devices, each storage area of the data at the time of shrinkage is obtained. Based on the acquisition step of acquiring at least the second storage area information indicating the identification information of the data, and the first storage area information and the second storage area information when the shrinkage occurs, the said By copying the data recorded in the first storage area information corresponding to the identification information of the retracted storage device from the storage area of another storage device in the same group as the storage area of the data to the spare area. Control for returning the rearranged data to the original arrangement based on the first storage area information and the second storage area information when the data is rearranged and the contracted state is released. It is a control method including a control step to be performed.
本発明の第4の態様によれば、複数の記憶装置を用いて構成される記憶域プールを制御するコンピュータに、複数の記憶装置を用いて構成される記憶域プールを制御する制御装置であって、通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得ステップと、前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御ステップと、を実行させるためのプログラムである。 According to the fourth aspect of the present invention, it is a control device that controls a storage pool configured by using a plurality of storage devices in a computer that controls a storage area pool configured by using a plurality of storage devices. It is the first storage area information indicating the storage area of either the storage area of the data to be stored in the storage area pool or the spare area in which the data can be stored in the normal time, and is the first storage area information of each of the plurality of storage devices. For each storage area specified by the identification information and the identification information of a plurality of groups provided in the same number in each of the storage devices, the data storage area indicates the data recorded in the area, and the group is shown. With the first storage area information indicating that at least one of the spare areas for each is set in the storage device different from the other groups and the data for each group is stored in at least two storage devices. Second storage area information indicating the storage area and the spare area at the time of withdrawal , identification information of each of the plurality of storage devices, and identification information of a plurality of groups provided in the same number in each of the storage devices. And, for each storage area specified by, the acquisition step of acquiring at least the second storage area information indicating at least the identification information of the data for each storage area of the data at the time of the shrinkage, and the shrinkage occurred. In this case, based on the first storage area information and the second storage area information, the data recorded in the first storage area information corresponding to the identification information of the retracted storage device is stored in the data. The data is rearranged by copying from the storage area of another storage device in the same group as the area to the spare area, and when the contracted state is released, the first storage area information and the second storage area are released. It is a program for executing a control step for performing control for returning the rearranged data to the original arrangement based on the information.
本発明によれば、高速に冗長度を復旧することができる。 According to the present invention, redundancy can be restored at high speed.
以下、図面を参照して、本発明の一実施形態について詳しく説明する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施形態に係る情報処理システム100の構成を示す概略図である。
制御装置100は、制御装置1、記憶域プール20、及び、複数のホスト30(30-1、・・・30-N)を備える。ホスト30は、制御装置1と接続されている。また、制御装置1は、記憶域プール20と接続されている。本実施形態では、説明の都合上、ホスト30が1つである例を説明するが、ホスト30は、複数のホスト30(30-1、・・・、30-N)を備えてもよい。また、本実施形態において、ホスト30(30-1、・・・30-N)は、情報処理システム100が備える任意のホストを示す場合、又は特に区別しない場合には、ホスト30として説明する。
FIG. 1 is a schematic diagram showing a configuration of an
The
ホスト30は、CPU(Central Processing Unit)等のプロセッサを備えたコンピュータである。ホスト30は、CPUによりOS(Operating System)が稼働している。OSは、制御装置1が管理する論理ボリュームを対象とする読み出し命令及び書き込み命令を制御装置1へ出力する。
制御装置1は、記憶域プール20の物理ディスク#1~#nに対するRAID(Redundant Arrays of Inexpensive Disks)を構成し制御する。また、制御装置1は、ホスト30による読み出し命令及び書き込み命令に従い、論理ボリュームに対するドライブへの書き込みや、ドライブからの読み出しを行う。制御装置1についての詳細は後述する。
記憶域プール20は、複数の物理ディスク(#1~#n)によって構成される。複数の物理ディスク#1~#nは、データの冗長性を保証する1つの論理ディスクを構成している。また、物理ディスクは、HDD(Hard Disk Drive)やSSD(Solid State Drive)などの記憶装置である。
The
The
The
次に、制御装置1について説明する。
制御装置1は、ホスト制御部11、物理ディスク制御部12、RAID管理部13、及びマップ記憶部131を備える。
Next, the
The
ホスト制御部11は、ホスト30から受信した命令を解析し実行する。具体的には、ホスト制御部11は、書き込み命令を受信した場合、受信した命令を解析する。ホスト制御部11は、解析した結果に基づいて、物理ディスク制御部12に、書き込みを行う命令及び書き込む内容を示す情報を出力する。また、物理ディスク制御部12から書き込みが終了した入力を受け入れると、ホスト30に書き込みが終了したことを出力する。
また、ホスト制御部11は、読み出し命令を受信した場合、受信した命令を解析する。ホスト制御部11は、解析した結果に基づいて、物理ディスク制御部12に読み出しを行う命令及び読み出す内容を示す情報を出力する。また、物理ディスク制御部12から読み出した情報を受け入れると、ホスト30に読み出した内容を出力する。
また、ホスト制御部11は、物理ディスク制御部12から書き込み又は読み出しに失敗した情報を受け入れた場合、ホスト30に当該情報を出力する。
The
Further, when the
Further, when the
物理ディスク制御部12は、制御装置1と記憶域プール20とのデータ転送を制御する。具体的には、物理ディスク制御部12は、書き込み又は読み出しを行うデータの記憶域プール20内での領域を問い合わせる情報を、RAID管理部13に出力する。以下、書き込み対象のデータを「ライトデータ」、読み込み対象のデータを「リードデータ」とも称する。物理ディスク制御部12は、RAID管理部13から受信した情報に基づいて、ライトデータを記憶域プール20に書き込む処理を行う。また、物理ディスク制御部12は、RAID管理部13から受信した情報に基づいて、リードデータを記憶域プール20から読み出す処理を行う。物理ディスク制御部12は、処理結果を示す情報をホスト制御部11に出力する。処理結果を示す情報は、例えば、書き込み終了を示す情報、リードデータを含む情報、書き込み又は読み出しが失敗した情報、などである。
The physical
また、物理ディスク制御部12は、記憶域プール20を構成する物理ディスクに縮退が発生した場合、当該情報を記憶域プール20から取得し、取得した情報をRAID管理部13に出力する。縮退の発生は、対象の物理ディスクに故障が発生した場合に限られない。例えば、物理ディスクのエラー率などを監視し、監視している情報がある所定の条件を満たした場合などに縮退が発生してもよい。以下では、縮退が発生した物理ディスクは、読み出し及び書き込みが行えないものとするが、これには限られない。
Further, when the physical disk constituting the
RAID管理部13は、記憶域プール20の物理ディスクが記憶するデータの配置を、マップを用いて管理する。マップは、記憶域プール20の物理ディスクがデータを記憶する領域と当該領域に含まれる情報とを対応付けた情報である。ここで、領域とは、物理ディスクにおいてデータを記録する単位である。
また、RAID管理部13は、物理ディスク制御部12からのライトデータ・リードデータの領域の問い合わせに回答する。具体的には、RAID管理部13は、物理ディスク制御部12からライトデータ・リードデータの領域を問い合わせる情報を受け入れる。RAID管理部13は、マップ記憶部131からマップを読み出し、読み出した情報に基づいて、ライトデータ・リードデータの領域を決定する。RAID管理部13は決定した情報を物理ディスク制御部12に出力する。
また、RAID管理部13は、記憶域プール20を構成する物理ディスクに縮退が発生した場合に、縮退復旧のためコピーするデータを決定する処理を行う。RAID管理部13は、決定した情報を物理ディスク制御部12に出力する。
RAID管理部13の処理の詳細は後述する。
The
Further, the
Further, the
The details of the processing of the
マップ記憶部131は、RAID管理部13が管理するマップを記憶する。マップ記憶部131は、2種類のマップ(第1マップ、第2マップ)を記憶する。第1マップは、記憶域プール20を構成する物理ディスクの全てに縮退が起きていない場合のマップである。第2マップは、記憶域プール20を構成する物理ディスクのいずれかに縮退が起きた場合のマップである。第2マップは、縮退が起きた物理ディスクに応じて異なるマップである。そのため、第2マップは記憶域プール20を構成する物理ディスクの数だけ存在する。
The
以下、記憶域プール20が9台の物理ディスク(#1~#9)を有する場合の例について説明する。ただし、本実施形態は、以下の説明に限定されない。
Hereinafter, an example in which the
図2は、本発明の一実施形態に係るマップの一例を示す図である。図2におけるマップM1は、上述した第1マップの一例を示す。
この図に示す一例では、マップM1は、9台の物理ディスクの各々を9個の領域に分割している場合の、各領域が記憶するデータの構成を示す情報である。最初の行の“#1”~“#9”は、記憶域プール20を構成する個々の物理ディスクを示す。つまり、各列が1つの物理ディスクを構成する。また、ストライプSTは、各物理ディスクの領域を1つずつ含むグループを示す。各ストライプSTに含まれる領域は、各物理ディスクでの位置が一致する。この図に示す一例では、各行が1つのストライプを構成する。
FIG. 2 is a diagram showing an example of a map according to an embodiment of the present invention. Map M1 in FIG. 2 shows an example of the above-mentioned first map.
In the example shown in this figure, the map M1 is information showing the structure of the data stored in each area when each of the nine physical disks is divided into nine areas. “# 1” to “# 9” in the first line indicate individual physical disks constituting the
各領域は、データを記憶する領域(「データ領域」とも称する)か、予備領域(「スペア領域」とも称する)かのいずれかである。ここでデータは、記憶域プール20が記憶する情報と、当該情報に関する誤り訂正符号(パリティ)とを含む。また、予備領域は、記憶域プール20を構成する物理ディスクに縮退が発生していない場合には、データが記録されない領域である。
ある領域がデータ領域である場合、当該領域には“Dx”(xは0~35のいずれかの数字)という識別子が示される。また、各データは2つのデータ領域にミラーリングされている。ここで、ミラーリングとは、記憶域プール20を構成する物理ディスクの複数の領域に同一のデータが記憶されることを示す。
Each area is either an area for storing data (also referred to as a "data area") or a spare area (also referred to as a "spare area"). Here, the data includes information stored in the
When a certain area is a data area, the identifier "Dx" (x is a number from 0 to 35) is indicated in the area. Also, each data is mirrored in two data areas. Here, mirroring means that the same data is stored in a plurality of areas of the physical disk constituting the
ミラーリングされるデータ(以下、「ミラーリングデータ」とも称する)は、2つの物理ディスクに分散して記憶される。すなわち、ミラーリングデータは、第1の物理ディスクと、第1の物理ディスクとは異なる第2の物理ディスクに記憶される。第1及び第2の物理ディスクの組み合わせは、ミラーリングデータごとに異なる。また、ミラーリングデータは、同一のストライプ内に記憶される。 The mirrored data (hereinafter, also referred to as “mirroring data”) is distributed and stored in two physical disks. That is, the mirroring data is stored in the first physical disk and the second physical disk different from the first physical disk. The combination of the first and second physical disks is different for each mirroring data. Also, the mirroring data is stored in the same stripe.
また、ある領域がスペア領域である場合には、当該ストリップには、“S”という識別子が示される。スペア領域は、各物理ディスクに1つであって、かつ、各ストライプに1つになるように配置されている。また、スペア領域は記憶するデータがないので、ミラーリングされない。 Further, when a certain area is a spare area, the strip is indicated by the identifier "S". There is one spare area for each physical disk and one for each stripe. Also, the spare area has no data to store, so it is not mirrored.
この図に示す一例では、例えば物理ディスク#1のストライプ0は、識別子“D0”が示され、この領域がデータ領域であることを示す。また、物理ディスク#2のストライプ0も同じ識別子が示され、この2つの領域はミラーリングデータを保持することを示す。また、物理ディスク#9のストライプ0は、識別子“S”が表示されており、この領域がスペア領域であることを示す。
In the example shown in this figure, for example,
図3は、本発明の一実施形態に係るマップの別の一例を示す図である。図3におけるマップM2は、上述した第2マップの一例を示す。 FIG. 3 is a diagram showing another example of the map according to the embodiment of the present invention. Map M2 in FIG. 3 shows an example of the above-mentioned second map.
この図に示す一例では、マップM2は、物理ディスク#3が縮退した場合に、各領域が記憶するデータの構成を示す情報である。マップM2では、縮退が起きた物理ディスク#3が全てのスペア領域を含む。また、マップM2では、マップM1でスペア領域となっていた領域に、マップM1の物理ディスク#3のデータ領域であって、同一のストライプに含まれるデータ領域が記憶するデータが記憶される。
In the example shown in this figure, the map M2 is information indicating the structure of the data stored in each area when the
例えば、ストライプ0の場合、マップM1ではスペア領域は物理ディスク#9に存在する。また、マップM1では物理ディスク#3のストライプ0には識別子“D1”で識別されるデータが記憶されている。そこで、マップM2では、物理ディスク#9のストライプ0には識別子“D1”で識別されるデータが記憶される。また、物理ディスク#3のストライプ0はスペア領域となる。ストライプ0については、他の物理ディスク(#1、#2、#4~#8)で、マップM1とマップM2との間に変更点はない。
また、例えば、ストライプ6の場合、マップM1で既に物理ディスク#3がスペア領域である。従って、ストライプ6は、全ての物理ディスクについて、マップM1とマップM2との間に変更点はない。
For example, in the case of
Further, for example, in the case of
このように、マップM2は、マップM1において、縮退が発生した物理ディスクに存在するデータ領域を、同一のストライプのスペア領域に移動させて配置することで作成することが可能である。
また、他の物理ディスクに縮退が発生した場合についても、第2マップは、上述した方法によって容易にマップM1から作成可能である。
As described above, the map M2 can be created by moving the data area existing in the degenerate physical disk to the spare area of the same stripe in the map M1 and arranging the map M2.
Further, even when the degeneracy occurs in another physical disk, the second map can be easily created from the map M1 by the above-mentioned method.
続いて、実際に縮退が起きた場合に、RAID管理部13が、コピー対象となるデータを決定する処理について詳細を説明する。
図4は、本発明の一実施形態に係るデータコピーの一例を示す図である。この図に示す一例では、物理ディスク#3に縮退が発生した場合に、物理ディスク制御部12が、コピーを行うデータを矢印で示す。例えば、「D1からSへの矢印」は物理ディスク#6の識別子“D1”で識別されるデータ領域に記憶されるデータを、物理ディスク#9のスペア領域にコピーさせることを示す。RAID管理部13は、この矢印の元と先の領域、すなわち、コピー元とコピー先とを特定する。
Subsequently, the
FIG. 4 is a diagram showing an example of a data copy according to an embodiment of the present invention. In the example shown in this figure, when the degeneracy occurs in the
RAID管理部13は、縮退が発生した場合、物理ディスク制御部12から、縮退が発生した物理ディスクを示す情報を受け入れる。以下では、物理ディスク#3に縮退が発生した場合について説明するが、これには限られない。また、以降、縮退が発生した物理ディスクを「縮退ディスク」とも称する。
When the degeneration occurs, the
RAID管理部13は、物理ディスク制御部12から受け入れた情報に基づき、複数の第2マップの中から、縮退ディスク(#3)に対応する第2マップをマップ記憶部131から読み出す。また、RAID管理部13は、マップ記憶部131から第1マップを読み出す。RAID管理部13は、読みだした第1マップ及び第2マップに基づいて、移動させるデータを決定する。縮退ディスクに含まれているデータは、縮退のため、当該ディスクから読み出すことができない。そのため、RAID管理部13は、当該データがミラーリングされている領域からデータを読み出す。
The
具体的には、まず、RAID管理部13は、第1マップを参照し、障害ディスクの各領域に記憶されていたデータがミラーリングされている領域を特定する。例えば、ストライプ0の場合、RAID管理部13は、まず第1マップを参照し、縮退ディスクに記憶されているデータの識別子が“D1”であることを取得する。続いて、RAID管理部13は、第1マップを参照し、取得した識別子が示された他の領域(ミラーリングされている領域)を特定する。識別子“D1”の場合、RAID管理部13は、他に物理ディスク#6のストライプ0の領域に配置されていることを特定する。すなわち、この領域(物理ディスク#6のストライプ0)がコピー元となる領域である。
Specifically, first, the
次に、RAID管理部13は、第2マップを参照し、先ほど特定した領域に含まれるデータが縮退時にミラーリングされる領域を特定する。具体的には、RAID管理部13は、第2マップを参照し、先に取得した識別子が配置されている領域を特定する。例えば、識別子“D1”の場合、物理ディスク#6及び物理ディスク#9のストライプ0に当該識別子で識別されるデータが配置されていることを取得する。続いて、RAID管理部13は、先ほど特定した領域が物理ディスク#6であったことから、縮退時にミラーリングされる領域が物理ディスク#9のストライプ0であることを特定する。即ち、この領域(物理ディスク#9のストライプ0)がコピー先となる領域である。
Next, the
RAID管理部13は、他のストライプについても上述した処理と同様の処理を行う。図4に示す例では、このような処理の結果特定されたコピー元とコピー先が矢印で示されている。
この図の例では、各物理ディスクは、読み出し及び書き込みが行われる領域が1箇所ずつになり、その組み合わせが全て異なる。そのため、物理ディスク制御部12は、縮退時に複数の物理ディスクを同時に用いて読み出し及び書き込みを並行して実行することができる。すなわち、例えば、ストライプ0、2、5、8のデータコピーは、読み出し及び書き込みを行う物理ディスクが全て異なるため、同時に実行することが可能になる。また、ストライプ1、3、4、7のデータコピーについても同様である。従って、縮退ディスクが発生した場合でも短時間のデータコピーによって、マップM2で示される構成に移行することができる。マップM1の構成もマップM2の構成も冗長性は同等であるから、これにより、短時間で冗長性を復旧することが可能になる。
RAID管理部13は、コピーが必要な領域(D1、D4、D10、D14、D18、D22、D29、D32)についてのコピーが終了すると、マップを通常時のマップ(マップM1)から、縮退時のマップ(マップM2)に変更する。
The
In the example of this figure, each physical disk has one area where reading and writing are performed, and the combinations thereof are all different. Therefore, the physical
When the
次に、RAID管理部13の縮退復旧時の動作を説明する。
図5は、本発明の一実施形態に係る縮退時の動作の一例を示すフローチャートである。
Next, the operation of the
FIG. 5 is a flowchart showing an example of the operation at the time of degeneracy according to the embodiment of the present invention.
物理ディスク制御部12は、記憶域プール20を構成する物理ディスク(#3)に縮退が発生したこと示す情報を記憶域プール20から取得する(ステップS101)。物理ディスク制御部12は取得した情報を、RAID管理部13に出力する。制御装置1はその後、処理をステップS102に進める。
The physical
RAID管理部13は、縮退復旧を行うか否かを判定する(ステップS102)。縮退復旧がまだ行われていない場合、RAID管理部13は縮退復旧を行うと判定する(ステップS102:YES)。この場合、RAID管理部13は処理をステップS103に進める。
The
RAID管理部13は、縮退復旧が既に行われている場合、縮退復旧を行わないと判定する(ステップS102:NO)。この場合、RAID管理部13は処理をステップS104に進める。
The
RAID管理部13は、縮退復旧を行う(ステップS103)。具体的には、RAID管理部13は、記憶域プール20を管理するマップを、縮退前のマップ(マップM1)から、縮退時のマップ(マップM2)に変更することを決定する。また、RAID管理部13は、マップを変更することに伴い、データコピーを行うための情報を特定する。データコピーを行うための情報は、コピーが必要になるデータが含まれる領域(コピー元の領域)と、コピーを行う領域(コピー先の領域)とを示す情報である。RAID管理部13は、特定した情報を物理ディスク制御部12に出力する。物理ディスク制御部12は、RAID管理部13から受け入れた情報に従って、記憶域プール20のデータコピーを行う。RAID管理部13は、データコピーが完了すると、記憶域プール20を管理するマップを縮退時のマップ(マップM2)に変更する。制御装置1は、処理が完了すると、処理をステップS101に戻す。
The
RAID管理部13は、縮退復旧が既に行われている場合には、現状のマップを維持する(ステップS104)。この場合、RAID管理部13は記憶域プール20を構成するマップをすでに縮退時のマップ(マップM2)に変更しているので、当該マップでの運用を継続する。以下、制御装置1は、縮退した物理ディスクを交換するなどによって、縮退状態でなくなるまで、ステップS102に戻って、処理を繰り返す。
The
なお、RAID管理部13は、縮退状態が解除されると、記憶域プール20が使用するマップを縮退時のマップ(マップM2)から、通常時のマップ(マップM1)に変更するための処理を行う。この際、RAID管理部13は、縮退時のマップに移行するときに行ったコピーを逆方向に行う。即ち、縮退時のマップ移行時のコピー元とコピー先とを入れ替えてコピーを行う。その後、RAID管理部13は、マップを通常時のマップ(マップM1)に変更する。
When the degenerate state is released, the
次に、ホスト30からデータの書き込みが行われる場合の動作について、説明する。
図6は、本発明の一実施形態に係るデータ書き込みを行う領域の判定処理の一例を示すフローチャートである。
Next, the operation when data is written from the
FIG. 6 is a flowchart showing an example of a determination process of a region for writing data according to an embodiment of the present invention.
ホスト制御部11は、ホスト30から書き込みを示す情報を受信すると、当該情報を物理ディスク制御部12に出力する。物理ディスク制御部12は入力された情報に基づいて、ライトデータが記憶域プール20のどの領域に記憶されているかを問い合わせる情報をRAID管理部13に出力する(ステップS201)。その後、処理をステップS202に進める。
When the
RAID管理部13は、物理ディスク制御部12から受け入れた情報と、マップ記憶部131から読み出したマップとに基づいて、ライトデータが記憶される領域を特定する(ステップS202)。その後、処理をステップS203に進める。
例えば、ライトデータが“D1”内に記憶されるデータであれば、RAID管理部13は、第1マップ(図2参照)に基づいて、ライトデータが記憶される領域は、物理ディスク#3のストライプ0と、物理ディスク#6のストライプ0とであることを特定する。なお、マップM1を参照するのは、縮退が起きていない(通常時の)場合、又は、縮退が起こっているが、データコピーが完了しておらずマップが変更されていない場合である。縮退時のマップ(マップM2)に変更されている場合には、RAID管理部13は、第2マップ(例えば、図3参照)に基づいて上述した処理を行う。
以下、ライトデータが“D1”内に記憶されるデータであり、縮退ディスクが、物理ディスク#3である場合について代表して説明するが、本実施形態はこれには限られない。
The
For example, if the write data is data stored in "D1", the
Hereinafter, the case where the write data is the data stored in “D1” and the degenerate disk is the
RAID管理部13は、マップが変更中か否かを判定する(ステップS203)。RAID管理部13は、マップの変更が起きていない場合、マップ変更中ではないと判定する(ステップS203:NO)。この場合、RAID管理部13は処理をステップS205に進める。
RAID管理部13は、縮退が起きたことを示す情報を物理ディスク制御部12から取得している場合であって、縮退時のマップに変更になっていない場合、マップが変更中であると判定する(ステップS203:YES)。この場合、RAID管理部13は処理をステップS204に進める。
The
The
RAID管理部13は、変更前後でライトデータが記憶される領域(以下、「対象領域」とも称する)の状態(「物理ディスク状態」とも称する)を仮決定する(ステップS204)。
物理ディスク状態は、「リード/ライト可」、「ライト可」、「アクセス不可」の3状態である。「リード/ライト可」は、当該領域からデータを読み出すことができ、また当該領域にデータを書き込むことができることを示す。「ライト可」は当該領域にデータを書き込むことはできるが、当該領域からデータを読み出すことができないことを示す。「アクセス不可」は縮退している、もしくはデータコピーが行われているなどの理由により、読み出しも書き込みも行えない状態であることを示す。
The
There are three physical disk states: "read / write possible", "write possible", and "access inaccessible". "Read / write possible" indicates that data can be read from the area and data can be written to the area. "Writable" indicates that data can be written to the area, but data cannot be read from the area. "Inaccessible" indicates that reading and writing cannot be performed due to reasons such as degeneration or data copying.
RAID管理部13は、変更後のマップを読み出し、変更後のマップにおける対象領域を特定する。具体的には、RAID管理部13は、変更後のマップであるマップM2に基づいて、“D1”が物理ディスク#6のストライプ0と、物理ディスク#9のストライプ0に記憶されることを特定する。続いて、RAID管理部13は、変更前後の対象領域を比較し、物理ディスク状態を仮決定する。その後処理をステップS205に進める。
具体的には、RAID管理部13は、変更前後の両方の対象領域に含まれる領域について、当該領域を「リード/ライト可」と設定する。また、RAID管理部13は、変更前後のどちらかにしか含まれない領域については、当該領域を「ライト可」と設定する。上述した例では、物理ディスク#6のストライプ0は変更前後の両方に含まれるので、「リード/ライト可」である。また、物理ディスク#3のストライプ0、及び物理ディスク#9のストライプ0は、変更前または変更後にのみ含まれるので、どちらの領域も「ライト可」である。
The
Specifically, the
RAID管理部13は、物理ディスク状態を仮決定すると、処理をステップS205に進める。
When the
RAID管理部13は、記憶域プール20に縮退の発生、復旧の実行のどちらかが行われているか否かを判定する(ステップS205)。RAID管理部13は、縮退を示す情報を物理ディスク制御部12から受信している場合、記憶域プール20に縮退が発生していると判定し(ステップS205:YES)、処理をステップS206に進める。また、RAID管理部13は、縮退が起きたことを示す情報を物理ディスク制御部12から取得している場合であり、縮退時のマップに変更になっていない場合、マップの変更が行われている、すなわち、復旧が実行されていることを判定する(ステップS205:YES)。この場合もRAID管理部13は処理をステップS206に進める。
The
一方、RAID管理部13は、縮退を起きたことを示す情報を物理ディスク制御部12から受信していない場合、または縮退が解除したことを示す情報を受信後、再度縮退が起きたことを示す情報を物理ディスク制御部12から受信していない場合、縮退も復旧もどちらも起きていないと判定する(ステップS205:NO)。この場合、RAID管理部13は処理をステップS207に進める。
On the other hand, the
RAID管理部13は、ステップS204で仮決定した物理ディスク状態のうち、縮退・復旧が進行中の物理ディスクに含まれる物理ディスク状態を「アクセス不可」に設定する(ステップS206)。上述した例では、物理ディスク#3は、縮退している物理ディスクである。従って、RAID管理部13は、物理ディスク#3のストライプ0を「アクセス不可」に変更し、物理ディスク状態の設定を完了する。また、例えば、物理ディスク#6のストライプ0のデータを物理ディスク#9のストライプ0にミラーリングしている場合、RAID管理部13は、どちらの物理ディスク状態も「アクセス不可」に変更し、物理ディスク状態の設定を完了する。RAID管理部13は物理ディスク状態の設定が完了すると、物理ディスク状態を物理ディスク制御部12に出力し、処理を終了する。
Among the physical disk states tentatively determined in step S204, the
RAID管理部13は、縮退・復旧のどちらも行われていない場合、ステップS204で仮決定した物理ディスク状態で設定を完了する(ステップS207)。RAID管理部13は、RAID管理部13は物理ディスク状態の設定が完了すると、物理ディスク状態を物理ディスク制御部12に出力し、処理を終了する。
When neither degeneration nor restoration is performed, the
物理ディスク制御部12は、RAID管理部13から受信した情報に基づいて、「ライト可」の領域に、ライトデータを書き込む処理を実行する。上述した例の場合、データコピーが行われていないのであれば、物理ディスク制御部12は、物理ディスク#6のストライプ0と、物理ディスク#9のストライプ0に書き込みを行う。
The physical
また、ホスト30へのデータの読み込みが行われる場合についても、RAID管理部13は上述した書き込みが行われる場合と同様の処理を行う。この場合、物理ディスク制御部12は、RAID管理部13から受信した情報に基づいて、「リード可」の領域から、リードデータを読み出す。上述した例の場合、データコピーが行われていないのであれば、物理ディスク制御部12は、物理ディスク#6のストライプ0からリードデータの読み出しを行う。
Further, when the data is read to the
以上説明したように、本発明の一実施形態による制御装置1は、複数の記憶装置を用いて構成される記憶域プールを制御する制御装置であって、前記記憶域プールに縮退が発生していない場合に、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域を示す第1保存領域情報(例えば、第1マップ:図2)と、前記縮退が発生した場合に、前記保存領域及び前記予備領域を示す第2保存領域情報(例えば、第2マップ:図3)と、を取得する取得部(例えば、RAID管理部13)と、前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記データを再配置するための制御を行う制御部(例えば、物理ディスク制御部12)と、を備える。
As described above, the
これにより、制御装置1は、第1保存領域情報と第2保存領域情報とに基づいて、再配置するデータを短時間に決定することができる。そのため、再配置を短時間で完了することができ、高速に冗長度を復旧させることができる。
Thereby, the
また、本発明の一実施形態による制御装置1について、前記第1保存領域情報は、2つの前記記憶装置に設けられる保存領域のそれぞれに対して、同一の前記データを保存することを示す情報であって、前記保存領域ごとに当該保存領域が含まれる前記記憶装置の組み合わせが異なる情報である。
これにより、再配置するデータは、ミラーリングの対象となる記憶装置である複数の物理ディスクに分散する。これにより、多数の物理ディスクを同時に用いて再配置を行うことができるようになり、再配置を短時間で完了することができる。そのため、高速に冗長度を復旧させることができる。
Further, regarding the
As a result, the data to be rearranged is distributed to a plurality of physical disks that are storage devices to be mirrored. This makes it possible to perform relocation using a large number of physical disks at the same time, and the relocation can be completed in a short time. Therefore, the redundancy can be restored at high speed.
また、本発明の一実施形態による制御装置1について、前記第2保存領域情報は、前記記憶装置の少なくとも1つは全て前記予備領域であり、前記第1保存領域情報における当該記憶装置に記憶されるデータ領域が他の前記記憶装置に分散して再配置される情報である。
これにより、再配置前に予備領域となっている領域にデータコピーを行い再配置が完了すれば、他の処理を行うことなく、冗長性を回復させることができる。これにより、冗長度を再配置の処理のみで復旧させることができる。そのため、高速に冗長度を復旧させることができる。
Further, with respect to the
As a result, if the data is copied to the spare area before the relocation and the relocation is completed, the redundancy can be recovered without performing other processing. As a result, the redundancy can be restored only by the relocation process. Therefore, the redundancy can be restored at high speed.
また、本発明の一実施形態による制御装置1の前記制御部(例えば、物理ディスク制御部12やRAID管理部13)は、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退の発生前後において保存領域の異なる前記データを、前記縮退からの復旧において再配置が必要な再配置データと判定し、前記再配置データを再配置するための制御を行う。
これにより、制御装置1は、2つの保存領域情報に基づいて、再配置に必要なデータの保存領域を素早く決定することができる。そのため、高速に冗長度を復旧させることができる。
Further, the control unit (for example, the physical
Thereby, the
また、本発明の一実施形態による制御装置1は前記第1保存領域情報において前記再配置データが含まれる記憶装置と、前記第2保存領域情報において前記再配置データが含まれる記憶装置との組み合わせが、前記再配置データの保存領域ごとに異なる。
これにより、制御装置1は、再配置に必要な処理を、上述した物理ディスクが異なる組み合わせについては、同時に実行することができる。そのため、短時間で再配置を完了することができ、高速に冗長度を復旧させることができる。
Further, the
As a result, the
なお、上述した実施形態では、スペア領域が合計で物理ディスク1台分となる例を説明したが、スペア領域はこれには限られない。以下、スペア領域が合計で物理ディスク2台分となる例を説明する。 In the above-described embodiment, an example in which the spare area is equivalent to one physical disk in total has been described, but the spare area is not limited to this. Hereinafter, an example in which the spare area is equivalent to two physical disks in total will be described.
図7は、本発明の一実施形態に係るマップの別の一例を示す図である。この図に示す一例では、記憶域プール20は10台の物理ディスク(#1~#10)を有する。また、この図におけるマップM3は、上述した第1マップの一例である。
FIG. 7 is a diagram showing another example of the map according to the embodiment of the present invention. In the example shown in this figure, the
この図に示す例では、各物理ディスクは、10個に分割されたストライプによって管理される。また、各物理ディスクは、2つのスペア領域を有し、各ストライプも2つのスペア領域を有する。各物理ディスクが有するスペア領域が含まれるストライプの組み合わせは、全ての物理ディスクで異なる。また、各ストライプが有するスペア領域が含まれる物理ディスクの組み合わせも、全てのストライプで異なる。
また、マップM1と同様、全てのデータ領域はミラーリングされる。また、ミラーリングされる領域が含まれる物理ディスクの組み合わせは全て異なる。
In the example shown in this figure, each physical disk is managed by stripes divided into ten. Also, each physical disk has two spare areas, and each stripe also has two spare areas. The combination of stripes that includes the spare area of each physical disk is different for all physical disks. Also, the combination of physical disks including the spare area of each stripe is different for all stripes.
Also, as with map M1, all data areas are mirrored. Also, the combinations of physical disks that include the mirrored area are all different.
この図に示す例では、スペア領域が合計で2台分存在する。そのため、マップ記憶部131は、第2マップとして、縮退ディスクが1台の場合だけでなく、縮退ディスクが2台の場合の全ての組み合わせについて、第2マップを予め所持する。これにより、縮退ディスクが2台生じる場合であっても、1台の場合と同様の処理を行うことで、短時間で冗長度を復旧させることができる。
In the example shown in this figure, there are a total of two spare areas. Therefore, as the second map, the
また、上述した実施形態では、全ての物理ディスクを記憶域プール20に初めから組み込む例について説明したが、これには限られない。例えば、縮退が生じていない場合には、記憶域プール20に組み込まれない物理ディスク(以下、「スペアディスク」とも称する)が存在してもよい。この場合、縮退が生じた時点でスペアディスクを縮退ディスクの代わりに組み込むことで、縮退を解消することができる。この場合、スペアディスクがある場合には、縮退ディスクとスペアディスクとの役割を交換する処理を優先する。以下、スペアディスクが存在する場合における、RAID管理部13の、縮退時の動作について図を用いて説明する。
Further, in the above-described embodiment, an example in which all physical disks are incorporated into the
図8は、本発明の一実施形態に係る縮退時の動作の別の一例を示すフローチャートである。以下の説明では、記憶域プール20を構成する物理ディスクのうち物理ディスク#3が縮退する場合の例について説明するが、本発明の実施形態はこれには限られない。
FIG. 8 is a flowchart showing another example of the operation at the time of degeneracy according to the embodiment of the present invention. In the following description, an example in which the
物理ディスク制御部12は、記憶域プール20を構成する物理ディスク(#3)に縮退が発生したことを示す情報を記憶域プール20から取得する(ステップS301)。物理ディスク制御部12は取得した情報を、RAID管理部13に出力する。制御装置1はその後、処理をステップS302に進める。
The physical
RAID管理部13は、スペアディスクを用いた縮退復旧を行うか否かを判定する(ステップS302)。RAID管理部13は、物理ディスク制御部12からスペアディスクに関する情報を取得する。スペアディスクに関する情報は、スペアディスクの数を示す情報、記憶域プール20に組み込まれたスペアディスクの数を示す情報を含む。
RAID管理部13が取得した情報に基づき、組み込み可能なスペアディスクが存在する場合には、スペアディスクを用いた縮退復旧を行うと判定し(ステップS302:YES)、処理をステップS303に進める。
RAID管理部13は、物理ディスク制御部12から取得したスペアディスクに関する情報に基づき、組み込み可能なスペアディスクが存在しない場合は、スペアディスクを用いた縮退復旧を行わないと判定し(ステップS302:NO)、処理をステップS304に進める。
The
If there is a spare disk that can be embedded based on the information acquired by the
Based on the information about the spare disk acquired from the physical
RAID管理部13は、現状のマップを維持し、スペアディスクを用いた再構築を実施する(ステップS303)。具体的には、RAID管理部13は、現在使用しているマップの変更を行わず、そのまま使用することを決定する。また、RAID管理部13は、スペアディスクを縮退ディスク(#3)の代わりとして、データの再構成を示す情報を、物理ディスク制御部12に出力する。データの再構成を示す情報は、スペアディスクの各領域にコピーするデータのコピー元とコピー先(スペアディスク内の領域)を示す情報である。ここで、コピー元は、縮退ディスクに記憶されるデータがミラーリングされている領域である。例えば、図2の例では、ストライプ0の場合、縮退ディスクに含まれるデータがミラーリングされている領域は、物理ディスク#6である(どちらも同じ識別子“D1”が示されている)。そこで、RAID管理部13は、ストライプ0については、物理ディスク#6に記憶されているデータをコピー元とすることを示す情報を物理ディスク制御部12に出力する。
The
RAID管理部13は、上述した処理を全てのストライプに対して行う。結果として、コピー元のディスクはストライプごとに全て異なるので、実際のコピー処理において、複数の物理ディスクからデータを読み込むことができるようになる。
物理ディスク制御部12は、RAID管理部13から入力される情報に従って、スペアディスクへのデータコピーを行う。物理ディスク制御部12は、データコピーが終了すると、縮退が解除されたことを示す情報をRAID管理部13に出力し、処理を終了する。
The
The physical
ステップS304~ステップS306までの処理は、図5におけるステップS102~ステップS104までの処理と同様であるので、ここでは説明を省略する。 Since the processing from step S304 to step S306 is the same as the processing from step S102 to step S104 in FIG. 5, description thereof will be omitted here.
このように、スペアディスクがある場合には、制御装置1は、スペアディスクを用いて復旧を行うことができ、スペアディスクがない場合には、上述した方法で、スペア領域にデータをコピーすることで、冗長度を短時間で復旧させることができる。
In this way, if there is a spare disk, the
図9は、本発明の一実施形態に係る制御装置の最小構成を示す図である。
この図に示すように、制御装置100は、少なくとも取得部101と制御部102とを備える。
取得部101は、記憶域プールに縮退が発生していない場合に、記憶域プールに記憶するデータの保存領域、及びデータを保存可能な予備領域を示す第1保存領域情報と、前記縮退が発生した場合に、保存領域及び前記予備領域を示す第2保存領域情報と、を取得する。
制御部102は、縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報と、に基づいて、前記データを再配置するための制御を行う。
FIG. 9 is a diagram showing a minimum configuration of a control device according to an embodiment of the present invention.
As shown in this figure, the
The
The
なお、上述した実施形態において、記憶域プール20の物理ディスクに縮退が発生した場合に、縮退していない他の物理ディスクからデータをコピーして冗長度を復旧する例を説明したが、これには限られない。例えば、縮退ディスクから読み出し可能なデータがある場合は、当該データを縮退ディスクから読み出してコピーしてもよい。
In the above-described embodiment, when degeneration occurs in the physical disk of the
また、上述した実施形態において、縮退時に、RAID管理部13が第2マップを参照して、データのミラーリング先を特定する例を説明したが、これには限られない。例えば、RAID管理部13は、第1マップにおいてスペア領域となっている領域をミラーリング先として決定してもよい。この場合、RAID管理部13は、コピー元のストライプと同一のストライプに存在するスペア領域を、ミラーリング先として決定する。
Further, in the above-described embodiment, the example in which the
また、上述した実施形態において、制御装置1と記憶域プール20とが別の構成である例を説明したが、これには限られない。例えば、制御装置1と記憶域プール20とが同一のものであってもよい。また、ホスト制御部11が行う処理を実行する装置、RAID管理部13が行う処理を実行する装置が制御装置1の外部に備えられてもよい。
Further, in the above-described embodiment, an example in which the
なお、上述した実施形態における制御装置1の一部、例えば、ホスト制御部11、物理ディスク制御部12、RAID管理部13などをコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、制御装置1に内蔵されたコンピュータシステムであって、OS(Operating System)や周辺機器等のハードウェアを含むものとする。
A part of the
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。 Further, the "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, and a storage device such as a hard disk built in a computer system. Further, a "computer-readable recording medium" is a medium that dynamically holds a program for a short time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In that case, a program may be held for a certain period of time, such as a volatile memory inside a computer system serving as a server or a client. Further, the above-mentioned program may be for realizing a part of the above-mentioned functions, and may be further realized by combining the above-mentioned functions with a program already recorded in the computer system.
また、上述した実施形態における制御装置1の一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。制御装置1の各機能部は個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。
Further, a part or all of the
以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。また、本発明の一態様は、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。また、上記各実施形態や変形例に記載された要素であり、同様の効果を奏する要素同士を置換した構成も含まれる。 Although one embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like are made without departing from the gist of the present invention. It is possible to do. Further, one aspect of the present invention can be variously modified within the scope of the claims, and the technical aspects of the present invention can also be obtained by appropriately combining the technical means disclosed in the different embodiments. Included in the range. Further, the elements described in each of the above-described embodiments and modifications are included, and a configuration in which elements having the same effect are replaced with each other is also included.
1、1a・・・情報処理システム、10・・・スマートメータ、11、21、31・・・通信部、12、22、22a、34、34a・・・記憶部、13・・・電力測定部、14・・・制御部、20・・・サーバ、221・・・教師データ記憶部、222・・・学習モデル記憶部、223・・・スマートメータ情報記憶部、224・・・荷物情報記憶部、225・・・時刻情報記憶部、226・・・予測情報記憶部、227・・・地図情報記憶部、228・・・配送情報記憶部、23、23a、35、35a・・・処理部、231、231a、351、351a・・・情報取得部、232・・・学習部、233・・・時刻取得部、234・・・予測部、235、235a・・・配送先決定部、236、353、353a・・・出力処理部、30、30a・・・配送端末、32・・・位置情報取得部、33・・・入力部、341・・・表示関連情報記憶部、342・・・位置情報記憶部、343・・・配送情報記憶部、352・・・表示処理部、36・・・表示部 1, 1a ... Information processing system, 10 ... Smart meter, 11, 21, 31 ... Communication unit, 12, 22, 22a, 34, 34a ... Storage unit, 13 ... Power measurement unit , 14 ... Control unit, 20 ... Server, 221 ... Teacher data storage unit, 222 ... Learning model storage unit, 223 ... Smart meter information storage unit, 224 ... Luggage information storage unit , 225 ... Time information storage unit, 226 ... Prediction information storage unit, 227 ... Map information storage unit, 228 ... Delivery information storage unit, 23, 23a, 35, 35a ... Processing unit, 231 ... 231a, 351 and 351a ... Information acquisition unit 232 ... Learning unit 233 ... Time acquisition unit 234 ... Prediction unit 235, 235a ... Delivery destination determination unit 236, 353 , 353a ... Output processing unit, 30, 30a ... Delivery terminal, 32 ... Position information acquisition unit, 33 ... Input unit, 341 ... Display-related information storage unit, 342 ... Position information Storage unit, 343 ... Delivery information storage unit, 352 ... Display processing unit, 36 ... Display unit
Claims (8)
通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎に同一の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得部と、
前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御部と、
を備える制御装置。 A control device that controls a storage pool configured using multiple storage devices.
First storage area information indicating a storage area of either a data storage area to be stored in the storage area pool or a spare area in which the data can be stored in a normal time, and identification information of each of the plurality of storage devices. For each storage area specified by the identification information of a plurality of groups provided in the same number in each of the storage devices, the data recorded in the data storage area is shown for each group. With the first storage area information indicating that at least one of the spare areas is set in the storage device different from the other groups and the same data is stored in at least two storage devices for each group. Second storage area information indicating the storage area and the spare area at the time of withdrawal , identification information of each of the plurality of storage devices, and identification information of a plurality of groups provided in the same number in each of the storage devices. And, for each storage area specified by, the acquisition unit for acquiring at least the second storage area information indicating at least the identification information of the data for each storage area of the data at the time of shrinkage, and
When the shrinkage occurs, based on the first storage area information and the second storage area information, the data recorded in the first storage area information corresponding to the identification information of the shrinkage storage device is stored. , The data is rearranged by copying from the storage area of another storage device in the same group as the data storage area to the spare area, and when the contracted state is released, the first storage area information is used. A control unit that controls to return the rearranged data to the original arrangement based on the second storage area information.
A control device equipped with.
請求項1に記載の制御装置。 The first storage area information is information indicating that the same data is stored for each of the storage areas provided in the two storage devices, and the storage area is included in each storage area. The combination of the storage devices is different information.
The control device according to claim 1.
請求項1または請求項2のいずれか一項に記載の制御装置。 In the second storage area information, at least one of the storage devices is the spare area, and the data area stored in the storage device in the first storage area information is dispersed and regenerated in the other storage devices. Information to be placed,
The control device according to any one of claims 1 and 2.
請求項1から請求項3のいずれか一項に記載の制御装置。 Based on the first storage area information and the second storage area information, the control unit relocates the data having different storage areas before and after the occurrence of the degeneration, and the relocation data that needs to be rearranged in the recovery from the degeneration. Is determined, and control for rearranging the rearranged data is performed.
The control device according to any one of claims 1 to 3.
請求項4に記載の制御装置。 The combination of the storage device in which the relocation data is included in the first storage area information and the storage device in which the relocation data is included in the second storage area information is different for each storage area of the relocation data.
The control device according to claim 4.
請求項1から請求項5のいずれか一項に記載の制御装置と、
を備えるディスクアレイ装置。 With multiple storage devices
The control device according to any one of claims 1 to 5.
A disk array device equipped with.
通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得ステップと、
前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御ステップと、
を含む、制御方法。 In a control device that controls a storage pool configured by using multiple storage devices,
First storage area information indicating a storage area of either a data storage area to be stored in the storage area pool or a spare area in which the data can be stored in a normal time, and identification information of each of the plurality of storage devices. For each storage area specified by the identification information of a plurality of groups provided in the same number in each of the storage devices, the data recorded in the data storage area is shown for each group. The first storage area information indicating that at least one of the spare areas is set in the storage device different from the other groups and the data for each group is stored in at least two storage devices, and the regression. Second storage area information indicating the storage area and the spare area at the time , the identification information of each of the plurality of storage devices, the identification information of a plurality of groups provided in the same number of the storage devices, and the identification information of the plurality of groups. For each storage area specified in, the acquisition step of acquiring at least the second storage area information indicating at least the identification information of the data for each storage area of the data at the time of shrinkage, and the acquisition step.
When the shrinkage occurs, based on the first storage area information and the second storage area information, the data recorded in the first storage area information corresponding to the identification information of the shrinkage storage device is stored. When the data is rearranged by copying from the storage area of another storage device in the same group as the data storage area to the spare area and the contracted state is released, the first storage area information and A control step that controls to return the rearranged data to the original arrangement based on the second storage area information, and
Control methods, including.
複数の記憶装置を用いて構成される記憶域プールを制御する制御装置であって、
通常時の、前記記憶域プールに記憶するデータの保存領域及び前記データを保存可能な予備領域の何れかの記憶領域を示す第1保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記データの保存領域にはその領域に記録されるデータを示し、前記グループ毎の前記予備領域の少なくとも一つが他の前記グループとは異なる前記記憶装置に設定され、前記グループ毎の前記データが少なくとも2つの前記記憶装置に格納されたことを示す前記第1保存領域情報と、縮退時の、前記保存領域及び前記予備領域を示す第2保存領域情報であって、前記複数の記憶装置それぞれの識別情報と、それら記憶装置それぞれに同じ数設けられた複数のグループの識別情報と、で特定される各記憶領域について、前記縮退時の前記データの保存領域ごとの前記データの識別情報を少なくとも示す前記第2保存領域情報と、を取得する取得ステップと、
前記縮退が発生した場合に、前記第1保存領域情報及び前記第2保存領域情報に基づいて、前記縮退した記憶装置の識別情報に対応して前記第1保存領域情報に記録される前記データを、そのデータの保存領域と同じグループの他の記憶装置の保存領域から前記予備領域にコピーすることにより前記データを再配置し、前記縮退状態が解除される場合に、前記第1保存領域情報と前記第2保存領域情報に基づいて、前記再配置されたデータを元の配置に戻すための制御を行う制御ステップと、
を実行させるための、プログラム。 For computers that control storage pools that are configured with multiple storage devices,
A control device that controls a storage pool configured using multiple storage devices.
First storage area information indicating a storage area of either a data storage area to be stored in the storage area pool or a spare area in which the data can be stored in a normal time, and identification information of each of the plurality of storage devices. For each storage area specified by the identification information of a plurality of groups provided in the same number in each of the storage devices, the data recorded in the data storage area is shown for each group. The first storage area information indicating that at least one of the spare areas is set in the storage device different from the other groups and the data for each group is stored in at least two storage devices, and the regression. Second storage area information indicating the storage area and the spare area at the time , the identification information of each of the plurality of storage devices, the identification information of a plurality of groups provided in the same number of the storage devices, and the identification information of the plurality of groups. For each storage area specified in, the acquisition step of acquiring at least the second storage area information indicating at least the identification information of the data for each storage area of the data at the time of shrinkage, and the acquisition step.
When the shrinkage occurs, based on the first storage area information and the second storage area information, the data recorded in the first storage area information corresponding to the identification information of the shrinkage storage device is stored. When the data is rearranged by copying from the storage area of another storage device in the same group as the data storage area to the spare area and the contracted state is released, the first storage area information and A control step that controls to return the rearranged data to the original arrangement based on the second storage area information, and
A program to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019045456A JP7056874B2 (en) | 2019-03-13 | 2019-03-13 | Controls, disk array devices, control methods, and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019045456A JP7056874B2 (en) | 2019-03-13 | 2019-03-13 | Controls, disk array devices, control methods, and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020149267A JP2020149267A (en) | 2020-09-17 |
JP7056874B2 true JP7056874B2 (en) | 2022-04-19 |
Family
ID=72429670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019045456A Active JP7056874B2 (en) | 2019-03-13 | 2019-03-13 | Controls, disk array devices, control methods, and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7056874B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001344154A (en) | 2000-06-05 | 2001-12-14 | Fujitsu Ltd | I / O control unit |
JP2010277240A (en) | 2009-05-27 | 2010-12-09 | Nec Corp | Data storage system, and data area management method |
JP2018185757A (en) | 2017-04-27 | 2018-11-22 | 富士通株式会社 | Storage control device, storage control method, and storage control program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3155836B2 (en) * | 1992-10-08 | 2001-04-16 | 富士通株式会社 | Disk array device |
JPH09269871A (en) * | 1996-03-29 | 1997-10-14 | Mitsubishi Electric Corp | Data re-redundancy making system in disk array device |
JPH11184643A (en) * | 1997-12-22 | 1999-07-09 | Nec Corp | Managing method for disk array device and mechanically readable recording medium recording program |
-
2019
- 2019-03-13 JP JP2019045456A patent/JP7056874B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001344154A (en) | 2000-06-05 | 2001-12-14 | Fujitsu Ltd | I / O control unit |
JP2010277240A (en) | 2009-05-27 | 2010-12-09 | Nec Corp | Data storage system, and data area management method |
JP2018185757A (en) | 2017-04-27 | 2018-11-22 | 富士通株式会社 | Storage control device, storage control method, and storage control program |
Also Published As
Publication number | Publication date |
---|---|
JP2020149267A (en) | 2020-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11163472B2 (en) | Method and system for managing storage system | |
US7831768B2 (en) | Method and apparatus for writing data to a disk array | |
US6898668B2 (en) | System and method for reorganizing data in a raid storage system | |
US8880843B2 (en) | Providing redundancy in a virtualized storage system for a computer system | |
US8839028B1 (en) | Managing data availability in storage systems | |
US8433685B2 (en) | Method and system for parity-page distribution among nodes of a multi-node data-storage system | |
US7788244B2 (en) | Method and system for copying a snapshot tree | |
US8041891B2 (en) | Method and system for performing RAID level migration | |
US20040123032A1 (en) | Method for storing integrity metadata in redundant data layouts | |
KR101285900B1 (en) | Controller, storage apparatus, and computer readable medium | |
US10210062B2 (en) | Data storage system comprising an array of drives | |
KR20090073099A (en) | How to Rebuild and Copy Back Failed Drives Using Global Hot Spare Disks | |
JP2007242018A (en) | Distributed data-storage system | |
US20170300393A1 (en) | Raid rebuild algorithm with low i/o impact | |
US7721143B2 (en) | Method for reducing rebuild time on a RAID device | |
US10409682B1 (en) | Distributed RAID system | |
CN111124262B (en) | Method, apparatus and computer readable medium for managing Redundant Array of Independent Disks (RAID) | |
CN106168920A (en) | Controlling a Redundant Array of Independent Disks (RAID) comprising read only flash data storage devices | |
US20160342470A1 (en) | Separating a hybrid asymmetric mix of a raid 1 mirror and a parity-based raid array | |
US20050193273A1 (en) | Method, apparatus and program storage device that provide virtual space to handle storage device failures in a storage system | |
US20060112221A1 (en) | Method and Related Apparatus for Data Migration Utilizing Disk Arrays | |
US20180307427A1 (en) | Storage control apparatus and storage control method | |
JP7056874B2 (en) | Controls, disk array devices, control methods, and programs | |
JP2005107839A (en) | Array controller and disk array rebuilding method | |
JPH06119126A (en) | Disk array device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200707 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210317 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210323 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210519 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20211019 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220119 |
|
C60 | Trial request (containing other claim documents, opposition documents) |
Free format text: JAPANESE INTERMEDIATE CODE: C60 Effective date: 20220119 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20220131 |
|
C21 | Notice of transfer of a case for reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C21 Effective date: 20220201 |
|
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: 20220308 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220329 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7056874 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |