




本発明は、ディスクアレイ装置に関し、特に、高可用性を確保しつつ、高速アクセスが可能なディスクアレイ装置に関する。 The present invention relates to a disk array device, and more particularly to a disk array device capable of high-speed access while ensuring high availability.
  従来のサーバ装置等に用いるコンピュータシステムのディスクアレイ装置においては、一般に、ハードディスクドライブの信頼性、可用性の向上とアクセスの高速化を図るために、RAID(Redundant
Arrays of Inexpensive Disks)機構を組み込むことが多い。周知のように、RAID機構のレベルには何種類かがあるが、信頼性・可用性と経済性とのバランスに優れていることから、RAID5方式のディスクアレイ装置が多くのユーザで採用されている。In a disk array device of a computer system used in a conventional server device or the like, generally, in order to improve the reliability and availability of hard disk drives and to increase the access speed, a RAID (Redundant
 Arrays of Inexpensive Disks) mechanism is often incorporated. As is well known, although there are several types of RAID mechanisms, a RAID 5 type disk array device is adopted by many users because of its excellent balance between reliability, availability and economy. .
RAID5方式は、各ハードディスクドライブにパリティ情報を分散配置する方式であり、1台のハードディスクドライブが故障した際のデータの保証と、平常時の読み出し性能としてのストライピングによる高速性、並びに、1台分のハードディスクドライブを余分に持つだけで良いという経済性を有している。しかし、現実には、同時に、2台のハードディスクドライブの故障が発生することが、比較的頻繁であり、ユーザとしては、予想外の事態が生じたことになり、混乱が大きくなることが多かった。また、ハードディスクドライブの縮退(1台故障)時には、読み出しの処理性能が大幅に低下するという問題もあった。 The RAID5 system is a system in which parity information is distributed in each hard disk drive, guaranteeing data when one hard disk drive fails, high speed by striping as a normal reading performance, and one disk It has the economy that it is only necessary to have an extra hard disk drive. However, in reality, failures of two hard disk drives occur relatively frequently at the same time, and as a user, an unexpected situation occurred, and confusion often increased. . In addition, when the hard disk drive is degenerated (one unit failure), there has been a problem that the reading processing performance is greatly reduced.
かくのごときRAID5の可用性上の問題を解決するために、RAID6が開発されたが、このRAID6は、2種のパリティ(ダブルパリティ)情報を異なるハードディスクドライブに分散配置することにより、2台のハードディスクドライブの同時故障まで救済可能とした方式であるが、アクセス性能上の問題に関しては、RAID5とほとんど変わりがないし、書き込み性能については、2種のパリティ情報を書き込む必要があるため、むしろ、RAID5方式よりも悪化してしまう。 In order to solve the problem of availability of RAID 5 like this, RAID 6 has been developed. This RAID 6 distributes two types of parity (double parity) information to different hard disk drives, thereby disposing two hard disks. Although it is a system that can relieve simultaneous drive failures, the access performance problem is almost the same as that of RAID 5, and the write performance needs to write two types of parity information. It will get worse than.
  また、特許文献1の特開2006−260446号公報「ディスクアレイ装置」には、パリティを各ハードディスクドライブにできるだけ均一に分散させ、均一にアクセスさせることによってアクセス性能の改善を図る方式が提案されている。しかし、二重障害が発生した際にRAID6方式としてのデータ復旧時のデータ読み出し時間の短縮を図るためのものであり、前述のRAID6方式と全く同様に、平常時にハードディスクドライブへデータを書き込む際に、パリティを生成し、生成したパリティを2台分のハードディスクドライブに余分に書き込む必要があることから、平常時の書き込み性能は、比較的遅く、如何なるアクセス時においても根本的な性能の改善を図ろうとする技術ではない。
