JP2009070489A - Storage device, its control method and disk device - Google Patents

Storage device, its control method and disk device Download PDF

Info

Publication number
JP2009070489A
JP2009070489A JP2007238254A JP2007238254A JP2009070489A JP 2009070489 A JP2009070489 A JP 2009070489A JP 2007238254 A JP2007238254 A JP 2007238254A JP 2007238254 A JP2007238254 A JP 2007238254A JP 2009070489 A JP2009070489 A JP 2009070489A
Authority
JP
Japan
Prior art keywords
request
data
write
disk
disk device
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.)
Granted
Application number
JP2007238254A
Other languages
Japanese (ja)
Other versions
JP4714720B2 (en
Inventor
Yukie Hiratsuka
幸恵 平塚
Hiromitsu Masuda
広光 増田
Tetsuya Kamimura
上村  哲也
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007238254A priority Critical patent/JP4714720B2/en
Publication of JP2009070489A publication Critical patent/JP2009070489A/en
Application granted granted Critical
Publication of JP4714720B2 publication Critical patent/JP4714720B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • G11B19/209Driving; Starting; Stopping; Control thereof in multiple disk arrays, e.g. spindle synchronisation in RAID systems

Abstract

<P>PROBLEM TO BE SOLVED: To minimize performance degradation of a response due to speed change when attaining power-saving by changing rotational speed in a storage device which comprises disk devices capable of read/write processing at a plurality of rotational speeds. <P>SOLUTION: In a controller part 101, disk devices which change speed simultaneously are limited so that data corresponding to a read request can be recovered from the data stored in the disk device of unchanging speed, and rotational speeds of a plurality of disk devices are sequentially made to change speed. A RAID (Redundant Array of expensive Disk) group comprises the plurality of disk devices and disk devices which change speed simultaneously are limited based on a configuration of the RAID group. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はストレージ装置及びその制御方法、並びにディスク装置に関し、例えば、ディスク装置の回転速度を変更することにより省電力化を図る場合に、変速による性能劣化を抑える技術に関する。   The present invention relates to a storage apparatus, a control method therefor, and a disk apparatus. For example, the present invention relates to a technique for suppressing performance deterioration due to a shift when power saving is achieved by changing the rotation speed of the disk apparatus.

一般にサブストレージシステムやサーバでは、最大負荷(最大I/O処理要求量)に合わせてシステムを構築する。実際のシステム運用では最大負荷となることは少ないため、過剰仕様での運用となることが多く、余分な電力が消費されてしまうという問題がある。   In general, in a sub-storage system or server, a system is constructed in accordance with the maximum load (maximum I / O processing request amount). In actual system operation, the maximum load is rare, so there is a problem that excessive operation is often performed and excessive power is consumed.

この問題を解決するため、システムの運用状況に応じてディスク装置を制御する方法として3つの方法が検討されている。1)第1の方法は、アイドル期間中にディスク装置を停止し、省電力化を図る方法である。この方法はアクセス頻度が低く、アイドル時間の長いアプリケーションに適している。2)第2の方法は、低回転速度の省電力モード(リード・ライトは不可)をもつディスク装置で構成し、アイドル期間中に低回転速度の省電力モードに移行し省電力化を図る方法である。この方法は、アクセス頻度が比較的高く、アイドル時間の短いアプリケーションに適している。3)第3の方法は、複数の回転速度でリード・ライト処理可能なディスク装置で構成し、ディスク装置に対するリクエストの処理状況を監視して負荷に対するディスク装置の性能の過不足を予測し、その結果に応じてディスクの回転速度を変更し省電力化を図る方法である。この方法は、アクセス頻度が高く、負荷が大きく変動するアプリケーションに適している。   In order to solve this problem, three methods have been studied as a method of controlling the disk device in accordance with the operation status of the system. 1) The first method is a method in which the disk device is stopped during an idle period to save power. This method is suitable for applications with low access frequency and long idle time. 2) The second method is a disk device having a low-revolution speed power-saving mode (read / write is not possible), and a transition to the low-revolution speed power-saving mode during the idle period is intended to save power. It is. This method is suitable for applications with a relatively high access frequency and a short idle time. 3) The third method comprises a disk device that can perform read / write processing at a plurality of rotational speeds, monitors the processing status of requests to the disk device, predicts the excess or deficiency of the performance of the disk device relative to the load, and According to the result, the disk rotation speed is changed to save power. This method is suitable for applications where the access frequency is high and the load varies greatly.

上記省電力化(第3の方法)を実現するために、例えば、非特許文献1のように、回転速度制御を実行する方法がある。非特許文献1では、一定のリクエスト数ごとにリクエスト処理にかかる時間の平均時間を求め(以下平均リクエスト処理時間)、求めた平均リクエスト処理時間を直前に調べた平均リクエスト処理時間と比較する。そして、それらの平均リクエスト処理時間との差分によりディスク装置の性能の過不足を予測し、その結果に基づいて、回転速度を変更し、省電力化を実現している。   In order to realize the above power saving (third method), for example, as in Non-Patent Document 1, there is a method of executing rotation speed control. In Non-Patent Document 1, an average time of request processing is obtained for each fixed number of requests (hereinafter referred to as average request processing time), and the obtained average request processing time is compared with the average request processing time examined immediately before. Then, the excess or deficiency of the performance of the disk device is predicted based on the difference with the average request processing time, and the rotational speed is changed based on the result, thereby realizing power saving.

S. Gurumurthi, A. Sivasubramaniam, M. Kandemir, H. Franke, ”DRPM: dynamic speed control for power management in server class disks”, Annual International Symposium on Computer Architecture, (USA), IEEE Computer Society, 2003,VOL 30, p.169 - 181S. Gurumurthi, A. Sivasubramaniam, M. Kandemir, H. Franke, “DRPM: dynamic speed control for power management in server class disks”, Annual International Symposium on Computer Architecture, (USA), IEEE Computer Society, 2003, VOL 30 , p.169-181

しかしながら、非特許文献1の回転制御方法では、負荷に合わせて回転速度を制御しているものの、変速中はディスクへのアクセスができなくなるため、変速によってリードリクエストに対する応答時間が長くなるという問題がある。   However, in the rotation control method of Non-Patent Document 1, although the rotation speed is controlled in accordance with the load, the disk cannot be accessed during the shift, and there is a problem that the response time to the read request becomes longer due to the shift. is there.

本発明はこのような状況に鑑みてなされたものであり、回転速度変更時でもリードリクエストの処理を可能にし、変速によるリード処理の応答性能の劣化を最小限に抑えることのできる技術を提供するものである。   The present invention has been made in view of such circumstances, and provides a technique that enables processing of a read request even when the rotational speed is changed, and minimizes deterioration in response performance of the read processing due to a shift. Is.

上記課題を解決するために、本発明では、RAIDシステムのよう冗長性のあるストレージ装置において、変速中のディスク装置に対するリードリクエストのデータが非変速中のディスク装置から読みだしたデータにより復元可能となるように、変速するディスク装置を限定し、回転速度を順次(直前の変速処理の終了を確認してから)変速する。そして、変更中のディスク装置のデータを読み出す必要が生じた場合には、変速していないディスク装置からデータを読み出して目的とするデータを復元し、リードリクエストを処理可能にする。   In order to solve the above-described problem, in the present invention, in a redundant storage device such as a RAID system, read request data for a disk device being shifted can be restored by data read from the disk device being not shifted. Thus, the disk device to be changed is limited, and the rotational speed is changed sequentially (after confirming the end of the previous shift process). Then, when it becomes necessary to read the data of the disk device being changed, the data is read from the disk device that has not changed speed, the target data is restored, and the read request can be processed.

また、本発明では、大容量のバッファメモリを備え、回転速度変更中にライトリクエストを受領した場合には、該メモリにデータをバッファし、RAIDグループ内の変速が終了するまで該データをディスクに書き込まないようにして、ライトリクエスト処理後のリードリクエスト処理の遅延を防いでいる。   In the present invention, a large-capacity buffer memory is provided, and when a write request is received while the rotation speed is changed, the data is buffered in the memory, and the data is stored on the disk until the shift in the RAID group is completed. By preventing writing, a delay in read request processing after write request processing is prevented.

さらなる本発明の特徴は、以下本発明を実施するための最良の形態および添付図面によって明らかになるものである。   Further features of the present invention will become apparent from the best mode for carrying out the present invention and the accompanying drawings.

本発明によれば、ディスク装置の回転速度を変更して省電力化を図る場合に、回転速度の変更中もリクエスト処理可能になり、変速による性能劣化を最小限に抑えることができる。特に、性能要求の高いシステムにおいて有効である。   According to the present invention, when power saving is achieved by changing the rotational speed of the disk device, request processing can be performed even while the rotational speed is being changed, and performance degradation due to shifting can be minimized. This is particularly effective in systems with high performance requirements.

本発明は、ディスク装置の回転速度変更中であっても、システムとして、変速中のディスク装置に記録されているデータを提示することができるストレージ装置に関するものである。   The present invention relates to a storage device capable of presenting data recorded on a disk device being changed as a system even when the rotational speed of the disk device is being changed.

以下、添付図面を参照して本発明の実施形態について説明する。ただし、本実施形態は本発明を実現するための一例に過ぎず、本発明の技術的範囲を限定するものではないことに注意すべきである。また、各図において共通の構成については同一の参照番号が付されている。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be noted that this embodiment is merely an example for realizing the present invention, and does not limit the technical scope of the present invention. In each drawing, the same reference numerals are assigned to common components.

<第1の実施形態>
(1)ストレージ装置の構成
図1は、本発明の第1の実施形態に係るストレージ装置(100)の概略構成を示す図である。ストレージ装置(100)は、回転速度を制御するコントローラ部(101)と、複数のディスク装置で構成されたRedundant Arrays of Inexpensive Disks(RAID)のグループ(102)で構成されるストレージ部(103)と、を備えている。なお、RAIDグループ(102)のそれぞれ(RG1乃至RGN)は、システム上の制御単位を示している。各RAIDグループは、例えば、RG1がRAID1に相当し、RG2及びRG3がRAID5に相当するように構成される。
<First Embodiment>
(1) Configuration of Storage Device FIG. 1 is a diagram showing a schematic configuration of a storage device (100) according to the first embodiment of the present invention. The storage device (100) includes a controller unit (101) for controlling the rotation speed, and a storage unit (103) configured by a group (102) of Redundant Arrays of Independent Disks (RAID) configured by a plurality of disk devices. It is equipped with. Each (RG1 to RGN) of the RAID group (102) represents a control unit on the system. Each RAID group is configured, for example, such that RG1 corresponds to RAID1 and RG2 and RG3 correspond to RAID5.

