JP2009003789A - Power failure handling method for disk device, and disk device - Google Patents

Power failure handling method for disk device, and disk device Download PDF

Info

Publication number
JP2009003789A
JP2009003789A JP2007165387A JP2007165387A JP2009003789A JP 2009003789 A JP2009003789 A JP 2009003789A JP 2007165387 A JP2007165387 A JP 2007165387A JP 2007165387 A JP2007165387 A JP 2007165387A JP 2009003789 A JP2009003789 A JP 2009003789A
Authority
JP
Japan
Prior art keywords
disk
unit
power failure
power supply
drive control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2007165387A
Other languages
Japanese (ja)
Inventor
Nobuyuki Fukuchi
信之 福地
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007165387A priority Critical patent/JP2009003789A/en
Publication of JP2009003789A publication Critical patent/JP2009003789A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

<P>PROBLEM TO BE SOLVED: To provide a power failure handling method for a disk device that saves battery power, by backing up data with hardware unnecessary for the data backup stopped in a power failure. <P>SOLUTION: The power failure handling method for a disk device is for use with an uninterruptible power supply, a drive enclosure comprising first and second disk units and a drive control unit, and a disk control device comprising a disk cache memory and a controller unit. The disk control device is configured to back up data in the disk cache memory to the second disk unit as stopping the rotation of the first disk unit on receiving a power failure detection notification from the uninterruptive power unit. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はディスク装置の停電処理方法に関し、より詳細には停電時にデータバックアップに不要なディスクユニットを停止しディスクキャッシュメモリのデータバックアップを行って無停電電源装置のバッテリの省電力化を図る停電処理方法に関するものである。   The present invention relates to a power failure processing method for a disk device, and more specifically, a power failure processing for stopping power consumption of a battery of an uninterruptible power supply by stopping a disk unit unnecessary for data backup at the time of a power failure and performing data backup of a disk cache memory It is about the method.