前述したように、RAID6方式を適用した従来の技術では、読み書き双方のアクセス時において、アクセス性能の向上を図るという課題が、依然として解決されないまま残っている。 As described above, in the conventional technology to which the RAID 6 system is applied, the problem of improving the access performance at the time of both read and write access remains unsolved.
本発明は、かかるRAID5やRAID6の問題に鑑みてなされたものであり、従来のRAIDシステムとしての可用性を確保しつつ、より高速なアクセスを実現することが可能なディスクアレイ装置を提供することに、その目的がある。 The present invention has been made in view of the problems of RAID 5 and RAID 6, and provides a disk array device capable of realizing higher speed access while ensuring availability as a conventional RAID system. Have that purpose.
つまり、前述の課題を解決するために、本発明においては、RAID5方式相当を実現する複数のハードディスクドライブと、パリティ情報のみを格納するハードディスクドライブと同容量の高速メモリモジュールとにより、RAID6相当のディスクアレイ装置を構成することを、その目的としている。 In other words, in order to solve the above-described problem, in the present invention, a disk corresponding to RAID 6 is composed of a plurality of hard disk drives realizing RAID 5 system and a high-speed memory module having the same capacity as the hard disk drive storing only parity information. The purpose is to construct an array device.
前述の課題を解決するため、本発明によるディスクアレイ装置は、次のような特徴的な構成を採用している。 In order to solve the above-described problems, the disk array device according to the present invention employs the following characteristic configuration.
  (1)複数のハードディスクドライブをアレイ状に備えて、ディスクコントローラの制御によりデータを異なるハードディスクドライブに順次格納するディスクアレイ装置において、高速アクセスが可能な半導体メモリからなる高速メモリモジュールを前記ディスクコントローラから読み書きの制御が可能な形態で備え、前記ディスクコントローラは、前記ハードディスクドライブに格納するデータごとに、2種のパリティ情報を生成し、前記データと生成した一方のパリティ情報とを、あらかじめ定めた順番に格納するハードディスクドライブが異なるように複数の前記ハードディスクドライブのいずれかに順次格納するとともに、生成した他方のパリティ情報を前記高速メモリモジュールに格納するディスクアレイ装置。
  (2)前記ディスクコントローラは、前記ハードディスクドライブからデータを読み出す際に、当該データに関するパリティ情報を前記高速メモリモジュールから読み出すことにより、前記ハードディスクドライブから読み出した前記データの正常性をチェックする上記(1)のディスクアレイ装置。
  (3)前記ディスクコントローラは、前記ハードディスクドライブからデータを読み出した際に前記高速メモリモジュールから読み出したパリティ情報を用いて前記データの正常性をチェックした際に、異常を検出した場合、前記ハードディスクドライブに格納されている当該データのパリティ情報を読み出して前記データの正常性をチェックする上記(2)のディスクアレイ装置。
  (4)前記ディスクコントローラは、前記ハードディスクドライブに格納されている前記データのパリティ情報を用いて前記データの正常性をチェックした際に、前記データが正常であることを検知した場合、前記高速メモリモジュールに格納されているパリティ情報を、前記ハードディスクドライブに格納されているパリティ情報により再書き込みする上記(3)のディスクアレイ装置。
  (5)前記高速メモリモジュールを構成する半導体メモリが揮発性の半導体メモリからなっている場合、当該ディスクアレイ装置の電源切断後の電源再投入時に、前記ディスクコントローラは、前記ハードディスクドライブに格納されているパリティ情報により、前記高速メモリモジュールに格納すべきパリティ情報を再書き込みする上記(1)ないし(4)のいずれかのディスクアレイ装置。
  (6)前記高速メモリモジュールを構成する半導体メモリが揮発性の半導体メモリからなっている場合、電源切断時に前記高速メモリモジュールの記憶情報を保護するための電源バックアップ機構をさらに備えている上記(1)ないし(4)のいずれかのディスクアレイ装置。
  (7)前記高速メモリモジュールを構成する半導体メモリが不揮発性の半導体メモリからなっている上記(1)ないし(4)のいずれかのディスクアレイ装置。
  (8)複数のハードディスクドライブをアレイ状に備えて、ディスクコントローラの制御によりデータを異なるハードディスクドライブに順次格納するディスクアレイ装置において、高速アクセスが可能な半導体メモリからなる高速メモリモジュールを前記ディスクコントローラから読み書きの制御が可能な形態で備え、前記ディスクコントローラは、前記ハードディスクドライブに格納するデータごとに、パリティ情報を生成し、前記データを、あらかじめ定めた順番に格納するハードディスクドライブが異なるように複数の前記データ格納用ハードディスクドライブのいずれかに順次格納するとともに、生成したパリティ情報を前記高速メモリモジュールに格納するディスクアレイ装置。
  (9)前記ディスクコントローラは、前記ハードディスクドライブからデータを読み出す際に、当該データに関するパリティ情報を前記高速メモリモジュールから読み出すことにより、前記ハードディスクドライブから読み出した前記データの正常性をチェックする上記(8)のディスクアレイ装置。
  (10)前記高速メモリモジュールを構成する半導体メモリが揮発性の半導体メモリからなっている場合、電源切断時に前記高速メモリモジュールの記憶情報を保護するための電源バックアップ機構をさらに備えている上記(8)または(9)のディスクアレイ装置。
  (11)前記高速メモリモジュールを構成する半導体メモリが不揮発性の半導体メモリからなっている上記(8)または(9)のディスクアレイ装置。(1) In a disk array apparatus having a plurality of hard disk drives arranged in an array and sequentially storing data in different hard disk drives under the control of the disk controller, a high-speed memory module including a semiconductor memory capable of high-speed access is provided from the disk controller. The read / write control is provided, and the disk controller generates two types of parity information for each data stored in the hard disk drive, and the data and one generated parity information are in a predetermined order. The disk array device stores the parity information of the other generated in the high-speed memory module while sequentially storing it in any one of the plurality of hard disk drives so that the hard disk drives stored in are different.
 (2) When the data is read from the hard disk drive, the disk controller checks the normality of the data read from the hard disk drive by reading parity information related to the data from the high-speed memory module. ) Disk array device.
 (3) If the disk controller detects an abnormality when checking the normality of the data using parity information read from the high-speed memory module when reading data from the hard disk drive, the hard disk drive The disk array device according to (2), wherein the parity information of the data stored in is read to check the normality of the data.
 (4) When the disk controller detects that the data is normal when checking the normality of the data using the parity information of the data stored in the hard disk drive, the high-speed memory The disk array device according to (3), wherein the parity information stored in the module is rewritten by the parity information stored in the hard disk drive.
 (5) When the semiconductor memory constituting the high-speed memory module is a volatile semiconductor memory, the disk controller is stored in the hard disk drive when the disk array device is turned on again after the power is turned off. The disk array device according to any one of (1) to (4), wherein the parity information to be stored in the high-speed memory module is rewritten by the parity information that is stored.
 (6) In the case where the semiconductor memory constituting the high-speed memory module is a volatile semiconductor memory, the semiconductor memory further includes a power backup mechanism for protecting stored information of the high-speed memory module when the power is turned off. ) To (4).
 (7) The disk array device according to any one of (1) to (4), wherein the semiconductor memory constituting the high-speed memory module is a non-volatile semiconductor memory.
 (8) In a disk array device comprising a plurality of hard disk drives arranged in an array and sequentially storing data in different hard disk drives under the control of the disk controller, a high-speed memory module comprising a semiconductor memory capable of high-speed access is provided from the disk controller. The disk controller generates parity information for each data stored in the hard disk drive, and a plurality of hard disk drives storing different data in a predetermined order. A disk array device that sequentially stores the data in any of the data storage hard disk drives and stores the generated parity information in the high-speed memory module.
 (9) When reading data from the hard disk drive, the disk controller reads parity information related to the data from the high-speed memory module, thereby checking the normality of the data read from the hard disk drive. ) Disk array device.
 (10) When the semiconductor memory constituting the high-speed memory module is a volatile semiconductor memory, the semiconductor memory further includes a power backup mechanism for protecting stored information of the high-speed memory module when the power is turned off (8) ) Or (9) disk array device.
 (11) The disk array device according to (8) or (9), wherein the semiconductor memory constituting the high-speed memory module is a nonvolatile semiconductor memory.
