JP2008065601A - Disk array device, method and program for reconstructing disk during backup process - Google Patents

Disk array device, method and program for reconstructing disk during backup process Download PDF

Info

Publication number
JP2008065601A
JP2008065601A JP2006242812A JP2006242812A JP2008065601A JP 2008065601 A JP2008065601 A JP 2008065601A JP 2006242812 A JP2006242812 A JP 2006242812A JP 2006242812 A JP2006242812 A JP 2006242812A JP 2008065601 A JP2008065601 A JP 2008065601A
Authority
JP
Japan
Prior art keywords
backup
data
disk
reconstruction
disk array
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.)
Withdrawn
Application number
JP2006242812A
Other languages
Japanese (ja)
Inventor
Yuji Kaneko
裕治 金子
Yoshihiro Hasebe
賀洋 長谷部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2006242812A priority Critical patent/JP2008065601A/en
Publication of JP2008065601A publication Critical patent/JP2008065601A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable a disk array device, which is capable of backup, to reconstruct a disk even in the event that the disk has failed during a backup process. <P>SOLUTION: The disk array device includes a backup process part 15, a backup storage device 30, a reconstruction process part 17, and an arbitration control part 16. The reconstruction process part 17 operates to reconstruct the disk by means of data read from the backup storage device 30. The reconstruction process part 17 operates to perform a reconstruction process using the latest backup data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はバックアップデータを利用したディスクの再構築を行うディスクアレイ装置に関し、特に、バックアップ処理中にディスクの再構築を行うことができるディスクアレイ装置に関する。   The present invention relates to a disk array device that reconstructs a disk using backup data, and more particularly to a disk array device that can reconstruct a disk during backup processing.

ディスクアレイは、RAID(Redundancy Arrays of Independent(Inexpensive) Disks)とも呼ばれ、複数のディスクをアレイ状に配置した構成をとり、データに冗長データを付加することで信頼性を向上させている。RAIDには、例えばストライピングによって複数のディスクを1台のディスクであるかのようにしたRAID0、ミラリーングを使って同一データを複数のディスクに書き込むRAID1、複数のディスクにデータとパリティを記録することで耐障害性を高めたRAID5等々があり、このうちRAID5は、データをディスクに書き込む際に、誤り訂正用のパリティ情報を生成し、残りのデータとともにストライピングによって複数のディスクに分散して書き込む。なお、パリティに必要なディスクは1台分とされる。こうすることで、ディスク1台が故障しても、残りのディスクのデータとパリティから、データを復元することができる。   The disk array is also called RAID (Redundancy Arrays of Independent (Inexpensive) Disks), and has a configuration in which a plurality of disks are arranged in an array, and the reliability is improved by adding redundant data to the data. In RAID, for example, RAID0 makes multiple disks appear to be one disk by striping, RAID1 writes the same data to multiple disks using mirroring, and records data and parity on multiple disks. There are RAID 5 and the like with improved fault tolerance. Among these, RAID 5 generates parity information for error correction when data is written to the disk, and distributes and writes it to a plurality of disks together with the remaining data by striping. Note that one disk is required for parity. In this way, even if one disk fails, data can be restored from the remaining disk data and parity.

また、従来のディスクアレイにおいては、RAIDコントローラがディスクの故障等を検出した際、予備ディスクに交換し、故障ディスクのデータを交換したディスクへ再構築(リビルド)する機能を有している。その際、ディスクアレイを構成するディスクのうち、交換したディスク以外のディスクを用いて交換ディスクのデータを作成している。   Further, in the conventional disk array, when the RAID controller detects a disk failure or the like, it has a function of replacing it with a spare disk and reconstructing (rebuilding) the failed disk data into the replaced disk. At this time, data of the replacement disk is created using a disk other than the replaced disk among the disks constituting the disk array.

高可用性が求められるディスクアレイシステムでは、故障ディスクを交換した後の交換ディスクへのデータの再構築を、通常運用と、並行して行う必要がある(再構築時に通常運用が行えないと業務に支障をきたす)。   In a disk array system that requires high availability, it is necessary to reconstruct data on the replacement disk after replacing the failed disk in parallel with normal operation. Will cause trouble).

ディスク交換後のパリティ再構築時には、交換したディスク以外のパリティグループの全ディスクからデータを読み出す必要があるため、通常、アクセス性能が低下する。   At the time of parity reconstruction after disk replacement, it is necessary to read data from all disks in a parity group other than the replaced disk, so access performance generally decreases.

パリティグループを構成するRAID等の構成において、データドライブ数が増加するとさらに性能が低下する。   In a configuration such as RAID that constitutes a parity group, the performance decreases further as the number of data drives increases.

図4は、従来のディスクアレイ装置の典型的な構成例を示す模式図である。図4を参照すると、アクセスモジュール14は、ホスト20とディスクアレイとの間でのコマンド、データ、制御信号の送受等のインタフェースを司る。RAIDモジュール13は、RAIDコントローラ及び管理ソフトウエアからなり、冗長構成された複数ディスク11〜11のデータのリード/ライト、障害検出、ディスク再構築処理等を行う。ディスクアクセスバス12は、複数ディスク装置11〜11とRAIDモジュール13との間の接続パスを提供する。なお、ディスク装置の再構築は、RAID1、5、10等の冗長構成のアレイに対して実施される。各ディスク装置11〜11は、例えばHDD(Hard Disk Drive)等のディスク装置よりなり、単に、「ディスク」と略記される。 FIG. 4 is a schematic diagram showing a typical configuration example of a conventional disk array device. Referring to FIG. 4, the access module 14 manages an interface such as transmission / reception of commands, data, and control signals between the host 20 and the disk array. The RAID module 13 includes a RAID controller and management software, and performs data read / write, failure detection, disk reconstruction processing, and the like of the redundantly configured disks 11 1 to 11 n . The disk access bus 12 provides a connection path between the plurality of disk devices 11 1 to 11 n and the RAID module 13. The disk device is reconstructed for a redundant array such as RAID 1, 5, 10 or the like. Each of the disk devices 11 1 to 11 n includes a disk device such as an HDD (Hard Disk Drive), for example, and is simply abbreviated as “disk”.

なお、特許文献1には、パリティグループを構成するRAID等のディスク構成を表すnD+1Pにおいて、データドライブ数nが増加するとさらに性能が低下することを抑止するため、nによらず1台のディスクからコピーする構成が開示されている。また、特許文献2には、RAIDコントローラによるディスクへの再構築(リビルド)について記載されている。なお、故障ディスクの再構築レート(Rebuild Rate)が100%であるとは、システムが故障ディスクの再構築に全部当てられていることをいい、0%であるとは、システムが他に何もしない空き時間に故障ディスクの再構築を行うことをいう。デフォルトの再構築レートは例えば30%程度とされる。   In Patent Document 1, in nD + 1P representing a disk configuration such as a RAID that constitutes a parity group, in order to prevent the performance from further degrading as the number of data drives n increases, a single disk is used regardless of n. A configuration for copying is disclosed. Patent Document 2 describes reconstruction (rebuild) into a disk by a RAID controller. If the rebuild rate of the failed disk is 100%, the system is devoted to rebuilding the failed disk. If it is 0%, the system is nothing else. This means that a failed disk is reconstructed during idle time. The default reconstruction rate is about 30%, for example.

特開2002−108571号公報JP 2002-108571 A 特開2004−38290号公報JP 2004-38290 A

RAIDレベル5等の冗長なディスクアレイ装置においては、ディスク再構築時、故障ディスク以外のディスクを用いて、故障ディスク(交換ディスク)のデータを作成しているため、再構築に時間を要する。特に、ディスクの大容量化に伴い、再構築時間は長大化し、さらに、再構築中は、冗長度が下がっており、再構築期間でのディスクアレイ装置のアクセス性能は低下する。   In a redundant disk array device such as RAID level 5, since data of a failed disk (replacement disk) is created using a disk other than the failed disk at the time of disk reconstruction, it takes time for the reconstruction. In particular, as the capacity of the disk increases, the reconstruction time becomes longer, and further, the redundancy decreases during the reconstruction, and the access performance of the disk array device during the reconstruction period decreases.

また、他方において、このようなディスクアレイ装置では、データのバックアップは定期的に行われているが、保存されているデータも増加する傾向にあり、バックアップ時間も長大化している。   On the other hand, in such a disk array device, data is backed up regularly, but the stored data tends to increase, and the backup time is also prolonged.

このバックアップ期間中は、バックアップするためのデータを読み出すために、ディスクアレイ装置の各ディスクに負荷がかかり、バックアップ期間中のディスクアレイ装置のアクセス性能は低下する。   During this backup period, in order to read data to be backed up, a load is applied to each disk of the disk array device, and the access performance of the disk array device during the backup period decreases.

ディスクアレイ装置のアクセス性能を低下させるこれらの二つの処理を同時に実施すると、それぞれが互いに影響し、それぞれが目標としている時間内に終わらなくなるという問題がある。   If these two processes for lowering the access performance of the disk array device are performed simultaneously, there is a problem in that each affects each other and each does not end within the target time.

特に定期的に計画されたバックアップが、計画した時間内に終わらない場合、再度計画を見直す必要がでてくる。   In particular, if a regularly scheduled backup does not end within the planned time, it will be necessary to review the plan again.

このため、バックアップ処理中に、ディスクの障害が発生したとしても、バックアップ処理中には、直ぐにディスクの再構築を実施することができない。   For this reason, even if a disk failure occurs during the backup process, the disk cannot be immediately reconstructed during the backup process.

このように、バックアップ処理中には直ちにディスクの再構築を実施することができないため、バックアップが完了した後のディスクの再構築が完了するまでの長時間、データの非冗長な期間が発生し、この長い期間、データの喪失する危険な状態が続くことになる問題がある。   In this way, the disk cannot be rebuilt immediately during the backup process, so a long period of non-redundant data occurs until the disk rebuild is completed after the backup is completed. There is a problem that a dangerous state of data loss continues for this long period.

したがって、本発明は、上記問題を解消するために創案されたものであって、その主たる目的は、バックアップ処理と再構築処理の完了時間を短縮させ、データを喪失する可能性を低減することができるディスクアレイ装置および方法とプログラムを提供することにある。   Therefore, the present invention was created to solve the above problems, and its main purpose is to shorten the completion time of backup processing and reconstruction processing, and to reduce the possibility of data loss. DISCLOSURE OF THE INVENTION An object of the present invention is to provide a disk array device, method and program that can be used.

本願で開示される発明は、上記課題を解決するための手段として、概略以下の構成を有する。   The invention disclosed in the present application has the following general configuration as means for solving the above-described problems.

本発明に係るディスクアレイ装置は、ディスクアレイを構成する複数のディスク装置と、前記ディスクアレイのデータをバックアップするバックアップ処理部と、前記ディスクアレイを構成する複数のディスク装置のうち、再構築対象のディスク装置に対して、バックアップデータから、データの再構築を行う再構築処理部と、前記ディスクアレイのデータのバックアップ時、前記バックアップ処理部によるバックアップ処理と、前記再構築処理部によるバックアップデータからの再構築対象のディスク装置の再構築処理との並列実行を制御する調停制御部と、を備えている。   A disk array device according to the present invention includes a plurality of disk devices constituting a disk array, a backup processing unit for backing up the data of the disk array, and a disk to be reconstructed among the plurality of disk devices constituting the disk array. Reconstruction processing unit for reconstructing data from backup data to the disk device, and backup processing by the backup processing unit and backup data from the backup data by the reconstruction processing unit when backing up the data of the disk array An arbitration control unit that controls parallel execution with the rebuilding process of the disk device to be rebuilt.

本発明に係るディスクアレイ装置において、バックアップ記憶装置を備え、前記バックアップ処理部は、前記ディスクアレイのデータを前記バックアップ記憶装置にバックアップし、前記再構築処理部は、前記バックアップ記憶装置にバックアップされたバックアップデータから再構築対象のディスク装置の再構築処理を行う。   The disk array device according to the present invention comprises a backup storage device, wherein the backup processing unit backs up the data of the disk array to the backup storage device, and the reconstruction processing unit is backed up to the backup storage device Rebuild the disk device to be rebuilt from the backup data.

本発明に係るディスクアレイ装置において、前記調停制御部は、前記再構築処理部が再構築処理で参照するバックアップデータのブロックが、前記バックアップ処理部によるバックアップのブロックを追い越さないように、調停する。   In the disk array device according to the present invention, the arbitration control unit performs arbitration so that a block of backup data referred to by the reconstruction processing unit in a reconstruction process does not overtake a backup block by the backup processing unit.

本発明に係るディスクアレイ装置において、前記再構築処理部は、前記調停制御部からの制御のもと、前記バックアップデータから再構築処理を行う場合に、前記バックアップ処理部によるバックアップが完了したブロックを用いて再構築を行い、バックアップ未完了のブロックデータについては、前記バックアップ処理部によって前記バックアップ未完了のブロックのバックアップが行われるまで、再構築を待つ制御を行う。   In the disk array device according to the present invention, the rebuild processing unit, when performing the rebuild process from the backup data under the control of the arbitration control unit, the block that has been backed up by the backup processing unit. For the block data that has not yet been backed up, control is performed to wait for the rebuilding of the block data that has not been backed up by the backup processing unit.

本発明に係るディスクアレイ装置において、前記調停制御部は、前記バックアップ処理部からバックアップが完了したブロックの情報を取得して、前記再構築処理部へ通知する。   In the disk array device according to the present invention, the arbitration control unit obtains information on a block that has been backed up from the backup processing unit, and notifies the reconstruction processing unit of the information.

本発明に係るディスクアレイ装置において、前記調停制御部は、前記バックアップ処理部からバックアップが完了したブロックの情報を取得して、前記再構築処理部へ通知し、前記再構築処理部は、バックアップ処理中に再構築処理を開始した場合に、バックアップが完了しているブロックに対して前記バックアップ記憶装置からデータを読み出して再構築を行い、バックアップ未完了のブロックデータについては、前記バックアップ処理部による前記バックアップ記憶装置へのバックアップが完了することを待ち合わせる。   In the disk array device according to the present invention, the arbitration control unit acquires information on a block that has been backed up from the backup processing unit and notifies the reconstruction processing unit of the backup processing unit. When the reconstruction process is started, the data is read from the backup storage device for the block that has been backed up and reconstructed.For the block data that has not been backed up, the backup processing unit Wait for the backup to the backup storage device to complete.

本発明に係る方法は、ディスクアレイのデータを前記バックアップ記憶装置にバックアップするバックアップ工程と、
前記ディスクアレイを構成する複数のディスク装置のうち再構築対象のディスク装置に対して、前記バックアップ記憶装置に既にバックアップされたバックアップデータから、データの再構築を行う再構築工程と、
前記バックアップ工程と前記再構築工程を並列に実行させる制御を行う調停工程と、
を含み、バックアップ処理中に、再構築処理を実行可能としている。
The method according to the present invention includes a backup step of backing up data in a disk array to the backup storage device;
Reconstruction step of reconstructing data from backup data already backed up in the backup storage device for a disk device to be reconstructed among a plurality of disk devices constituting the disk array;
An arbitration step for performing control to execute the backup step and the reconstruction step in parallel;
And the reconstruction process can be executed during the backup process.

本発明に係る方法において、前記再構築工程は、バックアップデータから再構築処理を行う場合に、バックアップ完了ブロックを用いて再構築を行い、
バックアップ未完了ブロックに対しては、前記バックアップ処理部によって該ブロックのバックアップが行われるまで再構築を待つ制御を行う。
In the method according to the present invention, the rebuilding step performs a rebuild using a backup completion block when performing a rebuild process from backup data,
For a backup incomplete block, control is performed to wait for reconstruction until the backup processing unit backs up the block.

本発明に係る方法において、前記調停工程は、前記バックアップ工程からバックアップ完了ブロックの情報を取得し、前記再構築工程が、バックアップ完了ブロックへ通知する。   In the method according to the present invention, the arbitration step acquires backup completion block information from the backup step, and the reconstruction step notifies the backup completion block.

本発明に係るコンピュータプログラムは、ディスクアレイのデータを前記バックアップ記憶装置にバックアップするバックアップ処理と、
前記ディスクアレイを構成する複数のディスク装置のうち再構築対象のディスク装置に対して、前記バックアップ記憶装置に既にバックアップされたバックアップデータから、データの再構築を行う再構築処理と、
前記バックアップ処理と前記再構築処理を並列に実行させる制御を行う調停処理と、
をコンピュータに実行させるプログラムよりなる。
A computer program according to the present invention includes a backup process for backing up disk array data to the backup storage device;
Reconstruction processing for reconstructing data from backup data that has already been backed up in the backup storage device for a disk device to be reconstructed among a plurality of disk devices constituting the disk array;
Arbitration processing for performing control to execute the backup processing and the reconstruction processing in parallel;
It consists of a program that causes a computer to execute.

本発明のプログラムにおいて、前記再構築処理は、バックアップデータから再構築処理を行う場合に、バックアップ完了ブロックを用いて再構築を行い、
バックアップ未完了ブロックに対しては、前記バックアップ処理部によって該ブロックのバックアップが行われるまで再構築を待つ制御を行う。
In the program of the present invention, the rebuild process is performed using a backup completion block when performing the rebuild process from backup data,
For a backup incomplete block, control is performed to wait for reconstruction until the backup processing unit backs up the block.

本発明のプログラムにおいて、前記調整処理は、前記バックアップ処理からバックアップ完了ブロックの情報を取得し、前記再構築処理にバックアップ完了ブロックへ通知する。   In the program according to the present invention, the adjustment process acquires information on a backup completion block from the backup process, and notifies the backup completion block of the reconstruction process.

本発明によれば、バックアップ処理中に、ディスク障害が発生した場合であっても、再構築処理を即時に開始することが可能となり、データ喪失の可能性を低減することができる。   According to the present invention, even if a disk failure occurs during the backup process, the reconstruction process can be started immediately, and the possibility of data loss can be reduced.

また、本発明によれば、バックアップ処理中に、即時に再構築処理を開始できることより、バックアップ処理に影響することなく、再構築処理の完了を早めることができる。   Further, according to the present invention, since the rebuilding process can be started immediately during the backup process, the completion of the rebuilding process can be accelerated without affecting the backup process.

次に、本発明を実施するための最良の形態について図面を参照して詳細に説明する。本発明は、複数のストレージ・ユニット(ディスク装置)に対して、バックアップデータ部を用意しておき、複数のストレージ・ユニットのデータをバックアップ記憶装置にバックアップし、複数のストレージ・ユニットのうち故障ストレージ・ユニットを交換した際の交換ストレージ・ユニットのデータの再構築時、バックアップ記憶装置にバックアップされたデータに基づいて行うようにする際に、バックアップ処理と再構築処理を行う必要がある場合に、調停制御部により、連携をとりながら円滑に処理が行われる。   Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings. The present invention prepares a backup data section for a plurality of storage units (disk devices), backs up the data of the plurality of storage units to a backup storage device, and detects a failed storage among the plurality of storage units. -When rebuilding the data of the replacement storage unit when the unit is replaced, when performing backup processing and rebuild processing when performing based on the data backed up in the backup storage device, The arbitration control unit performs processing smoothly while maintaining cooperation.

本発明は、バックアップ処理部(15)と、バックアップ記憶装置(30)と、再構築処理部(17)と、調停制御部(16)を備え、再構築処理部(17)が、バックアップ記憶装置(30)から読み出したデータを用いて、再構築対象のディスク装置の再構築を行うにあたり、最新のバックアップデータを用いて再構築処理を行う。   The present invention includes a backup processing unit (15), a backup storage device (30), a reconstruction processing unit (17), and an arbitration control unit (16). The reconstruction processing unit (17) is a backup storage device. When reconstructing the disk device to be reconstructed using the data read from (30), the reconstructing process is performed using the latest backup data.

通常のディスクアレイ装置では、バックアップ処理中に、ディスク障害が発生した場合であっても、再構築処理は開始しない。   In a normal disk array device, even if a disk failure occurs during the backup process, the rebuild process is not started.

しかしながら、本発明によれば、ディスク装置のデータのバックアップ中にディスク障害が発生した場合であっても、再構築処理を開始し、バックアップ記憶装置(30)の最新のバックアップデータが記録された領域(ブロック)についてだけ、再構築処理を行うようにし、古いバックアップデータは、再構築対象のディスクに書き込まないようにすることができる。   However, according to the present invention, even if a disk failure occurs during the backup of the disk device data, the reconstruction process is started and the area where the latest backup data is recorded in the backup storage device (30). Only the (block) can be reconstructed, and old backup data can be prevented from being written to the reconstruction target disk.

このようにして、バックアップ処理に影響せずに、かつ、交換ディスク装置等の再構築対象ディスク装置の再構築処理の開始を遅らせることなく、最新のバックアップデータを用いて、再構築対象ディスク装置の再構築処理を行うことができ、バックアップと再構築処理を並列に動作できることにより再構築処理の完了を早くすることができる。以下実施例に即して説明する。   In this way, the latest backup data is used for the reconstruction target disk device without affecting the backup processing and without delaying the start of the reconstruction processing of the replacement target disk device such as a replacement disk device. The rebuild process can be performed, and the backup process and the rebuild process can be operated in parallel, so that the rebuild process can be completed quickly. Hereinafter, description will be made with reference to examples.

図1は、本発明の一実施例のシステム構成を示す図である。図1を参照すると、ディスクアレイは、複数のディスク11〜11と、ディスクアクセスバス/スイッチ18と、RAIDモジュール13と、アクセスモジュール14と、バックアップ処理部 (Backup Module)15と、再構築処理部(Rebuild Module)17と、調停制御部(Arbitration Module)16を備え、RAIDモジュール13、再構築処理部17は、ディスクアクセスバス/スイッチ18を介して複数のディスク11〜11に対して書き込み、読み出し等のアクセスを行う。ディスクアレイ10は、所定のインタフェースを介してバックアップ記憶装置(バックアップストレージ)30が接続されている。バックアップストレージ30がディスクアレイ構成としてもよいことは勿論である。各ディスク11〜11は、例えばHDD(Hard Disk Drive)等のディスク装置よりなる。 FIG. 1 is a diagram showing a system configuration of an embodiment of the present invention. Referring to FIG. 1, the disk array includes a plurality of disks 11 1 to 11 n , a disk access bus / switch 18, a RAID module 13, an access module 14, a backup processing unit (Backup Module) 15, and a reconstruction. The processing unit (Rebuild Module) 17 and the arbitration control unit (Arbitration Module) 16 are provided. The RAID module 13 and the rebuilding processing unit 17 are connected to the plurality of disks 11 1 to 11 n via the disk access bus / switch 18. Access such as writing and reading. A backup storage device (backup storage) 30 is connected to the disk array 10 via a predetermined interface. Of course, the backup storage 30 may have a disk array configuration. Each of the disks 11 1 to 11 n includes a disk device such as an HDD (Hard Disk Drive).

本発明においては、バックアップモジュール15は、ディスクアレイを構成する複数のディスク11〜11のデータを、例えば定期的にバックアップストレージにバックアップする。すなわち、バックアップモジュール15は、RAIDモジュール13を介してディスクアレイからデータの読み出しを行い(パリティチェック等、エラー検出訂正処理が行われる)、読み出したデータをバックアップストレージ30に書き込む。 In the present invention, the backup module 15 backs up the data of the plurality of disks 11 1 to 11 n constituting the disk array to, for example, a backup storage periodically. That is, the backup module 15 reads data from the disk array via the RAID module 13 (error detection and correction processing such as parity check is performed), and writes the read data to the backup storage 30.

本実施形態において、ディスクアレイを構成する複数のディスク11〜11のうちの1つが故障し、故障ディスクを予備ディスク等に交換し、交換ディスクへデータを再構築する場合、好ましくは、バックアップストレージ30から交換ディスクへのデータ転送は、再構築処理部17、ディスクアクセスバス/スイッチ18を介して行われ、ホスト20から他のディスクへの通常アクセスに影響を与えないように構成される。 In this embodiment, when one of the plurality of disks 11 1 to 11 n constituting the disk array fails, the failed disk is replaced with a spare disk or the like, and data is reconstructed on the replacement disk, preferably backup Data transfer from the storage 30 to the replacement disk is performed via the reconstruction processing unit 17 and the disk access bus / switch 18, and is configured not to affect normal access from the host 20 to other disks.

すなわち、ホスト20から他のディスク(交換ディスク以外のディスク)への通常アクセスは、アクセスモジュール14、RAIDモジュール13、ディスクアクセスバス/スイッチ18を介して行われ、バックアップストレージ30からの再構築処理は、RAIDモジュール13とは並列に設けられた再構築処理部17と、ディスクアクセスバス/スイッチ18を介して行われる。以下、図1に示したディスクアレイ装置の動作の詳細について、実施例に即して説明する。   That is, normal access from the host 20 to other disks (disks other than the replacement disk) is performed via the access module 14, the RAID module 13, and the disk access bus / switch 18, and the reconstruction process from the backup storage 30 is performed. The RAID module 13 is performed via a reconstruction processing unit 17 and a disk access bus / switch 18 provided in parallel. The details of the operation of the disk array apparatus shown in FIG.

図2は、調停制御部(arbitration module)16のバックアップ中の再構築処理の手順を示す流れ図である。調停制御部(arbitration module)16は、バックアップ処理部(backup module)15から、バックアップ完了ブロックの情報を入手し(ステップS11)、バックアップ完了ブロックの情報を再構築処理部(rebuild module)17に通知する(ステップS12)。   FIG. 2 is a flowchart showing the procedure of the reconstruction process during backup of the arbitration control unit (arbitration module) 16. The arbitration control unit 16 obtains information on the backup completion block from the backup processing unit 15 (step S11), and notifies the rebuild processing unit 17 of the information on the backup completion block. (Step S12).

さらに、バックアップ処理部から入手したバックアップ完了ブロックがバックアップの最後のブロックか判定し(ステップS13)、最後のブロックとなるまで、ステップS11〜S13の一連の操作を繰り返す。   Further, it is determined whether the backup completion block obtained from the backup processing unit is the last block of the backup (step S13), and the series of operations of steps S11 to S13 are repeated until the last block becomes the last block.

図3は、再構築処理部(rebuild module)17におけるバックアップデータからの再構築処理の手順を示す流れ図である。   FIG. 3 is a flowchart showing the procedure of the rebuild process from the backup data in the rebuild module 17.

再構築処理部17は、再構築対象のブロックを先頭に設定する(ステップS20)。   The reconstruction processing unit 17 sets the reconstruction target block at the top (step S20).

次にブロックが完了しているかの判定を行い(ステップS21)、全ブロックが完了している場合には(ステップS21のYes分岐)、再構築処理を終了する。   Next, it is determined whether or not the block is completed (step S21). If all blocks are completed (Yes branch in step S21), the reconstruction process is terminated.

また、全ブロックが完了していない場合には(ステップS21のNo分岐)、現在の対象ブロックが、調停制御部(arbitration module)16から入手したバックアップ完了ブロックよりも、若いブロック番号であるかを確認する(ステップS22)。   If all blocks have not been completed (No branch in step S21), it is determined whether the current target block is a block number that is younger than the backup completion block obtained from the arbitration control unit (arbitration module) 16. Confirm (step S22).

バックアップ完了ブロックと同じもしくは大きい場合は(ステップS22のYes分岐)、バックアップ完了ブロックが更新されるまで、確認し続ける。   If it is the same or larger than the backup completion block (Yes branch in step S22), the confirmation is continued until the backup completion block is updated.

また、バックアップ完了ブロックよりも若いブロックの場合は(ステップS22のNo分岐)、対象ブロックがパリティ用のブロックであるかの判定を行う(ステップS23)。   If the block is younger than the backup completed block (No branch in step S22), it is determined whether the target block is a block for parity (step S23).

対象ブロックがパリティブロックの場合(ステップS23のYes分岐)、関連するブロックのデータをバックアップストレージから読み出して(ステップS26)、パリティデータを生成し(ステップS27)、生成したパリティデータを対象ブロックに書き込む(ステップS28)。   If the target block is a parity block (Yes branch in step S23), the data of the related block is read from the backup storage (step S26), parity data is generated (step S27), and the generated parity data is written to the target block. (Step S28).

また、対象ブロックがパリティブロックでなければ(ステップS23のNo分岐)、対象となるブロックのデータをバックアップ記憶装置から読み出し(ステップS24)、対象ブロックに書き込む(ステップS25)。   If the target block is not a parity block (No branch in step S23), the data of the target block is read from the backup storage device (step S24) and written to the target block (step S25).

対象ブロックの書き込み処理である再構築処理が完了したら、対象ブロックを次のブロックに設定し(ステップS29)、ステップS21に移行し、次のブロックから、順次、最後のブロックまで、一連の処理(ステップS22〜S29)を繰り返す。   When the reconstruction process, which is the target block writing process, is completed, the target block is set to the next block (step S29), the process proceeds to step S21, and a series of processes (from the next block to the last block in sequence) ( Steps S22 to S29) are repeated.

本発明によれば、バックアップを行うディスクアレイ装置において、バックアップ処理中に即時に再構築処理を行うように適用可能である。また、複数のストレージ装置によって構成されるSAN(Storage Area Network)などのストレージシステムにおいても、バックアップ処理中の再構築処理を行うように、適用可能である。   According to the present invention, in a disk array device that performs backup, it can be applied so that the rebuild process is immediately performed during the backup process. Further, the present invention can also be applied to a storage system such as a SAN (Storage Area Network) configured by a plurality of storage apparatuses so as to perform a reconstruction process during a backup process.

以上、本発明を上記実施例に即して説明したが、本発明は上記実施例の構成にのみ制限されるものでなく、本発明の範囲内で当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   Although the present invention has been described with reference to the above-described embodiments, the present invention is not limited to the configurations of the above-described embodiments, and various modifications that can be made by those skilled in the art within the scope of the present invention. Of course, including modifications.

本発明を一実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of this invention. 本発明の一実施形態において、調停制御部のバックアップ中のリビルド処理の手順を示す流れ図である。In one Embodiment of this invention, it is a flowchart which shows the procedure of the rebuild process in backup of the arbitration control part. 本発明の一実施形態において、再構築処理部のバックアップ中のリビルド処理の手順を示す流れ図である。In one Embodiment of this invention, it is a flowchart which shows the procedure of the rebuild process during the backup of a rebuild process part. 従来のディスクアレイ装置の典型的な構成例を示す模式図である。It is a schematic diagram which shows the typical structural example of the conventional disk array apparatus.

符号の説明Explanation of symbols

10 ディスクアレイ装置(Disk array)
11〜11 ディスク
13 RAIDモジュール(RAID module)
14 アクセスモジュール(Access Module)
15 バックアップ処理部(backup module)
16 調停制御部(Arbitration module)
17 再構築処理部(rebuild module)
18 ディスクアクセスバス/スイッチ(Disk access bus / swich)
20 ホストコンピュータ(host)
30 バックアップ記憶装置(Backup storage)
10 Disk array device
11 1 to 11 n disks 13 RAID module (RAID module)
14 Access Module
15 Backup processing module (backup module)
16 Arbitration module
17 Rebuild module
18 Disk access bus / swich
20 Host computer
30 Backup storage

Claims (12)

ディスクアレイを構成する複数のディスク装置と、
前記ディスクアレイのデータをバックアップするバックアップ処理部と、
前記ディスクアレイを構成する複数のディスク装置のうち再構築対象のディスク装置に対して、バックアップデータから、データの再構築を行う再構築処理部と、
前記ディスクアレイのデータのバックアップ時、前記バックアップ処理部によるバックアップ処理と、前記再構築処理部によるバックアップデータからの再構築処理との並列実行を制御する調停制御部と、
を備えている、ことを特徴とするディスクアレイ装置。
A plurality of disk devices constituting a disk array;
A backup processing unit for backing up the data in the disk array;
Reconstruction processing unit for reconstructing data from backup data for a disk device to be reconstructed among a plurality of disk devices constituting the disk array;
When backing up the data of the disk array, an arbitration control unit that controls parallel execution of backup processing by the backup processing unit and reconstruction processing from backup data by the reconstruction processing unit;
A disk array device comprising:
バックアップ記憶装置を備え、
前記バックアップ処理部は、前記ディスクアレイのデータを前記バックアップ記憶装置にバックアップし、
前記再構築処理部は、前記バックアップ記憶装置にバックアップされたバックアップデータから、再構築対象のディスク装置の再構築処理を行う、ことを特徴とする請求項1記載のディスクアレイ装置。
With backup storage,
The backup processing unit backs up the data in the disk array to the backup storage device,
2. The disk array device according to claim 1, wherein the rebuild processing unit performs rebuild processing of a disk device to be rebuilt from backup data backed up in the backup storage device.
前記調停制御部は、前記再構築処理部が再構築処理で参照するバックアップデータのブロックが、前記バックアップ処理部によるバックアップのブロックを追い越さないように、調停する、ことを特徴とする請求項1又は2記載のディスクアレイ装置。   The arbitration control unit performs arbitration so that a block of backup data referred to by the reconstruction processing unit in a reconstruction process does not overtake a backup block by the backup processing unit. 2. The disk array device according to 2. 前記再構築処理部は、前記調停制御部からの制御のもと、前記バックアップデータから再構築処理を行う場合に、前記バックアップ処理部によるバックアップが完了したブロックを用いて再構築を行い、
バックアップ未完了のブロックデータについては、前記バックアップ処理部によって前記バックアップ未完了のブロックのバックアップが行われるまで、再構築対象のディスク装置の再構築を待つ制御を行う、ことを特徴とする請求項1記載のディスクアレイ装置。
The reconstruction processing unit performs reconstruction using a block that has been backed up by the backup processing unit when performing the reconstruction processing from the backup data under the control of the arbitration control unit,
2. The block data that has not yet been backed up is controlled to wait for rebuilding of a disk device to be rebuilt until the backup processing unit backs up the block that has not been backed up. The disk array device described.
前記調停制御部は、前記バックアップ処理部からバックアップが完了したブロックの情報を取得して、前記再構築処理部へ通知する、ことを特徴とする請求項1又は4記載のディスクアレイ装置。   5. The disk array device according to claim 1, wherein the arbitration control unit acquires information on a block whose backup has been completed from the backup processing unit and notifies the reconstruction processing unit of the information. 前記調停制御部は、前記バックアップ処理部からバックアップが完了したブロックの情報を取得して、前記再構築処理部へ通知し、
前記再構築処理部は、バックアップ処理中に、再構築処理を開始した場合に、バックアップが完了しているブロックに対して前記バックアップ記憶装置からデータを読み出して再構築を行い、バックアップ未完了のブロックデータについては、前記バックアップ処理部による前記バックアップ記憶装置へのバックアップが完了することを待ち合わせる、ことを特徴とする請求項2記載のディスクアレイ装置。
The arbitration control unit obtains information of a block that has been backed up from the backup processing unit, and notifies the reconstruction processing unit,
When the rebuild process starts during the backup process, the rebuild processing unit reads the data from the backup storage device for the blocks that have been backed up, performs the rebuild, and blocks that have not been backed up 3. The disk array device according to claim 2, wherein the disk array device waits for the backup to the backup storage device by the backup processing unit to be completed.
ディスクアレイのデータをバックアップ記憶装置にバックアップするバックアップ工程と、
前記ディスクアレイを構成する複数のディスク装置のうち、再構築対象のディスク装置に対して、前記バックアップ記憶装置に既にバックアップされたバックアップデータから、データの再構築を行う再構築工程と、
前記バックアップ工程と前記再構築工程を並列に実行させる制御を行う調停工程と、
を含み、
バックアップ処理中に、再構築処理を実行可能としてなる、ことを特徴とするディスクアレイの再構築方法。
A backup process for backing up the data in the disk array to a backup storage device;
Among the plurality of disk devices constituting the disk array, a reconstruction process for reconstructing data from the backup data already backed up in the backup storage device for the disk device to be reconstructed;
An arbitration step for performing control to execute the backup step and the reconstruction step in parallel;
Including
A disk array rebuilding method, wherein a rebuild process can be executed during a backup process.
前記再構築工程は、バックアップデータから再構築処理を行う場合に、バックアップ完了ブロックを用いて再構築を行い、
バックアップ未完了のブロックデータに対しては、前記バックアップ処理部によって該ブロックのバックアップが行われるまで、再構築を待つ制御を行う、ことを特徴とする請求項7記載のディスクアレイの再構築方法。
In the rebuilding process, when performing the rebuilding process from backup data, rebuilding is performed using a backup completion block,
8. The disk array reconstruction method according to claim 7, wherein control for waiting for reconstruction is performed for block data that has not been backed up until the backup processing unit backs up the block.
前記調停工程は、前記バックアップ工程からバックアップが完了したブロックの情報を取得し、前記再構築工程に、前記バックアップが完了したブロックを通知する、ことを特徴とする請求項7記載のディスクアレイの再構築方法。   8. The disk array re-creation according to claim 7, wherein the arbitration step acquires information on a block whose backup has been completed from the backup step, and notifies the reconstruction step of the block whose backup has been completed. Construction method. ディスクアレイのデータをバックアップ記憶装置にバックアップするバックアップ処理と、
前記ディスクアレイを構成する複数のディスク装置のうち、再構築対象のディスク装置に対して、前記バックアップ記憶装置に既にバックアップされたバックアップデータから、データの再構築を行う再構築処理と、
前記バックアップ処理と前記再構築処理とを並列に実行させる制御を行う調停処理と、
をコンピュータに実行させるプログラム。
A backup process for backing up the disk array data to a backup storage device;
Among the plurality of disk devices constituting the disk array, a rebuild process for rebuilding data from the backup data already backed up in the backup storage device for the disk device to be reconstructed;
Arbitration processing for performing control to execute the backup processing and the reconstruction processing in parallel;
A program that causes a computer to execute.
請求項10記載のプログラムにおいて、
前記再構築処理は、バックアップデータから再構築処理を行う場合に、バックアップ完了ブロックを用いて再構築を行い、
バックアップ未完了のブロックデータに対しては、前記バックアップ処理によって該ブロックのバックアップが行われるまで再構築を待つ制御を行う、ことを特徴とするプログラム。
The program according to claim 10, wherein
The rebuild process is performed by using a backup completion block when performing the rebuild process from backup data,
A program that performs control for waiting for reconstruction until block backup is performed by the backup processing for block data that has not yet been backed up.
請求項10記載のプログラムにおいて、
前記調停処理は、前記バックアップ処理からバックアップが完了したブロックの情報を取得し、前記再構築処理に、バックアップが完了したブロックへ通知する、ことを特徴とするプログラム。
The program according to claim 10, wherein
The arbitration process acquires information on a block whose backup has been completed from the backup process, and notifies the block whose backup has been completed to the reconstruction process.
JP2006242812A 2006-09-07 2006-09-07 Disk array device, method and program for reconstructing disk during backup process Withdrawn JP2008065601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006242812A JP2008065601A (en) 2006-09-07 2006-09-07 Disk array device, method and program for reconstructing disk during backup process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006242812A JP2008065601A (en) 2006-09-07 2006-09-07 Disk array device, method and program for reconstructing disk during backup process

Publications (1)

Publication Number Publication Date
JP2008065601A true JP2008065601A (en) 2008-03-21

Family

ID=39288264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006242812A Withdrawn JP2008065601A (en) 2006-09-07 2006-09-07 Disk array device, method and program for reconstructing disk during backup process

Country Status (1)

Country Link
JP (1) JP2008065601A (en)

Similar Documents

Publication Publication Date Title
JP4754852B2 (en) Storage control apparatus and method
US6883112B2 (en) Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices
JP4815825B2 (en) Disk array device and method for reconstructing the same
US8392752B2 (en) Selective recovery and aggregation technique for two storage apparatuses of a raid
US6990611B2 (en) Recovering data from arrays of storage devices after certain failures
US5566316A (en) Method and apparatus for hierarchical management of data storage elements in an array storage device
US20060117216A1 (en) Program, storage control method, and storage system
US20080126844A1 (en) Storage system
US20070088990A1 (en) System and method for reduction of rebuild time in raid systems through implementation of striped hot spare drives
JP2006285803A (en) Data storage device, reconstruction control device, reconstruction control method, program and storage medium
JP2005276196A (en) System and method for performing drive recovery subsequent to drive failure
WO2001040925A1 (en) Disk array system and method of expanding storage capacity
JP2011170589A (en) Storage control device, storage device, and storage control method
JP2005099995A (en) Disk sharing method and system of magnetic disk unit
JP2006268502A (en) Array controller, media error restoring method and program
JPH1195933A (en) Disk array system
JP4248164B2 (en) Disk array error recovery method, disk array control device, and disk array device
US20050097390A1 (en) Method and apparatus for copying data of disk drive in disk array system
JP2010267037A (en) Disk array device
JP4398596B2 (en) Disk array device
US20050102470A1 (en) Disk array device
JP2008065601A (en) Disk array device, method and program for reconstructing disk during backup process
JP5913078B2 (en) Disk array system, data recovery method, and data recovery program
JP2007128183A (en) Storage system
JP2014041523A (en) Data management device, and data management method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091110