また、コントローラ部(101)は、回転速度管理テーブル(104)と、速度ステップ登録テーブル(105)と、回転速度制御部(106)と、バッファメモリ(107)と、バッファデータ管理テーブル(108)と、を含んでいる。なお、図1は、ストレージ装置(100)の構成のみ示しているが、例えば、ストレージ装置(100)が図示しないサーバに接続され、図示しないネットワークを介して、図示しないクライアント端末装置に接続されるようにしてもよい。   The controller unit (101) includes a rotation speed management table (104), a speed step registration table (105), a rotation speed control unit (106), a buffer memory (107), and a buffer data management table (108). And. FIG. 1 shows only the configuration of the storage apparatus (100). For example, the storage apparatus (100) is connected to a server (not shown) and is connected to a client terminal apparatus (not shown) via a network (not shown). You may do it.

図2は、RAIDグループ(102)の構成例を示す。RAIDグループ(102)は、複数のディスク装置(21)で構成される。なお、本発明のストレージ装置は、複数の回転速度でリード・ライト処理可能なディスク装置で構成する。   FIG. 2 shows a configuration example of the RAID group (102). The RAID group (102) is composed of a plurality of disk devices (21). The storage device of the present invention is configured by a disk device that can perform read / write processing at a plurality of rotational speeds.

また、RAIDグループは、単数または複数の論理空間(Logical Unit、以下、LU(22))で構成される。図2の例では、RAIDグループ(102)が2つのLU(LU1とLU2)で構成されている。   The RAID group is composed of one or a plurality of logical spaces (Logical Units, hereinafter referred to as LU (22)). In the example of FIG. 2, the RAID group (102) is composed of two LUs (LU1 and LU2).

図3は、RAID5で構成した場合のLU(31)の構成例を示す。RAID5で構成した場合、ディスク上の論理空間は、ストライプ(32)といわれるデータ単位で構成される。このストライプを単位にRAIDグループ(102)内にLU(31)が作成される。なお、このストライプには、保存するデータだけではなくHDDが故障した場合にデータを復元するためのデータ(このデータをパリティーデータ(33)という)も記録される。図3において、数値を記述したストライプはホストコンピュータからの書き込みデータを示し、「P」を記述したストライプはパリティーデータを示している。   FIG. 3 shows a configuration example of the LU (31) when configured with RAID5. When configured with RAID 5, the logical space on the disk is configured with data units called stripes (32). An LU (31) is created in the RAID group (102) with this stripe as a unit. In this stripe, not only data to be stored but also data for restoring data when the HDD fails (this data is referred to as parity data (33)) is recorded. In FIG. 3, stripes with numerical values indicate write data from the host computer, and stripes with “P” indicate parity data.

図4は、複数の回転速度でリード・ライト処理可能なディスク装置の回転速度の設定例(速度ステップ登録テーブル(105))を示す。図4のテーブルで示された範囲において、各ディスク装置の速度が設定される。そして、各RAIDグループに対してそれぞれ速度ステップ登録テーブルが設けられている。なお、図4には、2500rpmを下限として2500rpmごとに5段階の回転速度を設定した場合の例が示されているが、これに限られるものではない。   FIG. 4 shows a setting example (speed step registration table (105)) of the rotational speed of the disk device that can perform read / write processing at a plurality of rotational speeds. The speed of each disk device is set within the range shown in the table of FIG. A speed step registration table is provided for each RAID group. In addition, although the example at the time of setting 5 steps | paragraphs of rotational speed for every 2500 rpm is shown in FIG. 4 by 2500 rpm as a minimum, it is not restricted to this.

ストレージ装置(100)では、システム構築時、ディスク装置で設定可能な回転速度が速度ステップ登録テーブル(105)に予め登録される。   In the storage device (100), the rotation speed that can be set by the disk device is registered in advance in the speed step registration table (105) when the system is constructed.

また、ストレージ装置(100)は、リクエストの処理に際し、設定可能な回転速度のうちどれか1つの回転速度に設定してリクエストを処理する。具体的には、ストレージ装置(100)は、図4に示した回転速度のうち、実際にリクエスト処理を実行している回転速度を図1の回転速度管理テーブル(104)に登録して、リクエストを処理する。   Further, when processing the request, the storage apparatus (100) sets the rotation speed to one of settable rotation speeds and processes the request. Specifically, the storage apparatus (100) registers the rotational speed actually executing the request processing among the rotational speeds shown in FIG. 4 in the rotational speed management table (104) of FIG. Process.

(2)回転速度変更処理
ストレージ装置(100)は、変速中のディスク装置にリードリクエストがあった場合、システムのデータの冗長性を活用し、非変速中のディスク装置よりデータを読み出すことにより、変速中のディスク装置へのリードリクエストデータが復元可能となるように変速するディスク装置を限定し、該ディスク装置の回転速度を変更する。
(2) Rotational speed change processing When there is a read request to the disk device being changed, the storage device (100) utilizes the data redundancy of the system and reads the data from the non-shifted disk device, The disk device to be shifted is limited so that the read request data to the disk device being shifted can be restored, and the rotational speed of the disk device is changed.

図5は、回転速度変更処理を説明するためのフローチャートである。
ストレージ装置(100)において、コントローラ部(101)は、非変速中のディスク装置よりデータを読み出すことにより、変速中のディスク装置へのリードリクエストデータが復元可能となるように変速するディスク装置を限定し(ステップS51)、限定したディスク装置の回転速度を変更する(ステップS52)。ディスク装置の限定については、後述のように、RAIDの構成に従ってなされる。
FIG. 5 is a flowchart for explaining the rotation speed changing process.
In the storage device (100), the controller unit (101) limits the disk device to be shifted so that the read request data to the disk device being shifted can be restored by reading data from the disk device that is not shifting. Then, the rotational speed of the limited disk device is changed (step S52). The disk device is limited according to the RAID configuration as will be described later.

次に、コントローラ部(101)は、RAIDグループ内のディスク装置のすべての変速が終了したか調べ(ステップS53)、すべての変速が終了していれば処理を終了する。また、コントローラ部(101)は、RAIDグループ内のディスク装置のすべての変速がまだ終了していなければ、ステップS51に戻り、変速処理を継続する。   Next, the controller unit (101) checks whether all the shifts of the disk devices in the RAID group have been completed (step S53), and if all the shifts have been completed, the process ends. If all the gear shifts of the disk devices in the RAID group have not yet been completed, the controller unit (101) returns to step S51 and continues the gear shift process.

ここで、回転速度の変更に使用するATAコマンドの例について説明する。図6は、ディスク装置の動作設定を行うSet Featuresコマンドの例を示している。ATAコマンドでは、例えばSet FeaturesコマンドのFeaturesレジスタに回転速度変更用のサブコマンドコードを入力することで、回転速度の変更を行うことが可能である。また、図6は、回転速度の変更を示すサブコマンドコードとして、61hを入力した場合の例を示している。なお、Sector Countレジスタ、LBA(Logical Block Address)Lowレジスタ、LBA Mid レジスタ、LBA Highレジスタには、サブコマンドに固有の数値を設定することが可能である。なお、回転速度設定コマンドでは、例えばSector Countのレジスタに、設定する回転速度を示す数値を入力してもよい。   Here, an example of the ATA command used for changing the rotation speed will be described. FIG. 6 shows an example of a Set Features command for setting the operation of the disk device. With the ATA command, for example, the rotation speed can be changed by inputting a subcommand code for changing the rotation speed into the Features register of the Set Features command. FIG. 6 shows an example in which 61h is input as a subcommand code indicating a change in rotation speed. It should be noted that numerical values unique to the subcommand can be set in the Sector Count register, LBA (Logical Block Address) Low register, LBA Mid register, and LBA High register. In the rotation speed setting command, for example, a numerical value indicating the rotation speed to be set may be input to the register of the Sector Count.

また、図7は回転速度を示すSector Countの値の例を示したものである。例えば、図7に示す値をSet FeaturesコマンドのSector Countレジスタに入力することにより、希望する回転速度に変更することが可能である。   FIG. 7 shows an example of the value of Sector Count indicating the rotation speed. For example, by inputting the value shown in FIG. 7 into the Sector Count register of the Set Features command, it is possible to change to a desired rotation speed.

さらに、図8は、Set Featuresコマンドの実行結果の例を示す。Set Features コマンドが終了すると、ディスク装置はStatus レジスタのBSYビット(81)に0を設定する。したがって、このBSYビット(81)を参照することにより、コントローラ部(101)は回転速度の変更処理の終了を知ることができる。   Further, FIG. 8 shows an example of the execution result of the Set Features command. When the Set Features command is completed, the disk device sets 0 to the BSY bit (81) of the Status register. Therefore, by referring to the BSY bit (81), the controller unit (101) can know the end of the rotation speed changing process.

(3)リードリクエスト処理
図9は、変速中のディスク装置へのリードリクエスト処理を説明するためのフローチャートである。ストレージ装置(100)において、コントローラ部(101)は、変速中のディスク装置に対するリードリクエストを受領したか否かを調べる(ステップS91)。変速中のディスク装置へのリクエストであれば、コントローラ部(101)は、RAIDグループの非変速中のディスク装置より復元のためのデータを読み出し(ステップS92)、変速中のディスク装置のリードリクエストデータを復元する(ステップS93)。
(3) Read Request Processing FIG. 9 is a flowchart for explaining read request processing to the disk device during shifting. In the storage device (100), the controller unit (101) checks whether or not a read request for the disk device being shifted has been received (step S91). If it is a request to the disk device during the shift, the controller unit (101) reads data for restoration from the disk device that is not shifting in the RAID group (step S92), and read request data for the disk device during the shift. Is restored (step S93).

ここで、図10を参照して、RAID5のストレージ装置(100)において、回転速度変更中のディスク装置にリードリクエストがあった場合のリードデータの復元処理例について説明する。   Here, with reference to FIG. 10, an example of read data restoration processing when a read request is made to the disk device whose rotational speed is being changed in the RAID5 storage device (100) will be described.