近年、コンピュータが記憶したり処理するデータ量は大幅に増加しており、システムも大規模化している。大規模のシステムには、例えばRAID(Redundant Arrays of Inexpensive Disks)技術を用いた複数台のディスクユニットによる集合ディスク装置が広く用いられている。
これらのシステムでは、商用電源が何らかの原因によって停電が発生した場合に、しばらくの間電源をディスク装置に供給する無停電電源装置(UPS:Uninterruptible Power Supply)を備えるようにしている。この無停電電源装置は、停電の発生を検出して通知すると共に無停電電源装置が内蔵するバッテリがディスク装置に対して商用電源に代わって電源を供給するものである。
停電の通知を受けてディスク装置は、ディスク装置が備えるディスクキャッシュメモリに記憶しているデータを所定のディスクユニットに退避させるデータバックアップを行う。そして、電源が復旧した時にディスクユニットに退避させたデータを取り出し、本来記憶すべきディスクユニットにあらためて書き込む(記憶させる)ことを行う。
図4は従来のディスク装置100の構成例を示すもので、ディスク装置100はディスク制御装置200とドライブエンクロージャ300から構成する。
ディスク制御装置200はドライブエンクロージャ300(より具体的にはディスクユニット310、320)に対して制御を行うコントローラユニット210、220を備える。コントローラユニット210、220はディスクキャッシュメモリを搭載し、冗長度を高めるために2台構成にすることが一般に行われている。通常は2台で運用し、コントローラユニットに障害が発生した場合に障害が発生したコントローラユニットを切り離して1台で運用するようにしている。また、コントローラユニット210、220に対してそれぞれ電源供給を行うコントローラ用電源ユニット230、240が組み込まれている。図中の「#0」「#1」は、同種のものを区別するためのナンバーリングである。
ドライブエンクロージャ300は、m本のシステムディスクユニット310とn本のユーザディスクユニット320、そしてコントローラユニット210、220からの信号をディスクユニットに分配すると共に、ディスクユニットからの信号を選択してコントローラユニット210、220へ送る制御を行うディスク制御ユニット330、340で構成する。システムディスクユニット310はシステム専用のディスクユニットでユーザはこのシステムディスクユニット310にデータを記憶させることはできない。ユーザディスクユニット320は、ユーザに開放されたディスクユニットで、ユーザのデータを記憶する。ディスク制御ユニット330、340はコントローラユニット210、211と同様の理由で2台構成とし、通常は2台運用で1台のディスク制御ユニットに障害が発生した場合は残りのディスク制御ユニットによる1台運用となる。また、ディスク制御ユニット330、340とディスクユニットを回転するモーターに対し電源供給を行うためドライブエンクロージャ用電源ユニット350、360を組み込んでいる。
このように構成するディスク装置100は無停電電源装置400を備え、停電時に商用電源から切り換わって無停電電源装置400が備えるバッテリからディスク制御装置200およびディスクエンクロージャ300に電源供給を行う。そして、前述したデータのバックアップ等行う。なお、通常においてディスク装置100は、ブレーカ110、120を介して商用電源から電源供給を受け、無停電電源装置400は商用電源から充電用の電源供給を受けている。
ディスク装置100は図示しないホストコンピュータとチャネルで結合しており、ディスク装置100に書き込むためのデータをチャネルを介してディスクキャッシュメモリに取り込む。そして、ディスクキャッシュメモリに取り込んだデータをディスクユニットに書き込む。ディスクキャッシュメモリへのデータの書込み時間はディスクユニットに書き込む時間に較べて速いので、ホストコンピュータとディスクユニットの間にディスクキャッシュメモリを介在させることでホストコンピュータ側から見たディスク装置への書込み(記憶)処理を短時間で終了できる(ディスクキャッシュメモリが書込みデータを取得した時点で、ホストコンピュータに対しディスク装置書込み終了の情報が通知されるので、この時点でホストコンピュータはこの処理から開放される。その後は、前述のようにディスクキャッシュメモリからディスクユニットにデータの書込みが行われることになる)。ディスクキャッシュメモリはディスクユニットから読み出したデータも一旦記憶し、チャネルを介してホストコンピュータに送ることも行う。ホストコンピュータからディスク装置にデータの読出し要求があった場合は、まずディスクキャッシュメモリを調べ、そこに要求したデータがあればディスクユニットから読み出す必要がないからである。 商用電源の停電に対するディスク装置の処理の方法が提案されている。
In recent years, the amount of data stored and processed by computers has increased significantly, and the system has become larger. In a large-scale system, for example, a collective disk device using a plurality of disk units using a RAID (Redundant Arrays of Inexpensive Disks) technique is widely used.
In these systems, an uninterruptible power supply (UPS) that supplies power to the disk device for a while when a power failure occurs due to some cause in the commercial power supply is provided. In this uninterruptible power supply, the occurrence of a power outage is detected and notified, and a battery built in the uninterruptible power supply supplies power to the disk device instead of commercial power.
Upon receiving the notification of the power failure, the disk device performs data backup that saves the data stored in the disk cache memory included in the disk device to a predetermined disk unit. Then, the data saved in the disk unit when the power is restored is taken out and written (stored) in the disk unit that should be stored.
FIG. 4 shows a configuration example of a conventional disk device 100. The disk device 100 includes a disk control device 200 and a drive enclosure 300.
The disk control device 200 includes controller units 210 and 220 that control the drive enclosure 300 (more specifically, the disk units 310 and 320). In general, the controller units 210 and 220 have a disk cache memory and are configured in two units in order to increase redundancy. Normally, two units are operated, and when a failure occurs in the controller unit, the controller unit in which the failure has occurred is separated and operated by one unit. Further, controller power supply units 230 and 240 for supplying power to the controller units 210 and 220 are incorporated. “# 0” and “# 1” in the figure are numbering for distinguishing the same type.
The drive enclosure 300 distributes signals from the m system disk units 310, the n user disk units 320, and the controller units 210 and 220 to the disk units, and selects signals from the disk units to select the controller unit 210. , 220 are configured by disk control units 330 and 340 for performing control to be sent to 220. The system disk unit 310 is a disk unit dedicated to the system, and the user cannot store data in the system disk unit 310. The user disk unit 320 is a disk unit opened to the user and stores user data. The disk control units 330 and 340 have two units for the same reason as the controller units 210 and 211. When one disk control unit fails in normal operation, one unit is operated by the remaining disk control units. It becomes. In addition, drive enclosure power supply units 350 and 360 are incorporated to supply power to the disk control units 330 and 340 and the motor that rotates the disk unit.
The disk device 100 configured as described above includes the uninterruptible power supply 400, which switches from the commercial power supply in the event of a power failure and supplies power to the disk control device 200 and the disk enclosure 300 from the battery included in the uninterruptible power supply 400. Then, the data backup described above is performed. In general, the disk device 100 is supplied with power from a commercial power supply via the breakers 110 and 120, and the uninterruptible power supply 400 is supplied with power for charging from the commercial power supply.
The disk device 100 is coupled to a host computer (not shown) through a channel, and takes data to be written to the disk device 100 into the disk cache memory via the channel. Then, the data taken into the disk cache memory is written into the disk unit. Since the time for writing data to the disk cache memory is faster than the time for writing to the disk unit, the disk cache memory is interposed between the host computer and the disk unit, so that writing (storage) to the disk device as seen from the host computer side is possible. The processing can be completed in a short time (when the disk cache memory acquires the write data, the host computer is notified of the completion of writing to the disk device, and at this point, the host computer is released from this processing. Thereafter, data is written from the disk cache memory to the disk unit as described above). The disk cache memory also temporarily stores data read from the disk unit and sends it to the host computer via the channel. This is because when there is a data read request from the host computer to the disk device, the disk cache memory is first examined, and if there is the requested data, there is no need to read from the disk unit. A method of processing a disk device against a power failure of a commercial power source has been proposed.

第1の提案は、停電を検出するとコンピュータが実行していたプログラムを停止してプログラムの情報を主記憶に格納し、主記憶の内容を不揮発性記憶装置に退避させ停電発生を示す表示子をセットしておく。停電回復時に表示子がセットされている場合に不揮発性記憶装置から記憶内容を主記憶部に回復し、プログラムに関する情報を処理部に設定して処理を再開するものである(特許文献1)。   In the first proposal, when a power failure is detected, the program executed by the computer is stopped, the program information is stored in the main memory, the contents of the main memory are saved in the nonvolatile storage device, and an indicator indicating the occurrence of the power failure is displayed. Set it. When the indicator is set at the time of recovery from a power failure, the stored contents are recovered from the nonvolatile storage device to the main storage unit, information on the program is set in the processing unit, and the process is resumed (Patent Document 1).

第2の提案は、停電時にバッテリの電圧チェックを行い、残電力量が退避に要する電力量以下となった時点でディスクキャッシュに記憶されていてディスク装置に書き込まれていないデータを不揮発性記憶手段に退避処理を行うものである(特許文献2)。
特開平07−21091号公報 特開平09−330277号公報
The second proposal is to check the voltage of the battery at the time of a power failure, and store the data stored in the disk cache and not written to the disk device when the remaining power amount becomes equal to or less than the power amount required for saving. (Patent Document 2).
Japanese Patent Application Laid-Open No. 07-21091 JP 09-330277 A

上記に述べたように近時のデータ処理量の増大は著しいものがあり、ディスク装置に記憶するデータ量も増大の一途をたどっている。このため、ディスク装置の増設あるいは大容量のディスク装置への置き換え等が実施されているが、これに伴って同時に設置される無停電電源装置のバッテリの電力容量も増大している。電力容量の増大は無停電電源装置の大型化を招いて設置スペースの確保が課題となっている。   As described above, there has been a remarkable increase in the amount of data processing in recent times, and the amount of data stored in the disk device is constantly increasing. For this reason, an expansion of a disk device or a replacement with a large-capacity disk device has been carried out, and accordingly, the power capacity of the battery of the uninterruptible power supply installed at the same time is also increasing. The increase in power capacity has led to an increase in the size of the uninterruptible power supply, and securing the installation space has become an issue.

前述した第1の提案は、停電発生時の情報の退避動作に最小限必要なハードウェアを処理部、主記憶部、不揮発性記憶装置のみに局所化できるためバッテリの小型化が図れるものである。しかし、第1の提案はディスクキャッシュのデータバックアップについて考慮したものではないので、ディスク装置に係わる電力消費を抑制するものではない。   The above-mentioned first proposal can reduce the battery size because the hardware necessary for the information saving operation in the event of a power failure can be localized only in the processing unit, main storage unit, and nonvolatile storage device. . However, the first proposal does not consider the data backup of the disk cache, and does not suppress the power consumption related to the disk device.

また、第2の提案は停電になった場合に直ちにデータバックアップを行わないので、短時間の停電で電源回復がなされた場合にデータバックアップを行わずに済むので小容量のバッテリでよい。しかし、データバックアップが行われる直前まではバッテリからは従来と同様の電力供給が必要であるものと考えられる。   In the second proposal, data backup is not performed immediately in the event of a power failure, so that it is not necessary to perform data backup when power is restored after a short power failure. However, it is considered that the same power supply as before is required from the battery until immediately before the data backup is performed.

本発明は、停電時にディスクキャッシュのデータのバックアップに不要なハードウェアに対して電源断を行い、消費電力を抑制することでバッテリの小容量化を図り、これに伴う小型化によって無停電電源装置の省スペース化を目論むものである。   The present invention cuts power to hardware unnecessary for backup of disk cache data at the time of a power failure, and reduces power consumption by reducing the battery capacity. It aims to save space.

本発明のディスク装置の停電処理方法およびディスク装置は以下のように構成される。
(1)第1の発明
第1の発明のディスク装置の停電処理方法は、ディスク装置がバッテリを内蔵し停電の検出を通知する無停電電源装置と、第1と第2とからなるディスクユニットと、そのディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、ディスクキャッシュメモリとドライブ制御ユニットに対するアクセス制御を行うコントローラユニットとで構成するディスク制御装置とを備え、ディスク制御装置は、無停電電源装置から停電の検出通知を受けて、第1のディスクユニットの回転を停止し、ディスクキャッシュメモリのデータを2のディスクユニットにバックアップする、ことを特徴とするものである。
The disk device power failure processing method and the disk device of the present invention are configured as follows.
(1) First invention A power failure processing method for a disk device according to a first invention comprises an uninterruptible power supply device in which a disk device has a built-in battery to notify the detection of a power failure, and a disk unit comprising first and second power units. A drive enclosure configured with a drive control unit that controls distribution of signals to the disk unit, and a disk control device configured with a disk cache memory and a controller unit that controls access to the drive control unit. The control device receives a power failure detection notification from the uninterruptible power supply, stops the rotation of the first disk unit, and backs up the data in the disk cache memory to the second disk unit. .

第1のディスクユニットとは、例えばユーザのデータを書き込めるユーザ用のディスクユニットであり、第2のディスクユニットとは、例えばシステム専用に設けたシステム用のディスクユニットである。
(2)第2の発明
第2の発明のディスク装置の停電処理方法は、第1の発明の停電処理方法におけるディスク制御装置がドライブ制御ユニットの第1のディスクユニットを制御する回路の出力を停止する、ことを特徴とするものである。
(3)第3の発明
第3の発明のディスク装置の停電処理方法は、第1と第2の発明の停電処理方法におけるディスク制御装置がドライブ制御ユニットとコントローラユニットとをそれぞれ二台の冗長構成で運用し、ディスク制御装置が無停電電源装置から停電の検知通知を受けて無停電電源装置のバッテリの残容量をチェックし、残容量の値が所定値以下の場合にドライブ制御ユニットとコントローラユニットの片側の電源供給を停止し、残りの片側のドライブ制御ユニットとコントローラユニットとでデータバックアップする、ことを特徴とするものである。
(4)第4の発明
第4の発明のディスク装置は、バッテリを内蔵し停電の検出を通知する無停電電源装置と、第1と第2とからなるディスクユニットと、そのディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、無停電電源装置から停電の検出通知を受けて、第1のディスクユニットの回転を停止し、内蔵するディスクキャッシュメモリのデータを第2のディスクユニットにバックアップするディスク制御装置と、を備えることを特徴とするものである。
(5)第5の発明
第5の発明のディスク装置は、第4の発明の停電処理方法におけるディスク制御装置がドライブ制御ユニットの第1のディスクユニットを制御する回路の出力を停止する、ことを特徴とするものである。
The first disk unit is a user disk unit that can write user data, for example, and the second disk unit is a system disk unit provided exclusively for the system, for example.
(2) Second invention The power failure processing method for the disk device according to the second invention is such that the disk control device in the power failure processing method according to the first invention stops the output of the circuit that controls the first disk unit of the drive control unit. It is characterized by that.
(3) Third invention A power failure processing method for a disk device according to a third invention is a redundant configuration in which the disk control device in the power failure processing method according to the first and second inventions has two drive control units and two controller units. The disk controller receives a power failure detection notification from the uninterruptible power supply and checks the remaining capacity of the uninterruptible power supply battery. If the remaining capacity is less than the specified value, the drive control unit and controller unit The power supply on one side is stopped, and data is backed up by the drive control unit and controller unit on the remaining one side.
(4) Fourth invention A disk device according to a fourth invention comprises an uninterruptible power supply device incorporating a battery and notifying the detection of a power failure, first and second disk units, and the disk unit. Upon receiving a power failure detection notification from the drive enclosure and the uninterruptible power supply that controls the signal distribution, the first disk unit stops rotating and the data in the built-in disk cache memory is And a disk control device for backing up to two disk units.
(5) Fifth Invention The disk device of the fifth invention is such that the disk control device in the power failure processing method of the fourth invention stops the output of the circuit that controls the first disk unit of the drive control unit. It is a feature.

上述のように本発明によれば、次に示す効果が得られる。   As described above, according to the present invention, the following effects can be obtained.

第1の発明により、データバックアップに必要としないディスクユニットの回転を停止することで省電力化が図れ、無停電電源装置が内蔵するバッテリの小型化ができる。このため、省スペース化が実現できる停電処理方法の提供が可能となる。   According to the first invention, power saving can be achieved by stopping the rotation of the disk unit that is not required for data backup, and the battery built in the uninterruptible power supply can be reduced in size. Therefore, it is possible to provide a power failure processing method that can realize space saving.

第2の発明により、データバックアップに必要としないディスクユニットの回転の停止に加えて、そのディスクユニットを制御する回路のドライブ制御ユニットの出力を停止するのでよりバッテリの省電力化が図れ、無停電電源装置の省スペース化が実現できる。   According to the second aspect of the invention, in addition to stopping the rotation of the disk unit that is not necessary for data backup, the output of the drive control unit of the circuit that controls the disk unit is stopped, so that the power consumption of the battery can be further reduced and the power can be cut off. Space saving of the power supply device can be realized.

第3の発明により、冗長構成したドライブエンクロージャのドライブ制御ユニットとディスク制御装置のコントローラユニットを片側運用するようにしたのでバッテリの省電力化が図れる。   According to the third aspect of the invention, the drive control unit of the redundantly configured drive enclosure and the controller unit of the disk control device are operated on one side, so that it is possible to save battery power.

第4の発明により、第1の発明と同様の効果を奏するディスク装置の提供ができる。   According to the fourth invention, it is possible to provide a disk device having the same effects as those of the first invention.

第5の発明により、第2の発明と同様の効果を奏するディスク装置の提供ができる。   According to the fifth aspect of the invention, it is possible to provide a disk device that has the same effect as the second aspect of the invention.

図1に本発明による停電時のディスク装置101の例を示す。図1は図4に示したディスク装置の構成例に対応させ、停電時にデータバックアップに不必要なハードウェアを電源断とした時の状態(外形を点線で示したものがバッテリによる電力供給を行わないハードウェア)を示している。即ち、ドライブエンクロージャ300のn本のユーザディスク320と冗長構成した片側のドライブ制御ユニット340、ディスク制御装置200のやはり冗長構成した片側のコントローラユニット220は点線で示されている。ユーザディスク320は、例えばコントローラユニット210の制御部からの回転停止コマンド(スピンダウンコマンド)により回転の停止が行われる。これによってn本のディスクユニットを回転駆動するモーターに電力供給を行う必要がなくなり、その分の省電力化が図れる。ドライブ制御ユニット340は冗長構成によって通常はドライブ制御ユニット330と共に作動しているが、停電時ではドライブ制御ユニット330のみを動かし、ドライブ制御ユニット340は停止させる。これにより、1台分のドライブ制御ユニットに要する電力の省電力化が図れる。また、コントローラユニット220もドライブ制御ユニットと同様に冗長構成によって通常はコントローラユニット210と共に作動しているが、コントローラユニット220は停止させることにより、1台分のコントローラユニットの電力供給でよく、その分の省電力化が図れる。   FIG. 1 shows an example of a disk device 101 during a power failure according to the present invention. FIG. 1 corresponds to the configuration example of the disk device shown in FIG. 4 and shows a state in which hardware unnecessary for data backup is turned off in the event of a power failure (the one indicated by a dotted line is powered by a battery) Shows no hardware). That is, the one side drive control unit 340 configured redundantly with the n user disks 320 of the drive enclosure 300 and the one side controller unit 220 configured redundantly of the disk control device 200 are indicated by dotted lines. The rotation of the user disk 320 is stopped by a rotation stop command (spin down command) from the controller of the controller unit 210, for example. As a result, it is not necessary to supply power to the motor that rotationally drives n disk units, and power saving can be achieved. The drive control unit 340 normally operates together with the drive control unit 330 in a redundant configuration. However, at the time of a power failure, only the drive control unit 330 is moved and the drive control unit 340 is stopped. As a result, it is possible to save power required for one drive control unit. Similarly to the drive control unit, the controller unit 220 normally operates together with the controller unit 210 in a redundant configuration. However, the controller unit 220 can be stopped to supply power to one controller unit. Power saving.

図1では図示していないが、ドライブ制御ユニット330の中のユーザディスク320を制御する部分の回路もオフとしている。この部分の省電力化を図ることができる。   Although not shown in FIG. 1, the circuit of the part that controls the user disk 320 in the drive control unit 330 is also turned off. It is possible to save power in this portion.

図1では、データバックアップに不要なハードウェアの電源や機能を停止させた例を示したが、次に図2と図3を用いて本発明をより詳細に説明する。図2は図1とは同一の構成で、本発明の主体となるディスク制御装置200のコントローラユニット210をより詳細に示したものである。コントローラユニット210は、CPU211、キャッシュメモリ212、入出力制御部213、チャンネルアダプタ214およびデバイスアダプタ215から構成する(ここでは、本発明に関連するハードウェアのみを示している。また、コントローラユニット220はコントローラユニット210と同一のものである)。   Although FIG. 1 shows an example in which hardware power and functions unnecessary for data backup are stopped, the present invention will be described in more detail with reference to FIGS. FIG. 2 shows the controller unit 210 of the disk controller 200 that is the main component of the present invention in more detail in the same configuration as FIG. The controller unit 210 includes a CPU 211, a cache memory 212, an input / output control unit 213, a channel adapter 214, and a device adapter 215 (here, only hardware related to the present invention is shown. The controller unit 220 is also shown. It is the same as the controller unit 210).

CPU211は、ディスク制御装置全体の制御を司るもので、例えば無停電電源装置410から停電の通知を取得してスピンダウンコマンドをドライブエンクロージャ300に発行したり、データバックアップを行ったりする。   The CPU 211 controls the entire disk control device. For example, the CPU 211 obtains a power failure notification from the uninterruptible power supply 410 and issues a spin-down command to the drive enclosure 300 or performs data backup.

キャッシュメモリ212は、前述したディスクキャッシュメモリのことで、ホストコンピュータ500から書込み要求があって送られてきたデータはこのキャッシュメモリ212で一旦記憶する。その後、キャッシュメモリ212に記憶したデータをディスクユニットに書き込む。   The cache memory 212 is the disk cache memory described above, and data sent in response to a write request from the host computer 500 is temporarily stored in the cache memory 212. Thereafter, the data stored in the cache memory 212 is written into the disk unit.

入出力制御部213は無停電電源装置410と接続し、無停電電源装置410から停電検出の通知を受け取る。また、CPU211の指令に基づいて無停電電源装置410にバッテリの電圧を計測する要求を行い、その結果を取得する。   The input / output control unit 213 is connected to the uninterruptible power supply 410 and receives a power failure detection notification from the uninterruptible power supply 410. Further, the CPU 211 requests the uninterruptible power supply 410 to measure the battery voltage, and acquires the result.

チャンネルアダプタ214は、ディスク装置101の上位装置であるホストコンピュータ500とインターフェースし、書込み、あるいは読出しデータの送受信を行う。   The channel adapter 214 interfaces with the host computer 500, which is a host device of the disk device 101, and transmits / receives write / read data.

デバイスアダプタ215は、ディスク装置101の下位装置であるドライブエンクロージャ300とインターフェースし、キャッシュメモリ212から書込みデータ、あるいはキャッシュメモリ212への読出しデータの送受信を行う。   The device adapter 215 interfaces with the drive enclosure 300, which is a lower device of the disk device 101, and transmits / receives write data from the cache memory 212 or read data to the cache memory 212.

なお、無停電電源装置410はバッテリを内蔵し、停電を検出するとコントローラユニット210、220に通知し、コントローラユニット210、220の要求に基づいてバッテリ電圧を計測し、その結果を通知する。また、停電時のバッテリからの電力供給は図に示すようにディスク制御装置200のコントローラユニット210、ドライブエンクロージャ300のシステムディスク310とドライブ制御ユニット330に行う。   The uninterruptible power supply 410 has a built-in battery and notifies the controller units 210 and 220 when a power failure is detected, measures the battery voltage based on the request of the controller units 210 and 220, and notifies the result. In addition, as shown in the figure, power is supplied from the battery during a power failure to the controller unit 210 of the disk control device 200, the system disk 310 of the drive enclosure 300, and the drive control unit 330.

次に、コントローラユニット210の停電時の処理フローを図3を用いて説明する。まず、コントローラユニット210は無停電電源装置410から停電を検出した旨の通知を受取ると、ドライブエンクロージャ300に対し、ユーザディスクユニットの回転停止を求めるスピンダウンコマンドを発行する。ドライブエンクロージャ300はここではm本のシステムディスクユニットとn本のユーザディスクユニットを搭載しており、スピンダウンコマンドによりこのn本のユーザディスクユニットの回転駆動を行っているモーターが停止する(S100、S110)。   Next, the processing flow at the time of a power failure of the controller unit 210 will be described with reference to FIG. First, when the controller unit 210 receives notification from the uninterruptible power supply 410 that a power failure has been detected, the controller unit 210 issues a spin-down command for requesting the user disk unit to stop rotating, to the drive enclosure 300. Here, the drive enclosure 300 is equipped with m system disk units and n user disk units, and the motor that rotationally drives the n user disk units is stopped by a spin-down command (S100, S110).

続いて、ドライブエンクロージャ300のドライブ制御ユニット330、340に対して、ドライブ制御ユニット330、340の回路中のユーザディスクユニットを制御するn個の部分回路をオフにする。具体的には例えば制御回路の出力部にスイッチ回路を構成しておき、指令に基づいて該当するディスクユニットの回路に対してこのスイッチが働いて出力オフとなるプログラムをファームウェアに記憶し、このファームウェアをドライブ制御ユニット330、340に搭載しておくことで実現できる(S120)。   Subsequently, for the drive control units 330 and 340 of the drive enclosure 300, n partial circuits that control the user disk units in the circuits of the drive control units 330 and 340 are turned off. Specifically, for example, a switch circuit is configured in the output section of the control circuit, and a program that turns off the output when this switch operates on the corresponding disk unit circuit based on the command is stored in the firmware. Can be realized by mounting them in the drive control units 330 and 340 (S120).

次に、無停電電源装置410に対して無停電電源装置410が内蔵するバッテリの電圧を計測する指示を出し、その計測結果を取得する。無停電電源装置410はコントローラユニット210の要求でバッテリ電圧を計測し、その結果を通知する。コントローラユニット210は取得したバッテリ電圧が閾値として定めた所定の値以下かどうかを調べ、所定の値を越えていれば、バッテリは残電力容量が充分あると判断してディスクキャッシュメモリに記憶しているデータをシステムディスクユニット310にデータバックアップする。取得したバッテリ電圧が所定の値以下であった場合は、コントローラユニット220とディスク制御ユニット340の電源をオフとし、その後データバックアップを開始する(S130−S160)。   Next, an instruction to measure the voltage of the battery built in the uninterruptible power supply 410 is issued to the uninterruptible power supply 410, and the measurement result is acquired. The uninterruptible power supply 410 measures the battery voltage at the request of the controller unit 210 and notifies the result. The controller unit 210 checks whether or not the acquired battery voltage is less than or equal to a predetermined value set as a threshold value. If the battery voltage exceeds the predetermined value, the controller unit 210 determines that the battery has sufficient remaining power capacity and stores it in the disk cache memory. Data is backed up to the system disk unit 310. If the acquired battery voltage is equal to or lower than the predetermined value, the controller unit 220 and the disk control unit 340 are turned off, and then data backup is started (S130-S160).

上記により、停電が発生するとデータバックアップに不要なハードウェアへの電力供給を断って必要最小限度のハードウェアでデータバックアップを行うようにすることができるので、無停電電源装置410のバッテリは小容量のもので済むことになる。このため、バッテリを小型化でき、無停電電源装置410の設置スペースも抑制することができる。   According to the above, when a power failure occurs, power supply to hardware unnecessary for data backup can be cut off and data backup can be performed with the minimum amount of hardware, so the battery of the uninterruptible power supply 410 has a small capacity Will be enough. For this reason, a battery can be reduced in size and the installation space of the uninterruptible power supply 410 can also be suppressed.

上の実施例に関し、さらに以下の付記を開示する。
(付記1)
バッテリを内蔵し停電の検出を通知する無停電電源装置と、
第1と第2とからなるディスクユニットと、該ディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、
ディスクキャッシュメモリと、前記ドライブ制御ユニットに対してアクセス制御を行うコントローラユニットとで構成するディスク制御装置とを備えるディスク装置の停電処理方法であって、
前記ディスク制御装置は、前記無停電電源装置から停電の検出通知を受けて、前記第1のディスクユニットの回転を停止し、前記ディスクキャッシュメモリのデータを前記第2のディスクユニットにバックアップする
ことを特徴とするディスク装置の停電処理方法。
(付記2)
前記ディスク制御装置は、前記ドライブ制御ユニットの前記第1のディスクユニットを制御する回路の出力を停止する
ことを特徴とする付記1に記載のディスク装置の停電処理方法。
(付記3)
前記ディスク装置は、前記ドライブ制御ユニットと前記コントローラユニットとをそれぞれ二台の冗長構成で運用し、
前記ディスク制御装置は、前記無停電電源装置から停電の検知通知を受けて前記無停電電源装置のバッテリの残容量をチェックし、該残容量の値が所定値以下の場合に前記ドライブ制御ユニットと前記コントローラユニットの片側の電源供給を停止し、残りの片側の該ドライブ制御ユニットと該コントローラユニットとでデータバックアップする
ことを特徴とする付記1または付記2に記載のディスク装置の停電処理方法。
(付記4)
バッテリを内蔵し停電の検出を通知する無停電電源装置と、
第1と第2とからなるディスクユニットと、該ディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、
前記無停電電源装置から停電の検出通知を受けて、前記第1のディスクユニットの回転を停止し、内蔵するディスクキャッシュメモリのデータを前記第2のディスクユニットにバックアップするディスク制御装置と
を備えることを特徴とするディスク装置。
(付記5)
前記ディスク制御装置は、前記ドライブ制御ユニットの前記第1のディスクユニットを制御する回路の出力を停止する
ことを特徴とする付記4に記載のディスク装置。
(付記6)
前記第1のディスクユニットはユーザのデータ書込みに開放されたディスクユニットであり、前記第2のディスクユニットはシステム用のディスクユニットである
ことを特徴とする付記1乃至付記3に記載のディスク装置の停電処理方法。
(付記7)
前記バッテリの残容量は、前記無停電電源装置が内蔵するバッテリの電圧値に基づいて求められるものである
ことを特徴とする付記3に記載のディスク装置の停電処理方法。
In addition to the above example, the following additional notes are disclosed.
(Appendix 1)
An uninterruptible power supply with built-in battery and notification of power failure detection;
A drive enclosure composed of a first and second disk unit and a drive control unit for controlling signal distribution to the disk unit;
A power failure processing method for a disk device comprising a disk cache memory and a disk control device comprising a controller unit for controlling access to the drive control unit,
The disk control device receives a power failure detection notification from the uninterruptible power supply, stops the rotation of the first disk unit, and backs up the data in the disk cache memory to the second disk unit. A power failure processing method for a disk device.
(Appendix 2)
2. The disk device power failure processing method according to claim 1, wherein the disk control device stops output of a circuit that controls the first disk unit of the drive control unit.
(Appendix 3)
The disk device operates the drive control unit and the controller unit in two redundant configurations, respectively.
The disk controller receives a power failure detection notification from the uninterruptible power supply and checks the remaining capacity of the battery of the uninterruptible power supply, and when the value of the remaining capacity is equal to or less than a predetermined value, 3. The power failure processing method for a disk device according to appendix 1 or appendix 2, wherein power supply to one side of the controller unit is stopped and data backup is performed with the drive control unit and the controller unit on the remaining one side.
(Appendix 4)
An uninterruptible power supply with built-in battery and notification of power failure detection;
A drive enclosure composed of a first and second disk unit and a drive control unit for controlling signal distribution to the disk unit;
A disk control device that receives a power failure detection notification from the uninterruptible power supply, stops the rotation of the first disk unit, and backs up the data of the built-in disk cache memory to the second disk unit. A disk device characterized by the above.
(Appendix 5)
The disk device according to appendix 4, wherein the disk control device stops the output of a circuit that controls the first disk unit of the drive control unit.
(Appendix 6)
4. The disk device according to any one of appendices 1 to 3, wherein the first disk unit is a disk unit that is open for user data writing, and the second disk unit is a system disk unit. Power failure processing method.
(Appendix 7)
4. The disk device power failure processing method according to appendix 3, wherein the remaining capacity of the battery is obtained based on a voltage value of a battery built in the uninterruptible power supply.

本発明による停電時のディスク装置例である。It is an example of the disk apparatus at the time of the power failure by this invention. コントローラユニットの構成と他のハードウェアの接続例である。It is a connection example of the configuration of the controller unit and other hardware. コントローラユニットの停電処理フローである。It is a power failure processing flow of the controller unit. 従来のディスク装置の構成例である。2 is a configuration example of a conventional disk device.

符号の説明Explanation of symbols

100 ディスク装置
101 ディスク装置
110 電源ブレーカ
120 電源ブレーカ
200 ディスク制御装置
210 コントローラユニット
211 CPU
212 キャッシュメモリ
213 入出力制御部
214 チャンネルアダプタ
215 デバイスアダプタ
220 コントローラユニット
230 コントローラ用電源ユニット
240 コントローラ用電源ユニット
300 ドライブエンクロージャ
310 システムディスク
320 ユーザディスク
330 ドライブ制御ユニット
340 ドライブ制御ユニット
350 ドライブエンクロージャ用電源ユニット
360 ドライブエンクロージャ用電源ユニット
400 無停電電源装置
410 無停電電源装置
500 ホストコンピュータ
100 Disk Device 101 Disk Device 110 Power Breaker 120 Power Breaker 200 Disk Controller 210 Controller Unit 211 CPU
212 Cache Memory 213 Input / Output Control Unit 214 Channel Adapter 215 Device Adapter 220 Controller Unit 230 Controller Power Supply Unit 240 Controller Power Supply Unit 300 Drive Enclosure 310 System Disk 320 User Disk 330 Drive Control Unit 340 Drive Control Unit 350 Drive Enclosure Power Supply Unit 360 Power supply unit for drive enclosure 400 Uninterruptible power supply 410 Uninterruptible power supply 500 Host computer

Claims (5)

バッテリを内蔵し停電の検出を通知する無停電電源装置と、
第1と第2とからなるディスクユニットと、該ディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、
ディスクキャッシュメモリと、前記ドライブ制御ユニットに対してアクセス制御を行うコントローラユニットとで構成するディスク制御装置とを備えるディスク装置の停電処理方法であって、
前記ディスク制御装置は、前記無停電電源装置から停電の検出通知を受けて、前記第1のディスクユニットの回転を停止し、前記ディスクキャッシュメモリのデータを前記第2のディスクユニットにバックアップする
ことを特徴とするディスク装置の停電処理方法。
An uninterruptible power supply with built-in battery and notification of power failure detection;
A drive enclosure composed of a first and second disk unit and a drive control unit for controlling signal distribution to the disk unit;
A power failure processing method for a disk device comprising a disk cache memory and a disk control device comprising a controller unit for controlling access to the drive control unit,
The disk control device receives a power failure detection notification from the uninterruptible power supply, stops the rotation of the first disk unit, and backs up the data in the disk cache memory to the second disk unit. A power failure processing method for a disk device.
前記ディスク制御装置は、前記ドライブ制御ユニットの前記第1のディスクユニットを制御する回路の出力を停止する
ことを特徴とする請求項1に記載のディスク装置の停電処理方法。
2. The power failure processing method for a disk device according to claim 1, wherein the disk control device stops output of a circuit that controls the first disk unit of the drive control unit. 3.
前記ディスク装置は、前記ドライブ制御ユニットと前記コントローラユニットとをそれぞれ二台の冗長構成で運用し、
前記ディスク制御装置は、前記無停電電源装置から停電の検知通知を受けて前記無停電電源装置のバッテリの残容量をチェックし、該残容量の値が所定値以下の場合に前記ドライブ制御ユニットと前記コントローラユニットの片側の電源供給を停止し、残りの片側の該ドライブ制御ユニットと該コントローラユニットとでデータバックアップする
ことを特徴とする請求項1または請求項2に記載のディスク装置の停電処理方法。
The disk device operates the drive control unit and the controller unit in two redundant configurations, respectively.
The disk controller receives a power failure detection notification from the uninterruptible power supply and checks the remaining capacity of the battery of the uninterruptible power supply, and when the value of the remaining capacity is equal to or less than a predetermined value, 3. The power failure processing method for a disk device according to claim 1, wherein power supply to one side of the controller unit is stopped, and data backup is performed by the drive control unit and the controller unit on the other side. 4. .
バッテリを内蔵し停電の検出を通知する無停電電源装置と、
第1と第2とからなるディスクユニットと、該ディスクユニットに対して信号の分配を制御するドライブ制御ユニットとで構成するドライブエンクロージャと、
前記無停電電源装置から停電の検出通知を受けて、前記第1のディスクユニットの回転を停止し、内蔵するディスクキャッシュメモリのデータを前記第2のディスクユニットにバックアップするディスク制御装置と
を備えることを特徴とするディスク装置。
An uninterruptible power supply with built-in battery and notification of power failure detection;
A drive enclosure composed of a first and second disk unit and a drive control unit for controlling signal distribution to the disk unit;
A disk control device that receives a power failure detection notification from the uninterruptible power supply, stops the rotation of the first disk unit, and backs up data in the built-in disk cache memory to the second disk unit. A disk device characterized by the above.
前記ディスク制御装置は、前記ドライブ制御ユニットの前記第1のディスクユニットを制御する回路の出力を停止する
ことを特徴とする請求項4に記載のディスク装置。
The disk device according to claim 4, wherein the disk control device stops output of a circuit that controls the first disk unit of the drive control unit.
JP2007165387A 2007-06-22 2007-06-22 Power failure handling method for disk device, and disk device Withdrawn JP2009003789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007165387A JP2009003789A (en) 2007-06-22 2007-06-22 Power failure handling method for disk device, and disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007165387A JP2009003789A (en) 2007-06-22 2007-06-22 Power failure handling method for disk device, and disk device

Publications (1)

Publication Number Publication Date
JP2009003789A true JP2009003789A (en) 2009-01-08

Family

ID=40320093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007165387A Withdrawn JP2009003789A (en) 2007-06-22 2007-06-22 Power failure handling method for disk device, and disk device

Country Status (1)

Country Link
JP (1) JP2009003789A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011103503A (en) * 2009-11-10 2011-05-26 Chugoku Electric Power Co Inc:The Power supply load control system using earthquake early warning
WO2014192113A1 (en) * 2013-05-30 2014-12-04 株式会社日立製作所 Storage system and data backup method
JP2014238746A (en) * 2013-06-10 2014-12-18 日本電気株式会社 Data integrity processing apparatus, raid controller, data integrity processing system, data integrity processing method, and program therefor
US9471446B2 (en) 2013-10-11 2016-10-18 Fujitsu Limited System and method for saving data stored in a cache memory as an invisible file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011103503A (en) * 2009-11-10 2011-05-26 Chugoku Electric Power Co Inc:The Power supply load control system using earthquake early warning
WO2014192113A1 (en) * 2013-05-30 2014-12-04 株式会社日立製作所 Storage system and data backup method
US9201601B2 (en) 2013-05-30 2015-12-01 Hitachi, Ltd. Reducing required battery capacity for data backup in a storage system with multiple controllers
JP5963228B2 (en) * 2013-05-30 2016-08-03 株式会社日立製作所 Storage system and data backup method
JP2014238746A (en) * 2013-06-10 2014-12-18 日本電気株式会社 Data integrity processing apparatus, raid controller, data integrity processing system, data integrity processing method, and program therefor
US9471446B2 (en) 2013-10-11 2016-10-18 Fujitsu Limited System and method for saving data stored in a cache memory as an invisible file

Similar Documents

Publication Publication Date Title
US9632935B2 (en) Systems and methods for non-volatile cache control
JP4450609B2 (en) Storage device
US8650419B2 (en) Storage apparatus and its control method
EP0945778B1 (en) Low power CD-ROM player for portable computers
JP4041473B2 (en) Autonomous power loss recovery for multi-cluster storage subsystems
US20030217300A1 (en) Method for backing up power supply of disk array device and system thereof
US10809788B2 (en) Electronic system, information processing device, and control method
JP2008225916A (en) Power reduction device in data backup
US20100115310A1 (en) Disk array apparatus
JP5141278B2 (en) Disk array system, disk array control method, and disk array control program
JP2009003789A (en) Power failure handling method for disk device, and disk device
CN115273922A (en) Abnormal power-down protection device for domestic double-control disk array
JP2000357059A (en) Disk array device
US7320093B2 (en) Storage apparatus
US7260680B2 (en) Storage apparatus having microprocessor redundancy for recovery from soft errors
US10474221B2 (en) Power control in a storage subsystem
US10528275B2 (en) Storage system, storage control device, and method of controlling a storage system
JP4219610B2 (en) Disk subsystem device
JP2010204885A (en) Disk array device and method for controlling the same
US20100030989A1 (en) Storage management method and storage control apparatus
JP2004118644A (en) Disk array control system
JP2003309936A (en) Power source system
JP2002358169A (en) Semiconductor disk device
JP2003208358A (en) Information processing apparatus
JP4098400B2 (en) Semiconductor disk device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100907