本発明のディスクアレイ装置によれば、以下のような効果を得ることができる。 According to the disk array device of the present invention, the following effects can be obtained.
第1に、各データに対して2種のパリティ情報を有することによって、RAID6方式と同等の高い可用性を確保することができる。具体的には、2台のハードディスクドライブが同時に故障したような場合であっても、データの回復が可能である。 First, by having two types of parity information for each data, it is possible to ensure high availability equivalent to the RAID 6 system. Specifically, data recovery is possible even when two hard disk drives fail at the same time.
第2に、一般的に、半導体メモリからなる高速メモリモジュールのアクセス速度の方がハードディスクドライブのアクセス速度よりも圧倒的に速いことから、一方のパリティデータを高速メモリモジュールに格納する本発明に係るディスクアレイ装置は、通常アクセス時および1台のハードディスクドライブ故障時において、RAID6方式のディスクアレイ装置におけるパリティ格納ハードディスクドライブ1台分に対する読み書き速度の分だけ、RAID6方式のディスクアレイ装置よりもアクセスを高速化することが可能である。 Second, in general, since the access speed of a high-speed memory module made of a semiconductor memory is overwhelmingly faster than the access speed of a hard disk drive, one parity data is stored in the high-speed memory module. The disk array device has higher access speed than the RAID 6 disk array device by the read / write speed of one parity storage hard disk drive in the RAID 6 disk array device during normal access and when one hard disk drive fails. It is possible to
以下、本発明によるディスクアレイ装置の好適な実施例について添付図を参照して説明する。 Preferred embodiments of the disk array device according to the present invention will be described below with reference to the accompanying drawings.
  (本発明の特徴)
  本発明の実施例の説明に先立って、まず、本発明の特徴について、その概要を説明する。本発明は、既存のRAID(Redundant Arrays of Inexpensive Disks)構成において、従来のRAID構成のディスクアレイ装置と同等の高可用性を実現すると同時に、従来よりも高速アクセスが可能な性能を実現したことを特徴としている。(Features of the present invention)
 Prior to the description of the embodiments of the present invention, first, the outline of the features of the present invention will be described. The present invention is characterized in that, in an existing RAID (Redundant Arrays of Inexpensive Disks) configuration, high availability equivalent to that of a conventional RAID configuration disk array device is realized, and at the same time, performance capable of high-speed access is achieved. It is said.
つまり、本発明に係るディスクアレイ装置は、1つのデータごとに2種のパリティ情報を格納するとともに、一方のパリティ情報をデータとともに格納することによりRAID5相当の高可用性を実現する複数のハードディスクドライブと、さらに、他方のパリティ情報のみを格納するハードディスクドライブと同容量の高速メモリモジュールとによって構成されることに、その特徴がある。なお、高速メモリモジュールとしては、高速アクセスが可能な半導体メモリ等からなり、半導体メモリの場合、SDRAM等の揮発性メモリのみならず、フラッシュメモリのような不揮発性メモリであっても良い。 In other words, the disk array device according to the present invention stores two types of parity information for each piece of data and stores a plurality of hard disk drives that realize high availability equivalent to RAID 5 by storing one piece of parity information together with the data. Further, it is characterized in that it is constituted by a hard disk drive storing only the other parity information and a high-speed memory module having the same capacity. The high-speed memory module includes a semiconductor memory that can be accessed at high speed. In the case of a semiconductor memory, not only a volatile memory such as an SDRAM but also a nonvolatile memory such as a flash memory may be used.
  (実施例の構成)
  本発明に係るディスクアレイ装置の構成の一例を図1に示す。図1におけるディスクアレイ装置10は、SCSI/FC等により、ホストサーバ側とのインタフェース制御を行うインタフェースコントローラ1と、全体の制御を行うCPU2と、最新の読み書きデータを格納するキャッシュメモリ3と、ディスクアレイを構成する複数のハードディスクドライブ51、52、53と、複数のハードディスクドライブ51、52、53のRAID制御を行うディスクコントローラであるRAIDコントローラ4と、1台のハードディスクドライブと同容量以上の容量を持つ高速メモリモジュール7と、高速メモリモジュール7を制御するメモリコントローラ6と、を少なくとも含んで構成される。(Configuration of Example)
 An example of the configuration of a disk array device according to the present invention is shown in FIG. A
  ハードディスクドライブ51、52、53は、RAID5機能を備えるように構成し、ハードディスクドライブ51、52、53のボリューム全体のうち、1台分のハードディスクドライブを占める容量分には、他の複数のハードディスクドライブに格納されるデータ部分から生成されるパリティ情報が記録される。なお、RAID5方式の特徴として、パリティ情報は、特定のハードディスクドライブにだけではなく、各ハードディスクドライブ51、52、53に分散して記録される。  The hard disk drives 51, 52, and 53 are configured to have a RAID 5 function, and among the entire volumes of the