図10では、HDD−A、HDD−B、HDD−C、HDD−Dの順に順次変速を行っている。RAID5の場合は、1台ずつ回転速度を変更し、同時に1台のディスク装置だけが回転速度を変更するように制御を行っている。このようにすることで、リクエスト処理不可のディスク装置が1台だけとなり、したがってRAID5においては、変速処理中にリードリクエストがあっても、非変速中のディスク装置よりデータを読み出すことにより、リードリクエストに対するデータを復元することが可能である。   In FIG. 10, gear shifting is sequentially performed in the order of HDD-A, HDD-B, HDD-C, and HDD-D. In the case of RAID5, the rotation speed is changed one by one, and control is performed so that only one disk device changes the rotation speed at the same time. In this way, only one disk device cannot perform request processing. Therefore, even in RAID 5, even if there is a read request during gear shifting processing, data is read from the non-shifting disk device, so that a read request can be obtained. It is possible to restore data for.

図10の例では、変速中のHDD−Bにリード要求があった場合、HDD−Aの“データa”、HDD−Cの“データc”、HDD−Dの“データd”をそれぞれ読み出し、それらのデータのXORをとることにより”データb”を復元している。   In the example of FIG. 10, when there is a read request to the HDD-B that is being shifted, the “data a” of the HDD-A, the “data c” of the HDD-C, and the “data d” of the HDD-D are read out. “Data b” is restored by XORing these data.

(4)ライトリクエスト処理
図11は、RAIDグループを構成するディスク装置の回転速度変更中にライトリクエストがあった場合の処理(ライトリクエスト処理)を説明するためのフローチャートである。
(4) Write Request Process FIG. 11 is a flowchart for explaining the process (write request process) when there is a write request while changing the rotation speed of the disk devices constituting the RAID group.

ストレージ装置(100)において、コントローラ部(101)は、RAIDグループを構成する何れかのディスク装置が回転速度を変更している最中にライトリクエストがあった場合(ステップS111)、バッファメモリ(107)にライトデータを格納する(ステップS112)。次に、コントローラ部(101)は、当該ライトデータに対応するパリティーデータを新たに生成し(ステップS113)、ライトデータに加えてパリティーデータをバッファメモリ(107)に格納する(ステップS114)。また、コントローラ部(101)は、バッファしたライトデータ及びパリティーデータの管理データをバッファデータ管理テーブル(108)に登録する(ステップS115)。   In the storage device (100), when there is a write request while any of the disk devices constituting the RAID group is changing the rotation speed (step S111), the controller unit (101) receives the buffer memory (107). ) Is stored (step S112). Next, the controller unit (101) newly generates parity data corresponding to the write data (step S113), and stores the parity data in addition to the write data in the buffer memory (107) (step S114). The controller unit (101) registers the buffered write data and parity data management data in the buffer data management table (108) (step S115).

さらに、コントローラ部(101)は、RAIDグループ内のディスク装置の変速がすべて終了したか調べ(ステップS116)、変速が終了したらバッファ(107)に格納されたデータをディスクに書き込む(ステップS117)。RAIDグループ内のすべてのディスク装置の変速が終了していない場合(ステップS116)には、処理はステップS112に戻りそれ以降の処理が実行される。   Further, the controller unit (101) checks whether or not the shifts of the disk devices in the RAID group have been completed (step S116), and writes the data stored in the buffer (107) to the disk when the shifts are completed (step S117). If the shift of all the disk devices in the RAID group has not been completed (step S116), the process returns to step S112 and the subsequent processes are executed.

以上のように、ストレージ装置(100)は、RAIDグループ内のすべてのディスク装置の変速が終了するまではライトデータおよびそれに対応するパリティーデータをバッファ(107)に格納することとし、変速終了後に(107)に格納されたデータをディスクに書き込む。これにより、RAIDグループのディスク装置の回転速度の変更中に、ライトリクエストがあり、その後にリードリクエストがあった場合においてもすばやくリードリクエストの処理が可能となる。   As described above, the storage device (100) stores the write data and the corresponding parity data in the buffer (107) until the shift of all the disk devices in the RAID group is completed. 107) is written to the disk. As a result, even when there is a write request during the change of the rotation speed of the disk device of the RAID group and there is a read request thereafter, the read request can be processed quickly.

(5)バッファデータ管理テーブル
図12は、バッファ(107)上のデータを管理するためのバッファデータ管理テーブル(108)の構成例を示す図である。バッファデータ管理テーブル(108)は、Logical Unit(LU)の番号、LU内の開始アドレス、ストライプ番号/パリティー番号、バッファ(107)上の開始アドレスによって構成される。
(5) Buffer Data Management Table FIG. 12 is a diagram showing a configuration example of the buffer data management table (108) for managing data on the buffer (107). The buffer data management table (108) is composed of a logical unit (LU) number, a start address in the LU, a stripe number / parity number, and a start address on the buffer (107).

ストレージ装置(100)は、RAIDグループ内のすべてのディスク装置の変速が終了すると、バッファデータ管理テーブル(108)の情報を使用してライトデータ及びそれに対応するパリティーデータをディスクに書き込む。   When the shift of all the disk devices in the RAID group is completed, the storage device (100) uses the information in the buffer data management table (108) to write the write data and the corresponding parity data to the disk.

また、ストレージ装置(100)は、回転速度変更中にリードリクエストがあった場合、該リクエストのデータがバッファ(107)上にあるかどうかを検索し、該当データがバッファデータ管理テーブル(108)にある場合は該データをバッファ(107)から読みだしてホストコンピュータ(コントローラ部)に転送する。   Further, when there is a read request during the rotation speed change, the storage apparatus (100) searches whether the data of the request is on the buffer (107), and the corresponding data is stored in the buffer data management table (108). If there is, the data is read from the buffer (107) and transferred to the host computer (controller unit).

さらに、ストレージ装置(100)は、バッファリング中のライトデータが更新される場合には、データの整合性を保つため、最新のライトデータの管理情報のみバッファデータ管理テーブル(108)に登録する。   Further, when the write data being buffered is updated, the storage apparatus (100) registers only the latest write data management information in the buffer data management table (108) in order to maintain data consistency.

(6)各RAID構成における具体的処理
以下では、冗長性のある、ストレージ装置の例として、RAID1、RAID5、及びRAID5で構成したグループを分散して配置した分散RAID5(以下分散RAID5という)を取り上げ、それぞれのストレージ装置における回転速度の変更方法及びリクエストの処理方法について説明する。なお、以下の説明により、本発明の適用範囲が限定されるものではない。
(6) Specific Processing in Each RAID Configuration In the following, as an example of a redundant storage device, RAID 1, RAID 5, and distributed RAID 5 (hereinafter referred to as distributed RAID 5) in which groups configured with RAID 5 are distributed are taken up. A method for changing the rotation speed and a method for processing a request in each storage apparatus will be described. Note that the scope of the present invention is not limited by the following description.

図13は、RAID1のストレージ装置における回転速度の変更処理の具体例を示す図である。図13では、HDD1(1301)及びHDD2(1302)の2台でRAID1が構成されている。   FIG. 13 is a diagram illustrating a specific example of the rotation speed changing process in the RAID 1 storage apparatus. In FIG. 13, RAID1 is configured by two HDDs 1 (1301) and 2 (1302).

例えば、HDD1(1301)の変速中に、HDD1(1301)のストライプ1(1303)にリードリクエストがあった場合、コントローラ部(101)は、HDD2(1302)のストライプ1(1304)よりデータを読み出し、HDD1(1301)の回転速度の変更が終了したら、HDD2(1302)の回転速度の変更を行う。また、ディスク装置の回転速度の変更中にライトリクエストを受領した場合には、コントローラ部(101)は、HDD1(1301)及びHDD2(1302)の回転速度の変更が終了するまでライトデータをメモリにバッファリングし、ストレージ装置(100)を構成するすべてのディスク装置の回転速度の変更が終了したら、バッファされたライトデータをディスクに書き込むようにする。   For example, if there is a read request to the stripe 1 (1303) of the HDD1 (1301) during the shift of the HDD1 (1301), the controller unit (101) reads the data from the stripe 1 (1304) of the HDD2 (1302). When the change of the rotational speed of the HDD 1 (1301) is completed, the rotational speed of the HDD 2 (1302) is changed. When a write request is received during the change of the rotation speed of the disk device, the controller unit (101) stores the write data in the memory until the change of the rotation speed of the HDD1 (1301) and the HDD2 (1302) is completed. When the buffering is completed and the rotation speed of all the disk devices constituting the storage device (100) is changed, the buffered write data is written to the disk.

図14は、RAID5のストレージ装置における回転速度の変更処理の具体例を示す図である。
図14では、ディスク装置4台でRAID5が構成されている。
FIG. 14 is a diagram illustrating a specific example of rotation speed change processing in a RAID 5 storage device.
In FIG. 14, RAID 5 is configured by four disk devices.

例えば、HDD2(1401)の変速中に、ストライプ2(1402)にリードリクエストがあった場合、コントローラ部(101)は、HDD1(1403)のストライプ1(1404)、HDD3(1405)のストライプ3(1406)、及びHDD4(1407)のストライプP(1408)を読み出し、それらのデータのXORをとってストライプ2(1402)のデータを復元して、リードリクエストデータを転送する。   For example, if there is a read request for the stripe 2 (1402) during the shift of the HDD2 (1401), the controller unit (101) causes the stripe 1 (1404) of the HDD1 (1403) and the stripe 3 (1405) of the HDD3 (1405). 1406) and the stripe P (1408) of the HDD 4 (1407) are read, XOR of these data is taken to restore the data of the stripe 2 (1402), and the read request data is transferred.

なお、RAID5においては、ライトリクエストがあった場合、コントローラ部(101)は、該当するパリディーデータを生成し、そのデータもバッファ(107)に格納する。そして、RAIDグループ内のディスク装置の回転速度変更後にライトデータ及びそれに対応するパリティーデータをディスクに書き込む。また、ライトリクエストに後続のリードリクエストにおいて、直前のライトリクエストのデータ及びそれに対応するパリティーデータを使って、リードデータを復元する必要がある場合には、バッファ(107)上のデータを使ってリードデータの復元を行う。   In RAID5, when there is a write request, the controller unit (101) generates corresponding parody data and also stores the data in the buffer (107). Then, after changing the rotation speed of the disk devices in the RAID group, write data and corresponding parity data are written to the disk. Further, when it is necessary to restore the read data using the data of the immediately preceding write request and the corresponding parity data in the read request subsequent to the write request, the read is performed using the data on the buffer (107). Restore data.

図15は、RAID5のストレージ装置において、変速中のディスク装置のストライプにライトリクエストがあった場合の例を示す図である。
また、図16は、図15におけるストライプ1(1502)の書き込みに対するパリティーデータの生成方法の一例を示す図である。
FIG. 15 is a diagram showing an example in the case where there is a write request in the stripe of the disk device being shifted in the RAID 5 storage device.
FIG. 16 is a diagram showing an example of a method for generating parity data for the writing of stripe 1 (1502) in FIG.

図15では、ストライプ1(1502)がライトされた場合、コントローラ部(101)は、ストライプ2(1503)及びストライプ3(1504)を読み出す。そして、コントローラ部(101)は、当該ライトデータに対応するパリティーデータP(1)’を図16の方法を使って新たに生成し、ストライプ1’及びパリティーP(1)’をバッファデータ管理テーブル(108)に登録する。バッファデータ管理テーブル(108)には、ストライプ番号あるいはパリティーの番号、バッファ(107)上のライトデータあるいはパリティーデータの開始アドレスがそれぞれ登録される。   In FIG. 15, when the stripe 1 (1502) is written, the controller unit (101) reads the stripe 2 (1503) and the stripe 3 (1504). Then, the controller unit (101) newly generates parity data P (1) ′ corresponding to the write data using the method of FIG. 16, and generates the stripe 1 ′ and parity P (1) ′ in the buffer data management table. Register at (108). In the buffer data management table (108), the stripe number or parity number, and the start address of write data or parity data on the buffer (107) are registered.

図17は、図15の例のストライプ1のライトに対応するパリティーデータの別の生成方法の例を示す図である。図17では、ストライプ1(1701)及びパリティーデータP(1)(1702)のXORをとることにより、パリティーデータP(1)−1(1703)を生成する。次に、生成したパリティーデータP(1)−1(1703)と新たに書き込むストライプ1’(1704)とのXORをとることによりパリティーデータP(1)’(1705)を生成する。   FIG. 17 is a diagram illustrating an example of another method of generating parity data corresponding to the write of stripe 1 in the example of FIG. In FIG. 17, the parity data P (1) -1 (1703) is generated by XORing the stripe 1 (1701) and the parity data P (1) (1702). Next, the parity data P (1) ′ (1705) is generated by XORing the generated parity data P (1) -1 (1703) and the newly written stripe 1 ′ (1704).

図18は、RAIDグループのディスク装置の回転速度の変更中に、図15の例で示したストライプ1(1502)のライト処理を実行し、その後にストライプ3(1504)に対してリードリクエストがあった場合(ただしディスク装置3(1505)は回転速度変更中)のリードデータの復元方法を示している。図18において、ストレージ装置(100)のコントローラ部(101)は、HDD2よりストライプ2(1503)を読み出す。さらに、コントローラ部(101)は、バッファデータ管理テーブル(108)からストライプ1’及びストライプP(1)’を読み出し、図18に示したようにそれらのXORをとることにより、ストライプ3(1504)のデータを復元する。   FIG. 18 shows that the write processing of the stripe 1 (1502) shown in the example of FIG. 15 is executed while the rotational speed of the disk device in the RAID group is changed, and then a read request is made to the stripe 3 (1504). Shows a method of restoring read data in the case where the disk device 3 (1505) is changing the rotation speed. In FIG. 18, the controller unit (101) of the storage apparatus (100) reads the stripe 2 (1503) from the HDD 2. Further, the controller unit (101) reads out the stripe 1 ′ and the stripe P (1) ′ from the buffer data management table (108), and takes the XOR of them as shown in FIG. 18 to obtain the stripe 3 (1504). Restore the data.

図19は、RAID5で構成したグループを分散して配置した分散RAID5の場合の構成例を示す図である。分散RAID5の場合、RAID5を構成するRAID5グループ(1901、1902)では同時に変速処理を行うことができる。ただし、各RAID5グループ内のディスク装置(HDD)は1台ずつ変速する。   FIG. 19 is a diagram illustrating a configuration example in the case of distributed RAID 5 in which groups configured with RAID 5 are distributed and arranged. In the case of distributed RAID 5, the speed change process can be performed simultaneously in the RAID 5 group (1901, 1902) constituting RAID 5. However, one disk device (HDD) in each RAID5 group shifts one by one.

図19において、何れかのHDDの変速中にリードリクエストがあった場合、変速中のHDDのストライプデータは、RAID5グループ内の非変速中のディスク装置のストライプのデータを用いて復元される。その方法は、上述のRAID5におけるデータの復元方法と同様であるのでここでは説明を省略する。   In FIG. 19, when there is a read request during the shift of any HDD, the stripe data of the HDD being shifted is restored using the stripe data of the non-shifted disk device in the RAID5 group. Since this method is the same as the data restoration method in RAID5 described above, description thereof is omitted here.

また、回転速度変更中のライトリクエスト及びライト後のリードリクエストの処理の仕方も、RAID5と同様である。   The method of processing the write request during the rotation speed change and the read request after the write is the same as in RAID 5.

<第2の実施形態>
(1)ストレージ装置の構成
図20は、本発明の第2の実施形態に係るストレージ装置(2000)の概略構成を示す図である。ストレージ装置(2000)は、回転速度を制御するコントローラ部(2001)と、複数のディスク装置で構成されたRAIDグループ(2002)で構成されるストレージ部(2003)と、を備える。なお、RAIDグループ(2002)は、システム上の制御単位を示している。
<Second Embodiment>
(1) Configuration of Storage Device FIG. 20 is a diagram showing a schematic configuration of a storage device (2000) according to the second embodiment of the present invention. The storage device (2000) includes a controller unit (2001) that controls the rotation speed, and a storage unit (2003) that includes a RAID group (2002) that includes a plurality of disk devices. The RAID group (2002) represents a control unit on the system.

また、各RAIDグループ(2002)は、大容量のバッファメモリ(2004)及びバッファ上のライトデータを管理するバッファデータ管理テーブル(2005)を搭載するディスク装置(2006)を1或いは複数備えている。   Each RAID group (2002) includes one or a plurality of disk devices (2006) on which a large-capacity buffer memory (2004) and a buffer data management table (2005) for managing write data on the buffer are mounted.

コントローラ部(2001)は、RAIDグループ内のディスク装置の回転速度を管理する回転速度管理テーブル(2007)と、ストレージ装置(2000)を構成するディスク装置の速度ステップを登録する速度ステップ登録テーブル(2008)と、回転速度制御部(2009)と、を備える。回転制御部(2009)は、変速中のディスク装置に対するリードリクエストのデータが、非変速中のディスク装置から読みだしたデータにより復元可能となるように変速するディスク装置を限定し、該ディスク装置の回転速度を順次(直前の変速処理の終了を確認してから)変速する。また、回転制御部(2009)は、RAIDグループを構成するディスク装置の回転速度変速中においては、ライトリクエストデータをディスク装置内に搭載された大容量不揮発メモリに書き込む処理を行う。なお、回転速度の変速を行うディスク装置の限定方法については、第1の実施形態と同様、採用するRAIDの構成(RAID1乃至RAID5)に依存するものである。   The controller unit (2001) has a rotation speed management table (2007) for managing the rotation speeds of the disk devices in the RAID group, and a speed step registration table (2008) for registering the speed steps of the disk devices constituting the storage device (2000). ) And a rotation speed control unit (2009). The rotation control unit (2009) limits the disk device that shifts the data so that the data of the read request for the disk device that is being shifted can be restored by the data read from the disk device that is not being shifted. The rotational speed is changed sequentially (after confirming the end of the previous shift process). In addition, the rotation control unit (2009) performs a process of writing the write request data to the large-capacity nonvolatile memory mounted in the disk device during the rotational speed shift of the disk devices constituting the RAID group. Note that the disk device limiting method for changing the rotational speed depends on the adopted RAID configuration (RAID 1 to RAID 5), as in the first embodiment.

(2)バッファデータ管理テーブル
図21は、ストレージ装置(2000)を構成するディスク装置(2006)内に実装されているバッファデータ管理テーブル(2005)の構成例を示す図である。
バッファデータ管理テーブル(2005)は、バッファ(2004)に格納されたデータのLBA、バッファ(2004)上のアドレス、データのサイズの情報によって構成されている。このバッファデータ管理テーブル(2005)を用いて、データの書き込み及び読み出しが管理される。つまり、ストレージ装置(2000)のコントローラ部(2001)は、RAIDグループ内のすべてのディスク装置の変速が終了すると、バッファデータ管理テーブル(2005)の情報を使用してライトデータ及びそれに対応するパリティーデータをディスクに書き込む。また、コントローラ部(2001)は、回転速度変更中にリードリクエストがあった場合、該リクエストのデータがバッファ(2004)上にあるかどうかを検索し、該当データがバッファデータ管理テーブル(2005)にある場合は該データをバッファ(2004)から読みだしてホストコンピュータに転送する。さらに、コントローラ部(2001)は、バッファリング中のライトデータが更新される場合には、データの整合性を保つため、最新のライトデータの管理情報のみバッファデータ管理テーブル(2005)に登録する。
(2) Buffer Data Management Table FIG. 21 is a diagram showing a configuration example of the buffer data management table (2005) installed in the disk device (2006) constituting the storage device (2000).
The buffer data management table (2005) includes information on the LBA of the data stored in the buffer (2004), the address on the buffer (2004), and the size of the data. Using this buffer data management table (2005), data writing and reading are managed. That is, when the shift of all the disk devices in the RAID group is completed, the controller unit (2001) of the storage device (2000) uses the information in the buffer data management table (2005) to write data and corresponding parity data. To the disc. In addition, when there is a read request during the rotation speed change, the controller unit (2001) searches whether the data of the request is on the buffer (2004), and the corresponding data is stored in the buffer data management table (2005). If there is, the data is read from the buffer (2004) and transferred to the host computer. Further, when the buffered write data is updated, the controller unit (2001) registers only the latest write data management information in the buffer data management table (2005) in order to maintain data consistency.

(3)ライトリクエスト処理(コントローラ部側の処理)
図22は、コントローラ部(2001)によるライトリクエスト処理について説明するためのフローチャートである。
(3) Write request processing (processing on the controller side)
FIG. 22 is a flowchart for explaining write request processing by the controller unit (2001).

ストレージ装置(2000)のコントローラ部(2001)は、回転速度変更前にディスク装置内の大容量メモリ(2004)の初期化を行う(ステップS2201)。次に、コントローラ部(2001)は、ライトデータをライトリクエストの対象となるディスク装置(2006)の大容量バッファメモリ(2004)に格納する(ステップS2202)。続いて、コントローラ部(2001)は、ライトデータの書き込みによりバッファフルが発生するか調べ(ステップS2203)、バッファフルが発生した場合は、バッファフルが発生したディスク装置(2006)が変速中かを調べる(ステップS2204)。このように、コントローラ部(2001)によって、ディスク装置内のバッファメモリ(2004)のバッファ残量が管理される。そして、バッファフルを起こしたディスク装置(2006)が変速中でなければ、コントローラ部(2001)は、バッファフルが解消されるまでメモリ(2004)上のライトデータをディスクに書き込む(ステップS2205)。   The controller unit (2001) of the storage device (2000) initializes the large-capacity memory (2004) in the disk device before changing the rotation speed (step S2201). Next, the controller unit (2001) stores the write data in the large-capacity buffer memory (2004) of the disk device (2006) that is the target of the write request (step S2202). Subsequently, the controller unit (2001) checks whether or not a buffer full occurs due to the writing of the write data (step S2203), and if a buffer full occurs, determines whether the disk device (2006) in which the buffer full has occurred is shifting. It investigates (step S2204). Thus, the controller unit (2001) manages the remaining buffer capacity of the buffer memory (2004) in the disk device. If the disk device (2006) that caused the buffer full is not shifting, the controller unit (2001) writes the write data in the memory (2004) to the disk until the buffer full is eliminated (step S2205).

続いて、コントローラ部(2001)は、RAIDグループ(2002)内のディスク装置の変速処理が終了したかを調べ(ステップ2206)、全てのディスク装置において変速処理が終了した場合は、バッファメモリ(2004)上のデータをディスクに書き込むようにディスク装置に指示を出す(ステップS2207)。   Subsequently, the controller unit (2001) checks whether or not the shift processing of the disk devices in the RAID group (2002) has been completed (step 2206), and if the shift processing has been completed for all the disk devices, the buffer memory (2004). The disk device is instructed to write the above data onto the disk (step S2207).

ステップS2206において、全てのディスク装置において変速が終了していなければ、処理はステップS2202に戻る。   In step S2206, if the shift has not been completed in all the disk devices, the process returns to step S2202.

ステップS2204において、バッファフルが発生したディスク装置(2006)が変速中であれば、コントローラ部(2001)は、その変速処理が終了した後、バッファフルが解消されるまでバッファメモリ(2004)上のデータをディスクに書き込む(ステップS2208)。その後は、ステップ2206以降の処理が実行される。   In step S2204, if the disk device (2006) in which the buffer full has occurred is shifting, the controller unit (2001), after completing the shifting process, until the buffer full is eliminated, Data is written to the disk (step S2208). Thereafter, the processing after step 2206 is executed.

ステップS2203に戻り、ライトリクエストの対象となるディスク装置(2006)のバッファメモリ(2004)において、バッファフルが発生しなければ、処理は、ステップS2206に移行し、それ以降の処理が実行される。   Returning to step S2203, if there is no buffer full in the buffer memory (2004) of the disk device (2006) that is the target of the write request, the process proceeds to step S2206, and the subsequent processes are executed.

(4)ライトリクエスト処理(ディスク装置側の処理)
図23は、回転速度変更中のディスク装置(2006)側のライトリクエスト処理を説明するためのフローチャートである。
(4) Write request processing (processing on the disk device side)
FIG. 23 is a flowchart for explaining write request processing on the disk device (2006) side during rotation speed change.

ストレージ装置(2000)を構成するディスク装置(2006)は、コントローラ部からの初期化リクエストを受け、ディスク装置内の大容量バッファメモリ(2004)の初期化を行う(ステップS2301)。そして、ディスク装置(2006)は、ライトリクエストを受領した場合、ライトデータを大容量バッファメモリ(2004)に格納する(ステップS2302)。   The disk device (2006) constituting the storage device (2000) receives an initialization request from the controller unit, and initializes the large-capacity buffer memory (2004) in the disk device (step S2301). When the disk device (2006) receives the write request, the disk device (2006) stores the write data in the large-capacity buffer memory (2004) (step S2302).

また、ディスク装置(2006)は、バッファメモリ(2004)上に同一論理アドレスのデータがあるかを調べ(ステップS2303)、同一論理アドレスのデータがなければ、上記ライトデータに関する情報をバッファデータ管理テーブル(2005)に登録する(ステップS2304)。そして、ディスク装置(2006)は、コントローラ部から大容量バッファメモリ(2004)のデータをディスクに書き込むようリクエストがあれば(ステップS2305)、バッファメモリ(2004)内のデータをディスクに書き込む(ステップS2306)。ステップS2305において、コントローラ部から大容量バッファメモリ(2004)のデータをディスクに書き込むようリクエストがなければ、処理は、ステップS2302に戻る。   Further, the disk device (2006) checks whether there is data of the same logical address on the buffer memory (2004) (step S2303). If there is no data of the same logical address, information on the write data is stored in the buffer data management table. (2005) is registered (step S2304). If there is a request from the controller unit to write the data in the large-capacity buffer memory (2004) to the disk (step S2305), the disk device (2006) writes the data in the buffer memory (2004) to the disk (step S2306). ). If it is determined in step S2305 that the controller unit does not request writing of data in the large-capacity buffer memory (2004) to the disk, the process returns to step S2302.

ステップS2303において、バッファメモリ(2004)上に同一論理アドレスのデータがあれば、ディスク装置(2006)は、最新のライトデータだけが登録されるようにバッファデータ管理テーブル(2005)を更新する(ステップS2307)。更新後は、ステップ2305以降の処理が実行される。   In step S2303, if there is data of the same logical address on the buffer memory (2004), the disk device (2006) updates the buffer data management table (2005) so that only the latest write data is registered (step S2303). S2307). After the update, the processing after step 2305 is executed.

なお、実施例2のストレージ装置においても、実施例1で実施したように、回転速度変更中のディスク装置へのリードリクエストデータをディスクに未書き込みのデータ及びそれに対応するパリティーデータを用いて復元することが可能である。その場合、実施例1における図12のテーブルのバッファ上アドレスを、ディスク装置番号とその装置上の論理アドレスをセットにして記述する必要がある。   Also in the storage device of the second embodiment, as performed in the first embodiment, the read request data to the disk device whose rotational speed is being changed is restored using data that has not been written to the disk and the corresponding parity data. It is possible. In that case, it is necessary to describe the addresses on the buffer in the table of FIG. 12 in Embodiment 1 by setting the disk device number and the logical address on the device as a set.

<まとめ>
以上のように、本実施形態によるストレージ装置は、複数の回転速度でリード・ライト処理可能なディスク装置で構成され、回転速度の変更により省電力化を図る場合に、変速による性能劣化、主にリード処理の応答性能の劣化を最小限に抑えるために活用可能である。
<Summary>
As described above, the storage device according to the present embodiment is configured by a disk device that can perform read / write processing at a plurality of rotational speeds. It can be used to minimize the deterioration of the read processing response performance.

本実施形態のストレージ装置では、それぞれが複数の回転速度で駆動可能な複数のディスク装置の何れかが変速中のとき、その変速中のディスク装置に対するリードリクエストがある場合の処理に特徴がある。具体的には、コントローラ部において、リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるように一度に変速するディスク装置が限定されており、複数のディスク装置の回転速度を順次変速するようにしている。そして、複数のディスク装置によりRAIDグループを構成し、一度に変速するディスク装置をRAIDグループの構成に基づいて限定する。例えば、RAIDグループがRAID1或いはRAID5で構成される場合には複数のディスク装置を1台ずつ変速処理し、RAIDグループが分散RAID5で構成される場合には各グループについて同時に変速処理可能であるが、各グループ内では複数のディスク装置を1台ずつ変速処理するようにしている。このようにすることにより、変速中にリードリクエストがあったとしても、変速処理に影響されずに、リードリクエストを処理することができ、よって、システム全体としての応答時間が極度に遅くなるのを防止することができるようになる。   The storage device according to the present embodiment is characterized by processing when there is a read request for a disk device during a shift when any of a plurality of disk devices that can be driven at a plurality of rotational speeds is shifting. Specifically, in the controller unit, a disk device that shifts at a time is limited so that data corresponding to the read request can be restored from the data stored in the non-shifting disk device. The rotation speed of the device is sequentially changed. Then, a RAID group is configured by a plurality of disk devices, and the disk devices that are shifted at a time are limited based on the configuration of the RAID group. For example, when a RAID group is composed of RAID 1 or RAID 5, a plurality of disk devices can be shifted one by one, and when a RAID group is composed of distributed RAID 5, gear shifting can be performed simultaneously for each group. Within each group, a plurality of disk devices are shifted one by one. In this way, even if there is a read request during a shift, the read request can be processed without being affected by the shift process, so that the response time of the entire system is extremely slow. Can be prevented.

より詳細に記述すると、リクエストが変速中のディスク装置に対するリードリクエストの場合、RAIDグループのデータ冗長性を用いて、非変速中のディスク装置に格納されているデータに基づいて、リードリクエストに対応するデータを取得する。つまり、例えば、複数のディスク装置がRAID1で構成される場合、非変速中のミラーリングされたディスク装置からデータを読み出す。また、複数のディスク装置がRAID5、或いは分散RAID5で構成される場合には、非変速中のディスク装置から読み出したデータ及びパリティーデータに基づいて前記リードリクエストに対応するデータを復元する。このようにすることにより、回転速度変更処理中であっても、変速中のディスク装置にあるデータを復元して提示することができるので、システムとしての応答性能を保証することができるようになる。   More specifically, if the request is a read request for a disk device being shifted, the RAID group data redundancy is used to respond to the read request based on the data stored in the non-shifted disk device. Get the data. That is, for example, when a plurality of disk devices are configured with RAID 1, data is read from a mirrored disk device that is not being shifted. When a plurality of disk devices are configured with RAID 5 or distributed RAID 5, data corresponding to the read request is restored based on data and parity data read from the non-shifting disk device. By doing so, even if the rotational speed changing process is in progress, the data in the disk device being shifted can be restored and presented, so that the response performance as a system can be guaranteed. .

また、リクエストが何れかのディスク装置の変速中になされたライトリクエストである場合、複数のディスク装置の全てについて変速処理が終了した後に、ライトリクエストに対応するライトデータの書き込み処理を実行する。また、複数のディスク装置がRAID5、或いは分散RAID5で構成される場合、ライトデータとライトデータに対応するパリティーデータをバッファに格納して、変速処理が終了するのを待機する。そして、ライトリクエストの受領後であってその処理前に(ディスクにデータを書き込む前に)、リードリクエストを受領した場合は、リードリクエストに対応するデータを復元するためにライトデータを必要とするときには、ライトデータ及びパリティーデータをバッファメモリから読み出して、リードリクエストに対応するデータを復元する。このようにすることにより、ディスク装置の変速中にライトリクエストがあり、その処理が完了する前にリードリクエストがあったとしてもこのリードリクエストを処理することができるので、リード処理の応答性能を劣化させることが無い。なお、リードリクエストに対応するデータを復元する際には、バッファから読み出したライトデータ及びパリティーデータと、非変速中のディスク装置から取得したデータを用いるようにする。   If the request is a write request made during the shift of any of the disk devices, the write data write processing corresponding to the write request is executed after the shift processing is completed for all of the plurality of disk devices. When the plurality of disk devices are configured with RAID 5 or distributed RAID 5, the write data and parity data corresponding to the write data are stored in the buffer, and the system waits for the end of the shift process. If a read request is received after the write request is received and before the processing (before writing the data to the disk), the write data is required to restore the data corresponding to the read request. Read the write data and parity data from the buffer memory to restore the data corresponding to the read request. By doing so, even if there is a write request during the shift of the disk device and this read request can be processed even if there is a read request before the processing is completed, the response performance of the read processing is deteriorated. There is nothing to do. Note that when restoring data corresponding to the read request, write data and parity data read from the buffer and data acquired from the non-shifting disk device are used.

第2の実施形態によれば、RAIDグループを構成するディスク装置のそれぞれが、書き込むべきライトデータを格納するためのバッファメモリと、バッファメモリのアドレスとディスク装置の論理アドレスとの対応を管理するバッファデータ管理テーブルとを有している。ここでも、一度に変速するディスク装置はRAIDの構成に従って限定されている。上述同様、変速中のディスク装置に対するリードリクエストがある場合に、リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるようにするためである。そして、リクエストがライトリクエストの場合には、ディスク装置内のバッファメモリにライトデータの書き込み処理を実行する。ディスクへの書き込みは、コントローラ部からライトデータの書き込み要求を受信した場合にディスク装置が、実行する。さらに、ここでは、バッファメモリがフルの状態か否か、及びこのフルの状態のバッファメモリを有するディスク装置が変速中か否かを判断し、判断結果に応じてバッファメモリに格納されたライトデータの書き込み処理のタイミングを制御する。このようにすることでも、ライトリクエスト後にリードリクエストが発生しても、リードリクエスト処理の遅延を防止することができ、ストレージ装置の応答性能を担保することができる。   According to the second embodiment, each of the disk devices constituting the RAID group stores a buffer memory for storing write data to be written, and a buffer for managing the correspondence between the address of the buffer memory and the logical address of the disk device And a data management table. Again, the disk devices that change gears at a time are limited according to the RAID configuration. As described above, when there is a read request for a disk device during shifting, data corresponding to the read request can be restored from data stored in the disk device during non-shifting. If the request is a write request, write data is written into the buffer memory in the disk device. Writing to the disk is executed by the disk device when a write data write request is received from the controller unit. Further, here, it is determined whether or not the buffer memory is full, and whether or not the disk device having the buffer memory in the full state is shifting, and the write data stored in the buffer memory according to the determination result The timing of the writing process is controlled. In this way, even if a read request occurs after a write request, delay in read request processing can be prevented and the response performance of the storage apparatus can be ensured.

第1の実施形態によるストレージ装置の概略構成を示す図である。It is a figure which shows schematic structure of the storage apparatus by 1st Embodiment. RAIDグループの構成例を示す図である。It is a figure which shows the structural example of a RAID group. RAIDグループ(RAID 5)内のデータフォーマットの例を示す図である。It is a figure which shows the example of the data format in a RAID group (RAID 5). ディスク装置において設定可能な回転速度の例を示す図である。It is a figure which shows the example of the rotational speed which can be set in a disc apparatus. ストレージ装置の回転速度の変更処理を説明するためのフローチャートである。It is a flowchart for demonstrating the change process of the rotational speed of a storage apparatus. 回転速度変更のためのコマンドの例を示す図である。It is a figure which shows the example of the command for a rotational speed change. 回転速度を示すサブコマンドの例を示す図である。It is a figure which shows the example of the subcommand which shows rotation speed. 回転速度を変更するためのコマンドの終了レジスタの例を示す図である。It is a figure which shows the example of the end register | resistor of the command for changing a rotational speed. 回転速度変更中のディスク装置へのリードリクエストに対する処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process with respect to the read request to the disk apparatus in the rotation speed change. RAID5のストレージ装置における回転速度変更中のリードリクエスト処理の例を示す図である。It is a figure which shows the example of the read request process in rotation speed change in the storage apparatus of RAID5. 回転速度変更中のライト処理を説明するためのフローチャートである。It is a flowchart for demonstrating the write processing in rotation speed change. 回転速度変更中のライトリクエストデータを管理するバッファデータ管理テーブルの例を示す図である。It is a figure which shows the example of the buffer data management table which manages the write request data in rotation speed change. RAID1のストレージ装置におけるディスク装置の回転速度変更の例を示す図である。FIG. 3 is a diagram showing an example of changing the rotational speed of a disk device in a RAID 1 storage device. RAID5のストレージ装置の変速の例を示す図である。It is a figure which shows the example of the speed change of the storage apparatus of RAID5. RAID5のストレージ装置における回転速度変更中のライトリクエスト処理の例を示す図である。It is a figure which shows the example of the write request process in the rotation speed change in the storage apparatus of RAID5. ライトデータに対応したパリティーデータ生成(例1)を説明するための図である。It is a figure for demonstrating the parity data generation (example 1) corresponding to write data. ライトデータに対応したパリティーデータ生成(例2)を説明するための図である。It is a figure for demonstrating the parity data generation (example 2) corresponding to write data. 回転速度変更中のディスク装置に対するリードリクエストデータを、直前のライトリクエストデータを使って復元した場合の例を示す図である。It is a figure which shows the example at the time of decompress | restoring the read request data with respect to the disk apparatus which is changing the rotational speed using the last write request data. RAID5で構成したグループを分散して配置した分散RAID5のストレージ装置の例を示す図である。It is a figure which shows the example of the storage apparatus of distributed RAID5 which distributed and arrange | positioned the group comprised by RAID5. 第2の実施形態によるストレージ装置の概略構成を示す図である。It is a figure which shows schematic structure of the storage apparatus by 2nd Embodiment. 大容量メモリのライトデータを管理するバッファデータ管理テーブルの構成例を示す図である。It is a figure which shows the structural example of the buffer data management table which manages the write data of a mass memory. コントローラ部による回転速度変更中のRAIDグループに対するライト制御を説明するためのフローチャートである。It is a flowchart for demonstrating the write control with respect to the RAID group in which the rotational speed change by a controller part is carried out. ディスク装置(の図示しないコントローラ)による回転速度変更中のライト制御を説明するためのフローチャートである。It is a flowchart for demonstrating the write control during the rotation speed change by the disk apparatus (controller which is not illustrated).

符号の説明Explanation of symbols

101 コントローラ部
102 RAIDグループ
103 ストレージ部
104 回転速度管理テーブル
105 速度ステップ登録テーブル
106 回転速度制御部
107 バッファメモリ
108 バッファデータ管理テーブル
2001 コントローラ部
2002 RAIDグループ
2003 ストレージ部
2004 大容量メモリ
2005 バッファデータ管理テーブル
2006 大容量メモリ搭載ディスク装置
2007 回転速度管理テーブル
2008 速度ステップ登録テーブル
2009 回転速度制御部
DESCRIPTION OF SYMBOLS 101 Controller part 102 RAID group 103 Storage part 104 Rotational speed management table 105 Speed step registration table 106 Rotational speed control part 107 Buffer memory 108 Buffer data management table 2001 Controller part 2002 RAID group 2003 Storage part 2004 Large capacity memory 2005 Buffer data management table 2006 Mass storage disk device 2007 Rotational speed management table 2008 Speed step registration table 2009 Rotational speed control unit

Claims (27)

リクエストに応じてディスク装置にアクセスし、前記リクエストを処理するストレージ装置であって、
それぞれが複数の回転速度で駆動可能な複数のディスク装置と、
変速中のディスク装置に対するリードリクエストがある場合に、前記リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるように一度に変速するディスク装置を限定し、前記複数のディスク装置の回転速度を順次変速する回転速度制御部と、
を備えることを特徴とするストレージ装置。
A storage device that accesses a disk device in response to a request and processes the request,
A plurality of disk devices each capable of being driven at a plurality of rotational speeds;
When there is a read request for the disk device being shifted, the disk device that shifts at a time is limited so that the data corresponding to the read request can be restored from the data stored in the non-shifted disk device, A rotational speed control unit for sequentially shifting the rotational speeds of the plurality of disk devices;
A storage apparatus comprising:
前記複数のディスク装置はRAIDグループを構成し、
前記回転速度制御部は、前記一度に変速するディスク装置を前記RAIDグループの構成に基づいて限定することを特徴とする請求項1に記載のストレージ装置。
The plurality of disk devices constitute a RAID group,
The storage apparatus according to claim 1, wherein the rotation speed control unit limits the disk device that performs a shift at a time based on a configuration of the RAID group.
前記RAIDグループがRAID1或いはRAID5で構成される場合、前記回転速度制御部は、前記複数のディスク装置を1台ずつ変速処理し、
前記RAIDグループが、それぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記回転速度制御部は、各グループについて同時に変速処理可能であるが、各グループ内では前記複数のディスク装置を1台ずつ変速処理することを特徴とする請求項2に記載のストレージ装置。
When the RAID group is composed of RAID1 or RAID5, the rotational speed control unit performs a shift process on the plurality of disk devices one by one,
When the RAID group is configured by distributed RAID 5 in which a plurality of groups each configured by RAID 5 are distributed and arranged, the rotational speed control unit can perform shift processing simultaneously for each group. The storage apparatus according to claim 2, wherein the plurality of disk devices are subjected to a shift process one by one.
さらに、前記複数のディスク装置へのリクエストを処理するリクエスト処理部を備えることを特徴とする請求項1乃至3の何れか1項に記載のストレージ装置。   The storage apparatus according to claim 1, further comprising a request processing unit that processes requests to the plurality of disk apparatuses. 前記複数のディスク装置はRAIDグループを構成し、
前記リクエストが変速中のディスク装置に対するリードリクエストの場合、前記リクエスト処理部は、前記RAIDグループのデータ冗長性を用いて、非変速中のディスク装置に格納されているデータに基づいて、前記リードリクエストに対応するデータを取得することを特徴とする請求項4に記載のストレージ装置。
The plurality of disk devices constitute a RAID group,
When the request is a read request for a disk device during shifting, the request processing unit uses the data redundancy of the RAID group and uses the data stored in the disk device during non-shifting to read the read request. The storage apparatus according to claim 4, wherein data corresponding to is acquired.
前記複数のディスク装置がRAID1で構成される場合、
前記リクエスト処理部は、非変速中のミラーリングされたディスク装置からデータを読み出し、
前記複数のディスク装置がRAID5、或いはそれぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記リクエスト処理部は、非変速中のディスク装置から読み出したデータ及びパリティーデータに基づいて前記リードリクエストに対応するデータを復元することを特徴とする請求項5に記載のストレージ装置。
When the plurality of disk devices are configured with RAID1,
The request processing unit reads data from a non-shifted mirrored disk device,
When the plurality of disk devices are configured with RAID 5 or distributed RAID 5 in which a plurality of groups each configured with RAID 5 are distributed and arranged, the request processing unit reads data and parity read from the non-shifting disk device 6. The storage apparatus according to claim 5, wherein the data corresponding to the read request is restored based on the data.
前記リクエストが何れかのディスク装置の変速中になされたライトリクエストである場合、前記リクエスト処理部は、前記複数のディスク装置の全てについて変速処理が終了した後に、前記ライトリクエストに対応するライトデータの書き込み処理を実行することを特徴とする請求項4に記載のストレージ装置。   When the request is a write request made during a shift of any of the disk devices, the request processing unit, after completing the shift processing for all of the plurality of disk devices, writes the write data corresponding to the write request. The storage apparatus according to claim 4, wherein write processing is executed. 前記複数のディスク装置がRAID5、或いはそれぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記リクエスト処理部は、前記ライトデータと前記ライトデータに対応するパリティーデータをバッファメモリに格納して、前記変速処理が終了するのを待機することを特徴とする請求項7に記載のストレージ装置。   When the plurality of disk devices are configured with RAID 5 or distributed RAID 5 in which a plurality of groups each configured with RAID 5 are distributed and arranged, the request processing unit has the write data and parity data corresponding to the write data. The storage apparatus according to claim 7, wherein the storage device is stored in a buffer memory and waits for the shift process to end. 前記ライトリクエストの受領後であってその処理前に、リードリクエストを受領した場合、前記リクエスト処理部は、前記リードリクエストに対応するデータを復元するために前記ライトデータを必要とする場合には、前記ライトデータ及び前記パリティーデータを前記バッファメモリから読み出して、前記リードリクエストに対応するデータを復元することを特徴とする請求項8に記載のストレージ装置。   When a read request is received after the write request is received and before the processing, the request processing unit needs the write data to restore the data corresponding to the read request. The storage apparatus according to claim 8, wherein the write data and the parity data are read from the buffer memory, and the data corresponding to the read request is restored. リクエストに応じてディスク装置にアクセスし、前記リクエストを処理するストレージ装置であって、
それぞれが複数の回転速度で駆動可能な、RAIDグループを構成する複数のディスク装置と、
変速中のディスク装置に対するリードリクエストがある場合に、前記リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるように一度に変速するディスク装置を限定し、前記複数のディスク装置の回転速度を順次変速する回転速度制御部と、
前記複数のディスク装置へのリクエストを処理するリクエスト処理部と、を備え、
前記複数のディスク装置のそれぞれは、書き込むべきライトデータを格納するためのバッファメモリと、バッファメモリのアドレスとディスク装置の論理アドレスとの対応を管理するバッファデータ管理テーブルと、を有し、
前記リクエスト処理部は、前記リクエストがライトリクエストの場合、前記バッファメモリにライトリクエストに対応するライトデータの書き込み処理を実行することを特徴とするストレージ装置。
A storage device that accesses a disk device in response to a request and processes the request,
A plurality of disk devices constituting a RAID group, each of which can be driven at a plurality of rotational speeds;
When there is a read request for the disk device being shifted, the disk device that shifts at a time is limited so that the data corresponding to the read request can be restored from the data stored in the non-shifted disk device, A rotational speed control unit for sequentially shifting the rotational speeds of the plurality of disk devices;
A request processing unit that processes requests to the plurality of disk devices,
Each of the plurality of disk devices has a buffer memory for storing write data to be written, and a buffer data management table for managing the correspondence between the address of the buffer memory and the logical address of the disk device,
The request processing unit, when the request is a write request, executes a write processing of write data corresponding to the write request in the buffer memory.
前記リクエストが何れかのディスク装置の変速中になされたライトリクエストである場合、前記リクエスト処理部は、前記ライトデータを前記バッファメモリに蓄積しておき、前記複数のディスク装置の全てについて変速処理が終了した後に、前記ライトデータの書き込み処理を実行することを特徴とする請求項10に記載のストレージ装置。   When the request is a write request made during a shift of any of the disk devices, the request processing unit stores the write data in the buffer memory and performs a shift process for all of the plurality of disk devices. 11. The storage apparatus according to claim 10, wherein a write process of the write data is executed after completion. 前記リクエスト処理部は、前記バッファメモリがフルの状態か否か、及びこのフルの状態のバッファメモリを有するディスク装置が変速中か否かを判断し、判断結果に応じて前記バッファメモリに格納された前記ライトデータの書き込み処理のタイミングを制御することを特徴とする請求項11に記載のストレージ装置。   The request processing unit determines whether or not the buffer memory is full, and whether or not the disk device having the buffer memory in the full state is shifting, and is stored in the buffer memory according to the determination result. 12. The storage apparatus according to claim 11, wherein the timing of the write processing of the write data is controlled. 前記リクエスト処理部は、前記バッファメモリに格納されたライトデータの書き込み要求を前記ディスク装置に送信し、
前記ディスク装置は、前記書き込み要求を受信した場合に、前記ライトデータの書き込みを実行することを特徴とする請求項10乃至12の何れか1項に記載のストレージ装置。
The request processing unit transmits a write request for write data stored in the buffer memory to the disk device,
The storage apparatus according to any one of claims 10 to 12, wherein the disk apparatus executes writing of the write data when the write request is received.
リクエストに応じてディスク装置にアクセスし、前記リクエストを処理するストレージ装置の制御方法であって、
前記ストレージ装置が、それぞれが複数の回転速度で駆動可能な複数のディスク装置を備え、
回転速度制御部が、変速中のディスク装置に対してリードリクエストがある場合に、前記リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるように一度に変速するディスク装置を限定し、前記複数のディスク装置の回転速度を順次変速することを特徴とする制御方法。
A method of controlling a storage device that accesses a disk device in response to a request and processes the request,
The storage device comprises a plurality of disk devices each capable of being driven at a plurality of rotational speeds,
When the rotational speed control unit has a read request for the disk device being changed, the data corresponding to the read request can be restored from the data stored in the non-shifted disk device at a time. A control method characterized by limiting disk devices to be shifted and sequentially shifting the rotational speeds of the plurality of disk devices.
前記複数のディスク装置はRAIDグループを構成し、
前記回転速度制御部は、前記一度に変速するディスク装置を前記RAIDグループの構成に基づいて限定することを特徴とする請求項14に記載の制御方法。
The plurality of disk devices constitute a RAID group,
The control method according to claim 14, wherein the rotation speed control unit limits the disk device that shifts at a time based on a configuration of the RAID group.
前記RAIDグループがRAID1或いはRAID5で構成される場合、前記回転速度制御部は、前記複数のディスク装置を1台ずつ変速処理し、
前記RAIDグループが、それぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記回転速度制御部は、各グループについて同時に変速処理可能であるが、各グループ内では前記複数のディスク装置を1台ずつ変速処理することを特徴とする請求項15に記載の制御方法。
When the RAID group is composed of RAID1 or RAID5, the rotational speed control unit performs a shift process on the plurality of disk devices one by one,
When the RAID group is configured by distributed RAID 5 in which a plurality of groups each configured by RAID 5 are distributed and arranged, the rotational speed control unit can perform shift processing simultaneously for each group. The control method according to claim 15, wherein a shift process is performed for each of the plurality of disk devices.
さらに、前記ストレージ装置はリクエスト処理部を備え、このリクエスト処理部が、前記複数のディスク装置へのリクエストを処理することを特徴とする請求項14乃至16の何れか1項に記載の制御方法。   The control method according to any one of claims 14 to 16, wherein the storage device further includes a request processing unit, and the request processing unit processes requests to the plurality of disk devices. 前記複数のディスク装置はRAIDグループを構成し、
前記リクエストが変速中のディスク装置に対するリードリクエストの場合、前記リクエスト処理部は、前記RAIDグループのデータ冗長性を用いて、非変速中のディスク装置に格納されているデータに基づいて、前記リードリクエストに対応するデータを取得することを特徴とする請求項17に記載の制御方法。
The plurality of disk devices constitute a RAID group,
When the request is a read request for a disk device during shifting, the request processing unit uses the data redundancy of the RAID group and uses the data stored in the non-shifting disk device to read the read request. The control method according to claim 17, wherein data corresponding to is acquired.
前記複数のディスク装置がRAID1で構成される場合、前記リクエスト処理部は、非変速中のミラーリングされたディスク装置からデータを読み出し、
前記複数のディスク装置がRAID5、或いはそれぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記リクエスト処理部は、非変速中のディスク装置から読み出したデータ及びパリティーデータに基づいて前記リードリクエストに対応するデータを復元することを特徴とする請求項18に記載の制御方法。
When the plurality of disk devices are configured with RAID1, the request processing unit reads data from a non-shifted mirrored disk device,
When the plurality of disk devices are configured with RAID 5 or distributed RAID 5 in which a plurality of groups each configured with RAID 5 are distributed and arranged, the request processing unit reads data and parity read from the non-shifting disk device The control method according to claim 18, wherein the data corresponding to the read request is restored based on the data.
前記リクエストが何れかのディスク装置の変速中になされたライトリクエストである場合、前記リクエスト処理部は、前記複数のディスク装置の全てについて変速処理が終了した後に、前記ライトリクエストに対応するライトデータの書き込み処理を実行することを特徴とする請求項17に記載の制御方法。   When the request is a write request made during a shift of any of the disk devices, the request processing unit, after completing the shift processing for all of the plurality of disk devices, writes the write data corresponding to the write request. The control method according to claim 17, wherein a writing process is executed. 前記複数のディスク装置がRAID5、或いはそれぞれRAID5で構成した複数グループを分散して配置してなる分散RAID5で構成される場合、前記リクエスト処理部は、前記ライトデータと前記ライトデータに対応するパリティーデータをバッファメモリに格納して、前記変速処理が終了するまで待機することを特徴とする請求項20に記載の制御方法。   When the plurality of disk devices are configured with RAID 5 or distributed RAID 5 in which a plurality of groups each configured with RAID 5 are distributed and arranged, the request processing unit has the write data and parity data corresponding to the write data. 21. The control method according to claim 20, further comprising: waiting in a buffer memory until the shift process is completed. 前記ライトリクエストの受領後であってその処理前に、リードリクエストを受領した場合、前記リクエスト処理部は、前記リードリクエストに対応するデータを復元するために前記ライトデータを必要とする場合には、前記ライトデータ及び前記パリティーデータを前記バッファメモリから読み出して、前記リードリクエストに対応するデータを復元することを特徴とする請求項21に記載の制御方法。   When a read request is received after the write request is received and before the processing, the request processing unit needs the write data to restore the data corresponding to the read request. The control method according to claim 21, wherein the write data and the parity data are read from the buffer memory, and data corresponding to the read request is restored. リクエストに応じてディスク装置にアクセスし、前記リクエストを処理するストレージ装置の制御方法であって、
前記ストレージ装置が、それぞれが複数の回転速度で駆動可能な、RAIDグループを構成する複数のディスク装置を備え、
前記複数のディスク装置のそれぞれは、書き込むべきライトデータを格納するためのバッファメモリと、バッファメモリのアドレスとディスク装置の論理アドレスとの対応を管理するバッファデータ管理テーブルと、を有し、
回転速度制御部は、変速中のディスク装置に対するリードリクエストがある場合に、前記リードリクエストに対応するデータが非変速中のディスク装置に格納されているデータから復元可能となるように一度に変速するディスク装置を限定し、前記複数のディスク装置の回転速度を順次変速し、
前記複数のディスク装置へのリクエストを処理するリクエスト処理部が、前記リクエストがライトリクエストの場合、前記バッファメモリにライトリクエストに対応するライトデータの書き込み処理を実行することを特徴とする制御方法。
A method of controlling a storage device that accesses a disk device in response to a request and processes the request,
The storage device comprises a plurality of disk devices that constitute a RAID group, each of which can be driven at a plurality of rotational speeds,
Each of the plurality of disk devices has a buffer memory for storing write data to be written, and a buffer data management table for managing the correspondence between the address of the buffer memory and the logical address of the disk device,
When there is a read request for the disk device being changed, the rotation speed control unit changes the speed at a time so that data corresponding to the read request can be restored from the data stored in the non-shifted disk device. Limiting disk devices, sequentially changing the rotational speed of the plurality of disk devices,
A control method, wherein a request processing unit that processes requests to the plurality of disk devices executes write processing of write data corresponding to a write request in the buffer memory when the request is a write request.
前記リクエストが何れかのディスク装置の変速中になされたライトリクエストである場合、前記リクエスト処理部は、前記ライトデータを前記バッファメモリに蓄積しておき、前記複数のディスク装置の全てについて変速処理が終了した後に、前記ライトデータの書き込み処理を実行することを特徴とする請求項23に記載の制御方法。   When the request is a write request made during a shift of any of the disk devices, the request processing unit stores the write data in the buffer memory and performs a shift process for all of the plurality of disk devices. 24. The control method according to claim 23, wherein a write process of the write data is executed after completion. 前記リクエスト処理部は、前記バッファメモリがフルの状態か否か、及びこのフルの状態のバッファメモリを有するディスク装置が変速中か否かを判断し、判断結果に応じて前記バッファメモリに格納された前記ライトデータの書き込み処理のタイミングを制御することを特徴とする請求項24に記載の制御方法。   The request processing unit determines whether or not the buffer memory is full, and whether or not the disk device having the buffer memory in the full state is shifting, and is stored in the buffer memory according to the determination result. 25. The control method according to claim 24, further comprising controlling a timing of the write processing of the write data. 前記リクエスト処理部は、前記バッファメモリに格納されたライトデータの書き込み要求を前記ディスク装置に送信し、
前記ディスク装置は、前記書き込み要求を受信した場合に、前記ライトデータの書き込みを実行することを特徴とする請求項23乃至25の何れか1項に記載の制御方法。
The request processing unit transmits a write request for write data stored in the buffer memory to the disk device,
The control method according to any one of claims 23 to 25, wherein the disk device executes the writing of the write data when the write request is received.
大容量メモリ及びそのデータを管理するバッファデータ管理テーブル備えた複数の回転速度で駆動可能な複数のディスク装置であって、
ホストからの指示により前記大容量メモリにライトデータをバッファし、さらにホスト側から前記大容量メモリのデータをディスクに書き込む指示が来た時に前記大容量メモリのライトデータをディスクに書き込むことを特徴とするディスク装置。
A plurality of disk devices capable of being driven at a plurality of rotational speeds, each having a large-capacity memory and a buffer data management table for managing the data,
The write data is buffered in the large-capacity memory according to an instruction from the host, and the write data in the large-capacity memory is written to the disk when an instruction to write the large-capacity memory data to the disk is received from the host side. Disk unit to be used.
JP2007238254A 2007-09-13 2007-09-13 Storage device, control method therefor, and disk device Expired - Fee Related JP4714720B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007238254A JP4714720B2 (en) 2007-09-13 2007-09-13 Storage device, control method therefor, and disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007238254A JP4714720B2 (en) 2007-09-13 2007-09-13 Storage device, control method therefor, and disk device

Publications (2)

Publication Number Publication Date
JP2009070489A true JP2009070489A (en) 2009-04-02
JP4714720B2 JP4714720B2 (en) 2011-06-29

Family

ID=40606585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007238254A Expired - Fee Related JP4714720B2 (en) 2007-09-13 2007-09-13 Storage device, control method therefor, and disk device

Country Status (1)

Country Link
JP (1) JP4714720B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215935A (en) * 2011-03-31 2012-11-08 Nec Corp Disk array device and method for controlling the same
WO2015177849A1 (en) * 2014-05-19 2015-11-26 富士通株式会社 Multiplexed storage device and multiplexed storage control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257577A (en) * 2006-03-27 2007-10-04 Nec Corp Raid control device, method and program, and disk array device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257577A (en) * 2006-03-27 2007-10-04 Nec Corp Raid control device, method and program, and disk array device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215935A (en) * 2011-03-31 2012-11-08 Nec Corp Disk array device and method for controlling the same
WO2015177849A1 (en) * 2014-05-19 2015-11-26 富士通株式会社 Multiplexed storage device and multiplexed storage control method
JP5958656B2 (en) * 2014-05-19 2016-08-02 富士通株式会社 Multiplexed storage device and multiplexed storage control method

Also Published As

Publication number Publication date
JP4714720B2 (en) 2011-06-29

Similar Documents

Publication Publication Date Title
US7127557B2 (en) RAID apparatus and logical device expansion method thereof
US8103825B2 (en) System and method for providing performance-enhanced rebuild of a solid-state drive (SSD) in a solid-state drive hard disk drive (SSD HDD) redundant array of inexpensive disks 1 (RAID 1) pair
US9519554B2 (en) Storage system with rebuild operations
US7568075B2 (en) Apparatus, system and method for making endurance of storage media
US7975168B2 (en) Storage system executing parallel correction write
JP2009505310A (en) Method and system for accessing auxiliary data in a power efficient large capacity scalable storage system
JP2007323224A (en) Flash memory storage system
JP6540363B2 (en) Storage control device, storage control method, and storage control program
JP5843010B2 (en) Storage control device, storage control method, and storage control program
JP2012506087A (en) Power and performance management using MAIDX and adaptive data placement
JP4261532B2 (en) Logical disk management method and virtualization apparatus
US8433949B2 (en) Disk array apparatus and physical disk restoration method
JP4719801B2 (en) Device management apparatus, device initialization method, device initialization program, and device system
WO2018051505A1 (en) Storage system
US8171324B2 (en) Information processing device, data writing method, and program for the same
JP4714720B2 (en) Storage device, control method therefor, and disk device
US20180307427A1 (en) Storage control apparatus and storage control method
JP2007249728A (en) Disk array device
JP5505329B2 (en) Disk array device and control method thereof
JP4398596B2 (en) Disk array device
JP5807942B2 (en) Disk array device and control method thereof
JP2009054050A (en) Raid apparatus, control unit for raid apparatus, and write-back control method for raid apparatus
WO2018193608A1 (en) Storage system, control method for storage device, and storage control device
US11561695B1 (en) Using drive compression in uncompressed tier
JP2006134026A (en) Disk array device and raid level setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110210

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110328

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

Free format text: PAYMENT UNTIL: 20140401

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees