JP2008217202A - Disk array device and firmware update method - Google Patents
Disk array device and firmware update method Download PDFInfo
- Publication number
- JP2008217202A JP2008217202A JP2007051168A JP2007051168A JP2008217202A JP 2008217202 A JP2008217202 A JP 2008217202A JP 2007051168 A JP2007051168 A JP 2007051168A JP 2007051168 A JP2007051168 A JP 2007051168A JP 2008217202 A JP2008217202 A JP 2008217202A
- Authority
- JP
- Japan
- Prior art keywords
- hard disk
- updated
- firmware
- data
- sector
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000011084 recovery Methods 0.000 claims description 30
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
Images
Abstract
Description
本発明は、ディスクアレイ装置に関し、特に、RAIDシステムの構築されるディスクアレイ装置と、そのファームウェアを更新する方法に関する。 The present invention relates to a disk array device, and more particularly to a disk array device in which a RAID system is constructed and a method for updating the firmware.
複数台のハードディスクにデータを分散させて記憶させるディスクアレイ装置が知られている。このようなディスクアレイ装置として、RAIDコントローラにより、RAIDシステムを構築して、複数台のハードディスクを管理するものが挙げられる。 There is known a disk array device in which data is distributed and stored in a plurality of hard disks. An example of such a disk array device is one that manages a plurality of hard disks by constructing a RAID system with a RAID controller.
複数のハードディスクの各々には、通常、ハードディスクの各種動作を制御する為のファームウェアが記憶されている。このファームウェアは、複数のハードディスク間の性能を均質化したり、性能をより良くするなどの目的により、更新されることがある。 Each of the plurality of hard disks normally stores firmware for controlling various operations of the hard disk. This firmware may be updated for the purpose of homogenizing performance among a plurality of hard disks or improving performance.
このようなファームウェアの更新は、ネットワーク経由で行われることがある。この場合、ディスクアレイ装置にインストールされたファームウェア更新用のプログラム(以下、管理エージェントと記載する)により行われる。この場合の動作について説明する。管理エージェントが、ネットワークを介して、最新バージョンのファームウェアを提供するコンピュータ(以下、管理PCと記載する)にアクセスする。管理エージェントは、管理PCから、最新ファームウェアのバージョン情報を取得し、ディスクアレイ装置内のハードディスクのファームウェアのバージョンと比較する。ハードディスクのファームウェアバージョンが古かった場合、管理PCから最新ファームウェアをダウンロードする。ダウンロード後に、ディスクアレイ装置内のハードディスクのファームウェアを更新する。更新中には、全てのハードディスクに対する書き込み、読み込み処理は中断される。また、ネットワークを介した通信も中断され、ローカルに、ファームウェアの更新が行われる。ファームウェアの更新中は、ディスクアレイ装置に対して、データの書き込み、読み込みを行うことができないので、ユーザにとっては不便であった。 Such firmware update may be performed via a network. In this case, it is performed by a firmware update program (hereinafter referred to as a management agent) installed in the disk array device. The operation in this case will be described. A management agent accesses a computer (hereinafter referred to as a management PC) that provides the latest version of firmware via a network. The management agent acquires the latest firmware version information from the management PC and compares it with the firmware version of the hard disk in the disk array device. If the firmware version of the hard disk is old, the latest firmware is downloaded from the management PC. After downloading, the firmware of the hard disk in the disk array device is updated. During the update, the writing and reading processes for all hard disks are interrupted. In addition, communication via the network is interrupted, and the firmware is updated locally. During the firmware update, data cannot be written to or read from the disk array device, which is inconvenient for the user.
尚、特許文献1には、ネットワーク経由で、ディスクアレイ装置内のファームウェアやドライバをアップデートする方法に関する記載がある。 Patent Document 1 describes a method for updating firmware and drivers in a disk array device via a network.
また、特許文献2は、ディスクアレイ装置の処理を中断させることなくファームウェアを更新できる様にする技術を開示している。この特許文献2に記載された更新方法では、ファームウェアを更新するにあたり、まず更新対象となるハードディスクAに記録されているデータを、他のハードディスクBに複写する。次に、複写が終了すると、ハードディスクAに対するI/O処理を中止し、ハードディスクAに対するI/O処理をハードディスクBに代行させる。更に、代行モード中に、I/O処理に起因して生じたデータの変更履歴の記憶管理を開始する。そして、ハードディスクAのファームウェアを更新する。ハードディスクAの更新が終了すると、データ変更履歴、及びハードディスクA又はBに記録されているデータに基いて、ハードディスクAの内容を最新の更新状態にセットアップする。更に、ハードディスクBに代行させていたハードディスクAに対するI/O処理を、ハードディスクAが直接行うように戻して、処理を終了する。
Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique that enables firmware to be updated without interrupting the processing of the disk array device. In the update method described in
特許文献2の技術を用いれば、ディスクアレイ装置の処理を中断させること無くファームウェアの更新を行うことができる。しかしながら、(1)更新対象のハードディスクのデータを別のハードディスクにコピーする、(2)更新対象のハードディスクのデータを最新の更新状態にセットアップするにあたり、代行させていたハードディスクの内容と比較する、などの処理が必要であり、ファームウェアの更新中は、処理速度が遅くなってしまうことが予想される。
If the technique of
従って、本発明の目的は、処理速度を落とすことなく、ハードディスクのファームウェアを更新することのできるディスクアレイ装置、及びファームウェアの更新方法を提供することにある。 Accordingly, it is an object of the present invention to provide a disk array device and a firmware update method that can update hard disk firmware without reducing the processing speed.
以下に、[発明を実施するための最良の形態]で使用される番号・符号を用いて、[課題を解決するための手段]を説明する。これらの番号・符号は、[特許請求の範囲]の記載と[発明を実施するための最良の形態]との対応関係を明らかにするために括弧付きで付加されたものである。ただし、それらの番号・符号を、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。 [Means for Solving the Problems] will be described below using the numbers and symbols used in [Best Mode for Carrying Out the Invention]. These numbers and symbols are added in parentheses in order to clarify the correspondence between the description of [Claims] and [Best Mode for Carrying Out the Invention]. However, these numbers and symbols should not be used for the interpretation of the technical scope of the invention described in [Claims].
本発明にかかるディスクアレイ装置(100)は、複数のハードディスク(31〜35)を冗長性を有するRAIDシステムを構築して論理的に制御するRAIDコントローラ(14)と、RAIDコントローラ(14)にアクセス可能に接続され、複数のハードディスク(31〜35)のうちの被更新ハードディスク(31)に対して、ファームウェアの更新を行う管理エージェント(61)と、を具備する。管理エージェント(61)は、被更新ハードディスク(31)のファームウェアを更新するに際し、被更新ハードディスク(31)をRAIDシステムから論理的に切り離してファームウェアの更新を行う。管理エージェント(61)は、被更新ハードディスク(31)の切り離し中にRAIDシステムに対して書き込みが行われる場合、RAIDシステム上における、書き込みの行われる論理アドレスを記憶する。管理エージェント(61)は、更新終了後に、RAIDコントローラ(14)にアクセスして、被更新ハードディスク(31)のうち、記憶した論理アドレスに対応するセクタのデータを復元し、被更新ハードディスク(31)をRAIDシステムに復帰させる。 A disk array device (100) according to the present invention accesses a RAID controller (14) that logically controls a plurality of hard disks (31 to 35) by constructing a RAID system having redundancy, and accesses the RAID controller (14). A management agent (61) which is connected in a possible manner and updates the firmware of the updated hard disk (31) among the plurality of hard disks (31 to 35). When updating the firmware of the updated hard disk (31), the management agent (61) logically separates the updated hard disk (31) from the RAID system and updates the firmware. The management agent (61) stores a logical address to be written on the RAID system when writing to the RAID system is performed while the updated hard disk (31) is disconnected. After the update is completed, the management agent (61) accesses the RAID controller (14), restores the data of the sector corresponding to the stored logical address in the updated hard disk (31), and updates the updated hard disk (31). Is restored to the RAID system.
上述の構成に依れば、更新対象のハードディスク(31)のみがRAIDシステムから切り離されるので、更新中にもRAIDシステムに対する書き込み、読み込み処理を行うことができる。更新中にRAIDシステムへの書き込みがあった場合、書き込みの行われる論理アドレスが記憶される。更新終了後に、被更新ハードディスク(31)のセクタのうち、記憶しておいた論理アドレスに対応する部分のセクタのデータのみが復元される。この際、被更新ハードディスクに記録されているデータを全て復元する必要は無いので、データの復元に要する処理を最小限に抑えることができる。従って、処理速度を落とすことなく、ハードディスクのファームウェアを更新することができる。 According to the above-described configuration, only the hard disk (31) to be updated is disconnected from the RAID system, so that writing and reading processing to the RAID system can be performed even during the update. If there is a write to the RAID system during the update, the logical address to be written is stored. After the update is completed, only the sector data corresponding to the stored logical address among the sectors of the updated hard disk (31) is restored. At this time, since it is not necessary to restore all the data recorded on the hard disk to be updated, the processing required for restoring the data can be minimized. Therefore, it is possible to update the hard disk firmware without reducing the processing speed.
上記のディスクアレイ装置(100)において、RAIDコントローラ(14)は、被更新ハードディスク(31)の切り離し中にRAIDシステムに対して書き込みが行われる場合に、書き込みの行われるセクタのセクタ情報に復旧フラグを書き込ませることが好ましい。この時、被更新ハードディスク(31)のデータを復元するにあたっては、復旧フラグの書き込まれたセクタのデータに基いて、復旧フラグの書き込まれていないセクタのデータを生成することで、被更新ハードディスクのデータを復元する。 In the disk array device (100), when the RAID controller (14) writes to the RAID system while the update hard disk (31) is disconnected, the recovery flag is added to the sector information of the sector to be written. Is preferably written. At this time, when restoring the data of the updated hard disk (31), the data of the sector to which the recovery flag is not written is generated based on the data of the sector to which the recovery flag is written. Restore data.
上記のディスクアレイ装置(100)において、RAIDコントローラ(14)は、パリティを有するRAIDシステムを構築して複数のハードディスク(31〜35)の動作を制御することが好ましい。 In the disk array device (100) described above, the RAID controller (14) preferably controls the operation of the plurality of hard disks (31 to 35) by constructing a RAID system having parity.
本発明にかかるファームウェア更新方法は、RAIDシステムのハードディスクのファームウェアを更新するファームウェア更新方法である。このファームウェア更新方法は、ファームウェアの更新を行う被更新ハードディスクを、RAIDシステムから切り離すステップ(ステップS40)と、切り離した被更新ハードディスクのファームウェアを更新するファームウェア更新ステップ(ステップS50)と、更新中に書き込みの行われたRAIDシステム上の論理アドレスを記憶するステップ(ステップS52)と、ファームウェア更新ステップ(S50)の終了後に、被更新ハードディスクを再起動するステップ(ステップS70)と、被更新ハードディスクのうち、記憶した論理アドレスに対応する部分のデータを復元する復元ステップ(ステップS90)と、データの復元された被更新ハードディスクを、RAIDシステムに復帰させるステップ(ステップS100)と、を具備する。 The firmware update method according to the present invention is a firmware update method for updating hard disk firmware of a RAID system. This firmware update method includes a step of disconnecting an updated hard disk to be updated from the RAID system (step S40), a firmware update step of updating the firmware of the disconnected updated hard disk (step S50), and writing during the update. The step of storing the logical address on the RAID system (step S52), the step of rebooting the hard disk to be updated after the firmware update step (S50) (step S70), A restoration step (step S90) for restoring the portion of data corresponding to the stored logical address, a step of returning the updated hard disk with the restored data to the RAID system (step S100), Comprising.
上記のファームウェア更新方法は、更に、更新中に書き込みを行われたセクタのセクタ情報に、復旧フラグを書き込むステップ(ステップS51)、を具備することが好ましい。このとき、復元ステップ(ステップS90)において、復旧フラグの書き込まれたセクタのデータに基いて、復旧フラグの書き込まれていないセクタのデータを復元することで、被更新ハードディスクのデータを復元する。 The firmware update method preferably further includes a step (step S51) of writing a recovery flag in the sector information of the sector that was written during the update. At this time, in the restoration step (step S90), the data of the updated hard disk is restored by restoring the data of the sector where the recovery flag is not written based on the data of the sector where the recovery flag is written.
本発明に依れば、処理速度を落とすことなく、ハードディスクのファームウェアを更新するこのとのできるディスクアレイ装置、及びファームウェアの更新方法が提供される。 According to the present invention, there is provided a disk array apparatus and a firmware updating method capable of updating the hard disk firmware without reducing the processing speed.
図面を参照しつつ、本発明の実施形態について説明する。図1は、本実施形態に係るディスクアレイ装置11を含むネットワークシステム100の構成を示すブロック図である。このネットワークシステム100は、一の管理PC1と、複数のディスクアレイ装置(11〜14)とを有している。各ディスクアレイ装置(11〜14)は、ネットワーク2を介して、管理PC1に接続されている。管理PC1には、各ディスクアレイ装置(11〜14)とディスクアレイ装置の管理に関する通信を行うための、マネージャソフトウェア41がインストールされている。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a
図2は、個々のディスクアレイ装置11の構成を機能的に描いた概略ブロック図である。各ディスクアレイ装置10は、ネットワーク2との間に介在するインターフェース12、ユーザとの間でデータの入出力を行える様にするための入出力装置13、RAIDコントローラ14、メモリ15、CPU16、及び格納部17を有しており、これらは、汎用バス11を介して互いに接続されている。格納部17には、オペレーティングシステム17、ファームウェア更新プログラムとしての管理エージェント61が格納されている。また、RAIDコントローラ14の配下には、複数のハードディスク(31〜35)が接続されている。
FIG. 2 is a schematic block diagram functionally depicting the configuration of each
オペレーティングシステム17及び管理エージェント61は、ディスクアレイ装置11の起動時にメモリに展開され、CPUに実行されてその機能を実現するものである。管理エージェント61は、ハードディスクのファームウェアの更新に関する機能を実現するものであり、オペレーティングシステム51上で動作する。具体的には、ネットワーク2を介して、管理PC1のマネージャ41と定期的に通信を行い、必要に応じてマネージャ41から最新版のファームウェアをダウンロードし、ハードディスク(31〜35)のファームウェアの更新に係る機能を実現する。
The
RAIDコントローラ14は、RAIDシステムを構築して、複数のハードディスク(31〜35)を管理する。この際、RAIDコントローラ14は、冗長性を有するRAIDシステムを論理的に構築し、複数のハードディスク30に対する書き込み、読み込み動作を制御する。尚、本明細書でいうRAIDシステムは、冗長性を有さないRAID0を含まない。
The
図3は、RAIDシステムを説明するための図である。RAIDコントローラ14は、図3に示されるように、複数のハードディスク(31〜35)の各々を、複数の領域(以下、セクタとする)に分割し、論理アドレスを割り当てて管理している。ここで、論理アドレスは、別々のハードディスクに含まれる複数のセクタから構成されており、図3に示される例では3つのセクタから構成されている。
FIG. 3 is a diagram for explaining the RAID system. As shown in FIG. 3, the
例えば、入出力装置13を介してユーザから書き込みが行われた場合、オペレーティングシステム51がRAIDコントローラ14に対して、論理アドレス単位でデータを通知する。RAIDコントローラ14は、オペレーティングシステム51からのアクセスに応じて、通知されたデータを2分割し、論理アドレス内の3つのセクタのうちの2つのセクタに、一つづつ格納する。そして、2分割したデータからパリティデータを生成し、残りの1つのセクタにこのパリティデータを格納する。図3に示される例では、論理アドレス201に対して書き込みを行う場合、ハードディスク31のセクタ201−1と、ハードディスク32のセクタ201−2とに、2分割したデータを一つづつ格納し、ハードディスク33のセクタ201−Pにパリティデータを格納する。同様に、論理アドレス202に対しては、202−1、202−2に2分割したデータを一つづつ格納し、202−Pにパリティデータを格納する。また、RAIDコントローラ14は、必要に応じて、データを格納する際に、各セクタのヘッダ部分にセクタ情報を書き込む。
For example, when data is written by the user via the input /
上記のように、論理アドレス内の1セクタに、パリティデータを格納することにより、1台のハードディスクがRAIDシステムから切り離されても、データ内容は保護されるようになっている。 As described above, by storing parity data in one sector in a logical address, the data content is protected even if one hard disk is disconnected from the RAID system.
続いて、上述のディスクアレイ装置10において、ハードディスク31のファームウェアの更新を行う際の動作について説明する。図4は、本実施形態にかかるファームウェア更新方法を示すフローチャートである。
Next, an operation when updating the firmware of the
管理PC1上で稼動するマネージャ41から、ネットワーク2を介して、ディスクアレイ装置10上で稼動する管理エージェント61に対し、ファームウェア更新の指示があったとする。指示を受けた管理エージェント61は、マネージャ41から更新するハードディスクの対象名とファームウェアのバージョンを取得する。そして、RAIDコントローラ14配下に対象名のハードディスクが存在するか否かの確認と、各ハードディスクのファームウェアバージョンの確認を行う(ステップS10)。
It is assumed that the
対象名のハードディスク31が存在し、かつ、ファームウェアバージョンが古かった場合、管理エージェント61は、マネージャ41から最新のファームウェアをダウンロードする(ステップS20)。その後、RAIDコントローラ14配下のハードディスク31〜35の整合性確認(Consistency check)を行う(ステップS30)。整合性確認後、管理エージェント61は、RAIDコントローラ14にアクセスして、更新対象のハードディスク31をRAIDシステムから論理的に切り離し、RAIDシステムを縮退状態とする(ステップS40)。縮退状態にした後、管理エージェント61は、切り離した更新対象のハードディスク31のファームウェアを、ダウンロードしたファームウェアに更新する(ステップS50)。
When the
ここで、更新対象のハードディスク31がRAIDシステムから切り離されている間に、オペレーティングシステム51からRAIDコントローラ14に対して、データの書き込み処理が行われたとする。この場合、RAIDコントローラ14は、RAIDシステムが縮退状態のまま、ハードディスク31以外の各ハードディスク(32〜35)に対して、データを書き込む。この時、RAIDコントローラ14は、書き込みを行う各ハードディスク(32〜35)の各セクタに、後に復旧させるための復旧フラグをセクタ情報として書き込みつつ、データを書き込む(ステップS51)。また、管理エージェント61は、書き込みの履歴を管理しており、書き込みの行われる(又は行われた)RAIDシステム上の論理アドレスを、メモリ15に記憶しておく(ステップS52)。
Here, it is assumed that the data writing process is performed from the operating system 51 to the
管理エージェント61は、ファームウェアの更新を終えると、ファームウェアの更新が正常終了したかどうかを確認する(ステップS60)。正常終了した場合、管理エージェント61は、更新対象のハードディスクを再起動する(ステップS70)。更に、管理エージェント61は、新しいファームウェアが正常に起動するかどうかを確認する(ステップS80)。 After completing the firmware update, the management agent 61 confirms whether the firmware update has been completed normally (step S60). In the case of normal termination, the management agent 61 restarts the update target hard disk (step S70). Further, the management agent 61 confirms whether or not the new firmware is normally activated (step S80).
S80において正常に起動した場合、管理エージェント61は、RAIDコントローラ14にアクセスし、更新対象のハードディスク31に格納されたデータを復元する。この際、メモリ15に記憶しておいた論理アドレスに基いて、その論理アドレスに対応するセクタのみ、データを復元させる。具体的には、管理エージェント61が、RAIDコントローラ14に対して、記憶していた論理アドレスを指定した復旧コマンドを送信する。RAIDコントローラ14は、復旧コマンドを受け付けると、各ハードディスクの複数のセクタのうち、指定された論理アドレスに対応するセクタのデータを読み込む。この際、被更新ハードディスク31のセクタも読み込む。そして、論理アドレス内の3つのセクタのデータのうち、復旧フラグのある2つのデータから、復旧フラグの無いもう一つのデータを生成し、復旧フラグの無いセクタに書き込む。同時に、復旧フラグのある2つのセクタのセクタ情報から、復旧フラグをクリアする。ここでもし、3つのセクタの全てに復旧フラグが存在する場合は、その論理アドレスには更新対象のハードディスクのセクタが存在しないことを示すため、3つの復旧フラグのクリアのみを行い、データ自体は変更しない。このような動作により、更新対象のハードディスクのセクタのうち、切り離し中に書き込みのあった論理アドレスのセクタのみ、データが復元される(ステップS90)。
When starting normally in S80, the management agent 61 accesses the
次に、管理エージェント61は、RAIDコントローラ14により、切り離していた更新対象のハードディスク31を、RAIDシステムに復帰させる(ステップS100)。更に、再度整合性確認を行い(ステップS110)、処理を終了する。ディスクアレイ装置11内のハードディスクに、複数更新対象のものが存在する場合、ステップS10〜110の処理を繰り返し実行する。
Next, the management agent 61 causes the
以上の動作を、より具体的に説明する。図3において、ハードディスク31のファームウェアを更新し、ハードディスク31が切り離されている間に、論理アドレス301〜論理アドレス306に対して書き込み処理が行われたとする。
The above operation will be described more specifically. In FIG. 3, it is assumed that the firmware of the
この場合、ステップS40において、ハードディスク31がRAIDシステムから切り離される。また、ステップS51において、ハードディスク31以外のハードディスク(32〜35)に対して、データの書き込みが行われる。この際、図3に示されるように、書き込みの行われる各セクタのセクタ情報には、復旧フラグ(図中、「R」)が書きこまれる。更に、ステップS52において、管理エージェント61が、論理アドレス301〜306を、記憶する。
In this case, in step S40, the
ステップS90で、データを復元するにあたっては、管理エージェント61が、RAIDコントローラ14に対し、記憶していた論理アドレス301〜306への復旧コマンドを送信する。RAIDコントローラ14は論理アドレス301に該当するハードディスク31〜33より、セクタ301−1、301−2、301−Pのデータを読み込む。この際セクタ情報も読み込む。そして、復旧フラグ「R」の存在するセクタ301−2、302−Pから、復旧フラグの存在しないセクタ301−1のデータを生成し、セクタ301−1にそのデータを書き込む。書き込み後、セクタ301−2、301−Pのセクタ情報から復旧フラグ「R」をクリアする。同様に、ハードディスク31内のセクタ302−P、304−2、306−1のデータの更新を行う。また、論理アドレス303、305については、全てのセクタに復旧フラグ「R」が存在するので、復旧フラグ「R」のクリアのみを行い、セクタに格納されるデータの変更は行わない。
In step S90, when the data is restored, the management agent 61 transmits a recovery command to the stored
以上のように動作することで、ハードディスク31に記憶されたデータのうち、切り離し中に書き込みのあった論理アドレスに対応するセクタ(301−1、302−P、304−2、306−1)のデータのみが復元される。
By operating as described above, of the data stored in the
なお、ステップS60において、ファームウェアの更新が正常に終了しなかった場合には、管理エージェント61が被更新ハードディスクを再起動し(ステップS120)、古いバージョンのまま正常に起動するかどうかを確認する(ステップS130)。古いバージョンのまま正常に起動した場合には、切り離し中に書き込みのあった論理アドレスのみ、S90と同様に、被更新ハードディスクのデータ内容を書き戻す(ステップS140)。さらに、管理エージェント61は、更新対象ハードディスクをRAIDシステムに復帰させ(ステップS150)、整合性確認(ステップS160)後、マネージャ41に対しファームウェア更新が失敗した旨を通知する(ステップS170)。
In step S60, if the firmware update does not end normally, the management agent 61 restarts the updated hard disk (step S120), and confirms whether the old version is normally started (step S120). Step S130). If the old version is started normally, the data contents of the updated hard disk are written back to only the logical address that was written during detachment, similar to S90 (step S140). Further, the management agent 61 returns the update target hard disk to the RAID system (step S150), and after confirming the consistency (step S160), notifies the
また、S80において、被更新ハードディスクのファームウェア更新後の再起動で、新しいバージョンのファームウェアが正常に起動できなかった場合、もしくは、ステップS130において、古いバージョンのファームウェアで正常に起動できなかった場合は、管理エージェント61は、被更新ハードディスクを切り離した縮退状態を保持し、マネージャ41に対し、ファームウェア更新が失敗した旨のアラーム通知を行う(ステップS200)。
In S80, if the new version of firmware cannot be started normally by reboot after updating the firmware of the hard disk to be updated, or if the old version of firmware cannot be started normally in step S130, The management agent 61 holds the degraded state in which the hard disk to be updated is disconnected, and notifies the
以上説明したように動作することで、更新対象のハードディスクがRAIDシステムから切り離されている間も、RAIDシステムは縮退状態として構築されているので、ファームウェアの更新中でも、RAIDシステムに対する書き込み、読み込み処理を行うことができる。 By operating as described above, the RAID system is constructed in a degenerate state even while the hard disk to be updated is disconnected from the RAID system, so that write and read processing to the RAID system can be performed even during firmware update. It can be carried out.
ここで、切り離し中に書き込まれたデータを復元するにあたり、書き込みの行われる論理アドレスが記憶されているので、切り離されていたハードディスクのうちの、書き込みの行われる論理アドレスに対応するセクタのデータのみを復元させることができる。書き込みの行われる論理アドレス以外のセクタに関しては、復元処理を行う必要が無いので、データ復元に要する処理を最小限に抑えることができる。すなわち、従来例のように、被更新ハードディスクを切り離す際に、被更新ハードディスクに記録されたデータを複写して別の装置(ハードディスクなど)に移しておいたり、データ復元にあたって、被更新ハードディスクのデータ内容を、代行させておいたハードディスクに記録されたデータと比較する、などの処理は必要無く、処理の高速化が見こまれる。 Here, when restoring the data written during detachment, since the logical address to be written is stored, only the data of the sector corresponding to the logical address to be written in the disconnected hard disk is stored. Can be restored. Since it is not necessary to perform restoration processing for sectors other than the logical address to be written, processing required for data restoration can be minimized. That is, as in the conventional example, when the hard disk to be updated is disconnected, the data recorded on the hard disk to be updated is copied and transferred to another device (such as a hard disk), or the data on the hard disk to be updated is restored. There is no need to compare the contents with the data recorded on the hard disk that has been substituted, and the processing speed can be increased.
また、管理PC1にネットワーク2を介して接続されているディスクアレイ装置12〜14も同様に、RAIDシステムに対する書き込み、読み込み処理を止めることなく、ファームウェアの更新を行うことが可能である。
Similarly, the
また、ディスクアレイ装置に対する書き込み、読み込み処理を中断する必要が無いので、ネットワーク2を介して別のコンピュータと接続したままで、ファームウェアの更新を実行することができる。従って、各ディスクアレイ装置毎に、ローカルにファームウェアの更新を行う必要は無く、ネットワーク経由で更新を行うことができる。
Further, since there is no need to interrupt the writing / reading processing to / from the disk array device, the firmware can be updated while being connected to another computer via the
また、本実施形態では、RAIDコントローラが構築するRAIDシステムとして、論理アドレスが別々のハードディスクの3つのセクタから構成され、このうちの一つのセクタにパリティデータが格納されるタイプについて説明したが、冗長性を有さないRAID0でなければ、他のタイプのRAIDシステムが用いられてもよい。 In this embodiment, the RAID system constructed by the RAID controller has been described with respect to the type in which the logical address is composed of three sectors of different hard disks, and parity data is stored in one of these sectors. Other types of RAID systems may be used if they are not RAID 0 that does not have sex.
1 管理PC
2 ネットワーク
10 ディスクアレイ装置
11 汎用バス
12 インターフェース
13 入出力装置
14 RAIDコントローラ
15 メモリ
16 CPU
17 格納部
41 マネージャ
31 ハードディスク
32 ハードディスク
33 ハードディスク
34 ハードディスク
35 ハードディスク
51 オペレーティングシステム
61 管理エージェント
100 ネットワークシステム
1 management PC
2
17
Claims (6)
前記RAIDコントローラにアクセス可能に接続され、前記複数のハードディスクのうちの被更新ハードディスクに対して、ファームウェアの更新を行う管理エージェントと、
を具備し、
前記管理エージェントは、前記被更新ハードディスクのファームウェアを更新するに際し、前記被更新ハードディスクを前記RAIDシステムから論理的に切り離してファームウェアの更新を行い、
前記被更新ハードディスクの切り離し中に前記RAIDシステムに対して書き込みが行われる場合、前記管理エージェントは、前記RAIDシステム上において書き込みの行われる論理アドレスを記憶し、更新終了後に、前記RAIDコントローラにアクセスして、前記被更新ハードディスクのうち、記憶した前記論理アドレスに対応するセクタのデータを復元させ、前記被更新ハードディスクを前記RAIDシステムに復帰させる
ディスクアレイ装置。 A RAID controller that logically controls a plurality of hard disks by constructing a RAID system having redundancy;
A management agent connected to the RAID controller so as to be accessible, and performing a firmware update on an updated hard disk of the plurality of hard disks;
Comprising
When updating the firmware of the updated hard disk, the management agent logically disconnects the updated hard disk from the RAID system and updates the firmware.
When writing to the RAID system is performed while the hard disk to be updated is disconnected, the management agent stores a logical address to be written on the RAID system, and accesses the RAID controller after the update is completed. A disk array device that restores data of a sector corresponding to the stored logical address among the hard disks to be updated and returns the hard disk to be updated to the RAID system.
前記RAIDコントローラは、
前記被更新ハードディスクの切り離し中に前記RAIDシステムに対して書き込みが行われる場合に、書き込みの行われるセクタのセクタ情報に復旧フラグを書き込み、
前記被更新ハードディスクのデータを復元するにあたり、前記復旧フラグの書き込まれたセクタのデータに基いて、復旧フラグの書き込まれていないセクタのデータを生成することで、前記被更新ハードディスクのデータを復元する
ディスクアレイ装置。 The disk array device according to claim 1,
The RAID controller is
When writing to the RAID system is performed while the updated hard disk is disconnected, a recovery flag is written in the sector information of the sector to be written,
When restoring the data on the hard disk to be updated, the data on the hard disk to be updated is restored by generating the data on the sector on which the recovery flag is not written based on the data on the sector on which the recovery flag is written. Disk array device.
前記RAIDコントローラは、パリティを有するRAIDシステムを構築して前記複数のハードディスクを制御する
ディスクアレイ装置。 The disk array device according to claim 1 or 2,
The RAID controller is a disk array device that controls a plurality of hard disks by constructing a RAID system having parity.
ファームウェアの更新の行われる被更新ハードディスクを、前記RAIDシステムから切り離すステップと、
切り離した前記被更新ハードディスクのファームウェアを更新するファームウェア更新ステップと、
前記被更新ハードディスクの切り離し中に前記RAIDシステムに対して書き込みが行われる場合に、書き込みの行われる論理アドレスを記憶するステップと、
前記ファームウェア更新ステップの終了後に、前記被更新ハードディスクを再起動するステップと、
記憶した前記論理アドレスに基いて、前記被更新ハードディスクのうち、記憶した前記論理アドレスに対応するセクタのデータを復元する復元ステップと、
データの復元された前記被更新ハードディスクを、前記RAIDシステムに復帰させるステップと、
を具備する
ファームウェア更新方法。 A firmware update method for updating firmware of a hard disk in a RAID system,
Disconnecting the hard disk to be updated, from which the firmware is updated, from the RAID system;
A firmware update step for updating the firmware of the updated hard disk that has been disconnected; and
Storing a logical address to be written when writing to the RAID system during detachment of the updated hard disk;
Restarting the updated hard disk after completion of the firmware update step;
A restoring step of restoring data of a sector corresponding to the stored logical address in the updated hard disk based on the stored logical address;
Returning the data-restored hard disk to be restored to the RAID system;
A firmware update method comprising:
更に、
前記被更新ハードディスクが切り離されている間に書き込みを行われたセクタのセクタ情報に、復旧フラグを書き込むステップ、
を具備し、
前記復元ステップにおいて、前記復旧フラグの書き込まれたセクタのデータに基いて、復旧フラグの書き込まれていないセクタのデータを復元することで、前記被更新ハードディスクのデータを復元する
ファームウェア更新方法。 The firmware update method according to claim 4,
Furthermore,
Writing a recovery flag to sector information of a sector written while the hard disk to be updated is disconnected;
Comprising
A firmware updating method for restoring data of the hard disk to be updated by restoring data of a sector in which no recovery flag is written based on the data of the sector in which the recovery flag is written in the restoration step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007051168A JP2008217202A (en) | 2007-03-01 | 2007-03-01 | Disk array device and firmware update method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007051168A JP2008217202A (en) | 2007-03-01 | 2007-03-01 | Disk array device and firmware update method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008217202A true JP2008217202A (en) | 2008-09-18 |
Family
ID=39837199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007051168A Pending JP2008217202A (en) | 2007-03-01 | 2007-03-01 | Disk array device and firmware update method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008217202A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10027532B2 (en) | 2015-06-24 | 2018-07-17 | Fujitsu Limited | Storage control apparatus and storage control method |
| CN110083380A (en) * | 2018-01-26 | 2019-08-02 | 和硕联合科技股份有限公司 | Firmware update and the electronic device for using the method |
| CN115904451A (en) * | 2022-11-18 | 2023-04-04 | 济南浪潮数据技术有限公司 | A hard disk firmware upgrade method, device, equipment and readable storage medium |
| CN116501263A (en) * | 2023-06-21 | 2023-07-28 | 苏州浪潮智能科技有限公司 | Data storage device, server, data storage method, electronic device and medium |
| CN121187517A (en) * | 2025-11-24 | 2025-12-23 | 成都凌中盈智科技服务有限公司 | A fast incremental reconfiguration method for use in small memory RAID cards |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03268020A (en) * | 1990-03-19 | 1991-11-28 | Hitachi Ltd | Non-stop maintenance system for semiconductor disk |
| JPH07219718A (en) * | 1994-01-28 | 1995-08-18 | Nec Eng Ltd | Information processor |
| JP2000010738A (en) * | 1998-06-17 | 2000-01-14 | Toshiba Corp | Disk array system, storage capacity expansion method applied to the system, and recording medium |
| JP2000056935A (en) * | 1998-08-11 | 2000-02-25 | Nec Corp | Control method for disk array device and disk array device |
| JP2000348468A (en) * | 1999-06-03 | 2000-12-15 | Sony Corp | Data recording / reproducing apparatus and data recording / reproducing method |
| JP2002108573A (en) * | 2000-09-28 | 2002-04-12 | Nec Corp | Disk array device and method for controlling its error and recording medium with its control program recorded thereon |
| JP2002169659A (en) * | 2000-09-20 | 2002-06-14 | Matsushita Electric Ind Co Ltd | Data storage array device, data storage array device access control method, program, and medium |
| JP2004126878A (en) * | 2002-10-01 | 2004-04-22 | Nec Corp | Data writing and data writing/reading device, and data writing and data writing/reading method |
| JP2004287979A (en) * | 2003-03-24 | 2004-10-14 | Toshiba Corp | Disk control device and disk device control program updating method |
| WO2006123416A1 (en) * | 2005-05-19 | 2006-11-23 | Fujitsu Limited | Disk failure recovery method and disk array device |
-
2007
- 2007-03-01 JP JP2007051168A patent/JP2008217202A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03268020A (en) * | 1990-03-19 | 1991-11-28 | Hitachi Ltd | Non-stop maintenance system for semiconductor disk |
| JPH07219718A (en) * | 1994-01-28 | 1995-08-18 | Nec Eng Ltd | Information processor |
| JP2000010738A (en) * | 1998-06-17 | 2000-01-14 | Toshiba Corp | Disk array system, storage capacity expansion method applied to the system, and recording medium |
| JP2000056935A (en) * | 1998-08-11 | 2000-02-25 | Nec Corp | Control method for disk array device and disk array device |
| JP2000348468A (en) * | 1999-06-03 | 2000-12-15 | Sony Corp | Data recording / reproducing apparatus and data recording / reproducing method |
| JP2002169659A (en) * | 2000-09-20 | 2002-06-14 | Matsushita Electric Ind Co Ltd | Data storage array device, data storage array device access control method, program, and medium |
| JP2002108573A (en) * | 2000-09-28 | 2002-04-12 | Nec Corp | Disk array device and method for controlling its error and recording medium with its control program recorded thereon |
| JP2004126878A (en) * | 2002-10-01 | 2004-04-22 | Nec Corp | Data writing and data writing/reading device, and data writing and data writing/reading method |
| JP2004287979A (en) * | 2003-03-24 | 2004-10-14 | Toshiba Corp | Disk control device and disk device control program updating method |
| WO2006123416A1 (en) * | 2005-05-19 | 2006-11-23 | Fujitsu Limited | Disk failure recovery method and disk array device |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10027532B2 (en) | 2015-06-24 | 2018-07-17 | Fujitsu Limited | Storage control apparatus and storage control method |
| CN110083380A (en) * | 2018-01-26 | 2019-08-02 | 和硕联合科技股份有限公司 | Firmware update and the electronic device for using the method |
| CN115904451A (en) * | 2022-11-18 | 2023-04-04 | 济南浪潮数据技术有限公司 | A hard disk firmware upgrade method, device, equipment and readable storage medium |
| CN115904451B (en) * | 2022-11-18 | 2025-10-28 | 济南浪潮数据技术有限公司 | Hard disk firmware upgrade method, device, equipment and readable storage medium |
| CN116501263A (en) * | 2023-06-21 | 2023-07-28 | 苏州浪潮智能科技有限公司 | Data storage device, server, data storage method, electronic device and medium |
| CN116501263B (en) * | 2023-06-21 | 2023-09-12 | 苏州浪潮智能科技有限公司 | Data storage device, server, data storage method, electronic apparatus, and medium |
| CN121187517A (en) * | 2025-11-24 | 2025-12-23 | 成都凌中盈智科技服务有限公司 | A fast incremental reconfiguration method for use in small memory RAID cards |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5724477B2 (en) | Migration program, information processing apparatus, migration method, and information processing system | |
| JP4839091B2 (en) | Database recovery method and computer system | |
| CN102132258B (en) | Firmware update system, information device and program | |
| EP2652599B1 (en) | System reset | |
| JP7002358B2 (en) | Information processing system, information processing device, BIOS update method of information processing device, and BIOS update program of information processing device | |
| JP4385215B2 (en) | Disk array device having snapshot simulation function | |
| WO2010035596A1 (en) | Firmware update device and method | |
| CN110704091A (en) | A firmware upgrade method and device | |
| JP3437083B2 (en) | I/O control device and firmware update method thereof | |
| JP2008217202A (en) | Disk array device and firmware update method | |
| JP2007323657A (en) | Method and system for storing transient state information, and computer program | |
| JP2015087906A (en) | Tape device, storage controller, and storage control method | |
| JP2008226167A (en) | Data distribution system and data distribution program | |
| JPWO2004081791A1 (en) | Virtual machine system and firmware update method in virtual machine system | |
| JP2007149085A (en) | Run initialization code to configure connected devices | |
| US20140052947A1 (en) | Data storage device and method of controlling data storage device | |
| JP7266216B2 (en) | Information processing device and information processing method | |
| CN104205048B (en) | Network startup system | |
| JP2007080012A (en) | Reboot method, system and program | |
| JP6429813B2 (en) | Computer system | |
| JP5703860B2 (en) | Fault tolerant system, memory control method, and program | |
| US9152817B1 (en) | Methods and systems for performing data protection operations | |
| JP5725546B2 (en) | Storage system | |
| JP2025052684A (en) | Information processing system and program | |
| JP6426591B2 (en) | Management system, management method, and management program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100119 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120202 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120316 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120605 |