かくのごとく、ハードディスクドライブ51、52、53は、RAID5同等のハードディスクドライブ構成であり、さらに、高速メモリモジュール7を配置して、高速メモリモジュール7にはもう1種類のパリティ情報を格納することによって、RAID6相当の高可用性を付与した構成となっている。すなわち、ハードディスクドライブ51、52、53と高速メモリモジュール7とを備えることにより、RAID6方式のディスクアレイ装置と同等の可用性を確保した上で、半導体メモリ等の高速アクセスが可能な高速メモリモジュール7を併用することにより、RAID6方式のディスクアレイ装置よりも高速なアクセス性能を実現する構成となっている。 As described above, the hard disk drives 51, 52, and 53 have a RAID 5 equivalent hard disk drive configuration, and further, the high-speed memory module 7 is arranged and another type of parity information is stored in the high-speed memory module 7. In other words, it has a configuration with high availability equivalent to RAID6. That is, by providing the hard disk drives 51, 52, 53 and the high-speed memory module 7, the high-speed memory module 7 capable of high-speed access such as a semiconductor memory while ensuring the same availability as the RAID 6 disk array device. By using it in combination, it has a configuration that realizes faster access performance than a RAID 6 type disk array device.
RAIDコントローラ4は、ハードディスクドライブ51、52、53へ書き込むデータを分割し、かつ、パリティ情報を生成した上で、各ハードディスクドライブ51、52、53に書き込む機能と、さらに、パリティ情報のみをメモリコントローラ6を介して高速メモリモジュール7へ転送する機能とを備えている。また、RAIDコントローラ4は、平常時には、各ハードディスクドライブ51、52、53からデータ部分のみを読み出し、メモリコントローラ6を介して高速メモリモジュール7から転送されてくるパリティ情報を用いて、読み出したデータの正常性を確認する機能を備えている。なお、パリティ情報の生成やパリティチェックは、RAIDコントローラ4自身で実施するのではなく、パリティ情報生成に専用に設けられている別の専用コントローラで行うように構成しても良い。 The RAID controller 4 divides the data to be written to the hard disk drives 51, 52, 53 and generates parity information, and then writes the data to each of the hard disk drives 51, 52, 53. Further, only the parity information is a memory controller. 6 and a function of transferring to the high speed memory module 7. Further, the RAID controller 4 reads only the data portion from each of the hard disk drives 51, 52, 53 in normal times, and uses the parity information transferred from the high-speed memory module 7 via the memory controller 6 to read the data It has a function to check normality. The generation of parity information and the parity check may be performed not by the RAID controller 4 itself but by another dedicated controller provided exclusively for generating parity information.
また、高速メモリモジュール7としては、高速アクセスが可能な汎用の半導体メモリ(例えば、SDRAM等)が利用され、RAIDコントローラ4で生成されたRAID5方式(例えば「P+Q方式」)のパリティ情報をメモリコントローラ6を介して転送して格納する専用のメモリである。つまり、RAIDコントローラ4と連結されているメモリコントローラ6の制御の下、パリティ情報は、ハードディスクドライブ51、52、53のみならず、高速メモリモジュール7にも書き込まれる。この結果、RAID6方式のディスクアレイ装置と同等の可用性を確保しつつ、高速メモリモジュール7の併用による高速性をも達成可能としている。なお、高速メモリモジュール7は、前述したように、揮発性の半導体メモリのみに限るものではなく、フラッシュメモリのような不揮発性メモリを用いても良い。 As the high-speed memory module 7, a general-purpose semiconductor memory (for example, SDRAM) capable of high-speed access is used, and the parity information of the RAID 5 system (for example, “P + Q system”) generated by the RAID controller 4 is used as the memory controller. 6 is a dedicated memory that transfers and stores the data via 6. That is, the parity information is written not only to the hard disk drives 51, 52, 53 but also to the high-speed memory module 7 under the control of the memory controller 6 connected to the RAID controller 4. As a result, it is possible to achieve high speed by using the high speed memory module 7 together with ensuring the same availability as the RAID 6 type disk array device. As described above, the high-speed memory module 7 is not limited to a volatile semiconductor memory, and a non-volatile memory such as a flash memory may be used.
  (実施例の動作の説明)
  次に、本発明の一例として図1に示したディスクアレイ装置10の動作について、既存の各RAIDレベルの動作を参考にしながら、3台のハードディスクドライブHDD1、HDD2、HDD3を備えたディスクアレイ装置の動作として説明する。(Description of operation of the embodiment)
 Next, with respect to the operation of the
まず、図2に、RAID4方式のディスクアレイ装置におけるデータ格納形式を示す。図2に示すように、RAID4方式においては、アクセス単位を任意のサイズのブロック単位として、データ部分については、データ1、データ2、データ3、データ4、…と、2台のハードディスクドライブHDD1、HDD2に順番に分散して格納されていくが、各データ情報から生成されるパリティ情報は、パリティハードディスクドライブとして特定される特定の1台のハードディスクドライブHDD3にのみ格納される。このため、ハードディスクドライブHDD3のパリティハードディスクドライブに負荷が集中し易く、性能上のデメリットとなっている。 First, FIG. 2 shows a data storage format in a RAID 4 type disk array device. As shown in FIG. 2, in the RAID4 system, the access unit is a block unit of an arbitrary size, and the data portion is data 1, data 2, data 3, data 4,..., Two hard disk drives HDD1, Although the data is sequentially distributed and stored in the HDD 2, the parity information generated from each data information is stored only in one specific hard disk drive HDD 3 specified as a parity hard disk drive. For this reason, the load is easily concentrated on the parity hard disk drive of the hard disk drive HDD3, which is a demerit in performance.
次に、図3は、RAID4方式の前述の問題点を解決したRAID5方式のディスクアレイ装置におけるデータ格納形式を示す概念図である。図3に示すように、RAID5方式においては、アクセス単位を、RAID4方式の場合と同様、任意のサイズのブロック単位とするとともに、データ部分のみならずパリティ情報も含めて、データ1、データ2、パリティ(1、2)、パリティ(3、4)、データ3、データ4、…と、3台のハードディスクドライブHDD1、HDD2、HDD3に順番に分散して格納していく。ここで、パリティ(1、2)は、データ1、データ2からそれぞれ生成されるパリティ情報であり、パリティ(3、4)は、データ3、データ4からそれぞれ生成されるパリティ情報である。 Next, FIG. 3 is a conceptual diagram showing a data storage format in a RAID 5 system disk array device that solves the above-mentioned problems of the RAID 4 system. As shown in FIG. 3, in the RAID5 system, the access unit is a block unit of an arbitrary size as in the RAID4 system, and includes data 1, data 2, Parity (1, 2), parity (3, 4), data 3, data 4,... Are sequentially distributed and stored in the three hard disk drives HDD1, HDD2, HDD3. Here, parity (1, 2) is parity information generated from data 1 and data 2, and parity (3, 4) is parity information generated from data 3 and data 4, respectively.
図3のように、パリティ情報自身も、データと同様に、複数のハードディスクドライブHDD1、HDD2、HDD3に分散して格納されるため、各ハードディスクドライブHDD1、HDD2、HDD3にかかる負荷が均等となり、RAID4のような性能低下は起こらない。一方、2台のハードディスクドライブが同時に故障すると、データの回復は不可能となる。さらに、1台のハードディスクドライブの故障時には、アクセスの都度、パリティ情報から元のデータを生成することが必要になるため、動作が非常に遅くなるという欠点がある。 As shown in FIG. 3, since the parity information itself is distributed and stored in a plurality of hard disk drives HDD1, HDD2, and HDD3 as in the case of data, the load on the hard disk drives HDD1, HDD2, and HDD3 is equalized, and RAID4 Such performance degradation does not occur. On the other hand, if two hard disk drives fail at the same time, data recovery becomes impossible. Further, when one hard disk drive fails, it is necessary to generate the original data from the parity information every time it is accessed, so that the operation is very slow.
かくのごときRAID5方式の問題を解決したRAID6方式のディスクアレイ装置におけるデータ格納形式を図4に示す。図4に示すように、RAID6方式においては、2種類のパリティ情報を格納する容量を確保するために、3台のハードディスクドライブHDD1、HDD2、HDD3の他に、さらに、1台のハードディスクドライブHDD4が追加されて、合計4台で構成される。生成される2種類のパリティ情報は、2台のハードディスクドライブに格納される。 FIG. 4 shows a data storage format in a RAID 6 system disk array device that solves the RAID 5 system problem. As shown in FIG. 4, in the RAID 6 system, in addition to the three hard disk drives HDD1, HDD2, and HDD3, in addition to the three hard disk drives HDD1, HDD2, and HDD3, one hard disk drive HDD4 is provided. A total of four units are added. Two types of generated parity information are stored in two hard disk drives.
図4には、パリティ情報とデータとが同一サイズになる「P+Q方式」を採用して、パリティPi(i=1、2、3、…)、パリティQi(i=1、2、3、…)の2種類の系列とし、データ1、データ2、パリティP1、パリティQ1、パリティP2、データ3、データ4、パリティQ2、…と、4台のハードディスクドライブHDD1、HDD2、HDD3、HDD4に順番に分散して格納していく。この結果、図3のRAID5方式の場合に対して、図4のRAID6方式のディスクアレイ装置においては、2台のハードディスクドライブが故障しても、データの回復が可能となる。 4 employs a “P + Q system” in which parity information and data have the same size, parity Pi (i = 1, 2, 3,...), Parity Qi (i = 1, 2, 3,...). ), Data 1, data 2, parity P1, parity Q1, parity P2, data 3, data 4, parity Q2,... And four hard disk drives HDD1, HDD2, HDD3, HDD4 in order. Store in a distributed manner. As a result, in the RAID 6 system disk array device shown in FIG. 4, data recovery is possible even if two hard disk drives fail in contrast to the RAID 5 system shown in FIG.
なお、RAID6方式の場合、2種類のパリティ情報を生成するその方式の違いにより、いくつかの方式が存在する。しかし、いずれの場合も、パリティ情報を2種類生成して、異なるハードディスクドライブにそれぞれ格納し、読み取りを行うこと等の影響により、RAID5方式と同等以下に性能が低下する場合があり、また、1台のハードディスクドライブが故障した時のアクセス性能も、RAID5方式の場合とほとんど変わらなく、改善されていない。 In the case of the RAID 6 system, there are several systems depending on the difference in the system for generating two types of parity information. However, in either case, the performance may be reduced to the same level or lower than that of the RAID5 system due to the effect of generating two types of parity information, storing them in different hard disk drives, and reading them. The access performance when one hard disk drive fails is almost the same as that of the RAID5 system and has not been improved.
以上のように、従来のRAID6方式では、可用性の向上を図ることは可能になったものの、性能に関しては、ほとんど、RAID5方式と同等であり、アクセス性能に対する問題が解決されていない。 As described above, although the conventional RAID 6 system can improve the availability, the performance is almost the same as the RAID 5 system, and the problem with respect to the access performance has not been solved.
  図5は、本発明の一例である図1のディスクアレイ装置10におけるデータ格納形式を示す概念図である。図1のディスクアレイ装置10は、前述したように、3台のハードディスクドライブ51、52、53に関する通常のRAID5方式のディスクアレイ装置の構成に加えて、さらに、RAID4方式のようなパリティ専用ハードディスクドライブを仮に追加した構成として、RAID6方式相当の2種類のパリティ情報(P系列およびQ系列)を格納する構成とした上で、当該パリティ専用ハードディスクドライブを高速メモリモジュール7で代替する構成としている。  FIG. 5 is a conceptual diagram showing a data storage format in the
すなわち、図5に示すように、3台のハードディスクドライブHDD1、HDD2、HDD3のRAID5方式のディスクアレイ構成に、さらに、もう1つのパリティ情報専用の高速メモリモジュール7を備えて構成される。この結果、図3のRAID5方式の場合と全く同様に、アクセス単位を任意のサイズのブロック単位として、P系列側のパリティ情報も含めて、データ1、データ2、パリティP1、パリティP2、データ3、データ4、…と、3台のハードディスクドライブHDD1、HDD2、HDD3(図1のハードディスクドライブ51、52、53)に順番に分散して格納していく一方、もう1つのQ系列側のパリティ情報は、パリティQ1、パリティQ2、…と、例えばSDRAM等の半導体メモリからなる高速メモリ(図1の高速メモリモジュール7)に順次格納していく。 That is, as shown in FIG. 5, a RAID 5 type disk array configuration of three hard disk drives HDD1, HDD2, and HDD3 is further provided with another high-speed memory module 7 dedicated to parity information. As a result, just as in the case of the RAID5 system in FIG. 3, the access unit is a block unit of an arbitrary size, including the parity information on the P sequence side, data 1, data 2, parity P1, parity P2, and data 3 , Data 4,... And three hard disk drives HDD1, HDD2, HDD3 (hard disk drives 51, 52, 53 in FIG. 1) are sequentially distributed and stored, while the other Q-sequence side parity information is stored. Are sequentially stored in a high-speed memory (high-speed memory module 7 in FIG. 1) made of semiconductor memory such as SDRAM, for example, parity Q1, parity Q2,.
  したがって、図5に示すように、本実施例のディスクアレイ装置10の場合、3台のハードディスクドライブHDD1、HDD2、HDD3は、図3に示すRAID5方式における場合と同等の構成であるものの、読み出しの際のパリティ情報は、高速メモリモジュール7側にアクセスすれば良く、ハードディスクドライブHDD1、HDD2、HDD3にアクセスする必要はない。つまり、データ情報のみ、該当するデータが格納されているハードディスクドライブHDD1、HDD2、HDD3にアクセスして、データを読み出すようにすれば良い。この結果、パリティ情報については、ハードディスクドライブよりも圧倒的に高速な高速メモリ(図1の高速メモリモジュール7)から読み出されるので、複数のハードディスクドライブに分散して配置されたデータを並列に読み出すRAID0方式相当のストライピング効果により、高速にデータを読み出すことができる。  Therefore, as shown in FIG. 5, in the case of the
また、3台のハードディスクドライブHDD1、HDD2、HDD3のうち、いずれか1台のハードディスクドライブが故障した場合には、図3に示したRAID5方式のディスクアレイ装置の場合には、故障していない残りのハードディスクドライブからデータやパリティ情報を読み出し、故障したハードディスクドライブに格納されていたデータを再生成する必要があり、アクセス速度が遅くなってしまうが、図5のような本実施例においては、パリティ情報は高速メモリモジュール7から読み出すことができ、アクセス速度の大幅な低下が生じることはない。 Further, if any one of the three hard disk drives HDD1, HDD2, and HDD3 fails, the RAID 5 disk array apparatus shown in FIG. Data and parity information must be read from the hard disk drive and the data stored in the failed hard disk drive must be regenerated, resulting in a slow access speed. In this embodiment as shown in FIG. Information can be read from the high-speed memory module 7, and the access speed is not significantly reduced.
  なお、図1の高速メモリモジュール7をSDRAMのような揮発性メモリによって構成している場合、高速メモリモジュール7に格納されるパリティ情報は、ディスクアレイ装置10の電源切断や停電等によってクリアされてしまう。しかしながら、図1のようなディスクアレイ装置10の構成においては、前述したように、パリティ専用の高速メモリモジュール7が存在していない状態であっても、RAID5方式相当の冗長性が保たれていることから、電源切断後においては、たとえ、パリティ専用の高速メモリモジュール7に格納されたパリティ情報がクリアされたとしても可用性に大きな支障はない。  In the case where the high-speed memory module 7 of FIG. 1 is configured by a volatile memory such as SDRAM, the parity information stored in the high-speed memory module 7 is cleared when the
  さらには、電源切断後の電源再投入によって、ディスクアレイ装置10が起動された後で、毎回、3台の各ハードディスクドライブ51、52、53に分散されて格納されているパリティ情報を、パリティ専用の高速メモリモジュール7にコピーする処理を組み込むことによって対応することが可能である。  Furthermore, after the
なお、前述のように、図1の高速メモリモジュール7をフラッシュメモリのような不揮発性メモリによって構成している場合には、電源切断後であっても、高速メモリモジュール7に格納されるパリティ情報がクリアされることはないので、電源再投入時のコピー処理は不要である。 As described above, when the high-speed memory module 7 of FIG. 1 is configured by a nonvolatile memory such as a flash memory, the parity information stored in the high-speed memory module 7 even after the power is turned off. Is not cleared, copy processing at power-on is unnecessary.
また、高速メモリモジュール7のメモリ媒体として採用する半導体メモリは、磁気ディスクとは異なり、α線や中性子線によってメモリセル内の電荷が変化してデータが化けてしまう現象が発生する可能性がある。しかし、高速メモリモジュール7に格納されているデータに異常が発生したとしても、ハードディスクドライブ51、52、53はRAID5方式相当の冗長性を有しているので、正常にデータの読み出しを行うことが可能である。 In addition, unlike a magnetic disk, a semiconductor memory employed as a memory medium of the high-speed memory module 7 may cause a phenomenon in which data in the memory cell is changed due to α-rays or neutron rays and the data is garbled. . However, even if an abnormality occurs in the data stored in the high-speed memory module 7, the hard disk drives 51, 52, and 53 have redundancy equivalent to the RAID 5 system, so that data can be read normally. Is possible.
  また、RAIDコントローラ4におけるパリティチェック動作として、高速メモリモジュール7に格納されているパリティ情報を用いたパリティチェック結果が異常であった場合に、各ハードディスクドライブ51、52、53に分散されて格納されているパリティ情報を用いてパリティチェックを行う動作が実施されるので、例えば、高速メモリモジュール7に格納されているパリティ情報を用いたパリティチェック結果が異常であり、各ハードディスクドライブ51、52、53に分散されて格納されているパリティ情報を用いたパリティチェックが正常であった場合、高速メモリモジュール7に格納されているパリティ情報が異常と判定して、その都度、3台の各ハードディスクドライブ51、52、53に分散されて格納されているパリティ情報を、パリティ専用の高速メモリモジュール7に書き込む処理を組み込むことにしても良い。  Further, as a parity check operation in the RAID controller 4, when the parity check result using the parity information stored in the high-speed memory module 7 is abnormal, it is distributed and stored in each
  (本実施例の効果の説明)
以上説明したように、本発明の実施例においては、以下に記載するような効果を奏することができる。(Explanation of the effect of this embodiment)
 As described above, in the embodiment of the present invention, the following effects can be obtained.
第1の効果は、1つのデータに対して2種類のパリティ情報を有することによって、RAID6方式のディスクアレイ装置と同等の高い可用性を確保することができることである。具体的には、同時に、2台のハードディスクドライブが故障したとしても、データを回復することが可能となることである。 The first effect is that by having two types of parity information for one piece of data, high availability equivalent to that of a RAID 6 disk array device can be ensured. Specifically, at the same time, even if two hard disk drives fail, data can be recovered.
第2の効果は、一般的に、ハードディスクドライブのアクセス性能よりも高速メモリモジュールのアクセス性能の方が圧倒的に速いことから、RAID6方式のディスクアレイ装置の場合に比し、パリティ情報が格納されているハードディスクドライブ1台分の読み書き分だけ、通常アクセス時および1台のハードディスクドライブ故障時においてアクセスを高速化することができることである。 The second effect is that, generally, the access performance of the high-speed memory module is overwhelmingly faster than the access performance of the hard disk drive, so that the parity information is stored as compared with the RAID 6 type disk array device. It is possible to increase the access speed for normal access and for failure of one hard disk drive by reading and writing for one hard disk drive.
  (本発明の他の実施例)
  高速メモリモジュール7をSDRAM等の揮発性の半導体メモリで構成していた場合について、本発明の他の実施例についてまず説明する。本実施例においては、基本的構成は、図1のディスクアレイ装置10の場合と同様であるが、ディスクアレイ装置10にさらに電源バックアップ機能を組み込み、電源切断時であっても、パリティ専用の高速メモリモジュール7に対して電力を供給し続ける構成を採用するようにする。これにより、電源切断があっても、高速メモリモジュール7に格納されたパリティ情報はクリアされないので、揮発性メモリの場合であっても、ディスクアレイ装置10の起動後に各ハードディスクドライブ51、52、53に格納されたパリティ情報を高速メモリモジュール7にコピーする処理は不要である。(Another embodiment of the present invention)
 In the case where the high-speed memory module 7 is composed of a volatile semiconductor memory such as SDRAM, another embodiment of the present invention will be described first. In this embodiment, the basic configuration is the same as in the case of the
  あるいは、高速メモリモジュール7を、前述したように、揮発性のメモリではなく、フラッシュメモリ等の不揮発性の半導体メモリで構成することにより、同様に、電源切断や停電があっても、高速メモリモジュール7に格納されたパリティ情報はクリアされなくなるので、ディスクアレイ装置10の起動後に各ハードディスクドライブ51、52、53に格納されたパリティ情報を高速メモリモジュール7にコピーする処理は必要がなくなる。ただし、不揮発性メモリを採用した場合は、一般的に、揮発性モジュールに比べて、アクセス性能が低くなるが、ハードディスクドライブに比しては、圧倒的に高速であり、RAID6方式に比し、アクセス性能を大幅に改善することができる。  Alternatively, as described above, the high-speed memory module 7 is configured not by a volatile memory but by a non-volatile semiconductor memory such as a flash memory. 7 is not cleared, so that it is not necessary to copy the parity information stored in each
  また、可用性の点を他の手段でカバーすることができる場合など、ディスクアレイ装置を設置する環境条件によっては、RAID3またはRAID4方式のディスクアレイ装置を設置する場合もある。かくのごとく、RAID3またはRAID4方式のディスクアレイ装置を設置する場合には、図1のディスクアレイ装置10の代わりに、RAID3またはRAID4方式のディスクアレイ装置におけるパリティ専用ハードディスクドライブを、図1に示すような半導体メモリ等からなる高速メモリモジュール7に置き換えるという構成を採用することも可能である。  Also, depending on the environmental conditions for installing the disk array device, such as when availability can be covered by other means, a RAID 3 or RAID 4 type disk array device may be installed. As described above, when a RAID 3 or RAID 4 type disk array device is installed, a parity dedicated hard disk drive in a RAID 3 or RAID 4 type disk array device is used instead of the
かくのごとき構成により、RAID3方式やRAID4方式の欠点であったパリティ専用のハードディスクドライブへのアクセス集中による性能低下を抑えることが可能であり、1台のハードディスクドライブが故障したとしても、データが回復できる可用性と、RAID0方式相当のストライピング機能と同等のアクセス性能上の効果を得ることができる。ただし、本構成の場合、電源切断時や停電時のパリティ専用の高速メモリモジュール7の保護対策がより重要となってくるので、電源バックアップ機能や不揮発性メモリの採用などの対応が不可欠である。 With such a configuration, it is possible to suppress performance degradation due to concentration of access to the hard disk drive dedicated to parity, which was a disadvantage of the RAID 3 system and RAID 4 system, and data can be recovered even if one hard disk drive fails. The available availability and the same access performance effect as the striping function equivalent to the RAID 0 system can be obtained. However, in the case of this configuration, protection measures for the high-speed memory module 7 dedicated to parity at the time of power-off or a power failure become more important, so it is indispensable to adopt a power backup function or a non-volatile memory.
以上、本発明の好適実施例の構成を説明した。しかし、斯かる実施例は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨を逸脱することなく、特定用途に応じて種々の変形変更が可能であることが、当業者には容易に理解できよう。 The configuration of the preferred embodiment of the present invention has been described above. However, it should be noted that such examples are merely illustrative of the invention and do not limit the invention in any way. Those skilled in the art will readily understand that various modifications and changes can be made according to a specific application without departing from the gist of the present invention.
1                インタフェースコントローラ
2                CPU
3                キャッシュメモリ
4                RAIDコントローラ
6                メモリコントローラ
7                高速メモリモジュール
10              ディスクアレイ装置
51、52、53  ハードディスクドライブ1 Interface controller 2 CPU
 3 Cache memory 4 RAID controller 6 Memory controller 7 High-
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| JP2007053727AJP2008217395A (en) | 2007-03-05 | 2007-03-05 | Disk array device | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| JP2007053727AJP2008217395A (en) | 2007-03-05 | 2007-03-05 | Disk array device | 
| Publication Number | Publication Date | 
|---|---|
| JP2008217395Atrue JP2008217395A (en) | 2008-09-18 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| JP2007053727APendingJP2008217395A (en) | 2007-03-05 | 2007-03-05 | Disk array device | 
| Country | Link | 
|---|---|
| JP (1) | JP2008217395A (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JP2011141857A (en)* | 2010-01-06 | 2011-07-21 | Promise Technology Inc | Raid system | 
| JP2012064139A (en)* | 2010-09-17 | 2012-03-29 | Toshiba Corp | Controller, storage device, and program | 
| US8321631B2 (en) | 2009-08-04 | 2012-11-27 | Samsung Electronics Co., Ltd. | Parity calculation and journal generation in a storage device with multiple storage media | 
| JP2014092973A (en)* | 2012-11-05 | 2014-05-19 | Toshiba Corp | Memory system | 
| CN109582513A (en)* | 2018-11-06 | 2019-04-05 | 郑州云海信息技术有限公司 | A kind of JBOD test method and system based on generic server | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JPH05233155A (en)* | 1992-02-21 | 1993-09-10 | Oki Electric Ind Co Ltd | Disk array device | 
| JPH06274282A (en)* | 1993-03-18 | 1994-09-30 | Toshiba Corp | Magnetic recording device | 
| JPH0816327A (en)* | 1994-06-27 | 1996-01-19 | Shikoku Nippon Denki Software Kk | Disk array device | 
| JP2004030577A (en)* | 2002-03-08 | 2004-01-29 | Network Appliance Inc | Method to correct a plurality of failures of storage device in storage array | 
| WO2005052855A2 (en)* | 2003-11-24 | 2005-06-09 | Network Appliance, Inc. | Uniform and symmetric double failure correcting technique for protecting against two disk failures in a disk array | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JPH05233155A (en)* | 1992-02-21 | 1993-09-10 | Oki Electric Ind Co Ltd | Disk array device | 
| JPH06274282A (en)* | 1993-03-18 | 1994-09-30 | Toshiba Corp | Magnetic recording device | 
| JPH0816327A (en)* | 1994-06-27 | 1996-01-19 | Shikoku Nippon Denki Software Kk | Disk array device | 
| JP2004030577A (en)* | 2002-03-08 | 2004-01-29 | Network Appliance Inc | Method to correct a plurality of failures of storage device in storage array | 
| WO2005052855A2 (en)* | 2003-11-24 | 2005-06-09 | Network Appliance, Inc. | Uniform and symmetric double failure correcting technique for protecting against two disk failures in a disk array | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US8321631B2 (en) | 2009-08-04 | 2012-11-27 | Samsung Electronics Co., Ltd. | Parity calculation and journal generation in a storage device with multiple storage media | 
| JP2011141857A (en)* | 2010-01-06 | 2011-07-21 | Promise Technology Inc | Raid system | 
| JP2012064139A (en)* | 2010-09-17 | 2012-03-29 | Toshiba Corp | Controller, storage device, and program | 
| JP2014092973A (en)* | 2012-11-05 | 2014-05-19 | Toshiba Corp | Memory system | 
| CN109582513A (en)* | 2018-11-06 | 2019-04-05 | 郑州云海信息技术有限公司 | A kind of JBOD test method and system based on generic server | 
| CN109582513B (en)* | 2018-11-06 | 2021-11-02 | 郑州云海信息技术有限公司 | A JBOD testing method and system based on general server | 
| Publication | Publication Date | Title | 
|---|---|---|
| US10191676B2 (en) | Scalable storage protection | |
| US7984325B2 (en) | Storage control device, data recovery device, and storage system | |
| US9921912B1 (en) | Using spare disk drives to overprovision raid groups | |
| US7529970B2 (en) | System and method for improving the performance of operations requiring parity reads in a storage array system | |
| US8307159B2 (en) | System and method for providing performance-enhanced rebuild of a solid-state drive (SSD) in a solid-state drive hard disk drive (SSD HDD) redundant array of inexpensive disks 1 (RAID 1) pair | |
| KR100275900B1 (en) | Method for implement divideo parity spare disk in raid sub-system | |
| US20090327803A1 (en) | Storage control device and storage control method | |
| JP6175684B2 (en) | Architecture for storage of data on NAND flash memory | |
| US20120324156A1 (en) | Method and system of organizing a heterogeneous memory architecture | |
| JP2016530637A (en) | RAID parity stripe reconstruction | |
| US20150143027A1 (en) | Solid state drive with raid functions | |
| KR20090129416A (en) | Memory Management System and Methods | |
| US20170371782A1 (en) | Virtual storage | |
| JP6052294B2 (en) | Recording / reproducing apparatus, error correction method, and control apparatus | |
| JP2008217395A (en) | Disk array device | |
| KR100881803B1 (en) | Storage, data placement methods and programs | |
| US20100138603A1 (en) | System and method for preventing data corruption after power failure | |
| US20250021255A1 (en) | Controlling memory overhead for storing integrity data in solid state drives | |
| JP2011141857A (en) | Raid system | |
| JP2010026812A (en) | Magnetic disk device | |
| US20050102470A1 (en) | Disk array device | |
| US11592994B2 (en) | Providing preferential treatment to metadata over user data | |
| JP2014041523A (en) | Data management device, and data management method | |
| JP2010224803A (en) | Disk array device | |
| JP4780331B2 (en) | Disk array system | 
| Date | Code | Title | Description | 
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney | Free format text:JAPANESE INTERMEDIATE CODE: A7422 Effective date:20091211 | |
| RD04 | Notification of resignation of power of attorney | Free format text:JAPANESE INTERMEDIATE CODE: A7424 Effective date:20091214 | |
| A621 | Written request for application examination | Free format text:JAPANESE INTERMEDIATE CODE: A621 Effective date:20100218 | |
| A131 | Notification of reasons for refusal | Free format text:JAPANESE INTERMEDIATE CODE: A131 Effective date:20120214 | |
| A02 | Decision of refusal | Free format text:JAPANESE INTERMEDIATE CODE: A02 Effective date:20120807 |