JP4920390B2 - Storage device - Google Patents

Storage device Download PDF

Info

Publication number
JP4920390B2
JP4920390B2 JP2006327774A JP2006327774A JP4920390B2 JP 4920390 B2 JP4920390 B2 JP 4920390B2 JP 2006327774 A JP2006327774 A JP 2006327774A JP 2006327774 A JP2006327774 A JP 2006327774A JP 4920390 B2 JP4920390 B2 JP 4920390B2
Authority
JP
Japan
Prior art keywords
backup
logical unit
state
data
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006327774A
Other languages
Japanese (ja)
Other versions
JP2008140289A (en
Inventor
康雄 柳瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2006327774A priority Critical patent/JP4920390B2/en
Publication of JP2008140289A publication Critical patent/JP2008140289A/en
Application granted granted Critical
Publication of JP4920390B2 publication Critical patent/JP4920390B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データバックアップに好適なストレージ装置に関する。   The present invention relates to a storage apparatus suitable for data backup.

情報システムの分野においては、コンピュータのハードウェアの故障やソフトウェアの障害などによるプログラムやデータの破壊又は紛失等に備え、記憶装置内の記憶内容をテープライブラリ内に装着された磁気テープへ保存するバックアップが行われている。この場合において、磁気テープは、テープライブラリから外部保管することができる上、外部保管した磁気テープをローテーションさせることで、テープライブラリの許容量以上のデータをバックアップすることが可能である。また、磁気テープを金庫等に保管することにより、ディザスタリカバリ(災害復旧)に備えることも可能である。   In the field of information systems, a backup that saves the storage contents of a storage device to a magnetic tape mounted in a tape library in preparation for the destruction or loss of programs and data due to computer hardware failure or software failure Has been done. In this case, the magnetic tape can be stored externally from the tape library, and by rotating the magnetic tape stored externally, it is possible to back up data exceeding the allowable amount of the tape library. Also, it is possible to prepare for disaster recovery (disaster recovery) by storing the magnetic tape in a safe or the like.

近年においては、ハードディスクなどの磁気ディスクの低価格化に伴い、磁気ディスクを磁気テープの代わりに使用して記憶内容のバックアップを行うケースが増えてきている。この場合には、複数の磁気ディスクに並列にデータを読み書きするRAID(Redundant Array of Inexpensive Disks)が利用されることが多い。例えば、バックアップ対象となる磁気ディスク装置から離れた場所にバックアップ用の磁気ディスク装置を設置し、これらの記憶内容を同期させるシステムが提案されている(例えば、特許文献1参照)。
特開2002−7304号公報
In recent years, along with the price reduction of magnetic disks such as hard disks, cases of using magnetic disks instead of magnetic tape to back up stored contents are increasing. In this case, RAID (Redundant Array of Inexpensive Disks) that reads and writes data in parallel on a plurality of magnetic disks is often used. For example, a system has been proposed in which a backup magnetic disk device is installed at a location distant from the magnetic disk device to be backed up and the stored contents are synchronized (for example, see Patent Document 1).
Japanese Patent Laid-Open No. 2002-7304

しかしながら、上述のように磁気ディスクを使用して記憶内容のバックアップを行う場合においては、磁気ディスクを外部保管することができないことから、磁気テープのようにローテーションさせることができない。このため、磁気ディスクの最大容量以上のバックアップデータを保存することができず、また、ディザスタリカバリ(災害復旧)に対応することもできない。   However, when the storage contents are backed up using a magnetic disk as described above, the magnetic disk cannot be stored externally and therefore cannot be rotated like a magnetic tape. For this reason, backup data exceeding the maximum capacity of the magnetic disk cannot be stored, and disaster recovery (disaster recovery) cannot be supported.

また、特許文献1記載のシステムのように遠隔地にバックアップ用の磁気ディスク装置を設置し、磁気ディスク装置にバックアップデータを保存する場合には、磁気ディスク装置に要するコストおよび双方の磁気ディスク装置間のネットワークに要するコスト等、システムの構築に要するコスト負担が大きくなる。   In addition, when a backup magnetic disk device is installed at a remote place and backup data is stored in the magnetic disk device as in the system described in Patent Document 1, the cost required for the magnetic disk device and the distance between both magnetic disk devices The cost burden required for system construction, such as the cost required for the network, increases.

本発明は、コスト負担を低減しつつ、ディザスタリカバリにも対応すると共に大容量のバックアップデータを保存することができるストレージ装置を提供することを目的とする。   An object of the present invention is to provide a storage apparatus that can cope with disaster recovery and store large-capacity backup data while reducing the cost burden.

本発明に係わるストレージ装置は、装置本体に書き込まれるデータを保持する磁気ディ
スク上に形成されるマスタ論理ユニットと、筐体に着脱可能な磁気ディスク上に形成され
前記マスタ論理ユニット内のデータのバックアップデータを保持するバックアップ論理ユ
ニットと、前記バックアップ論理ユニットの状態を切り替えて前記バックアップ論理ユニ
ットに前記マスタ論理ユニットの前記バックアップデータの書き込みを制御するコントロ
ーラとを具備し、前記コントローラは、前記バックアップ論理ユニットを前記マスタ論理
ユニットと同期させる同期状態と、前記バックアップ論理ユニットを前記マスタ論理ユニ
ットから切り離す分割状態と、前記マスタ論理ユニット内のデータを前記バックアップ論
理ユニットにコピーするコピー状態と、前記バックアップ論理ユニットを構成する磁気デ
ィスクを装置筐体から取り外したオフライン状態と、を管理する第1の管理テーブルを備
え、前記バックアップ論理ユニットは、前記コントローラが前記バックアップ論理ユニッ
トの利用可否を判別するための識別情報を登録する第2の管理テーブルを備え、前記コン
トローラは、ユーザの操作により前記バックアップ論理ユニットのエクスポートおよびイ
ンポート要求があったときはバックアップ論理ユニットを分割状態とし、ユーザによる前
記バックアップ論理ユニットのエクスポートおよびインポートがあった旨の通知を受けた
ときは、前記第1の管理テーブルでの状態が分割状態であって、前記第2の管理テーブル
の前記識別情報により前記筐体内に存在しない前記バックアップ論理ユニットの状態をオ
フライン状態とし、前記第1の管理テーブルでの状態がオフライン状態であって、前記第
2の管理テーブルの前記識別情報により前記筐体内に存在する前記バックアップ論理ユニ
ットの状態を分割状態とし、前記バックアップ論理ユニットをローテーションすることを
特徴とする。
A storage apparatus according to the present invention includes a master logical unit formed on a magnetic disk that holds data written to the apparatus main body, and a backup of data in the master logical unit formed on a magnetic disk that can be attached to and detached from a housing. A backup logical unit that holds data; and a controller that controls the writing of the backup data of the master logical unit to the backup logical unit by switching the state of the backup logical unit, the controller comprising the backup logical unit Is synchronized with the master logical unit, is divided to separate the backup logical unit from the master logical unit, and is a copy that copies data in the master logical unit to the backup logical unit. And a first management table for managing the offline state in which the magnetic disk constituting the backup logical unit is removed from the apparatus housing, and the backup logical unit is configured to determine whether the controller can use the backup logical unit. The controller includes a second management table for registering identification information for determining the backup logical unit, and when the controller requests export and import of the backup logical unit, the controller sets the backup logical unit in a divided state and When the notification that the backup logical unit has been exported and imported has been received, the state in the first management table is a divided state, and the internal information is stored in the case according to the identification information in the second management table. Does not exist in the backup The state of the backup logical unit is set to the offline state, the state in the first management table is the offline state, and the state of the backup logical unit existing in the enclosure is determined by the identification information in the second management table. and split state, characterized rotation to Rukoto the said backup logic unit.

本発明によれば、コスト負担を低減しつつ、ディザスタリカバリにも対応すると共に大容量のバックアップデータを保存することができるストレージ装置を提供できる。   According to the present invention, it is possible to provide a storage apparatus that can cope with disaster recovery and store large-capacity backup data while reducing the cost burden.

図1は、本発明の実施の形態に係わるストレージ装置10の全体構成図である。図1に示すように、本発明の実施の形態に係わるストレージ装置10は、その筐体11内にコントローラ12と、マスタLU13と、複数のバックアップLU14−1〜14−nとを備えている。ここで、LU(Logical Unit)とは、例えば、複数の磁気ディスク装置(以下、適宜「HDD」という)から構成される1つのRAIDグループ上の論理ユニットのことである。   FIG. 1 is an overall configuration diagram of a storage apparatus 10 according to an embodiment of the present invention. As shown in FIG. 1, a storage apparatus 10 according to an embodiment of the present invention includes a controller 12, a master LU 13, and a plurality of backup LUs 14-1 to 14-n in a casing 11. Here, an LU (Logical Unit) is a logical unit on one RAID group composed of, for example, a plurality of magnetic disk devices (hereinafter referred to as “HDD” as appropriate).

コントローラ12は、装置全体の制御を行うものであり、ストレージ装置10が接続されるホストコンピュータ等からの指示に応じて、マスタLU13やバックアップLU14−1〜14−nに対してデータを書き込む一方、マスタLU13やバックアップLU14−1〜14−nからデータを読み出す。マスタLU13は、コントローラ12の制御の下、ストレージ装置10に書き込まれたデータを保持するものである。   The controller 12 controls the entire apparatus, and writes data to the master LU 13 and backup LUs 14-1 to 14-n according to instructions from a host computer or the like to which the storage apparatus 10 is connected. Data is read from the master LU 13 and backup LUs 14-1 to 14-n. The master LU 13 holds data written in the storage apparatus 10 under the control of the controller 12.

バックアップLU14−1〜14−nは、マスタLU13のバックアップデータを保持するものであり、各バックアップLU14−1〜14−nは、バックアップタイミングの異なるバックアップデータの保持に用いられる。各バックアップLU14−1〜14−nにおけるバックアップデータは、コントローラ12の制御の下、マスタLU13と、各バックアップLU14−1〜14−nとの後述する同期、切り離しを行うことによって保持される。   The backup LUs 14-1 to 14-n hold backup data of the master LU 13, and each backup LU 14-1 to 14-n is used to hold backup data having different backup timings. The backup data in each of the backup LUs 14-1 to 14-n is held by performing synchronization and disconnection described later between the master LU 13 and each of the backup LUs 14-1 to 14-n under the control of the controller 12.

なお、図1においては、n個のバックアップLU14を備える場合について示しているが、バックアップLU14の数量については適宜変更が可能である。また、各バックアップLU14−1〜14−nは、図1に示すように、2つのHDD15aおよび15bにより1つのRAIDグループ上の論理ユニットを構成する場合について示している。   Although FIG. 1 shows the case where n backup LUs 14 are provided, the number of backup LUs 14 can be changed as appropriate. Further, as shown in FIG. 1, each backup LU 14-1 to 14-n shows a case where a logical unit on one RAID group is configured by two HDDs 15a and 15b.

各バックアップLU14−1〜14−nは、一定条件の下、ストレージ装置10の筐体11から着脱可能に構成されている。以下においては、各バックアップLU14−1〜14−nを筐体11の外部に取り出すことを「エクスポート」と呼び、その操作を「エクスポート操作」と呼ぶものとする。また、各バックアップLU14−1〜14−nを筐体11の内部に挿入することを「インポート」と呼び、その操作を「インポート操作」と呼ぶものとする。   Each of the backup LUs 14-1 to 14-n is configured to be detachable from the housing 11 of the storage apparatus 10 under certain conditions. In the following, taking out each backup LU 14-1 to 14-n to the outside of the chassis 11 is called “export”, and the operation is called “export operation”. Also, inserting each of the backup LUs 14-1 to 14-n into the housing 11 is called “import”, and the operation is called “import operation”.

ここで、バックアップLU14における状態遷移について図2を用いて説明する。図2は、ストレージ装置10が有するバックアップLU14の状態遷移についての説明図である。図2に示すように、各バックアップLU14−1〜14−nは、SPLIT、COPY、SYNC及びOFFLINEという4つの状態を有している。   Here, the state transition in the backup LU 14 will be described with reference to FIG. FIG. 2 is an explanatory diagram of the state transition of the backup LU 14 that the storage apparatus 10 has. As shown in FIG. 2, each of the backup LUs 14-1 to 14-n has four states, SPLIT, COPY, SYNC, and OFFLINE.

SPLIT状態とは、バックアップLU14が筐体11内に存在し、マスタLU13と切り離されている状態を示す。SYNC状態またはCOPY状態における同期またはコピーを中断してマスタLU13とバックアップLU14とを切り離すと、SYNC状態またはCOPY状態からSPLIT状態に遷移する。なお、ストレージ装置10に新たにバックアップLU14が生成された場合には、生成されたバックアップLU14は、SPLIT状態になる。   The SPLIT state indicates a state where the backup LU 14 exists in the housing 11 and is separated from the master LU 13. When the synchronization or copying in the SYNC state or the COPY state is interrupted and the master LU 13 and the backup LU 14 are disconnected, the state transits from the SYNC state or the COPY state to the SPLIT state. When a new backup LU 14 is generated in the storage apparatus 10, the generated backup LU 14 is in the SPLIT state.

COPY状態とは、マスタLU13からデータをコピーしている状態を示す。マスタLU13からバックアップLU14へのデータのコピーを開始すると、SPLIT状態からCOPY状態に遷移する。この場合において、バックアップLU14に対しては、マスタLU13とバックアップLU14との差分データのみがコピーされる。なお、差分データのコピーについては後述する。   The COPY state indicates a state where data is being copied from the master LU 13. When copying of data from the master LU 13 to the backup LU 14 is started, the state transits from the SPLIT state to the COPY state. In this case, only the difference data between the master LU 13 and the backup LU 14 is copied to the backup LU 14. The copy of the difference data will be described later.

SYNC状態とは、マスタLU13と同期している状態を示す。マスタLU13からバックアップLU14へのデータのコピーが完了すると、COPY状態からSYNC状態に遷移する。このSYNC状態においては、マスタLU13へのデータの書き込みと同期して、バックアップLU14にもデータが書き込まれる。   The SYNC state indicates a state in which the master LU 13 is synchronized. When copying of data from the master LU 13 to the backup LU 14 is completed, the state transits from the COPY state to the SYNC state. In this SYNC state, data is also written to the backup LU 14 in synchronization with the writing of data to the master LU 13.

OFFLINE状態とは、バックアップLU14が筐体11の外部に取り外されている状態を示す。SPLIT状態から筐体11の外部にエクスポートされると、SPLIT状態からOFFLINE状態に遷移する。逆に、筐体11の外部からその内部にインポートされると、OFFLINE状態からSPLIT状態に遷移する。   The OFFLINE state indicates a state in which the backup LU 14 is removed from the housing 11. When exported from the SPLIT state to the outside of the housing 11, the SPLIT state transitions to the OFFLINE state. Conversely, when imported from the outside of the housing 11 to the inside thereof, the state transits from the OFFLINE state to the SPLIT state.

このようなバックアップLU14における状態遷移は、コントローラ12により管理さ
れる。コントローラ12は、図3に示すように、自身が保持するバックアップLU状態テ
ーブル(第1の管理テーブル)16と、各バックアップLU14−1〜14−nを構成す
るHDD15a、15bがそれぞれ保持するバックアップLU構成テーブル(第2の管理
テーブル)17a、17bとを参照しながらバックアップLU14における状態遷移を管
理する。ここで、バックアップLU状態テーブル16、並びに、バックアップLU構成テ
ーブル17a、17bの内容について説明する。
Such state transition in the backup LU 14 is managed by the controller 12. As shown in FIG. 3, the controller 12 has a backup LU status table (first management table) 16 held by itself and backup LUs held by the HDDs 15a and 15b constituting each backup LU 14-1 to 14-n. Configuration table (second management
Table) The state transition in the backup LU 14 is managed with reference to 17a and 17b. Here, the contents of the backup LU status table 16 and the backup LU configuration tables 17a and 17b will be described.

図4は、バックアップLU状態テーブル16に登録されるデータの一例を示すデータ構成図である。図4に示すように、バックアップLU状態テーブル16は、各バックアップLU14−1〜14−nに付与される番号(以下、「バックアップLU番号」という)に対応付けて各バックアップLU14−1〜14−nの状態を登録するものである。バックアップLU状態テーブル16に登録されるバックアップLU14の状態は、状態遷移に応じて逐一更新される。   FIG. 4 is a data configuration diagram showing an example of data registered in the backup LU status table 16. As shown in FIG. 4, the backup LU status table 16 is associated with the numbers assigned to the backup LUs 14-1 to 14-n (hereinafter referred to as “backup LU numbers”), and is associated with the backup LUs 14-1 to 14-. The state of n is registered. The state of the backup LU 14 registered in the backup LU state table 16 is updated one by one according to the state transition.

図5は、バックアップLU構成テーブル17に登録されるデータの説明図である。図5に示すように、各バックアップLU構成テーブル17には、対応するHDD15が属するバックアップLU14のバックアップLU番号、そのHDDの識別情報、そのHDD15が構成するバックアップLU14のRAIDレベル、ストライプサイズ、並びに、バックアップLU14を構成する全てのHDD15の情報を保持する。   FIG. 5 is an explanatory diagram of data registered in the backup LU configuration table 17. As shown in FIG. 5, each backup LU configuration table 17 includes the backup LU number of the backup LU 14 to which the corresponding HDD 15 belongs, the identification information of the HDD, the RAID level of the backup LU 14 configured by the HDD 15, the stripe size, Information on all HDDs 15 constituting the backup LU 14 is held.

コントローラ12は、それぞれのHDD15から図5に示すバックアップLU構成テーブル17を読み出すことで、そのHDD15が属するバックアップLU14、RAID構成情報、バックアップLU14を構成する他のHDD15などの情報を取得することができ、バックアップLU14を構成するHDD15が筐体11の内部に全て揃っているか否かを確認することができる。   By reading the backup LU configuration table 17 shown in FIG. 5 from each HDD 15, the controller 12 can acquire information about the backup LU 14 to which the HDD 15 belongs, RAID configuration information, and other HDDs 15 constituting the backup LU 14. It can be confirmed whether or not the HDDs 15 constituting the backup LU 14 are all in the housing 11.

次に、ストレージ装置10において、バックアップLU14を筐体11からエクスポートする場合、並びに、バックアップLU14を筐体11にインポートする場合の操作について図6を用いて説明する。図6は、バックアップLU14をエクスポートおよびインポートする際の操作についてのシーケンス図である。   Next, operations in the storage apparatus 10 when exporting the backup LU 14 from the chassis 11 and importing the backup LU 14 into the chassis 11 will be described with reference to FIG. FIG. 6 is a sequence diagram for operations when exporting and importing the backup LU 14.

なお、図6においては、ユーザ操作とコントローラ12との処理手順の関係について示している。また、インポート操作とエクスポート操作とは、同一の処理手順により行われ、多くの場合、同一時に行われる。以下においては、インポート操作とエクスポート操作とを同一時に行う場合について説明する。しかしながら、インポート操作とエクスポート操作とを別々に行うことも可能である。   FIG. 6 shows the relationship between the user operation and the processing procedure of the controller 12. The import operation and the export operation are performed by the same processing procedure, and in many cases, performed at the same time. In the following, a case where the import operation and the export operation are performed at the same time will be described. However, the import operation and the export operation can be performed separately.

ユーザがバックアップLU14のエクスポートおよびインポートを希望する場合には、まず、コントローラ12に対してエクスポート/インポート要求が出力される(S600)。例えば、エクスポート/インポート要求は、バックアップLU14が格納されている筐体11の扉の鍵を開く方向に回す操作に応じて出力するように構成することが可能である。   When the user wishes to export and import the backup LU 14, first, an export / import request is output to the controller 12 (S600). For example, the export / import request can be configured to be output in response to an operation of turning the door lock of the housing 11 storing the backup LU 14 in the opening direction.

エクスポート/インポート要求を受け付けると、コントローラ12は、バックアップLU状態テーブル16を参照して、SYNC状態またはCOPY状態のバックアップLU14が存在するか判定し、存在すれば強制的に切り離してそのバックアップLU状態テーブル16をSPLIT状態にする(S601)。そして、全てのバックアップLU状態テーブル16をSPLIT状態にした後、ユーザに対してエクスポートおよびインポートの許可を通知する(S602)。例えば、エクスポートおよびインポートの許可は、筐体11の扉の鍵を開けることで通知するように構成することが可能である。   When the export / import request is received, the controller 12 refers to the backup LU status table 16 to determine whether there is a backup LU 14 in the SYNC status or the COPY status, and forcibly disconnects the backup LU status table if it exists. 16 is set to the SPLIT state (S601). Then, after setting all the backup LU status tables 16 to the SPLIT status, the user is notified of permission to export and import (S602). For example, export and import permission can be notified by unlocking the door of the housing 11.

エクスポートおよびインポートの許可通知を受けると、ユーザは、手動でバックアップLU14を構成するHDD15a、15bのエクスポートおよびインポートを行う(S603)。そして、バックアップLU14のエクスポートおよびインポートを完了したならば、その旨をコントローラ12に対して通知する(S604)。例えば、エクスポートおよびインポートの完了は、筐体11の扉の鍵を閉める方向に回す操作に応じて出力するように構成することが可能である。   Upon receiving notification of permission for export and import, the user manually exports and imports the HDDs 15a and 15b constituting the backup LU 14 (S603). When the export and import of the backup LU 14 is completed, the controller 12 is notified of this (S604). For example, completion of export and import can be configured to be output in response to an operation of turning the door 11 in the direction of closing the door of the housing 11.

ステップS602でエクスポートおよびインポートの許可を通知した後、コントローラ12は、ユーザからのエクスポートおよびインポートの完了通知を待機する(S605)。エクスポートおよびインポートの完了通知を受けると、コントローラ12は、筐体11内のバックアップLU14に属する全てのHDD15a、15bのバックアップLU構成テーブル17を読み込む(S606)。   After notifying permission of export and import in step S602, the controller 12 waits for an export and import completion notification from the user (S605). Upon receiving notification of completion of export and import, the controller 12 reads the backup LU configuration table 17 of all HDDs 15a and 15b belonging to the backup LU 14 in the chassis 11 (S606).

そして、コントローラ12は、それぞれのバックアップLU14を構成する全てのHDD15が筐体11内に存在するかを判定し(S607)、1つでもHDD15が欠落している場合はユーザに対してエラーを通知する(S608)。例えば、ユーザへのエラーは、パネルやLEDで報知することで通知するように構成することが可能である。   Then, the controller 12 determines whether all the HDDs 15 constituting each backup LU 14 exist in the housing 11 (S607), and if any one HDD 15 is missing, notifies the user of an error. (S608). For example, an error to the user can be notified by notifying through a panel or LED.

次に、コントローラ12は、バックアップLU状態テーブル16のSPLIT状態のバックアップLU14であって、筐体11内に存在しないバックアップLU14があるか判定する。そして、該当するバックアップLU14がある場合には、そのバックアップLU14をOFFLINE状態に切り替える(S609)。   Next, the controller 12 determines whether there is a backup LU 14 in the SPLIT state of the backup LU state table 16 that does not exist in the chassis 11. If there is a corresponding backup LU 14, the backup LU 14 is switched to the OFFLINE state (S609).

さらに、コントローラ12は、バックアップLU状態テーブル16でOFFLINE状態のバックアップLU14であって、筐体11内に存在するバックアップLU14があるか判定する。そして、該当するバックアップLU14がある場合には、そのバックアップLU14をSPLIT状態に切り替える(S610)。   Further, the controller 12 determines whether there is a backup LU 14 in the OFFLINE state in the backup LU state table 16 and present in the chassis 11. If there is a corresponding backup LU 14, the backup LU 14 is switched to the SPLIT state (S610).

S610まで処理を行うと、バックアップLU14のエクスポート操作およびインポート操作が完了することとなるので、コントローラ12は、ユーザに対して完了を通知する(S611)。例えば、ユーザへの完了は、パネルやLEDで報知することで通知するように構成することが可能である。   When the processing up to S610 is performed, the export operation and the import operation of the backup LU 14 are completed, so the controller 12 notifies the user of the completion (S611). For example, the completion to the user can be notified by notifying with a panel or LED.

本発明の実施の形態においては、2つのHDD15a、15bで構成されるバックアップLU14を一単位として筐体11から着脱する場合について示している。この際、バックアップLU14を構成するHDD15a、15bを保持可能な保持部材(例えば、マガジン)に装着し、この保持部材を介して筐体11から着脱することが好ましい。この場合には、誤ったHDD15をバックアップLU14に装着される事態を防止することが可能となる。特に、保持部材の内部にばね等の弾性手段を配設しておくことが好ましい。この場合には、着脱時に発生する衝撃からHDD15を保護することが可能となるので、よりHDD15の可搬性に優れたストレージ装置10を提供することが可能となる。   In the embodiment of the present invention, the backup LU 14 composed of two HDDs 15a and 15b is attached to and detached from the housing 11 as a unit. At this time, it is preferable that the HDD 15a, 15b constituting the backup LU 14 is mounted on a holding member (for example, a magazine) that can hold the HDD 15a, and is detached from the housing 11 via the holding member. In this case, it is possible to prevent a situation where the wrong HDD 15 is mounted on the backup LU 14. In particular, it is preferable to arrange an elastic means such as a spring inside the holding member. In this case, it is possible to protect the HDD 15 from an impact that occurs at the time of attachment / detachment, and therefore it is possible to provide the storage apparatus 10 with more excellent portability of the HDD 15.

ここで、マスタLU13と、各バックアップLU14−1〜14−nとの同期を取る場合の処理について説明する。コントローラ12は、バックアップLU14の差分テーブルを保持し、この差分テーブルを参照することで、マスタLU13と、各バックアップLU14−1〜14−nとの同期を取る。ここで、差分テーブルとは、全てのバックアップLU14毎にコントローラ12が保持するものであり、マスタLU13と、各バックアップLU14−1〜14−nとが有するデータの差分が登録されるものである。   Here, processing when the master LU 13 and the backup LUs 14-1 to 14-n are synchronized will be described. The controller 12 holds the difference table of the backup LU 14, and refers to the difference table to synchronize the master LU 13 with each of the backup LUs 14-1 to 14-n. Here, the difference table is held by the controller 12 for every backup LU 14, and the difference between data of the master LU 13 and each of the backup LUs 14-1 to 14-n is registered.

以下、差分テーブルにおける差分データの管理方法について図7を用いて説明する。図7は、コントローラ12が備える差分テーブルにおける差分データの管理方法についての説明図である。   Hereinafter, a method for managing difference data in the difference table will be described with reference to FIG. FIG. 7 is an explanatory diagram of a method for managing difference data in the difference table provided in the controller 12.

例えば、マスタLU13を1Mバイトなどの固定サイズでブロックに分割し、その分割されたブロックと各差分テーブルのビットとを対応付ける。いま、マスタLU13のサイズが1Tバイトであり、ブロックサイズが1Mバイトである場合には、差分テーブルのサイズは、1Tバイト/(1Mバイト*8)=125Kバイトとなる。差分テーブルは、バックアップLU14毎に保持されるので、全ての差分テーブルのサイズの合計は125Kバイト*バックアップLU14の数量となる。   For example, the master LU 13 is divided into blocks with a fixed size such as 1 Mbyte, and the divided blocks are associated with bits of each difference table. If the size of the master LU 13 is 1 Tbyte and the block size is 1 Mbyte, the size of the difference table is 1 Tbyte / (1 Mbyte * 8) = 125 Kbytes. Since the difference table is held for each backup LU 14, the total size of all the difference tables is 125 Kbytes * the number of backup LUs 14.

そして、バックアップLU14がSPLIT状態またはOFFLINE状態でマスタLU13に書き込み(write)があると、マスタLU13に書き込まれたブロックに該当する差分テーブルのビットを「1」にする。また、バックアップLU14が新規に作られた場合には、差分テーブルの全てのビットを「1」に初期化する。このようにしてマスタLU13とバックアップLU14とのデータの差分を表現する。   When the backup LU 14 is in the SPLIT state or OFFLINE state and there is a write (write) to the master LU 13, the bit of the difference table corresponding to the block written in the master LU 13 is set to “1”. When the backup LU 14 is newly created, all bits of the difference table are initialized to “1”. In this way, the data difference between the master LU 13 and the backup LU 14 is expressed.

そして、バックアップLU14の状態が、SPLIT状態からCOPY状態に遷移すると、差分テーブルのビットが「1」になっている部分に対応するマスタLU13のブロックをバックアップLU14にコピーする。そして、バックアップLU14へのコピーが完了すると、差分テーブルのビットを「0」にする。全てのビットが「0」になると、COPY状態からSYNC状態に遷移し、差分データを用いた同期が完了する。この方式により、外部保管されているバックアップLU14においても差分データのコピーが可能になり、高速なバックアップを実現できる。   When the state of the backup LU 14 transitions from the SPLIT state to the COPY state, the master LU 13 block corresponding to the portion where the bit of the difference table is “1” is copied to the backup LU 14. When copying to the backup LU 14 is completed, the bit of the difference table is set to “0”. When all the bits become “0”, the COPY state is changed to the SYNC state, and the synchronization using the difference data is completed. By this method, it is possible to copy differential data even in the backup LU 14 stored externally, and high-speed backup can be realized.

このように本発明の実施の形態に係わるストレージ装置10においては、バックアップLU14を構成するHDD15を筐体11に着脱可能とし、コントローラ11は、バックアップLU14を構成するHDD15を筐体11から取り外したOFFLINE状態を管理可能なバックアップLU状態テーブル16を備えている。これにより、バックアップLU14を構成するHDD15を外部保管できるようになることから、バックアップLU14を磁気テープのようにローテーションさせることができるので、ストレージ装置10の最大容量以上のバックアップデータを保存することが可能となる。また、筐体11から取り出したバックアップLU14を金庫や遠隔地に保管することが可能となるので、火事や災害などで筐体11ごと破壊された場合であってもデータを復旧することが可能となる。この場合に、遠隔地にバックアップ用の磁気ディスク装置を設置し、ネットワークを介してバックアップデータを送信する必要がないので、バックアップシステムの構築に要するコスト負担を抑制することができる。この結果、コスト負担を低減しつつ、ディザスタリカバリにも対応すると共に大容量のバックアップデータを保存することが可能となる。   As described above, in the storage apparatus 10 according to the embodiment of the present invention, the HDD 15 configuring the backup LU 14 can be attached to and detached from the chassis 11, and the controller 11 is OFFLINE with the HDD 15 configuring the backup LU 14 removed from the chassis 11. A backup LU status table 16 capable of managing the status is provided. As a result, since the HDD 15 constituting the backup LU 14 can be stored externally, the backup LU 14 can be rotated like a magnetic tape, so that backup data exceeding the maximum capacity of the storage apparatus 10 can be stored. It becomes. Further, since the backup LU 14 taken out from the casing 11 can be stored in a safe or a remote place, data can be recovered even when the entire casing 11 is destroyed due to a fire or disaster. Become. In this case, it is not necessary to install a backup magnetic disk device at a remote location and transmit backup data via the network, so that the cost burden required for the construction of the backup system can be suppressed. As a result, it is possible to cope with disaster recovery and save a large amount of backup data while reducing the cost burden.

また、ストレージ装置10においては、バックアップLU14を構成するHDD15に、HDD15の識別情報を登録するバックアップLU構成テーブル17を備え、コントローラ11は、バックアップLU14を構成するHDD15の着脱時にバックアップLU構成テーブル17を読み出し、その内容に応じてバックアップLU14の利用可否を判別している。これにより、バックアップLU14を構成するHDD15を着脱可能な構成とした場合においても、バックアップLU14に対応するHDD15が欠落する事態を防止することが可能となる。   Further, the storage apparatus 10 includes a backup LU configuration table 17 for registering identification information of the HDD 15 in the HDD 15 configuring the backup LU 14, and the controller 11 stores the backup LU configuration table 17 when the HDD 15 configuring the backup LU 14 is attached or detached. Whether or not the backup LU 14 can be used is determined according to the contents read out. Thereby, even when the HDD 15 constituting the backup LU 14 is configured to be removable, it is possible to prevent the HDD 15 corresponding to the backup LU 14 from being lost.

また、外部保管しているバックアップLU14にコピーされるデータについて、コントローラ11は、差分テーブルを用いて管理を行うこととしているため、エクスポートおよびインポートした後においても、より高速にデータのバックアップを行うことが可能となる。   Further, since the controller 11 manages the data copied to the backup LU 14 stored externally using the difference table, the data can be backed up at a higher speed even after export and import. Is possible.

なお、バックアップLU14への差分データのコピーを行う際には、差分テーブルのブロック単位でデータを暗号化することも可能である。暗号化には、例えば、ストレージ装置10のファームウェアに記録された秘密鍵を使うことが考えられる。この場合には、ストレージ装置10の筐体11と、ファームウェアとの組合せがなければ復号することができないようになる。ただし、暗号前のデータサイズと暗号後のデータサイズとが同一のサイズになる暗号手法を使うことが必要となる。このように、バックアップLU14への差分データのコピー時に暗号化処理を施すことにより、外部保管したバックアップLU14内のデータを安全に保管することが可能となる。   Note that when copying differential data to the backup LU 14, it is also possible to encrypt the data in block units of the differential table. For encryption, for example, a secret key recorded in the firmware of the storage apparatus 10 can be used. In this case, decryption cannot be performed without a combination of the chassis 11 of the storage apparatus 10 and the firmware. However, it is necessary to use an encryption method in which the data size before encryption and the data size after encryption are the same size. As described above, by performing the encryption process when copying the differential data to the backup LU 14, it is possible to safely store the data in the backup LU 14 stored externally.

以上の説明では、複数のHDD15で構成され、RAID装置として機能するバックアップLU14を備える場合について示しているが、ストレージ装置10が備える記憶メディアについては、適宜変更が可能である。例えば、複数のランダムアクセス可能な記憶メディアにも適用することが可能である。   In the above description, a case is shown in which a backup LU 14 configured with a plurality of HDDs 15 and functioning as a RAID device is provided. However, the storage medium provided in the storage device 10 can be appropriately changed. For example, the present invention can be applied to a plurality of randomly accessible storage media.

本発明の実施の形態に係わるストレージ装置の全体構成図。1 is an overall configuration diagram of a storage apparatus according to an embodiment of the present invention. 本発明の実施の形態に係わるストレージ装置が有するバックアップLUの状態遷移についての説明図。FIG. 3 is an explanatory diagram showing state transition of a backup LU included in the storage apparatus according to the embodiment of the present invention. 本発明の実施の形態に係わるストレージ装置のコントローラおよびバックアップLU内のテーブルの説明図。FIG. 3 is an explanatory diagram of a table in a storage device controller and a backup LU according to an embodiment of the present invention. 本発明の実施の形態におけるバックアップLU状態テーブルに登録されるデータの一例を示すデータ構成図。The data block diagram which shows an example of the data registered into the backup LU state table in embodiment of this invention. 本発明の実施の形態におけるバックアップLU構成テーブル17に登録されるデータの説明図。Explanatory drawing of the data registered into the backup LU structure table 17 in embodiment of this invention. 本発明の実施の形態におけるバックアップLU14をエクスポートおよびインポートする際の操作についてのシーケンス図。The sequence diagram about operation at the time of exporting and importing backup LU14 in embodiment of this invention. 本発明の実施の形態におけるコントローラが備える差分テーブルにおける差分データの管理方法についての説明図。Explanatory drawing about the management method of the difference data in the difference table with which the controller in embodiment of this invention is provided.

符号の説明Explanation of symbols

10…ストレージ装置、11…筐体、12…コントローラ、13…マスタLU、14−1〜14−n…バックアップLU、15a、15b…磁気ディスク装置(HDD)、16…バックアップLU状態テーブル、17a、17b…バックアップLU構成テーブル。 DESCRIPTION OF SYMBOLS 10 ... Storage apparatus, 11 ... Case, 12 ... Controller, 13 ... Master LU, 14-1 to 14-n ... Backup LU, 15a, 15b ... Magnetic disk unit (HDD), 16 ... Backup LU status table, 17a, 17b: Backup LU configuration table.

Claims (1)

装置本体に書き込まれるデータを保持する磁気ディスク上に形成されるマスタ論理ユニ
ットと、
筐体に着脱可能な磁気ディスク上に形成され前記マスタ論理ユニット内のデータのバッ
クアップデータを保持するバックアップ論理ユニットと、
前記バックアップ論理ユニットの状態を切り替えて前記バックアップ論理ユニットに前
記マスタ論理ユニットの前記バックアップデータの書き込みを制御するコントローラとを
具備し、
前記コントローラは、
前記バックアップ論理ユニットを前記マスタ論理ユニットと同期させる同期状態と、
前記バックアップ論理ユニットを前記マスタ論理ユニットから切り離す分割状態と、
前記マスタ論理ユニット内のデータを前記バックアップ論理ユニットにコピーするコピ
ー状態と、前記バックアップ論理ユニットを構成する磁気ディスクを装置筐体から取り外
したオフライン状態と、を管理する第1の管理テーブルを備え、
前記バックアップ論理ユニットは、前記コントローラが前記バックアップ論理ユニット
の利用可否を判別するための識別情報を登録する第2の管理テーブルを備え、
前記コントローラは、ユーザの操作により前記バックアップ論理ユニットのエクスポー
トおよびインポート要求があったときはバックアップ論理ユニットを分割状態とし、ユー
ザによる前記バックアップ論理ユニットのエクスポートおよびインポートがあった旨の通
知を受けたときは、前記第1の管理テーブルでの状態が分割状態であって、前記第2の管
理テーブルの前記識別情報により前記筐体内に存在しない前記バックアップ論理ユニット
の状態をオフライン状態とし、前記第1の管理テーブルでの状態がオフライン状態であっ
て、前記第2の管理テーブルの前記識別情報により前記筐体内に存在する前記バックアッ
プ論理ユニットの状態を分割状態とし、
前記バックアップ論理ユニットをローテーションすることを特徴とするストレージ装置
A master logical unit formed on a magnetic disk that holds data to be written to the device body;
A backup logical unit that is formed on a magnetic disk that can be attached to and detached from a housing and holds backup data of data in the master logical unit;
A controller that controls the writing of the backup data of the master logical unit to the backup logical unit by switching the state of the backup logical unit;
The controller is
A synchronization state in which the backup logical unit is synchronized with the master logical unit;
A split state for separating the backup logical unit from the master logical unit;
A first management table for managing a copy state in which data in the master logical unit is copied to the backup logical unit, and an offline state in which a magnetic disk constituting the backup logical unit is removed from an apparatus housing;
The backup logical unit includes a second management table for registering identification information for the controller to determine whether the backup logical unit can be used,
The controller puts the backup logical unit into a split state when there is a request to export and import the backup logical unit by a user operation, and receives a notification that the user has exported and imported the backup logical unit The state in the first management table is a divided state, and the state of the backup logical unit that does not exist in the enclosure is set to the offline state by the identification information in the second management table, and the first management table The state in the management table is an offline state, and the state of the backup logical unit existing in the chassis is divided according to the identification information in the second management table ,
A storage device which is characterized that you rotate the backup logic unit.
JP2006327774A 2006-12-05 2006-12-05 Storage device Expired - Fee Related JP4920390B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006327774A JP4920390B2 (en) 2006-12-05 2006-12-05 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006327774A JP4920390B2 (en) 2006-12-05 2006-12-05 Storage device

Publications (2)

Publication Number Publication Date
JP2008140289A JP2008140289A (en) 2008-06-19
JP4920390B2 true JP4920390B2 (en) 2012-04-18

Family

ID=39601647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006327774A Expired - Fee Related JP4920390B2 (en) 2006-12-05 2006-12-05 Storage device

Country Status (1)

Country Link
JP (1) JP4920390B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657168A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method, device and system for synchronizing data

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254634A (en) * 1997-03-14 1998-09-25 Hitachi Ltd Storage device and restoration means for storage device
JP4633886B2 (en) * 2000-05-25 2011-02-16 株式会社日立製作所 Disk array device
US6487474B1 (en) * 2001-05-10 2002-11-26 International Business Machines Corporation Automated data storage library with multipurpose slots providing user-selected control path to shared robotic device
EP1956475A3 (en) * 2002-02-05 2008-08-27 Asaca Corporation Data storage system
JP4326819B2 (en) * 2003-02-28 2009-09-09 株式会社日立製作所 Storage system control method, storage system, program, and recording medium
JP2005018185A (en) * 2003-06-24 2005-01-20 Hitachi Ltd Storage device system
JP2005267038A (en) * 2004-03-17 2005-09-29 Hitachi Ltd Operation method for storage system
JP4575059B2 (en) * 2004-07-21 2010-11-04 株式会社日立製作所 Storage device

Also Published As

Publication number Publication date
JP2008140289A (en) 2008-06-19

Similar Documents

Publication Publication Date Title
US8918651B2 (en) Cryptographic erasure of selected encrypted data
US7559088B2 (en) Method and apparatus for deleting data upon expiration
EP1970831B1 (en) Storage apparatus
JP4877962B2 (en) Storage subsystem with encryption function
US8635461B2 (en) Retrieval and display of encryption labels from an encryption key manager certificate ID attached to key certificate
EP1999554B1 (en) Hard disk storage system
KR101047213B1 (en) Encryption apparatus, encryption method and computer readable recording medium
US20110188651A1 (en) Key rotation for encrypted storage media using a mirrored volume revive operation
JP2006059347A (en) Storage system using journaling
US20100169662A1 (en) Simultaneous state-based cryptographic splitting in a secure storage appliance
JP2006252451A (en) Storage system
CN1316379C (en) Data service device
US8590042B2 (en) Storage system, and encryption key management method and encryption key management program thereof
US8090978B2 (en) Protection of data on failing storage devices
JP4920390B2 (en) Storage device
US8862846B2 (en) Control apparatus, control method, and storage apparatus
JP2002351747A (en) Backup managing method for in-storage data of storage system and storage system equipped with means for implementing the same managing method
JP5532516B2 (en) Storage apparatus and encryption key changing method
US9251382B2 (en) Mapping encrypted and decrypted data via key management system
JP2002278706A (en) Disk array device
JP4028677B2 (en) Remote copy computer system
JP2010130459A (en) Backup system and method of changing encryption key of the same
GB2431250A (en) Data transfer system
JP5023161B2 (en) Digital data recording / reproducing device
JPH10254629A (en) Data archive system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100625

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100810

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101026

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20101104

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20101203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111124

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111128

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111209

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120201

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150210

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees