JP4935643B2 - Disk array storage system and initialization method and initialization program at the time of new installation or expansion - Google Patents

Disk array storage system and initialization method and initialization program at the time of new installation or expansion Download PDF

Info

Publication number
JP4935643B2
JP4935643B2 JP2007300338A JP2007300338A JP4935643B2 JP 4935643 B2 JP4935643 B2 JP 4935643B2 JP 2007300338 A JP2007300338 A JP 2007300338A JP 2007300338 A JP2007300338 A JP 2007300338A JP 4935643 B2 JP4935643 B2 JP 4935643B2
Authority
JP
Japan
Prior art keywords
initialization
magnetic disk
disk device
information
raid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007300338A
Other languages
Japanese (ja)
Other versions
JP2009128981A (en
Inventor
彰一 野村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2007300338A priority Critical patent/JP4935643B2/en
Publication of JP2009128981A publication Critical patent/JP2009128981A/en
Application granted granted Critical
Publication of JP4935643B2 publication Critical patent/JP4935643B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、磁気ディスク装置を用いたディスクアレイ記憶システムに係り、特に、RAID技術を用いたディスクアレイ記憶システムの初期化構成を行なうディスクアレイ用初期化方法、そのシステム、及び初期化プログラムに関する。   The present invention relates to a disk array storage system using a magnetic disk device, and more particularly to a disk array initialization method for performing an initialization configuration of a disk array storage system using RAID technology, a system thereof, and an initialization program.

ハードディスク装置(Hard Disk Drive:HDD)(「磁気ディスク装置」ともいう)の集合を、記憶容量が大きく信頼性の高い記憶装置として構成し動作させるディスクアレイ記憶システムが広く用いられている。このディスクアレイ記憶システムでは、大容量化及び高性能化を図ると共に、必要な信頼性を確保するために磁気ディスク装置の冗長構成を利用するRAID(Redundant Arrays of Inexpensive Disks)技術が用いられている。RAID技術は、その冗長構成の形態によってレベル0からレベル6までの分類があることはよく知られている。   2. Description of the Related Art Disk array storage systems are widely used in which a set of hard disk drives (Hard Disk Drives: HDDs) (also referred to as “magnetic disk devices”) is configured and operated as a highly reliable storage device with a large storage capacity. In this disk array storage system, RAID (Redundant Arrays of Inexpensive Disks) technology that uses a redundant configuration of a magnetic disk device is used in order to increase the capacity and performance and to ensure necessary reliability. . It is well known that RAID technology has a classification from level 0 to level 6 depending on the form of the redundant configuration.

ちなみに、RAID−1(レベル1)は、2台のHDDでペアを組み、2台のHDDに同じデータを書込むことで二重化する方法であり、ミラーリングとも呼ばれる。片方のHDDが故障しても片側だけで読み書きが正常に続けられるので信頼性は高いが、2倍のハードウェア構成を必要とし記憶容量の利用効率は50%で、コストが高い。   Incidentally, RAID-1 (level 1) is a method of duplexing by pairing two HDDs and writing the same data to the two HDDs, and is also called mirroring. Even if one HDD breaks down, reading and writing continues normally on only one side, so the reliability is high. However, the hardware configuration is doubled, the use efficiency of the storage capacity is 50%, and the cost is high.

また、RAID−5(レベル5)は、データ記憶用の(n−1)台のHDDとパリティ部を記憶する専用のHDDを備えたRAID−4(レベル4)構成の欠点を改善するために考案されたもので、パリティ部を各HDDに分散記憶するようにして、複数HDDへの同時書込み動作が行えるようにして小ブロックデータの書込み速度を速めたものである。パリティ則として奇数と偶数のパリティの2種類がある。   RAID-5 (level 5) is for improving the disadvantages of the RAID-4 (level 4) configuration including (n-1) HDDs for data storage and a dedicated HDD for storing the parity part. Invented, the parity portion is distributed and stored in each HDD, so that the simultaneous writing operation to a plurality of HDDs can be performed, and the writing speed of the small block data is increased. There are two types of parity rules: odd and even parity.

ところで、このようなRAID構成をとるディスクアレイ記憶システムの新設又は容量増加等のための増設時における磁気ディスク装置の初期化は、その膨大な記憶領域に初期化データを書き込むことで行なわれる。磁気ディスク装置1台当り1〜2分程度の時間がかかるとして、複数台の磁気ディスク装置から成るディスクアレイ記憶システムでは、その台数倍の時間が初期化設定にかかることになる。   By the way, initialization of a magnetic disk device when a disk array storage system having such a RAID configuration is newly installed or added for capacity increase or the like is performed by writing initialization data in its enormous storage area. Assuming that it takes about 1 to 2 minutes per one magnetic disk device, the disk array storage system composed of a plurality of magnetic disk devices takes time required for initialization.

この問題点について、ディスクアレイ記憶システムの新設又は増設時の初期化動作の時間を減らすための提案もいくつかなされている。その中の一つに、通常の初期化とは違って、実際には磁気ディスク装置に初期化データ(“0”など特定パターン)を書き込まないで、記憶領域のブロック又はトラック単位毎に設けた「初期化状態フラグ」のみを「セット(初期化状態)」にしておき、実際のデータ書込み指令があった場合には、「初期化状態フラグ」をチェックして「セット」であれば、データを書込むと共に例えば書込みに使ったトラックの残り部分に初期化データの書込みを行い、その後そのトラックの「初期化状態フラグ」を「リセット」状態に変更して、以後のアクセスにおいて「初期化状態フラグ」が「リセット」状態ならば通常の書込み動作を行なうという技術が開示されている(特許文献1、2)。
特開平05−324453号公報 再公表特許WO02/017055
With respect to this problem, some proposals have been made to reduce the time for initialization operation when a disk array storage system is newly installed or added. One of them is that, unlike normal initialization, the initialization data (specific pattern such as “0”) is not actually written to the magnetic disk device, but is provided for each block or track unit of the storage area. If only "Initialization state flag" is set to "Set (initialization state)" and there is an actual data write command, the "Initialization state flag" is checked. For example, the initialization data is written in the remaining part of the track used for writing, and then the “initialization state flag” of the track is changed to the “reset” state. A technique is disclosed in which a normal write operation is performed if the “flag” is in the “reset” state (Patent Documents 1 and 2).
JP 05-324453 A Republished patent WO02 / 017055

しかしながら、この方法によると、初期化設定には書込みは行なわないので初期化時間は短縮できるが、実際の運用が始まってから、通常の書込みに随伴して、例えばトラックごとの初期化のための書込みを行なっているので、運用初期には速度低下が生じ、また、運用中、必ず初期化フラグの参照を行なうという余分の動作を伴う、という不都合がある。   However, according to this method, since initialization is not performed and writing is not performed, the initialization time can be shortened. However, for example, for the initialization for each track in association with normal writing after the actual operation starts. Since writing is performed, the speed is lowered at the initial stage of operation, and there is an inconvenience that an extra operation of always referring to the initialization flag is performed during the operation.

このように、既存の方法では、ディスクアレイ記憶システムを新設又は増設した時には、磁気ディスク装置間でデータ整合を取るために、磁気ディスク装置へのデータ書き込みが記憶容量分必要となり、初期設定時間がかかり即応性と利便性が悪くなるという問題がある。また、増設を実施する際に増設した磁気ディスク装置に対してRAID構成設定のための書き込みコマンドが多量に発行されるため、増設を実施していない時に比べて通常運用中の性能劣化を引き起こすという不都合が常に生じていた。   As described above, in the existing method, when a disk array storage system is newly installed or added, in order to achieve data consistency between the magnetic disk devices, data writing to the magnetic disk device is required for the storage capacity, and the initial setting time is increased. There is a problem that the responsiveness and convenience become worse. In addition, a large number of write commands for RAID configuration are issued to the expanded magnetic disk device when the expansion is performed, which causes performance degradation during normal operation compared to when the expansion is not performed. There were always inconveniences.

(発明の目的)
本発明は、上記問題点に鑑み、ディスクアレイ記憶システムの新設又は増設時の初期化時間の短縮化をはかると共に、通常運用中の性能劣化も起こさない即応性及び利便性向上を図ったディスクアレイ記憶システム、その初期化方法及び初期化プログラムを提供することを、その目的とする。
(Object of invention)
SUMMARY OF THE INVENTION In view of the above problems, the present invention aims to shorten initialization time when newly installing or adding a disk array storage system, and to improve responsiveness and convenience without causing performance degradation during normal operation. It is an object of the present invention to provide a storage system, an initialization method thereof, and an initialization program.

上記課題を解決するため、本発明に係るディスクアレイ記憶システムは、RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムであって、各磁気ディスク装置は、データを記憶するデータ記憶領域とこのデータ記憶領域が初期化済みか否かを示す初期化情報を記憶する初期化確認領域を備え、アレイ制御装置は、磁気ディスク装置を新設又は増設する時に、各磁気ディスク装置の初期化確認領域の初期化情報を順次参照し初期化済か否かを判別する判別手段と、この判別手段が初期化済でない磁気ディスク装置を判別した場合には当該未初期化の磁気ディスク装置に初期化を指令すると共に当該未初期化の磁気ディスク装置の初期化が完了した場合にRAID構成にかかる情報を保存する情報保存手段とを含むと共に、アレイ制御手段に、各磁気ディスク装置のデータ記憶領域であってかつRAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化手段と、初期化の完了したディスク装置上の初期化確認領域の初期化済み情報をクリアしてリセット情報に変更するリセット手段とを設けた構成としたことを特徴とする。 In order to solve the above-described problems, a disk array storage system according to the present invention includes a plurality of magnetic disk devices that are targets of RAID configuration, and an array control device that controls RAID setting and operation of each magnetic disk device. Each of the magnetic disk devices includes a data storage area for storing data and an initialization confirmation area for storing initialization information indicating whether or not the data storage area has been initialized. The array controller, when newly installing or adding a magnetic disk device, sequentially refers to the initialization information in the initialization confirmation area of each magnetic disk device to determine whether or not initialization has been performed, When a non-initialized magnetic disk device is determined, the uninitialized magnetic disk device is instructed to initialize and the uninitialized magnetic disk device is instructed. Information storage means for storing information related to the RAID configuration when initialization of the disk device is completed, and the array control means corresponds to a data storage area of each magnetic disk device and corresponds to a RAID parity area. Parity initialization means that sends a command to write “1” according to the odd parity rule only for the part, and initialization information in the initialization confirmation area on the disk device that has been initialized is cleared and changed to reset information It is characterized by having a configuration provided with a resetting means .

また、上記課題を解決するため、本発明に係るディスクアレイ用初期化方法は、RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムにあって、磁気ディスク装置を新設又は増設する時に、各磁気ディスク装置が初期化済みか否かの情報を得るために各磁気ディスク装置が備えている初期化確認領域を順次参照する初期化確認領域参照工程と、この各初期化確認領域から得られる情報に基づいて各磁気ディスク装置が初期化済みか否かを判別する初期化判別工程と、各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化工程と、初期化判別工程で未初期化の磁気ディスク装置が判別されなかった場合に当該各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存し当該RAID構成の設定準備を完了する情報保存工程と、初期化の完了した磁気ディスク装置の初期化確認領域の初期化済み情報をクリアしてリセット情報に変更するリセット情報設定工程とを備えたことを特徴とする。 In order to solve the above-described problem, a disk array initialization method according to the present invention includes a plurality of magnetic disk devices that are targets of RAID configuration, and an array that controls RAID setting and operation of each magnetic disk device. In a disk array storage system provided with a control device, when a magnetic disk device is newly installed or added, an initial state provided by each magnetic disk device to obtain information on whether or not each magnetic disk device has been initialized An initialization confirmation area reference process for sequentially referring to the initialization confirmation areas, an initialization determination process for determining whether or not each magnetic disk device has been initialized based on information obtained from each initialization confirmation area, and each magnetic field a data storage area of the disk device, finger writing "1" only in accordance with odd parity rule to a portion corresponding to the RAID parity region Information for setting a RAID configuration for each magnetic disk device when the uninitialized magnetic disk device is not determined in the parity initialization step and the initialization determination step. An information storage step for completing configuration setting preparation, and a reset information setting step for clearing the initialized information in the initialization confirmation area of the magnetic disk device that has been initialized to change to reset information And

さらに、上記課題を解決するため、本発明に係るディスクアレイ用初期化プログラムは、RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムにあって、磁気ディスク装置を新設又は増設する時に、各磁気ディスク装置が初期化済みか否かの情報を得るために各磁気ディスク装置が備えている初期化確認領域を順次参照する初期化確認領域参照機能、この各初期化確認領域から得られる情報に基づいて各磁気ディスク装置が初期化済みか否かを判別する初期化判別機能、各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化機能、初期化判別機能による判別処理によって未初期化の磁気ディスク装置が判別されなかった場合に当該各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存し当該RAID構成の設定準備を完了する情報保存機能と、初期化の完了した磁気ディスク装置の初期化確認領域の初期化済み情報をクリアしてリセット情報に変更するリセット情報設定機能と
をアレイ制御装置が備えているコンピュータに実現させるようにしたことを特徴とする。
Furthermore, in order to solve the above-described problems, a disk array initialization program according to the present invention includes a plurality of magnetic disk devices that are targets of RAID configuration, and an array that controls RAID setting and operation of each magnetic disk device. In a disk array storage system provided with a control device, when a magnetic disk device is newly installed or added, an initial state provided by each magnetic disk device to obtain information on whether or not each magnetic disk device has been initialized Initialization confirmation area reference function for sequentially referencing the initialization confirmation area, initialization determination function for determining whether or not each magnetic disk apparatus has been initialized based on information obtained from each initialization confirmation area, and each magnetic disk apparatus a data storage area, only the portion corresponding to the RAID parity area, writes "1" in accordance with odd parity law Stores information for setting a RAID configuration for each magnetic disk device when a non-initialized magnetic disk device is not identified by the discrimination processing by the parity initialization function and the initialization discrimination function for sending commands. An information storage function that completes the preparation for setting the RAID configuration, a reset information setting function that clears the initialized information in the initialization confirmation area of the magnetic disk device that has been initialized, and changes it to reset information. > Is realized by a computer included in the array controller.

これにより、本発明によると、ディスクアレイ記憶システムの新増設時における磁気ディスク装置の初期化設定において磁気ディスク装置の初期化確認領域を参照・判別するだけでよく、初期化のための読み書きのアクセスが原則として不要となり、初期化設定の時間は大幅に短縮され、また通常運用中の性能劣化も引き起こさず、即応性、利便性が向上するという効果を奏する。   As a result, according to the present invention, it is only necessary to refer to and determine the initialization confirmation area of the magnetic disk device in the initialization setting of the magnetic disk device when the disk array storage system is newly added. In principle, this is unnecessary, the initialization setting time is significantly shortened, and there is no deterioration in performance during normal operation, resulting in improved responsiveness and convenience.

(第1の実施形態:RAID−1及び偶数パリティRAID−5)
次に、本発明の第1の実施形態に係るディスクアレイ記憶システムついて図面を参照して説明する。図2は、RAID−1構成をとるディスクアレイ記憶システム1の構成図を示す。ディスクアレイ記憶システム1は、4台の磁気ディスク装置21〜24とアレイコントローラ(アレイ制御装置)50を備えて構成されている。
(First embodiment: RAID-1 and even parity RAID-5)
Next, a disk array storage system according to the first embodiment of the present invention will be described with reference to the drawings. FIG. 2 shows a configuration diagram of the disk array storage system 1 having a RAID-1 configuration. The disk array storage system 1 includes four magnetic disk devices 21 to 24 and an array controller (array control device) 50.

ここで、先ず、これら磁気ディスク装置21〜24の内部記憶領域の構成について図3に基づいて説明する。この図3において、磁気ディスク装置10の内部記憶領域(アドレス空間)には、実際のデータを保存する領域であるデータ記憶領域10Aと、このデータ記憶領域10Aの初期化が完了(例えば“0”データの書込み)しているか否かを示す初期化情報を記憶する初期化確認領域10Bとが設けられている。この初期化確認領域10Bは、磁気ディスク装置10全体の初期化状態を示すものであり、理論的には最低1ビットの情報でよいが、適当なビットの集合(バイト等)をその環境に合わせて用いることが出来る。   First, the configuration of the internal storage areas of these magnetic disk devices 21 to 24 will be described with reference to FIG. In FIG. 3, in the internal storage area (address space) of the magnetic disk device 10, a data storage area 10A, which is an area for storing actual data, and initialization of this data storage area 10A are completed (for example, “0”). An initialization confirmation area 10B for storing initialization information indicating whether or not data is being written is provided. This initialization confirmation area 10B indicates the initialization state of the entire magnetic disk device 10, and theoretically may be at least one bit of information, but an appropriate set of bits (bytes, etc.) is adapted to the environment. Can be used.

この初期化確認領域10Bに初期化情報が書込まれているため、この初期化情報をチェックするだけで簡単にデータ記憶領域の初期化状態、すなわち“0”データ書込み状態が確認できるので、この磁気ディスク装置10を実際のディスクアレイ記憶システムに組み込む新設、増設時において、RAID構成に必要なデータ整合のための磁気ディスク装置10への書込みが少なく、短時間でディスクアレイ記憶システムのRAID構成が完了し、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するというメリットが生じる。   Since the initialization information is written in the initialization confirmation area 10B, the initialization state of the data storage area, that is, the “0” data writing state can be easily confirmed simply by checking the initialization information. When newly installing or adding the magnetic disk device 10 to an actual disk array storage system, there is little writing to the magnetic disk device 10 for data matching required for RAID configuration, and the RAID configuration of the disk array storage system can be achieved in a short time. Completion will not cause performance degradation during normal operation, resulting in improved responsiveness and convenience.

なお、この初期化確認領域10Bの初期化情報は、RAID構成完了後はリセット状態(初期化状態ではない状態)に戻される。これは、初期化されていない磁気ディスク装置あるいは初期化状態ではなくなった磁気ディスク装置を初期化済みと間違って判断しないためである。具体的には、RAID構成の中に組み入れていた磁気ディスク装置を、例えば、別装置に移したり、故障等何らかの事情で一旦RAID構成から外した後に、再度組み入れるような場合を想定している。このとき、一度RAID構成に組み入れ、データの書き込みがなされた磁気ディスク装置は工場出荷直後の磁気ディスク装置と異なり、初期化済み(通常は“0”書込み)として扱う訳にはいかなくなるので、これを検出するために初期化確認領域をリセット状態にするようにしている。   The initialization information in the initialization confirmation area 10B is returned to a reset state (a state that is not an initialization state) after the RAID configuration is completed. This is because an uninitialized magnetic disk device or a magnetic disk device that is no longer in an initialized state is not erroneously determined as having been initialized. Specifically, it is assumed that the magnetic disk device incorporated in the RAID configuration is transferred to another device, or once removed from the RAID configuration for some reason such as failure, and then incorporated again. At this time, the magnetic disk device once incorporated into the RAID configuration and written with data cannot be handled as initialized (usually “0” write) unlike the magnetic disk device immediately after shipment from the factory. In order to detect this, the initialization confirmation area is reset.

また、この初期化確認領域10Bの初期化情報は、新設又は増設時等のみ参照され、通常の運転時には参照されることはない。   Further, the initialization information in the initialization confirmation area 10B is referred to only when newly installed or added, and is not referred to during normal operation.

次に、図2に戻って、RAID−1構成とアレイコントローラ(アレイ制御装置)50について説明する。
ここで、RAID−1構成とは、磁気ディスク装置のペアで構成され、データを二重化する冗長構成方法であり、全く同じデータを各ペアの磁気ディスク装置に書き込むのでミラーリングとも呼ばれる。ここでは、2ペア、すなわち、磁気ディスク装置21と22とのペア、磁気ディスク装置22と23とのペアの2組のペアで構成されたミラーリングが示されている。
Next, returning to FIG. 2, the RAID-1 configuration and the array controller (array controller) 50 will be described.
Here, the RAID-1 configuration is a redundant configuration method that consists of a pair of magnetic disk devices and duplicates data, and is also called mirroring because the exact same data is written to each pair of magnetic disk devices. Here, there is shown mirroring composed of two pairs, that is, a pair of magnetic disk devices 21 and 22, and a pair of magnetic disk devices 22 and 23.

このようなRAID−1構成では、記憶容量の利用効率は低くコストは高いが、片方の磁気ディスク装置が故障しても片側だけで読み書きが正常に続けられるという点で信頼性は高い。また、データの書き込みの際は、2台の磁気ディスク装置の双方に書き込むため性能は低下するが、データの読出しの際は、ミラーリングしない場合に比べて性能は最大2倍になるという特徴を有している。
なお、ここでは2ペアの磁気ディスク装置から成るRAID−1構成を一例として示しているが、ペア数は多くてもよいし、また最低1ペアの磁気ディスク装置でもよい。
In such a RAID-1 configuration, the utilization efficiency of the storage capacity is low and the cost is high, but the reliability is high in that reading and writing can continue normally only on one side even if one of the magnetic disk devices fails. In addition, when data is written, the performance is reduced because data is written to both of the two magnetic disk devices. However, when data is read, the performance is twice as high as when mirroring is not performed. is doing.
Here, a RAID-1 configuration including two pairs of magnetic disk devices is shown as an example, but the number of pairs may be large, or a minimum of one pair of magnetic disk devices may be used.

アレイコントローラ(アレイ制御装置)50は、図示しないホストコンピュータからの書込み読出し指令(コマンド)に基づいて、磁気ディスク装置21〜24に対する書込み読出し動作を制御する。また、アレイコントローラ50は、磁気ディスク装置21〜24を監視し、信頼性と性能を向上させるRAID技術を実現している。   The array controller (array control device) 50 controls a write / read operation with respect to the magnetic disk devices 21 to 24 based on a write / read command (command) from a host computer (not shown). Further, the array controller 50 implements RAID technology that monitors the magnetic disk devices 21 to 24 and improves reliability and performance.

すなわち、このアレイコントローラ(アレイ制御装置)50は、複数の磁気ディスク装置21〜24を用いてRAIDを構成できる機能、RAIDを構成することにより各磁気ディスク装置21〜24に分割して保存されている情報を元の情報に戻す機能、万が一壊れている磁気ディスク装置が発見された場合でも、壊れた磁気ディスク装置を切り離してRAID構成が許す限り動作し続ける機能、組み込むRAIDの種類により磁気ディスク装置21〜24に適切なアドレスで適切なコマンドを出す機能などを備えて構成されている。   That is, the array controller (array control device) 50 is divided and stored in each of the magnetic disk devices 21 to 24 by configuring the RAID using a plurality of magnetic disk devices 21 to 24, and configuring the RAID. A function to return the information to the original information, a function that keeps operating as long as the RAID configuration permits even if a broken magnetic disk device is discovered, and a type of RAID to be incorporated 21 to 24 are provided with a function of issuing an appropriate command at an appropriate address.

それに加えて、本アレイコントローラ50は、図1に示すように、本ディスクアレイ記憶システム1の新設又は増設時に必要なRAID構成の初期化設定を行なうための構成要素を備えている。   In addition, as shown in FIG. 1, the array controller 50 includes components for performing initialization setting of a RAID configuration required when newly installing or adding the disk array storage system 1.

この図1において、アレイコントローラ50は、初期化設定の際動作する各構成要素、すなわち、各磁気ディスク装置21〜24の初期化確認領域21B〜24Bを順次参照し初期化済みか否かを判別する判別手段51と、その判別の結果、もし初期化されていなければ、当該磁気ディスク装置のデータ記憶領域を初期化(“0”書込み)させるため、当該磁気ディスク装置に初期化指令であるFORMATコマンドを送るコマンド送出手段52と、全ての磁気ディスク装置21〜24の初期化確認領域21B〜24Bの判別が終了すると、RAID情報を保存してRAID構成を終了する情報保存手段53と、磁気ディスク装置21〜24の初期化確認領域21B〜24Bの初期化済み情報をリセット情報に変更するリセット手段54、及びこれら手段を全体として制御する主制御部56とを備えている。   In FIG. 1, the array controller 50 determines whether or not initialization has been completed by sequentially referencing each component operating at the time of initialization setting, that is, the initialization confirmation areas 21 </ b> B to 24 </ b> B of the magnetic disk devices 21 to 24. And, if the result of the determination is that the data storage area of the magnetic disk device is not initialized, in order to initialize (write “0”), the magnetic disk device has an initialization command FORMAT. When the command sending means 52 for sending the command, the determination of the initialization confirmation areas 21B to 24B of all the magnetic disk devices 21 to 24 are finished, the information saving means 53 for saving the RAID information and finishing the RAID configuration, and the magnetic disk Reset means 54 for changing the initialized information in the initialization confirmation areas 21B to 24B of the devices 21 to 24 to reset information, and And a main control unit 56 for controlling these means as a whole.

上記の判別手段51は、各磁気ディスク装置21〜24の初期化確認領域21B〜24Bを順次参照し初期化済みか否かを判別する。この判別手段51を備えたことにより、もし磁気ディスク装置が出荷時又はRAID構成組み込み時に初期化済みであれば、初期化確認領域を参照・判別するだけで、ディスクアレイ記憶システムの新増設時における磁気ディスク装置の初期化は終了するので、初期化設定にかかる時間が大幅に短縮され、また通常運用中の性能劣化も引き起こさず、即応性、利便性が向上するという効果を奏する。また、書込みが無いので、アレイコントローラに対する負荷を低減させるという効果も生ずる。   The determining means 51 sequentially refers to the initialization confirmation areas 21B to 24B of the magnetic disk devices 21 to 24 to determine whether or not the initialization has been completed. By providing this discriminating means 51, if the magnetic disk device has been initialized at the time of shipment or when the RAID configuration is incorporated, it is only necessary to refer to and discriminate the initialization confirmation area when the disk array storage system is newly added. Since the initialization of the magnetic disk device is completed, the time required for the initialization setting is greatly shortened, and the performance is not deteriorated during normal operation, and the responsiveness and convenience are improved. In addition, since there is no writing, there is an effect of reducing the load on the array controller.

また、上記のコマンド送出手段52は、上記の判別の結果、もし初期化確認領域がリセット情報になっていれば、その磁気ディスク装置のデータ記憶領域を初期化(“0”書込み)させるため、当該磁気ディスク装置にFORMATコマンドを送る。このコマンド送出手段52を備えることにより、万一、磁気ディスク装置が出荷時に初期化されていないような場合にも、判別手段51が初期化確認領域からそれを判別すると、コマンド送出手段52が当該磁気ディスク装置自身が有する初期化(フォーマット)動作を起動するコマンドを送出して、初期化させるので、やはり、初期化構成にかかる時間が短縮され、即応性や利便性が向上するという効果を奏する。   The command sending means 52 initializes the data storage area of the magnetic disk device ("0" write) if the initialization confirmation area is reset information as a result of the above determination. A FORMAT command is sent to the magnetic disk device. By providing the command sending means 52, even if the magnetic disk device is not initialized at the time of shipment, if the judging means 51 discriminates it from the initialization confirmation area, the command sending means 52 Since the command for starting the initialization (formatting) operation of the magnetic disk device itself is sent and the initialization is performed, the time required for the initialization configuration is also shortened, and the responsiveness and convenience are improved. .

さらに、上記のリセット手段54は磁気ディスク装置21〜24の初期化確認領域21B〜24Bの初期化済み情報をリセット情報に変更する。このリセット手段54を備えることにより、一旦ディスクアレイに組み入れた磁気ディスク装置を、再度組み入れる際などに、初期化されていない磁気ディスク装置、あるいは一度書込みがなされ最早初期化状態ではなくなった磁気ディスク装置を判別できるので、誤設定を防ぐことが出来る。
なお、この初期化確認領域21B〜24Bの初期化情報は、新設又は増設時等のみ参照され、通常の運転時には参照されることはない。
Further, the reset means 54 changes the initialized information in the initialization confirmation areas 21B to 24B of the magnetic disk devices 21 to 24 to reset information. By providing this reset means 54, when the magnetic disk device once incorporated in the disk array is reassembled, the magnetic disk device is not initialized, or once written and no longer in the initialized state. Therefore, it is possible to prevent erroneous setting.
The initialization information in the initialization confirmation areas 21B to 24B is referred to only when newly installed or added, and is not referred to during normal operation.

なお、上記のコマンド送出手段52は、この初期化のために特別設ける必要は無く、通常、アレイコントローラ50が有しているコマンド送出手段をこのために利用するだけでよい。   The command sending means 52 does not need to be specially provided for the initialization, and usually the command sending means possessed by the array controller 50 only needs to be used for this purpose.

また、上記の情報保存手段53は、上記のようにアレイコントローラ50の中に設ける必要はなく、例えば磁気ディスク装置の一定領域を利用してRAID情報を記憶させるようにしてもよい。
以下、これら構成要素による初期化設定の動作の詳細について説明する。
Further, the information storage means 53 does not need to be provided in the array controller 50 as described above. For example, the RAID information may be stored using a certain area of the magnetic disk device.
Details of the initialization setting operation by these components will be described below.

(新・増設時の初期化設定の動作説明)
図4は、本ディスクアレイ記憶システム1が、RAID−1の初期化構成を実行する動作シーケンスを示している。ここで、RAID−1においては、ペアとなる磁気ディスク装置に格納されているデータの内容が一致している必要がある。そのため、例えば、図2において磁気ディスク装置21と22、及び磁気ディスク装置23と24で夫々ペアを組み、RAID−1を構成する場合には、磁気ディスク装置21と22、及び磁気ディスク装置23と24に保存されているデータ記憶領域21Aと22Aの内容、データ記憶領域23Aと24Aの内容は夫々一致するよう運用される。
(Explanation of initialization settings for new and expanded)
FIG. 4 shows an operation sequence in which the disk array storage system 1 executes the RAID-1 initialization configuration. Here, in RAID-1, the contents of the data stored in the paired magnetic disk devices need to match. Therefore, for example, in FIG. 2, when the magnetic disk devices 21 and 22 and the magnetic disk devices 23 and 24 are paired to form RAID-1, the magnetic disk devices 21 and 22 and the magnetic disk device 23 The contents of the data storage areas 21A and 22A stored in 24 and the contents of the data storage areas 23A and 24A are operated so as to match.

ここで、本実施形態の動作の詳細に入る前に、その初期化動作の特徴を既存の動作と対比して明確にするため、既存のRAIDシステムにおける初期化シーケンスの一例を説明する(図9参照)。図9に示すように、その動作は、先ずRAIDを構成する磁気ディスク装置が存在することを確認している(ステップS320)。そして次の動作は、RAIDを構成する磁気ディスク装置間のデータの整合を取るために、RAID構成に適合したデータの書込みを磁気ディスク装置に行っている(ステップS330)。このデータの書込みが完了すると、RAID構成が完了したとして、RAID構成の設定情報をアレイコントローラ内、もしくは磁気ディスク装置のデータ記憶領域内に保存して、RAID構成設定を完了している(ステップS340)。   Here, before entering the details of the operation of the present embodiment, an example of an initialization sequence in the existing RAID system will be described in order to clarify the characteristics of the initialization operation in comparison with the existing operation (FIG. 9). reference). As shown in FIG. 9, the operation first confirms that there is a magnetic disk device that constitutes the RAID (step S320). In the next operation, data conforming to the RAID configuration is written to the magnetic disk device in order to match data between the magnetic disk devices constituting the RAID (step S330). When the writing of this data is completed, assuming that the RAID configuration is completed, the RAID configuration setting information is saved in the array controller or the data storage area of the magnetic disk device, and the RAID configuration setting is completed (step S340). ).

これに対して、図4に示す本実施形態の動作シーケンスでは、先ず、RAID構成設定を実施する磁気ディスク装置の存在を確認している点は(ステップS120)同様であるが、次のステップS121が異なっている。   On the other hand, in the operation sequence of the present embodiment shown in FIG. 4, first, the presence of the magnetic disk device for performing the RAID configuration setting is confirmed (step S120), but the next step S121 is performed. Is different.

このステップS121では、RAID構成設定を実施する磁気ディスク装置21〜24が初期化済みか否かを、図2の初期化確認領域21B〜24Bに記憶されている初期化情報を参照し(初期化確認領域参照工程)、その初期化情報に基づいて確認・判定している(ステップS121、初期化判別工程)。   In step S121, the initialization information stored in the initialization confirmation areas 21B to 24B in FIG. 2 is referred to to determine whether or not the magnetic disk devices 21 to 24 for which the RAID configuration setting is to be performed (initialization). Confirmation region reference step), confirmation / determination is performed based on the initialization information (step S121, initialization discrimination step).

この判別工程で当該磁気ディスク装置が初期化済みで有ることが判断されると、図4のステップS123に移り、同じRAID構成設定で使用される他の磁気ディスク装置が存在するか否かを判定し、もし存在すれば、ステップS121(初期化判別工程)に戻り、その磁気ディスク装置の初期化状態をその初期化確認領域21B〜24Bでチェックする。   If it is determined in this determination step that the magnetic disk device has been initialized, the process proceeds to step S123 in FIG. 4 to determine whether there is another magnetic disk device used in the same RAID configuration setting. If it exists, the process returns to step S121 (initialization determination step) to check the initialization state of the magnetic disk device in the initialization confirmation areas 21B to 24B.

一方、上記の判別工程(ステップS121)において、初期化済みでない磁気ディスク装置が発見された場合には、ステップS122に移行し、磁気ディスク装置自身が備えている初期化(フォーマット)手段を起動して、この磁気ディスク装置を初期化するための初期化指令「FORMATコマンド」を送出する(ステップS122、初期化指令工程)。このとき、磁気ディスク装置自身が持つ磁気ディスク装置内の初期化機能を用いているため、アレイコントローラ50は当該磁気ディスク装置に対し、初期化指令である「FORMATコマンド」発行する(初期化指令工程)のみで、他の書込み指令「WRITE」や読出し指令「READ」といった磁気ディスク装置内のデータ記憶領域にアクセスするコマンドを発行する必要はないので、アレイコントローラ50の性能は低下しない。   On the other hand, if a magnetic disk device that has not been initialized is found in the determination step (step S121), the process proceeds to step S122, and the initialization (formatting) means provided in the magnetic disk device itself is activated. Then, an initialization command “FORMAT command” for initializing the magnetic disk device is sent (step S122, initialization command process). At this time, since the initialization function in the magnetic disk device of the magnetic disk device itself is used, the array controller 50 issues an “FORMAT command” that is an initialization command to the magnetic disk device (initialization command process). Therefore, it is not necessary to issue a command for accessing a data storage area in the magnetic disk device such as another write command “WRITE” or read command “READ”, so that the performance of the array controller 50 does not deteriorate.

このようにして、RAIDを構成している全ての磁気ディスク装置21〜24の初期化済みが確認されると、次のステップS140に移り、RAID構成情報を保存してRAID構成設定を完了する(ステップS140、情報保存工程)。   In this way, when it is confirmed that all the magnetic disk devices 21 to 24 constituting the RAID have been initialized, the process proceeds to the next step S140, where the RAID configuration information is saved and the RAID configuration setting is completed ( Step S140, information storage step).

そして最後に、磁気ディスク装置21〜24の初期化確認領域21B〜24Bをクリアにする、すなわち、リセット状態に設定しなおす(ステップS150、リセット情報設定工程)。これは、一度使用された磁気ディスク装置が一旦何らかの理由で構成から除かれ、再度組み込まれるような場合に、初期化されていない磁気ディスク装置、あるいは一度書き込みが行なわれもはや初期化状態ではなくなった磁気ディスク装置を初期化済みと間違って判断しないためである。   Finally, the initialization confirmation areas 21B to 24B of the magnetic disk devices 21 to 24 are cleared, that is, reset to a reset state (step S150, reset information setting step). This is because when a magnetic disk device that has been used once is removed from the configuration for some reason and then re-installed, it has not been initialized, or once written and no longer initialized. This is because the magnetic disk device is not erroneously determined to have been initialized.

以上のようにして、RAIDを構成する磁気ディスク装置21〜24が初期化確認領域21B〜24Bにより初期化が完了していることが示されると、アレイコントローラ50は磁気ディスク装置21〜24に対して、磁気ディスク装置内のデータ記憶領域21A〜24Aにアクセスする書込み指令「WRITE」や読出し指令「READ」といったコマンドを発行する必要がない。そのため、短時間にRAID構成設定を完了することができる。しかも、磁気ディスク装置へのアクセスが最小限になっているので、他の磁気ディスク装置で既にRAID構成が出来ているアレイコントローラ50においても、アレイコントローラ50は追加したRAID構成に対してもアクセスを継続する。   As described above, when the initialization confirmation areas 21B to 24B indicate that the magnetic disk devices 21 to 24 constituting the RAID have been initialized, the array controller 50 controls the magnetic disk devices 21 to 24. Thus, there is no need to issue a command such as a write command “WRITE” or a read command “READ” for accessing the data storage areas 21A to 24A in the magnetic disk device. Therefore, the RAID configuration setting can be completed in a short time. In addition, since access to the magnetic disk device is minimized, the array controller 50 can access the added RAID configuration even in the array controller 50 in which the RAID configuration is already configured in another magnetic disk device. continue.

(ディスクアレイ用初期化方法)
ここで、上記の動作シーケンスで説明した初期化確認領域参照工程、初期化判別工程、初期化指令工程、情報保存工程、及びリセット情報設定工程の各工程によりディスクアレイ用初期化方法が構成されている。
(Initialization method for disk array)
Here, the disk array initialization method is configured by the initialization confirmation area reference process, the initialization determination process, the initialization command process, the information storage process, and the reset information setting process described in the above operation sequence. Yes.

すなわち、ディスクアレイ記憶システム1の初期化設定を行なうためのディスクアレイ用初期化方法では、各磁気ディスク装置21〜24が初期化済みか否かの情報を得るためにこれら各磁気ディスク装置21〜24が備えている初期化確認領域21B〜24Bを順次参照する初期化確認領域参照工程と、
この各初期化確認領域21B〜24Bから得られる情報に基づいて各磁気ディスク装置21〜24が初期化済みか否かを判別する初期化判別工程と、この初期化判別工程で未初期化の磁気ディスク装置が判別された場合に機能して当該未初期化の磁気ディスク装置に初期化を指令する初期化指令工程と、各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存し当該情RAID構成の設定準備を完了する報保存工程と、各磁気ディスク装置21〜24の初期化確認領域21B〜24Bの初期化情報をリセット情報に変更するリセット情報設定工程とを備えている。
That is, in the disk array initialization method for performing the initialization setting of the disk array storage system 1, in order to obtain information on whether or not each of the magnetic disk devices 21 to 24 has been initialized, each of these magnetic disk devices 21 to 21 is used. An initialization confirmation region reference step for sequentially referring to the initialization confirmation regions 21B to 24B included in 24,
An initialization determination step for determining whether or not each of the magnetic disk devices 21 to 24 has been initialized based on information obtained from the respective initialization confirmation areas 21B to 24B, and a magnetic field that has not been initialized in the initialization determination step. An initialization command process that functions when a disk device is determined and commands initialization of the uninitialized magnetic disk device, and information for setting a RAID configuration for each magnetic disk device is stored. The information storage step for completing the preparation for setting the information RAID configuration and the reset information setting step for changing the initialization information in the initialization confirmation areas 21B to 24B of the magnetic disk devices 21 to 24 to reset information are provided.

これにより、磁気ディスク装置がRAID構成組み込み時に初期化済みであれば、初期化確認領域の初期化情報を参照・判別するだけで、磁気ディスク装置の初期化は終了し、初期化設定にかかる時間が大幅に短縮されるという効果を奏する。   As a result, if the magnetic disk device is already initialized when the RAID configuration is incorporated, the initialization of the magnetic disk device is completed by simply referring to and determining the initialization information in the initialization confirmation area, and the time required for initialization setting. Has the effect of significantly shortening.

また、万一、磁気ディスク装置が出荷時に初期化されていない場合にも、初期化確認領域からそれを判別し、当該磁気ディスク装置自身が有する初期化(フォーマット)動作を起動することにより初期化できるので、やはり、初期化構成にかかる時間が短縮され、通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するという効果を奏する。また、書込み指令が無いので、アレイコントローラに対する負荷を低減させるという効果も生ずる。   In addition, even if the magnetic disk device is not initialized at the time of shipment, it is detected from the initialization confirmation area and initialized by starting the initialization (format) operation of the magnetic disk device itself. As a result, the time required for the initialization configuration is shortened, the performance is not deteriorated during normal operation, and the responsiveness and convenience are improved. In addition, since there is no write command, there is an effect of reducing the load on the array controller.

(ディスクアレイ用初期化プログラム)
また、ここで上記の動作シーケンスで説明した初期化確認領域参照工程、初期化判別工程、初期化指令工程、情報保存工程、及びリセット情報設定工程の各工程の内容に対応した機能をコンピュータで実現するようプログラムとして構成したものがディスクアレイ用初期化プログラムである。
(Initialization program for disk array)
Also, the functions corresponding to the contents of the initialization confirmation area reference process, initialization determination process, initialization command process, information storage process, and reset information setting process described in the above operation sequence are realized by a computer. What is configured as a program is a disk array initialization program.

すなわち、RAID構成の対象である複数の磁気ディスク装置21〜24と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システム1にあって、これら各磁気ディスク装置21〜24が初期化済みか否かの情報を得るために各磁気ディスク装置21〜24が備えている初期化確認領域21B〜24Bを順次参照する初期化確認領域参照機能、この各初期化確認領域21B〜24Bから得られる情報に基づいて各磁気ディスク装置21〜24が初期化済みか否かを判別する初期化判別機能、この初期化判別機能による判別処理によって未初期化の磁気ディスク装置が識別された場合に稼動して当該未初期化の磁気ディスク装置に初期化を指令する初期化指令機能、磁気ディスク装置21〜24の初期化が完了すると各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存しRAID構成の設定準備を完了する情報保存機能、その情報保存機能による情報保存処理の後に各磁気ディスク装置21〜24の初期化確認領域21B〜24Bに設定された初期化情報をリセット情報に設定変更するリセット情報設定機能、を前記アレイ制御装置50が備えているコンピュータに実現させるよう構成されている。   That is, in a disk array storage system 1 including a plurality of magnetic disk devices 21 to 24 that are targets of RAID configuration, and an array control device that controls RAID setting and operation of each of these magnetic disk devices. An initialization confirmation area reference function for sequentially referring to the initialization confirmation areas 21B to 24B included in each of the magnetic disk devices 21 to 24 in order to obtain information on whether or not each of the magnetic disk devices 21 to 24 has been initialized. An initialization discriminating function for discriminating whether or not each of the magnetic disk devices 21 to 24 has been initialized based on information obtained from the respective initialization confirmation areas 21B to 24B, and an uninitialized by discriminating processing by this initialization discriminating function An initialization command function that operates when a magnetic disk device is identified and instructs the uninitialized magnetic disk device to perform initialization. When the initialization of the disk devices 21 to 24 is completed, the information storage function that stores information for setting the RAID configuration for each magnetic disk device and completes the preparation for setting the RAID configuration, and the information storage processing by the information storage function After that, the computer having the array control device 50 realizes a reset information setting function for changing the initialization information set in the initialization confirmation areas 21B to 24B of the magnetic disk devices 21 to 24 to reset information. It is configured as follows.

これにより、もし磁気ディスク装置が初期化済みであれば、初期化確認領域を参照・判別するだけで、磁気ディスク装置の初期化は終了し初期化設定にかかる時間が大幅に短縮され、また、万一、磁気ディスク装置が出荷時に初期化されていない場合にも、初期化確認領域からそれを判別し、当該磁気ディスク装置自身が有する初期化動作を起動することにより初期化できるので、やはり、初期化構成にかかる時間が短縮され、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するという効果を奏する。   As a result, if the magnetic disk device has been initialized, simply referencing and determining the initialization confirmation area, the initialization of the magnetic disk device is completed and the time required for initialization is greatly reduced. Even if the magnetic disk device is not initialized at the time of shipment, it can be initialized by determining it from the initialization confirmation area and starting the initialization operation of the magnetic disk device itself. The time required for the initialization configuration is shortened, and the performance is not deteriorated during normal operation, and the responsiveness and convenience are improved.

(偶数パリティRAID−5)
なお、上記実施形態では、RAIDの構成例として、RAID−1(ミラーリング)の場合を説明してきたが、例えば、ディスクアレイ記憶システムが、偶数パリティを使用するRAID−5であってもよい。
(Even parity RAID-5)
In the above embodiment, the case of RAID-1 (mirroring) has been described as an example of the configuration of RAID. However, for example, the disk array storage system may be RAID-5 using even parity.

図5は、アレイコントローラ60と磁気ディスク装置31〜35を備えたディスクアレイ記憶システム2の構成図である。この図5において、アレイコントローラ60は、磁気ディスク装置31〜35を用いてRAID−5を実現するように構成されている。アレイコントローラ60の初期化に必要な構成要素は、前述したRAID−1のアレイコントローラ50と基本的に同じである。   FIG. 5 is a configuration diagram of the disk array storage system 2 including the array controller 60 and the magnetic disk devices 31 to 35. In FIG. 5, the array controller 60 is configured to implement RAID-5 using magnetic disk devices 31-35. The components necessary for the initialization of the array controller 60 are basically the same as those of the RAID-1 array controller 50 described above.

ここで、磁気ディスク装置31〜35は、前記ディスクアレイ記憶システム1で説明した磁気ディスク装置と同様にデータ記憶領域と初期化確認領域を備えている。ここでは、RAID−5の構成であるため、各々の磁気ディスク装置のデータ記憶領域はRAID−5を実現する上でのデータ部とパリティ部に分かれている。図5に示されているように、データ記憶領域32A−4,33A−3,34A−2,35A−1が、RAID−5におけるパリティ部であり、残りの部分である31A−1〜31A−4,32A−1〜32A−3,33A−1,33A−2,33A−4,34A−1,32A−3,34A−4,35A−2〜35A−4は、RAID−5におけるデータ部となる。   Here, the magnetic disk devices 31 to 35 are provided with a data storage area and an initialization confirmation area in the same manner as the magnetic disk apparatus described in the disk array storage system 1. Here, since the configuration is RAID-5, the data storage area of each magnetic disk device is divided into a data portion and a parity portion for realizing RAID-5. As shown in FIG. 5, the data storage areas 32A-4, 33A-3, 34A-2, and 35A-1 are parity parts in RAID-5, and the remaining parts 31A-1 to 31A- 4, 32A-1 to 32A-3, 33A-1, 33A-2, 33A-4, 34A-1, 32A-3, 34A-4, 35A-2 to 35A-4 are the data part in RAID-5. Become.

本ディスクアレイ記憶システム2はパリティチェックとして偶数パリティを採用しており、偶数パリティの場合は、データ部とパリティ部で偶数個(零個を含む)の“1”を含むように調整される。そのため、初期化確認領域31B〜35Bのチェックにより、もしこれら全ての磁気ディスク装置31〜35のデータ記憶領域31A〜35Aが初期化(“0”書込み)されていることが判明する場合には、“1”を含んでいないので、パリティ部における偶数パリティの条件が自動的に満たされていることになり、磁気ディスク装置31〜35へのアクセスをそれ以降行わず、RAID構成設定を完了できる。   The present disk array storage system 2 employs even parity as a parity check. In the case of even parity, the data portion and the parity portion are adjusted to include an even number (including zero) of “1”. Therefore, if it is determined by checking the initialization confirmation areas 31B to 35B that the data storage areas 31A to 35A of all the magnetic disk devices 31 to 35 are initialized ("0" write), Since “1” is not included, the even parity condition in the parity part is automatically satisfied, and the RAID configuration setting can be completed without accessing the magnetic disk devices 31 to 35 thereafter.

この場合も、図4に示した初期化設定のシーケンスにしたがって、全く同様に初期化構成が行なわれる。そのため、もし磁気ディスク装置が全て初期化済みであれば、初期化確認領域を参照・判別するだけで、ディスクアレイ記憶システム2の新増設時における磁気ディスク装置の初期化は終了し初期化設定時間が大幅に短縮され、また、万一、磁気ディスク装置が出荷時に初期化されていない場合にも、初期化確認領域からそれを判別し、当該磁気ディスク装置自身が有する初期化(フォーマット)動作をアレイ制御装置から起動することにより初期化できるので、やはり、初期化設定時間が短縮され、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するという効果を奏する。   Also in this case, the initialization configuration is performed in exactly the same manner in accordance with the initialization setting sequence shown in FIG. Therefore, if all the magnetic disk devices have been initialized, the initialization of the magnetic disk device at the time of newly adding the disk array storage system 2 is completed and the initialization set time only by referring to and determining the initialization confirmation area. In the unlikely event that the magnetic disk device is not initialized at the time of shipment, it is determined from the initialization confirmation area, and the initialization (format) operation of the magnetic disk device itself is performed. Since the initialization can be performed by starting from the array control apparatus, the initialization setting time is shortened, the performance is not deteriorated during normal operation, and the responsiveness and convenience are improved.

(第2の実施形態)
次に、本発明の第2の実施形態に係るディスクアレイ記憶システムとして、奇数パリティのRAID−5構成を有するディスクアレイ記憶システムを図面に基づいて説明する。
(Second Embodiment)
Next, a disk array storage system having an odd parity RAID-5 configuration will be described with reference to the drawings as a disk array storage system according to a second embodiment of the present invention.

図6は、本ディスクアレイ記憶システム3(奇数パリティのRAID−5構成)のブロック構成図であり、アレイコントローラ(アレイ制御装置)70と磁気ディスク装置31〜35とを備えて構成されている。これらの磁気ディスク装置31〜35は、図3で説明した磁気ディスク装置10と同様のデータ記憶領域と初期化確認領域を備えている。   FIG. 6 is a block diagram of the present disk array storage system 3 (odd parity RAID-5 configuration), comprising an array controller (array controller) 70 and magnetic disk devices 31-35. These magnetic disk devices 31 to 35 have the same data storage area and initialization confirmation area as the magnetic disk device 10 described with reference to FIG.

本ディスクアレイ記憶システム3では、奇数パリティのRAID−5構成を採用している。そのため、RAID−5のパリティ部となるデータ記憶領域32A−4、33A−3,34A−2,35A−1は、奇数パリティと整合させるため、パリティ部を除いた残りのデータ記憶領域である31A−1〜31A−4,32A−1〜32A−3,33A−1,33A−2,33A−4,34A−1,34A−3,34A−4,35A−2〜35A−4と整合するデータを書き込むよう動作が行なわれる。   This disk array storage system 3 employs an odd parity RAID-5 configuration. Therefore, the data storage areas 32A-4, 33A-3, 34A-2, and 35A-1 serving as the parity part of RAID-5 are the remaining data storage areas excluding the parity part in order to match the odd parity. -1 to 31A-4, 32A-1 to 32A-3, 33A-1, 33A-2, 33A-4, 34A-1, 34A-3, 34A-4, 35A-2 to 35A-4 An operation is performed to write.

本実施形態では、このパリティ初期化のための書込み動作が存在する点が、第1の実施形態と異なる特徴である。図6において、アレイコントローラ(アレイ制御装置)70は、図示しないホストコンピュータからの書込み読出し指令(コマンド)を仲介し、磁気ディスク装置31〜35に対する書込み読出し動作を制御する。また、アレイコントローラ70は、磁気ディスク装置31〜35を監視し、信頼性と性能を向上させるRAID技術を実現している。すなわち、複数の磁気ディスク装置31〜34を用いてRAIDを構成できる機能、RAIDを構成することにより各磁気ディスク装置31〜34に分割して保存されている情報を元の情報に戻す機能、万が一壊れている磁気ディスク装置が発見された場合でも、壊れた磁気ディスク装置を切り離してRAID構成が許す限り動作し続ける機能、組み込むRAIDの種類により磁気ディスク装置31〜34に適切なアドレスで適切なコマンドを出す機能などを備えて構成されている。   The present embodiment is different from the first embodiment in that a write operation for parity initialization exists. In FIG. 6, an array controller (array controller) 70 mediates a write / read command (command) from a host computer (not shown) and controls a write / read operation to the magnetic disk devices 31 to 35. The array controller 70 monitors the magnetic disk devices 31 to 35 and realizes a RAID technology that improves reliability and performance. That is, a function that allows a RAID to be configured using a plurality of magnetic disk devices 31 to 34, a function that restores information that is divided and stored in each of the magnetic disk devices 31 to 34 by configuring RAID, Even when a broken magnetic disk device is found, a function that keeps operating as long as the RAID configuration permits by disconnecting the broken magnetic disk device, and an appropriate command with an appropriate address for the magnetic disk devices 31 to 34 depending on the type of RAID to be incorporated It is configured with a function to output.

それに加えて、本アレイコントローラ70は、図7に示すように本実施形態に特徴的なディスクアレイ記憶システム3の新設、又は増設時に必要なRAID構成等の初期化設定を行なうための構成要素を備えている。   In addition, the array controller 70 includes components for performing initialization settings such as a RAID configuration necessary for newly installing or adding a disk array storage system 3 characteristic of the present embodiment as shown in FIG. I have.

この図7において、アレイコントローラ70は、初期化設定の際動作する各構成要素、すなわち、各磁気ディスク装置31〜35の初期化確認領域31B〜35Bを順次参照し初期化済みか否かを判別する判別手段71と、その判別の結果、もし初期化されていなければ、当該磁気ディスク装置のデータ記憶領域を初期化(“0”書込み)させるため、当該磁気ディスク装置にFORMATコマンドを送るコマンド送出手段72と、全ての磁気ディスク装置31〜35の初期化確認領域31B〜35Bの判別が終了すると、各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分に、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化手段75と、RAID情報を保存してRAID構成を終了する情報保存手段73と、磁気ディスク装置31〜35の初期化確認領域31B〜35Bの初期化済み情報をリセット情報に変更するリセット手段74、及びこれら各手段を制御する主制御部76を備えて構成されている。   In FIG. 7, the array controller 70 determines whether or not initialization has been completed by sequentially referencing each component operating at the initialization setting, that is, the initialization confirmation areas 31 </ b> B to 35 </ b> B of the magnetic disk devices 31 to 35. And a command transmission for sending a FORMAT command to the magnetic disk device to initialize (write “0”) the data storage area of the magnetic disk device if it is not initialized. When the determination of the means 72 and the initialization confirmation areas 31B to 35B of all the magnetic disk devices 31 to 35 is completed, an odd parity is set in the data storage area of each magnetic disk device and corresponding to the RAID parity area. Parity initialization means 75 for sending a command to write “1” in accordance with the rules, and RAID information is saved and RAID is stored. Information storage means 73 for completing the composition, reset means 74 for changing the initialization information in the initialization confirmation areas 31B to 35B of the magnetic disk devices 31 to 35B to reset information, and a main control section 76 for controlling these means. It is configured with.

第1の実施形態に係るアレイコントローラ50との違いは、パリティ初期化手段75が付加されている点である。このパリティ初期化手段75は、各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分に、奇数パリティ則にしたがって“1”を書き込む指令を送出する。このパリティ初期化手段75により、奇数パリティのRAID構成の場合であっても、パリティ部分にのみ“1”を書込めばよいので、n台の磁気ディスク装置構成のディスクアレイ記憶システムであれば、前記憶容量の1/nで済むので、初期化時間は従来に比べて大幅に短縮され、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するという効果を奏する。   The difference from the array controller 50 according to the first embodiment is that a parity initialization means 75 is added. The parity initialization means 75 sends a command to write “1” in accordance with the odd parity rule in the data storage area of each magnetic disk device and corresponding to the RAID parity area. With this parity initialization means 75, even in the case of an odd-parity RAID configuration, it is only necessary to write “1” in the parity portion. Therefore, if the disk array storage system has n magnetic disk device configurations, Since 1 / n of the pre-storage capacity is sufficient, the initialization time is greatly shortened compared to the conventional case, and the performance is not deteriorated during normal operation, and the responsiveness and convenience are improved.

次に、上述の初期化設定の詳細な動作を図面に基づいて説明する。図8は初期化設定の動作シーケンス図である。先ず、磁気ディスク装置31〜35が初期化済みであるかどうかをチェックする段階(ステップS221からステップS223)までは第1の実施形態(図4に示す処理)と同じである。   Next, the detailed operation of the above initialization setting will be described with reference to the drawings. FIG. 8 is an operation sequence diagram for initialization setting. First, the steps (step S221 to step S223) for checking whether or not the magnetic disk devices 31 to 35 have been initialized are the same as those in the first embodiment (the process shown in FIG. 4).

すなわち、先ず、RAID構成設定を実施する磁気ディスク装置の存在を確認し(ステップS220)、続いて、RAID構成設定を実施する磁気ディスク装置が初期化済みか否かを、図6の初期化確認領域31B〜35Bの初期化情報を参照し(初期化確認領域参照工程)、その初期化情報に基づいて確認・判定している(ステップS221、初期化判別工程)。   That is, first, the existence of the magnetic disk device for performing the RAID configuration setting is confirmed (step S220), and then the initialization confirmation in FIG. 6 is performed to check whether or not the magnetic disk device for performing the RAID configuration setting has been initialized. The initialization information of the areas 31B to 35B is referred to (initialization confirmation area reference process), and confirmation / determination is performed based on the initialization information (step S221, initialization determination process).

この判別工程で当該磁気ディスク装置が初期化済みで有ることが判断されると、図8のステップS223に移り、同じRAID構成設定で使用される他の磁気ディスク装置が存在するか否かを判定し、もし存在すれば、ステップS221(初期化判別工程)に戻り、その磁気ディスク装置の初期化状態をその初期化確認領域31B〜35Bでチェックする。   If it is determined in this determination step that the magnetic disk device has been initialized, the process proceeds to step S223 in FIG. 8, and it is determined whether there is another magnetic disk device used in the same RAID configuration setting. If it exists, the process returns to step S221 (initialization determination step) to check the initialization state of the magnetic disk device in the initialization confirmation areas 31B to 35B.

一方、上記の初期化判別工程(ステップS221)において、初期化済みでない磁気ディスク装置を発見した場合には、ステップS222に移行し、磁気ディスク装置自身が備えている初期化(フォーマット)手段を起動してこの磁気ディスク装置を初期化するために初期化指令を送出する(ステップS222、初期化指令工程)。このとき、磁気ディスク装置自身が持つ磁気ディスク装置内の初期化機能を用いているため、アレイコントローラ70は当該磁気ディスク装置に対し、初期化指令である「FORMATコマンド」発行する(初期化指令工程)のみで、他の書込み指令「WRITE」や読出し指令「READ」といった磁気ディスク装置内のデータ記憶領域にアクセスするコマンドを発行する必要はない。   On the other hand, in the above-described initialization determination step (step S221), when a magnetic disk device that has not been initialized is found, the process proceeds to step S222, and the initialization (format) means provided in the magnetic disk device itself is activated. Then, an initialization command is sent to initialize the magnetic disk device (step S222, initialization command process). At this time, since the initialization function of the magnetic disk device itself is used, the array controller 70 issues an “FORMAT command” that is an initialization command to the magnetic disk device (initialization command process). ) Only, it is not necessary to issue a command for accessing a data storage area in the magnetic disk device such as another write command “WRITE” or read command “READ”.

このようにして、RAID構成している全ての磁気ディスク装置31〜35が初期化済みとなる。ここで、本実施形態においては奇数パリティであるため、各磁気ディスク装置31〜35のデータ記憶領域に初期化によって“0”が書き込まれていても、RAID構成においてパリティ部分の役割を担っている磁気ディスク装置のデータ記憶領域部分に、“1”の書込みが必要となる。   In this way, all the magnetic disk devices 31 to 35 constituting the RAID are initialized. Here, in the present embodiment, since the parity is odd, even if “0” is written in the data storage area of each of the magnetic disk devices 31 to 35 by initialization, it plays the role of the parity part in the RAID configuration. It is necessary to write “1” in the data storage area of the magnetic disk device.

そこで、次のステップS230に移り、各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分32A−4、33A−3,34A−2,35A−1であるか否かを判別し(ステップ230)、そうであれば奇数パリティ則にしたがって“1”を書き込む指令を送出する(ステップS231,パリティ初期化工程)。   Accordingly, the process proceeds to the next step S230, and it is determined whether or not the data storage area of each magnetic disk device is a portion 32A-4, 33A-3, 34A-2, 35A-1 corresponding to a RAID parity area. A determination is made (step 230), and if so, a command to write “1” is sent according to the odd parity rule (step S231, parity initialization step).

書き込むデータの実際の値は、RAID−5のデータ部の値によるが、例えば、図6でRAID−5のパリティ部であるデータ記憶領域32A−4の値を決める為には、他の磁気ディスク装置31,33,34,35のデータ記憶領域31A−4,33A−4,34A−4,35A−4の値が必要である。もし、初期化確認領域のチェックによってデータ記憶領域31A−4,33A−4,34A−4,35A−4が全て初期化状態であることが確認されたときは、それらの値はすべて“0”であるから、パリティ部であるデータ記憶領域32A−4にだけ“1”を書き込めば、RAID−5の構成を完了することができる。この場合は、全てに書き込む場合に比べて、1/5で済んでいる。そのため初期化設定に要する時間も大幅に短縮される。   The actual value of the data to be written depends on the value of the data part of RAID-5. For example, in order to determine the value of the data storage area 32A-4 which is the parity part of RAID-5 in FIG. The values of the data storage areas 31A-4, 33A-4, 34A-4, and 35A-4 of the devices 31, 33, 34, and 35 are required. If it is confirmed that all the data storage areas 31A-4, 33A-4, 34A-4, and 35A-4 are in the initialization state by checking the initialization confirmation area, their values are all “0”. Therefore, the configuration of RAID-5 can be completed by writing “1” only in the data storage area 32A-4 as the parity part. In this case, 1/5 is sufficient as compared with the case of writing to all. Therefore, the time required for initialization setting is also greatly reduced.

これによって、RAID−5のパリティが奇数に設定されると、RAID構成情報を保存してRAID構成設定を完了する(ステップS240、情報保存工程)。   Thus, when the parity of RAID-5 is set to an odd number, the RAID configuration information is stored and the RAID configuration setting is completed (step S240, information storage step).

そして最後に、磁気ディスク装置31〜34の初期化確認領域31B〜35Bをクリアにする、すなわち、リセット状態に設定しなおす(ステップS250、リセット情報設定工程)。これは、一度使用された磁気ディスク装置が一旦何らかの理由で構成から除かれ、再度組み込まれるような場合に、初期化されていない磁気ディスク装置、あるいは一度書き込みが行なわれもはや初期化状態ではなくなった磁気ディスク装置を初期化済みと間違って判断しないためである。   Finally, the initialization confirmation areas 31B to 35B of the magnetic disk devices 31 to 34 are cleared, that is, reset to a reset state (step S250, reset information setting step). This is because when a magnetic disk device that has been used once is removed from the configuration for some reason and then re-installed, it has not been initialized, or once written and no longer initialized. This is because the magnetic disk device is not erroneously determined to have been initialized.

以上のようにして、RAIDを構成する磁気ディスク装置31〜35が初期化確認領域31B〜35Bにより初期化が完了していることが示されると、アレイコントローラ70は磁気ディスク装置31〜35のデータ記憶領域31A〜35Aのパリティ部分に対してだけ、奇数パリティ則にしたがって“1”を書込むので、短時間にRAID構成設定を完了することができる。   As described above, when the initialization confirmation areas 31B to 35B indicate that the magnetic disk devices 31 to 35 constituting the RAID have been initialized, the array controller 70 stores the data of the magnetic disk devices 31 to 35. Since “1” is written in accordance with the odd parity rule only for the parity portions of the storage areas 31A to 35A, the RAID configuration can be completed in a short time.

ここで、上記の動作シーケンスで説明した初期化確認領域参照工程、初期化判別工程、初期化指令工程、パリティ初期化工程、情報保存工程、及びリセット情報設定工程の各工程により奇数パリティ用のディスクアレイ用初期化方法が構成されている。   Here, a disk for odd parity is obtained by the initialization confirmation area reference process, initialization determination process, initialization command process, parity initialization process, information storage process, and reset information setting process described in the above operation sequence. An array initialization method is configured.

すなわち、ディスクアレイ記憶システム3を初期化構成する奇数パリティのディスクアレイ用初期化方法では、データを記憶するデータ記憶領域31A〜35Aとこのデータ記憶領域が初期化済み(“0”書込み)か否かを示す初期化情報を記憶する初期化確認領域31B〜35Bを備えた各磁気ディスク装置31〜35の初期化確認領域31B〜35Bを順次参照する初期化確認領域参照工程と、その初期化情報に基づいて初期化済みか否かを判別する初期化判別工程と、前記判別の結果、もし前記初期化確認領域31B〜35Bがリセット情報になっていれば、当該磁気ディスク装置のデータ記憶領域を初期化(“0”書込み)させるため、アレイコントローラ(アレイ制御装置)70から当該磁気ディスク装置に初期化を指令するコマンドを送る初期化指令工程と、前記全ての磁気ディスク装置21〜24の初期化確認領域21B〜24Bの初期化判別工程が終了すると、前記各磁気ディスク装置31〜35のデータ記憶領域であって、RAIDのパリティ領域に該当する部分に、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化工程と、RAID情報を保存してRAID構成を終了する情報保存工程と、磁気ディスク装置21〜24の初期化確認領域21B〜24Bの初期化済み情報をリセット情報に変更するリセット情報設定工程とを備えている。   That is, in the odd parity disk array initialization method for initializing the disk array storage system 3, the data storage areas 31A to 35A for storing data and whether or not the data storage areas have been initialized ("0" write). Initialization confirmation area reference step for sequentially referring to the initialization confirmation areas 31B to 35B of the magnetic disk devices 31 to 35 having the initialization confirmation areas 31B to 35B for storing initialization information indicating the initialization information, and the initialization information An initialization determination step for determining whether or not initialization has been completed based on the result, and if the result of the determination is that the initialization confirmation areas 31B to 35B are reset information, the data storage area of the magnetic disk device is In order to initialize ("0" write), a command that instructs the magnetic disk device to perform initialization from the array controller (array controller) 70 When the initialization command process for sending the data and the initialization determination process for the initialization confirmation areas 21B to 24B of all the magnetic disk devices 21 to 24 are completed, the data storage areas of the magnetic disk devices 31 to 35 are stored. A parity initialization step of sending a command to write “1” to the portion corresponding to the parity region of the RAID according to the odd parity rule, an information storage step of saving the RAID information and ending the RAID configuration, and a magnetic disk device A reset information setting step for changing the initialized information in the initialization confirmation areas 21B to 24B of 21 to 24 to reset information.

これにより、もし磁気ディスク装置が初期化済みであれば、初期化確認領域を参照・判別するだけで、また、万一、磁気ディスク装置が出荷時に初期化されていない場合には、初期化確認領域からそれを判別し、当該磁気ディスク装置自身が有する初期化(フォーマット)動作を起動することにより初期化した後、上記パリティ初期化工程により、パリティ部分にのみ“1”が書込まれるので、n台の磁気ディスク装置構成のディスクアレイ記憶システムであれば、書込みは前記憶容量の1/nで済むので、初期化時間は従来に比べて大幅に短縮され、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上する。   As a result, if the magnetic disk unit has been initialized, just refer to and check the initialization confirmation area. If the magnetic disk unit has not been initialized at the time of shipment, the initialization check Since it is discriminated from the area and initialized by starting the initialization (formatting) operation of the magnetic disk device itself, “1” is written only in the parity part by the parity initialization process. With a disk array storage system with n magnetic disk units, the write time can be reduced to 1 / n of the previous storage capacity, so the initialization time is greatly reduced compared to the conventional case, and performance degradation during normal operation is also possible. Immediate responsiveness and convenience are improved.

(プログラム)
また、ここで上記の動作シーケンスで説明した初期化確認領域参照工程、初期化判別工程、初期化指令工程、パリティ初期化工程、情報保存工程、及びリセット情報設定工程の各工程の内容に対応した機能をコンピュータで実現させるようプログラムとして構成したのが奇数パリティのディスクアレイ用初期化プログラムである。
(program)
Also, it corresponds to the contents of the initialization confirmation area reference process, initialization determination process, initialization command process, parity initialization process, information storage process, and reset information setting process described in the above operation sequence. An odd parity disk array initialization program is configured as a program for realizing the function by a computer.

すなわち、RAID構成の対象である複数の磁気ディスク装置31〜35と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システム1にあって、これら各磁気ディスク装置31〜35が初期化済みか否かの情報を得るために各磁気ディスク装置31〜35が備えている初期化確認領域31B〜35Bを順次参照する初期化確認領域参照機能、この各初期化確認領域31B〜35Bから得られる情報に基づいて各磁気ディスク装置31〜35が初期化済みか否かを判別する初期化判別機能、この初期化判別機能による判別処理によって未初期化の磁気ディスク装置が識別された場合に稼動して当該未初期化の磁気ディスク装置に初期化を指令する初期化指令機能、磁気ディスク装置31〜35の初期化が完了すると各磁気ディスク装置のデータ記憶領域31A〜35Aであって、RAIDのパリティ領域に該当する部分に、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化機能、このパリティ初期化が完了すると各磁気ディスク装置31〜35を対象としたRAID構成を設定するための情報を保存しRAID構成の設定準備を完了する情報保存機能、その情報保存機能による情報保存処理の後に各磁気ディスク装置31〜35の初期化確認領域31B〜35Bに設定された初期化情報をリセット情報に設定変更するリセット情報設定機能を前記アレイ制御装置50が備えているコンピュータに実現させるよう構成されている。   That is, in a disk array storage system 1 including a plurality of magnetic disk devices 31 to 35 that are targets of RAID configuration and an array control device that controls RAID setting and operation of each of these magnetic disk devices. An initialization confirmation area reference function for sequentially referring to the initialization confirmation areas 31B to 35B included in each of the magnetic disk apparatuses 31 to 35 in order to obtain information on whether or not each of the magnetic disk apparatuses 31 to 35 has been initialized. An initialization discriminating function for discriminating whether or not each of the magnetic disk devices 31 to 35 has been initialized based on information obtained from the respective initialization confirmation areas 31B to 35B. An initialization command function that operates when a magnetic disk device is identified and instructs the uninitialized magnetic disk device to perform initialization. When the initialization of the disk devices 31 to 35 is completed, a command for writing “1” in accordance with the odd parity rule is sent to the data storage areas 31A to 35A of each magnetic disk device corresponding to the RAID parity area. Parity initialization function, information storage function for completing the RAID configuration setting preparation by storing information for setting the RAID configuration for each of the magnetic disk devices 31 to 35 when the parity initialization is completed, and its information storage function The array controller 50 has a reset information setting function for changing the initialization information set in the initialization confirmation areas 31B to 35B of the magnetic disk devices 31 to 35 to reset information after the information storage processing by the computer. It is configured to be realized.

これにより、もし磁気ディスク装置が初期化済みであれば、初期化確認領域を参照・判別するだけで、また、万一、磁気ディスク装置が出荷時に初期化されていない場合には、初期化確認領域からそれを判別し、当該磁気ディスク装置自身が有する初期化(フォーマット)動作を起動することにより初期化した後、上記パリティ初期化処理により、パリティ部分にのみ“1”を書込めばよいので、n台の磁気ディスク装置構成のディスクアレイ記憶システムであれば、前記憶容量の1/nで済むので、初期化時間は従来に比べて大幅に短縮され、また通常運用中の性能劣化も引き起こさず、即応性や利便性が向上するという効果を奏する。   As a result, if the magnetic disk unit has been initialized, just refer to and check the initialization confirmation area. If the magnetic disk unit has not been initialized at the time of shipment, the initialization check It is only necessary to write “1” only in the parity portion by performing the parity initialization process after discriminating it from the area and initializing it by starting the initialization (format) operation of the magnetic disk device itself. In the case of a disk array storage system having n magnetic disk units, the storage capacity can be reduced to 1 / n of the previous storage capacity. Therefore, the initialization time is greatly reduced compared to the conventional case, and the performance is deteriorated during normal operation. Therefore, there is an effect that quick response and convenience are improved.

本発明の第1の実施形態に係るディスクアレイ記憶システムのアレイコントローラが備える初期化動作に必要な構成要素を示すブロック図である。3 is a block diagram showing components necessary for an initialization operation included in the array controller of the disk array storage system according to the first embodiment of the present invention. FIG. 本発明の第1の実施形態に係るディスクアレイ記憶システム(RAID−1構成)の一構成ブロック図である。1 is a configuration block diagram of a disk array storage system (RAID-1 configuration) according to a first embodiment of the present invention. 図1に開示した磁気ディスク装置の記憶領域の使用区分を示した図であるFIG. 2 is a diagram showing usage classifications of storage areas of the magnetic disk device disclosed in FIG. 1. 図2に示すディスクアレイ記憶システム(RAID−1構成)の初期化動作を示すシーケンス図である。FIG. 3 is a sequence diagram showing an initialization operation of the disk array storage system (RAID-1 configuration) shown in FIG. 2. 第1の実施形態に係る他の例としてのディスクアレイ記憶システム(偶数パリティRAID−5構成)の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of the disk array storage system (even parity RAID-5 structure) as another example which concerns on 1st Embodiment. 本発明の第2の実施形態に係るディスクアレイ(奇数パリティRAID−5構成)の一構成例を示すブロック図である。It is a block diagram which shows one structural example of the disk array (odd parity RAID-5 structure) which concerns on the 2nd Embodiment of this invention. 図6に示すアレイコントローラ部分が備える初期化動作に必要な構成要素を示すブロック図である。FIG. 7 is a block diagram showing components necessary for an initialization operation included in the array controller portion shown in FIG. 6. 図6に示すディスクアレイ記憶システム(奇数パリティRAID−5構成)の初期化動作を示すシーケンス図である。FIG. 7 is a sequence diagram showing an initialization operation of the disk array storage system (odd parity RAID-5 configuration) shown in FIG. 6. 関連技術における一ディスクアレイ記憶システムのRAID構成初期化動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of RAID structure initialization operation | movement of the one disk array storage system in related technology.

符号の説明Explanation of symbols

1 ディスクアレイ記憶システム(RAID−1)
2 ディスクアレイ記憶システム(偶数パリティのRAID−5)
3 ディスクアレイ記憶システム(奇数パリティのRAID−5)
10 磁気ディスク装置
10A データ記憶領域
10B 初期化確認領域
21〜24 磁気ディスク装置(RAID−1構成)
21A〜24A データ記憶領域
21B〜24B 初期化確認領域
31〜35 磁気ディスク装置(RAID−5構成における)
31A−m〜35A−m 磁気ディスク31から35のデータ記憶領域
31B〜35B 磁気ディスク31から35の初期化確認領域
32A−4,33A−3,34A−2,35A−1 RAID−5構成のパリティ部分
50,60 アレイコントローラ(アレイ制御装置)
51,71 判別手段
52,72 コマンド送出手段
53,73 RAID情報保存手段
54,74 リセット手段
56、76 主制御部
70 アレイコントローラ(アレイ制御装置)(奇数パリティのRAID−5構成)
75 パリティ初期化手段
1 Disk array storage system (RAID-1)
2 Disk array storage system (RAID-5 with even parity)
3 Disk array storage system (odd parity RAID-5)
DESCRIPTION OF SYMBOLS 10 Magnetic disk apparatus 10A Data storage area 10B Initialization confirmation area 21-24 Magnetic disk apparatus (RAID-1 structure)
21A-24A Data storage areas 21B-24B Initialization confirmation areas 31-35 Magnetic disk device (in RAID-5 configuration)
31A-m to 35A-m Data storage areas 31B to 35B of magnetic disks 31 to 35 Parity of initialization confirmation areas 32A-4, 33A-3, 34A-2, 35A-1 RAID-5 of magnetic disks 31 to 35 Part 50, 60 Array controller (array controller)
51, 71 Discriminating means 52, 72 Command sending means 53, 73 RAID information storage means 54, 74 Reset means 56, 76 Main controller 70 Array controller (array controller) (odd parity RAID-5 configuration)
75 Parity initialization means

Claims (7)

RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムであって、
前記各磁気ディスク装置は、データを記憶するデータ記憶領域とこのデータ記憶領域が初期化済みか否かを示す初期化情報を記憶する初期化確認領域を備え、
前記アレイ制御装置は、前記磁気ディスク装置を新設又は増設する時に、前記各磁気ディスク装置の前記初期化確認領域の初期化情報を順次参照し初期化済か否かを判別する判別手段と、この判別手段が初期化済でない磁気ディスク装置を判別した場合には当該未初期化の磁気ディスク装置に初期化を指令すると共に当該未初期化の磁気ディスク装置の初期化が完了した場合に前記RAID構成にかかる情報を保存する情報保存手段とを含むと共に、
前記アレイ制御手段に、
前記各磁気ディスク装置のデータ記憶領域であってかつRAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化手段と
前記初期化の完了したディスク装置上の前記初期化確認領域の前記初期化済み情報をクリアしてリセット情報に変更するリセット手段と
を設けた構成としたことを特徴とするディスクアレイ記憶システム。
A disk array storage system comprising a plurality of magnetic disk devices that are targets of RAID configuration, and an array control device that controls RAID setting and operation of each magnetic disk device,
Each of the magnetic disk devices includes a data storage area for storing data and an initialization confirmation area for storing initialization information indicating whether or not the data storage area has been initialized.
The array control device, when newly installing or adding the magnetic disk device, sequentially refers to the initialization information in the initialization confirmation area of each magnetic disk device, and determines whether or not the initialization has been performed, When the discriminating unit discriminates a magnetic disk device that has not been initialized, the RAID configuration is instructed when the uninitialized magnetic disk device is instructed to initialize and the initialization of the uninitialized magnetic disk device is completed. And information storage means for storing the information related to
In the array control means,
Parity initialization means for sending a command to write “1” in accordance with the odd parity rule only in the data storage area of each magnetic disk device and corresponding to the RAID parity area ;
A disk array comprising: a reset unit that clears the initialized information in the initialization confirmation area on the disk device that has been initialized, and changes the reset information to reset information. Storage system.
前記請求項1に記載のディスクアレイ記憶システムにおいて、
前記判別手段が未初期化の磁気ディスク装置を判別した場合に当該未初期化の磁気ディスク装置に前記データ記憶領域を初期化させるための初期化指令であるコマンドを送り込むコマンド送出手段を、前記アレイ制御装置に設けたことを特徴とするディスクアレイ記憶システム。
The disk array storage system according to claim 1, wherein
Command sending means for sending a command which is an initialization command for initializing the data storage area to the uninitialized magnetic disk device when the determining means determines an uninitialized magnetic disk device; A disk array storage system provided in a control device.
RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムにあって、
前記磁気ディスク装置を新設又は増設する時に、前記各磁気ディスク装置が初期化済みか否かの情報を得るために前記各磁気ディスク装置が備えている初期化確認領域を順次参照する初期化確認領域参照工程と、
この各初期化確認領域から得られる情報に基づいて前記各磁気ディスク装置が初期化済みか否かを判別する初期化判別工程と、
前記各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化工程と、
前記初期化判別工程で未初期化の磁気ディスク装置が判別されなかった場合に当該各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存し当該RAID構成の設定準備を完了する情報保存工程と、
前記初期化の完了した磁気ディスク装置の前記初期化確認領域の前記初期化済み情報をクリアしてリセット情報に変更するリセット情報設定工程と
を備えたことを特徴とするディスクアレイ用初期化方法。
In a disk array storage system comprising a plurality of magnetic disk devices that are targets of RAID configuration, and an array control device that controls RAID setting and operation of each magnetic disk device,
Initialization confirmation area that sequentially refers to the initialization confirmation areas of each magnetic disk device to obtain information on whether or not each magnetic disk device has been initialized when the magnetic disk device is newly installed or added A reference process;
An initialization discriminating step for discriminating whether or not each of the magnetic disk devices has been initialized based on information obtained from each of the initialization confirmation areas;
A parity initialization step of sending a command to write “1” in accordance with the odd parity rule only to a portion corresponding to a RAID parity area in the data storage area of each magnetic disk device;
Information that stores information for setting a RAID configuration for each magnetic disk device and completes preparation for setting the RAID configuration when an uninitialized magnetic disk device is not determined in the initialization determination step Preservation process ;
A reset information setting step for clearing the initialized information in the initialization confirmation area of the magnetic disk device that has been initialized, and changing the information to reset information . Initialization method.
前記請求項に記載のディスクアレイ用初期化方法において、
前記初期化判別工程で未初期化の磁気ディスク装置が判別された場合に機能して当該未初期化の磁気ディスク装置に初期化を指令する初期化指令工程を、前記情報保存工程の前に設けると共に、
前記情報保存工程は、この未初期化の磁気ディスク装置の初期化の完了を待って前記RAID構成を設定するための情報を保存し当該RAID構成の設定準備を完了する構成としたことを特徴とするディスクアレイ用初期化方法。
In the disk array initialization method according to claim 3 ,
An initialization command step that functions when an uninitialized magnetic disk device is determined in the initialization determination step and instructs the uninitialized magnetic disk device to perform initialization is provided before the information storage step. With
The information storage step is configured to wait for completion of initialization of the uninitialized magnetic disk device, store information for setting the RAID configuration, and complete preparation for setting the RAID configuration. To initialize the disk array.
前記請求項に記載のディスクアレイ用初期化方法において、
前記初期化判別工程を前記未初期化の磁気ディスク装置に対して前記アレイ制御装置から初期化を指令するコマンドを発信することにより実行することを特徴としたディスクアレイ用初期化方法。
In the disk array initialization method according to claim 4 ,
An initialization method for a disk array, wherein the initialization determination step is executed by sending a command for instructing initialization from the array controller to the uninitialized magnetic disk device.
RAID構成の対象である複数の磁気ディスク装置と、この各磁気ディスク装置によるRAIDの設定とその動作を制御するアレイ制御装置を備えてなるディスクアレイ記憶システムにあって、
前記磁気ディスク装置を新設又は増設する時に、前記各磁気ディスク装置が初期化済みか否かの情報を得るために前記各磁気ディスク装置が備えている初期化確認領域を順次参照する初期化確認領域参照機能、
この各初期化確認領域から得られる情報に基づいて前記各磁気ディスク装置が初期化済みか否かを判別する初期化判別機能、
前記各磁気ディスク装置のデータ記憶領域であって、RAIDのパリティ領域に該当する部分にのみ、奇数パリティ則にしたがって“1”を書き込む指令を送出するパリティ初期化機能、
前記初期化判別機能による判別処理によって未初期化の磁気ディスク装置が判別されなかった場合に当該各磁気ディスク装置を対象としたRAID構成を設定するための情報を保存し当該RAID構成の設定準備を完了する情報保存機能と、
前記初期化の完了した磁気ディスク装置の前記初期化確認領域の前記初期化済み情報をクリアしてリセット情報に変更するリセット情報設定機能と
を前記アレイ制御装置が備えているコンピュータに実現させるようにしたことを特徴とするディスクアレイ用初期化プログラム。
In a disk array storage system comprising a plurality of magnetic disk devices that are targets of RAID configuration, and an array control device that controls RAID setting and operation of each magnetic disk device,
Initialization confirmation area that sequentially refers to the initialization confirmation areas of each magnetic disk device to obtain information on whether or not each magnetic disk device has been initialized when the magnetic disk device is newly installed or added Reference function,
An initialization discriminating function for discriminating whether or not each of the magnetic disk devices has been initialized based on the information obtained from each of the initialization confirmation areas;
Parity initialization function for sending a command to write “1” in accordance with the odd parity rule only to the data storage area of each magnetic disk device corresponding to the parity area of RAID,
When no uninitialized magnetic disk device is determined by the determination processing by the initialization determination function, information for setting a RAID configuration for each magnetic disk device is stored and preparation for setting the RAID configuration is performed. Complete information storage function ,
A computer having the array control device includes a reset information setting function for clearing the initialized information in the initialization confirmation area of the magnetic disk device that has been initialized and changing the information to reset information. An initialization program for a disk array characterized by being realized.
前記請求項に記載のディスクアレイ用初期化プログラムにおいて、
前記初期化判別機能による判別処理によって未初期化の磁気ディスク装置が識別された場合に稼動して当該未初期化の磁気ディスク装置に初期化を指令する初期化指令機能を、前記初期化判別機能に付設し、
前記情報保存機能では、前記未初期化の磁気ディスク装置の初期化の完了を待って前記RAID構成を設定するための情報を保存し前記RAID構成の設定準備を完了する構成としたことを特徴とするディスクアレイ用初期化プログラム。
In the disk array initialization program according to claim 6 ,
An initialization command function that operates when an uninitialized magnetic disk device is identified by the determination processing by the initialization determination function and instructs the uninitialized magnetic disk device to perform initialization. Attached to the
The information storage function is configured to wait for completion of initialization of the uninitialized magnetic disk device and store information for setting the RAID configuration to complete preparation for setting the RAID configuration. Disk array initialization program to be executed.
JP2007300338A 2007-11-20 2007-11-20 Disk array storage system and initialization method and initialization program at the time of new installation or expansion Expired - Fee Related JP4935643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007300338A JP4935643B2 (en) 2007-11-20 2007-11-20 Disk array storage system and initialization method and initialization program at the time of new installation or expansion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007300338A JP4935643B2 (en) 2007-11-20 2007-11-20 Disk array storage system and initialization method and initialization program at the time of new installation or expansion

Publications (2)

Publication Number Publication Date
JP2009128981A JP2009128981A (en) 2009-06-11
JP4935643B2 true JP4935643B2 (en) 2012-05-23

Family

ID=40819879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007300338A Expired - Fee Related JP4935643B2 (en) 2007-11-20 2007-11-20 Disk array storage system and initialization method and initialization program at the time of new installation or expansion

Country Status (1)

Country Link
JP (1) JP4935643B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5655344B2 (en) * 2010-03-31 2015-01-21 富士通株式会社 Storage device, storage device control program, and storage device control method
CN118626022B (en) * 2024-08-06 2024-11-26 鼎道智芯(上海)半导体有限公司 Storage space operation method and device and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100373535B1 (en) * 1997-10-28 2003-05-12 엘지전자 주식회사 Method and Apparatus for Initializing Rewritable Recording Media
JP2001022526A (en) * 1999-07-07 2001-01-26 Hitachi Ltd External storage device and operation method thereof
JP4248164B2 (en) * 2001-06-14 2009-04-02 株式会社東芝 Disk array error recovery method, disk array control device, and disk array device
JP2003150321A (en) * 2001-11-09 2003-05-23 Matsushita Electric Ind Co Ltd Virtual storage device management apparatus, virtual storage device management method, virtual storage device management program, and computer-readable recording medium storing virtual storage device
WO2004025628A2 (en) * 2002-09-12 2004-03-25 Copan Systems, Inc. Method and apparatus for power-efficient high-capacity scalable storage system
WO2004075063A1 (en) * 2003-02-20 2004-09-02 Matsushita Electric Industrial Co., Ltd. Information recording medium and region management method thereof
US7461176B2 (en) * 2003-05-02 2008-12-02 Hitachi, Ltd. Method for initialization of storage systems
JP2005267326A (en) * 2004-03-19 2005-09-29 Hitachi Ltd Storage device
JP2006227964A (en) * 2005-02-18 2006-08-31 Fujitsu Ltd Storage system, processing method and program
JP2007226373A (en) * 2006-02-22 2007-09-06 Matsushita Electric Ind Co Ltd Information processing apparatus and information processing method

Also Published As

Publication number Publication date
JP2009128981A (en) 2009-06-11

Similar Documents

Publication Publication Date Title
JP5521794B2 (en) Storage device and control program thereof
US7783922B2 (en) Storage controller, and storage device failure detection method
JP6409613B2 (en) Information processing apparatus, multipath control method, and multipath control program
US20090271582A1 (en) Information System and I/O Processing Method
CN106168920B (en) Controls a redundant array of independent disks including read-only flash data storage devices
US8914577B2 (en) Disk array control apparatus
US20050229033A1 (en) Disk array controller and information processing apparatus
JP2006146833A (en) Consistency check support method for disk device and consistency check method for disk array device
WO2009101074A2 (en) Apparatus and method to allocate resources in a data storage library
JP2009116783A (en) A storage system for repairing data stored in a storage device in which a failure has occurred
JP2010033287A (en) Storage subsystem and data-verifying method using the same
CN111816239B (en) Disk detection method and device, electronic equipment and machine-readable storage medium
US20060236149A1 (en) System and method for rebuilding a storage disk
US7962690B2 (en) Apparatus and method to access data in a raid array
US20190220193A1 (en) Storage device for not allowing to write data based on end of life of a disk device
US12248711B2 (en) Storage device performing self-diagnosis and storage system including the same
JP4935643B2 (en) Disk array storage system and initialization method and initialization program at the time of new installation or expansion
KR100829651B1 (en) BIOS storage array
US20160196064A1 (en) Storage control device, control method and storage system
US20110185122A1 (en) Storage system and method of processing data using the same
US20040210712A1 (en) Disk array unit and its method for writing data
US20090138656A1 (en) Method of skipping synchronization process for initialization of RAID1 device
JP5505329B2 (en) Disk array device and control method thereof
JP2006252165A (en) Disk array device and computer system
US9639417B2 (en) Storage control apparatus and control method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110729

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111216

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20111226

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120206

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150302

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees