JP3904894B2 - Backup management method and storage control device used in this method - Google Patents

Backup management method and storage control device used in this method Download PDF

Info

Publication number
JP3904894B2
JP3904894B2 JP2001342467A JP2001342467A JP3904894B2 JP 3904894 B2 JP3904894 B2 JP 3904894B2 JP 2001342467 A JP2001342467 A JP 2001342467A JP 2001342467 A JP2001342467 A JP 2001342467A JP 3904894 B2 JP3904894 B2 JP 3904894B2
Authority
JP
Japan
Prior art keywords
data
backup
update
storage device
time
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
JP2001342467A
Other languages
Japanese (ja)
Other versions
JP2003140981A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001342467A priority Critical patent/JP3904894B2/en
Priority to US10/290,931 priority patent/US7013317B2/en
Publication of JP2003140981A publication Critical patent/JP2003140981A/en
Application granted granted Critical
Publication of JP3904894B2 publication Critical patent/JP3904894B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1466Management of the backup or restore process to make the backup process non-disruptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability
    • 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99955Archiving or backup

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、データのバックアップ管理方法に関し、とくに記憶デバイスがミラーリングの手法により運用されている場合において、バックアップデータの世代管理を効率よく行えるようにする技術に関する。
【0002】
【従来の技術】
ディスクアレイ装置などの記憶制御装置に格納されているデータのバックアップ管理方法としては、従来から様々な仕組みが存在する。例えば、特開2001−159993号公報には、データベースの更新に際して更新前のデータを履歴蓄積部に格納し、更新時刻をキーとして更新前情報を管理することで、任意の時点における過去のデータベースの状態を復元する仕組みが開示されている。また、特開2001−125815号公報には、上位装置から記憶サブシステムに対する更新処理が行われたときに、データが書き込まれた時刻、データの格納場所、データ内容を有するログを取得しておき、このログに基づいてデータの復元を行う方法が開示されている。また、特開平8−185346号公報には、ネットワーク経由で被バックアップ装置とバックアップ装置を接続し、被バックアップ装置に更新履歴管理テーブルを設け、更新履歴管理テーブルを参照して被バックアップ装置上のデータを通信回線を介して時系列的にバックアップ装置に伝送することにより、被バックアップ装置上のデータをバックアップ装置に遅延させて複製するデータ複製方法について開示されている。
【0003】
【発明が解決しようとする課題】
ところで、データの再入力や再更新などの手間を最小限に抑えるため、データの復元に際しては、データをできるだけ障害発生直前に近い状態に復元することが理想的であり、従って、データのバックアップ管理においては、バックアップしたデータを世代管理する仕組みが不可欠である。しかしながら、世代管理を行うためには、定期的にバックアップを行う仕組みや、データの更新ログを蓄積記録する仕組みなどが必要であり、システムの複雑化や運用負荷の増大につながりやすい。
【0004】
一方、近年のディスクアレイ装置などの記憶制御装置においては、いわゆるミラーリング(RAID1)の手法が適用されていることも少なくない。ここでミラーリングペアを構成する2つの記憶デバイスA,Bには、同一のデータが同期的に管理されており、記憶デバイスA,Bはお互いのデータを相互にバックアップし合う関係にある。
【0005】
そこで、本発明者らは、このようなミラーリングの仕組みを応用することで、世代管理を効率よく行うことができるバックアップ管理方法について構想した。
【0006】
本発明は、このような経緯に基づいてなされたもので、記憶デバイスがミラーリングの手法により運用されている場合に、バックアップデータの世代管理を効率よく行うことができるバックアップ管理方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
この目的を達成するための、本発明の主たる発明は、ミラーリングペアを構成している第1の記憶デバイスと第2の記憶デバイスに記憶管理されているデータのバックアップ管理方法であって、時刻t0において、前記第2の記憶デバイスの更新処理を停止するとともに、前記第1の記憶デバイス上に区画されたデータブロックについての更新有無を第1の更新管理テーブル第2の更新管理テーブルにより管理することを開始する第1のステップと、時刻t1(t0≦t1)において、前記第1の更新管理テーブルの管理をその内容が更新無の状態から再開し、前記第2の更新管理テーブルの更新を停止し、前記第2の更新管理テーブルの更新有となっているデータブロックに格納されている前記第2の記憶デバイスのデータをバックアップメディアに複写する第2のステップと、時刻t2(t1<t2)において、前記第2の更新管理テーブルの更新有となっているデータブロックに格納されている前記第1の記憶デバイスのデータを当該データブロックに対応する前記第2の記憶デバイスのデータブロックに複写した後、前記第1の更新管理テーブルの内容を前記第2の更新管理テーブルに反映させて前記第1の更新管理テーブルの内容と前記第2の更新管理テーブルの内容を一致させる第3のステップと、を備えることとする。
【0008】
【発明の実施の形態】
図1は本発明の一実施例によるバックアップ管理方法を説明するための、上位装置10、記憶制御装置20、記憶装置30などを備えて構成されるシステムの概略構成である。上位装置10は、例えば、汎用コンピュータやパーソナルコンピュータなどで構成され、上位装置10には、SCSIやファイバーチャネルなどのインタフェースを介してバックアップ装置40が接続する。バックアップ装置40は、例えば、磁気テープ装置やDATテープドライブなどである。
【0009】
記憶制御装置20は、CPU21、上位装置10との間の入出力インタフェース22、制御メモリ23、記憶装置30への入出力を行うドライブ入出力制御部24などを備え、SCSIやファイバーチャネルなどのインタフェースを介して上位装置10と接続する。記憶装置30は、記憶デバイスとして1台以上のディスクユニットが実装されたディスクアレイ装置であり、SCSIなどのインタフェースを介して記憶制御装置20に接続する。
【0010】
記憶制御装置20は、一台もしくは複数台のディスクユニットの記憶エリアを用いて編成される論理ユニット(以下、「LU」(Logical Unit)と称する)、およびこの論理ユニット内に区画されたデータブロックを用いてディスクユニットにより提供される記憶エリアの管理を行っている。なお、論理ユニットはLUN(Logical Unit Number)で識別され、また、データブロックはブロックアドレスで指定される。
【0011】
<バックアップ>
つぎに、以上の構成からなるシステムにおいて実行される、本発明のバックアップ管理方法について説明する。図2(a)に示すように、記憶制御装置20は、LU0(31)とLU1(32)のペアによりミラーリング(RAID1)を行っている。また、記憶制御装置20は、LU0(31)、LU1(32)に対応する、更新管理ビットマップ25,26を制御メモリ23に記憶管理している。更新管理ビットマップとは、LU0(31)およびLU1(32)のそれぞれのデータブロックに格納されているデータに対する更新処理の有無がビットのオン・オフ管理されたテーブルである。
【0012】
バックアップに際しては、図2(b)に示すように、まず、上位装置10から記憶制御装置20に対してミラースプリット要求が送信される。ここでミラースプリットとは、LU0(31)についての更新処理はそのまま続行するが、LU1(31)に対する更新処理の方は停止するという運用状態をいう。ミラースプリット要求を受信した記憶制御装置20は、ミラースプリット状態での運用を開始する。この開始時刻をt0とする。また、時刻t0において、記憶制御装置20は更新管理ビットマップ25,26の更新処理を開始する。なお、ミラースプリット状態での運用が開始されることで、時刻t0以後、LU1(32)には時刻t0の状態にそのまま維持されることになる。
【0013】
つぎに、図2(c)に示すように、上位装置10は、ミラースプリット状態での運用開始以後の時刻t1(t0≦t1)において、記憶制御装置20にバックアップ開始要求を送信する。記憶制御装置20は、バックアップ開始要求を受信すると、更新管理ビットマップ25の全データブロックについてのビットをオフ(更新無)にセットし、一方、更新管理ビットマップ26についての更新処理を停止する。これにより更新管理ビットマップ25には、時刻t1を起点としてLU0(31)の各データブロックの更新状況が管理され、一方、更新管理ビットマップ26は、時刻t1における状態に維持されることになる。
【0014】
つぎに、記憶制御装置20は、更新管理ビットマップ26のビットがオン(更新有)になっているLU1(32)のデータブロックに格納されているデータをバックアップメディアにバックアップする。なお、LU1(32)は、時刻t0以後、更新処理を停止しているため、バックアップされるデータは、時刻t0時点におけるデータである。
【0015】
バックアップは、まず、記憶制御装置20がLU1(32)におけるビットがオン(更新有)になっているデータブロックに格納されているデータを上位装置10に転送し、上位装置10が転送されてきた前記データをさらにバックアップ装置20に転送し、バックアップ装置20が上位装置10から送られてくるデータを磁気テープやDATテープなどのバックアップメディアに複写する、という一連の手順で行われる。なお、バックアップメディアに記録されるデータには、そのデータがどのブロックアドレスに格納されていたデータであるかを示すブロックアドレスも付帯する。
【0016】
なお、図2(d)に示すように、時刻t1以後においてもLU0(31)は上位装置10から利用できる状態にあり、時刻t1以後のバックアップ期間中においても、LU0(31)に対する更新処理は通常どおり行われている。
【0017】
つぎに、以上のバックアップ処理が終了した後の時刻t2(t1<t2)において、記憶制御装置20は、図2(e)に示すように、更新管理ビットマップ26を参照し、ビットがオン(更新有)になっているLU0(31)のデータブロックのデータを、そのデータブロックに対応するLU1(32)のデータブロックに複写する。なお、前述したように更新管理ビットマップ26は、時刻t1以後、更新処理を停止しているため、この複写の対象となるデータは、ミラースプリットを開始した時刻t0からデータバックアップを開始した時刻t1までの間に更新されたLU0(31)のデータブロックのデータである。この複写処理によりLU1(32)の内容は、バックアップを開始した時刻t1時点におけるLU0(31)の状態となる。記憶制御装置20は、以上の複写処理の後、更新管理ビットマップ26を、更新管理ビットマップ25の内容に一致させる。
【0018】
<データの復元>
つぎに、時刻t3においてソフトウエアエラーの発覚などによりデータの復元が必要になった場合における、データの復元に関する処理について図3とともに説明する。
【0019】
図3(a)は、時刻t1の状態に復元する場合である。前述したように、LU1(32)は、時刻t1時点におけるLU0(31)の状態に維持されている。また、更新管理ビットマップ25,26には、時刻t1以後におけるデータ更新の有無が反映されている。そこで、更新管理ビットマップ25,26(いずれでもよい)のビットがオン(更新有)になっているデータブロックに格納されているLU1(32)のデータをLU0(31)に複写することで、LU0(31)の内容を時刻t1の時点の状態に復元することができる。なお、この復元処理に際しては、更新管理ビットマップ25、26のビットがオン(更新有)になっているデータブロックに格納されているLU1(32)のデータのみを複写するだけで済むので、必要最小限の処理負荷しか生ぜず、また、処理時間も短くて済む。
【0020】
一方、図3(b)は、時刻t0の状態に復元する場合の処理である。この場合、バックアップメディアには、時刻t0〜t1までの間に更新されたデータブロックに格納されていた時刻t0におけるデータが格納されている。そこで、更新管理ビットマップ25,26においてビットがオン(更新有)になっているデータブロックのデータをバックアップメディアからLU0(31)に書き戻すことで、時刻t0の状態に復元することができる。なお、この復元に際しては、バックアップメディアから更新管理ビットマップ25、26のビットがオン(更新有)になっているデータブロックのデータのみを書き戻すだけで済むので、必要最小限の処理負荷しか生ぜず、また、処理時間も短くて済む。
【0021】
<その他>
以上の実施例では、上位装置10がバックアップ要求を出すようにしているが、記憶制御装置20がバックアップ要求を出す構成であってもよい。
【0022】
以上の実施例は、記憶制御装置20と記憶装置30とを別体で構成しているが、これらは一体的に構成されていてもよい。
【0023】
記憶装置30は、ディスクアレイ装置に限られる訳ではなく、半導体ディスク装置など他にも様々なものが考えられる。
【0024】
以上の実施例では、記憶制御装置20が論理ユニット単位でミラーリングを行っている場合について説明したが、当然のことながら物理ユニット単位でミラーリングを行っている場合も適用することができる。
【0025】
【発明の効果】
本発明のバックアップ管理方法によれば、記憶デバイスがミラーリングの手法により運用されている場合に、バックアップデータの世代管理を効率よく行うことができる。
【図面の簡単な説明】
【図1】(a)〜(e)は、本発明の一実施例によるバックアップ管理方法を説明するシステムの概略構成を示す図である。
【図2】本発明の一実施例によるバックアップ管理方法におけるバックアップ処理を説明する図である。
【図3】(a)〜(c)は、本発明の一実施例によるバックアップ管理方法におけるデータの復元処理を説明する図である。
【符号の説明】
10 上位装置
20 記憶制御装置
25 LU0の更新管理ビットマップ
26 LU1の更新管理ビットマップ
30 記憶装置
31 論理ユニットLU0
32 論理ユニットLU1
40 バックアップ装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data backup management method, and more particularly to a technique for efficiently performing generation management of backup data when a storage device is operated by a mirroring technique.
[0002]
[Prior art]
Conventionally, there are various mechanisms for backup management of data stored in a storage control device such as a disk array device. For example, in Japanese Patent Application Laid-Open No. 2001-159993, data before update is stored in a history storage unit when a database is updated, and information before update is managed using an update time as a key. A mechanism for restoring the state is disclosed. Japanese Patent Laid-Open No. 2001-125815 obtains a log having a time when data is written, a data storage location, and data contents when an update process is performed on a storage subsystem from a host device. A method of restoring data based on this log is disclosed. Japanese Patent Laid-Open No. 8-185346 discloses that a backup target device and a backup device are connected via a network, an update history management table is provided in the backup target device, and the data on the backup target device is referred to by referring to the update history management table. A data replication method is disclosed in which data on a backup target apparatus is delayed and replicated to a backup apparatus by transmitting data to the backup apparatus in a time series via a communication line.
[0003]
[Problems to be solved by the invention]
By the way, in order to minimize the trouble of data re-entry and re-update, when restoring data, it is ideal to restore the data as close as possible to the time immediately before the failure occurred. Therefore, it is essential to have a generation management system for backed up data. However, in order to perform generation management, it is necessary to have a mechanism for performing regular backups, a mechanism for accumulating and recording data update logs, and the like, which tends to lead to a complicated system and an increased operational load.
[0004]
On the other hand, in storage control devices such as disk array devices in recent years, a so-called mirroring (RAID1) technique is often applied. Here, the same data is managed synchronously in the two storage devices A and B constituting the mirroring pair, and the storage devices A and B have a relationship of backing up each other's data.
[0005]
Therefore, the present inventors have envisioned a backup management method that can efficiently perform generation management by applying such a mirroring mechanism.
[0006]
The present invention has been made based on such circumstances, and provides a backup management method capable of efficiently performing generation management of backup data when a storage device is operated by a mirroring technique. Objective.
[0007]
[Means for Solving the Problems]
In order to achieve this object, a main invention of the present invention is a backup management method for data stored and managed in a first storage device and a second storage device that constitute a mirroring pair, and includes a time t0. The update processing of the second storage device is stopped , and whether or not the data block partitioned on the first storage device is updated is managed by the first update management table and the second update management table . At the first step of starting the process and at time t1 (t0 ≦ t1), the management of the first update management table is resumed from the state in which the contents are not updated, and the update of the second update management table is updated. stop, back data of said stored data block that is to be updated chromatic second update management table the second storage device A second step, at time t2 (t1 <t2), the data of the first storage device stored in the data block that is to be updated chromatic of the second update management table corresponding to replicate the media After copying to the data block of the second storage device corresponding to the data block, the contents of the first update management table are reflected by reflecting the contents of the first update management table in the second update management table. And a third step of matching the contents of the second update management table .
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a schematic configuration of a system including a host device 10, a storage control device 20, a storage device 30 and the like for explaining a backup management method according to an embodiment of the present invention. The host device 10 is composed of, for example, a general-purpose computer or a personal computer, and the backup device 40 is connected to the host device 10 via an interface such as SCSI or fiber channel. The backup device 40 is, for example, a magnetic tape device or a DAT tape drive.
[0009]
The storage control device 20 includes a CPU 21, an input / output interface 22 with the host device 10, a control memory 23, a drive input / output control unit 24 that performs input / output to the storage device 30, and the like, and interfaces such as SCSI and Fiber Channel Is connected to the host device 10 via The storage device 30 is a disk array device in which one or more disk units are mounted as a storage device, and is connected to the storage control device 20 via an interface such as SCSI.
[0010]
The storage controller 20 includes a logical unit (hereinafter referred to as “LU” (Logical Unit)) organized using a storage area of one or a plurality of disk units, and data blocks partitioned in the logical unit. Is used to manage the storage area provided by the disk unit. A logical unit is identified by a LUN (Logical Unit Number), and a data block is specified by a block address.
[0011]
<Backup>
Next, the backup management method of the present invention executed in the system having the above configuration will be described. As shown in FIG. 2A, the storage controller 20 performs mirroring (RAID1) with a pair of LU0 (31) and LU1 (32). Further, the storage control device 20 stores and manages the update management bitmaps 25 and 26 corresponding to LU0 (31) and LU1 (32) in the control memory 23. The update management bitmap is a table in which the presence / absence of update processing for data stored in the respective data blocks of LU0 (31) and LU1 (32) is managed on and off.
[0012]
At the time of backup, as shown in FIG. 2B, first, a mirror split request is transmitted from the host device 10 to the storage control device 20. Here, the mirror split refers to an operation state in which the update process for LU0 (31) is continued, but the update process for LU1 (31) is stopped. The storage controller 20 that has received the mirror split request starts operation in the mirror split state. Let this start time be t0. At time t0, the storage controller 20 starts update processing of the update management bitmaps 25 and 26. Since the operation in the mirror split state is started, LU1 (32) is maintained in the state at time t0 as it is after time t0.
[0013]
Next, as shown in FIG. 2C, the upper level device 10 transmits a backup start request to the storage control device 20 at time t1 (t0 ≦ t1) after the start of operation in the mirror split state. When the storage control device 20 receives the backup start request, it sets the bits for all data blocks of the update management bitmap 25 to OFF (no update), while stopping the update processing for the update management bitmap 26. As a result, the update management bitmap 25 manages the update status of each data block of LU0 (31) starting from time t1, while the update management bitmap 26 is maintained in the state at time t1. .
[0014]
Next, the storage controller 20 backs up the data stored in the data block of LU1 (32) in which the bit of the update management bitmap 26 is on (update available) to the backup medium. Since LU1 (32) has stopped updating after time t0, the data to be backed up is the data at time t0.
[0015]
In the backup, first, the storage control device 20 transfers the data stored in the data block in which the bit in LU1 (32) is ON (updated) to the higher-level device 10, and the higher-level device 10 has been transferred. The data is further transferred to the backup device 20, and the backup device 20 copies the data sent from the host device 10 to a backup medium such as a magnetic tape or a DAT tape. The data recorded on the backup medium is also accompanied by a block address indicating which block address the data is stored in.
[0016]
As shown in FIG. 2 (d), LU0 (31) is still available from the host device 10 even after time t1, and update processing for LU0 (31) is also performed during the backup period after time t1. It is done as usual.
[0017]
Next, at time t2 (t1 <t2) after the completion of the above backup processing, the storage control device 20 refers to the update management bitmap 26 as shown in FIG. The data of the data block of LU0 (31) that is updated) is copied to the data block of LU1 (32) corresponding to the data block. As described above, since the update management bitmap 26 has stopped the update process after the time t1, the data to be copied is copied from the time t0 when the mirror split is started to the time t1 when the data backup is started. The data of the data block of LU0 (31) that has been updated until this time. As a result of this copying process, the contents of LU1 (32) become the state of LU0 (31) at the time t1 when the backup is started. The storage control device 20 makes the update management bitmap 26 match the contents of the update management bitmap 25 after the above copying process.
[0018]
<Restoring data>
Next, processing related to data restoration in the case where data restoration becomes necessary due to detection of a software error or the like at time t3 will be described with reference to FIG.
[0019]
FIG. 3A shows a case where the state is restored to the state at time t1. As described above, LU1 (32) is maintained in the state of LU0 (31) at time t1. The update management bitmaps 25 and 26 reflect the presence or absence of data update after time t1. Therefore, by copying the data of LU1 (32) stored in the data block in which the bits of the update management bitmaps 25 and 26 (which may be any) are on (update available) to LU0 (31), The contents of LU0 (31) can be restored to the state at time t1. In this restoration process, it is only necessary to copy the data of LU1 (32) stored in the data block in which the bits of the update management bitmaps 25 and 26 are on (update available). Minimal processing load is generated and the processing time is short.
[0020]
On the other hand, FIG. 3B shows a process in the case of restoring to the state at time t0. In this case, the backup medium stores data at time t0 stored in the data block updated between time t0 and time t1. Therefore, the data of the data block whose bit is turned on (update available) in the update management bitmaps 25 and 26 can be restored to the state at time t0 by writing it back to the LU0 (31) from the backup medium. In this restoration, it is only necessary to write back only the data of the data block in which the bit of the update management bitmaps 25 and 26 is on (updated) from the backup medium, so that only a minimum processing load is generated. In addition, the processing time is short.
[0021]
<Others>
In the above embodiment, the host device 10 issues a backup request, but the storage control device 20 may issue a backup request.
[0022]
In the above embodiment, the storage control device 20 and the storage device 30 are configured separately, but they may be configured integrally.
[0023]
The storage device 30 is not limited to a disk array device, and various other devices such as a semiconductor disk device can be considered.
[0024]
In the above embodiment, the case where the storage controller 20 performs mirroring in units of logical units has been described, but it is also applicable to cases in which mirroring is performed in units of physical units.
[0025]
【The invention's effect】
According to the backup management method of the present invention, generation management of backup data can be efficiently performed when a storage device is operated by a mirroring technique.
[Brief description of the drawings]
FIGS. 1A to 1E are diagrams showing a schematic configuration of a system for explaining a backup management method according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating backup processing in a backup management method according to an embodiment of the present invention.
FIGS. 3A to 3C are diagrams for explaining data restoration processing in a backup management method according to an embodiment of the present invention; FIGS.
[Explanation of symbols]
10 Host device 20 Storage control device 25 LU0 update management bitmap 26 LU1 update management bitmap 30 Storage device 31 Logical unit LU0
32 Logical unit LU1
40 Backup device

Claims (5)

ミラーリングペアを構成している第1の記憶デバイスと第2の記憶デバイスに記憶管理されているデータのバックアップ管理方法であって、
時刻t0において、前記第2の記憶デバイスの更新処理を停止するとともに、前記第1の記憶デバイス上に区画されたデータブロックについての更新有無を第1の更新管理テーブル第2の更新管理テーブルにより管理することを開始する第1のステップと、
時刻t1(t0≦t1)において、前記第1の更新管理テーブルの管理をその内容が更新無の状態から再開し、前記第2の更新管理テーブルの更新を停止し、前記第2の更新管理テーブルの更新有となっているデータブロックに格納されている前記第2の記憶デバイスのデータをバックアップメディアに複写する第2のステップと、
時刻t2(t1<t2)において、前記第2の更新管理テーブルの更新有となっているデータブロックに格納されている前記第1の記憶デバイスのデータを当該データブロックに対応する前記第2の記憶デバイスのデータブロックに複写した後、前記第1の更新管理テーブルの内容を前記第2の更新管理テーブルに反映させて前記第1の更新管理テーブルの内容と前記第2の更新管理テーブルの内容を一致させる第3のステップと、
を備えることを特徴とするバックアップ管理方法。
A backup management method for data stored and managed in a first storage device and a second storage device constituting a mirroring pair,
At time t0, the update processing of the second storage device is stopped , and whether or not the data block partitioned on the first storage device is updated is determined by the first update management table and the second update management table. A first step to start managing;
At time t1 (t0 ≦ t1), the management of the first update management table is resumed from the state where the contents are not updated , the update of the second update management table is stopped, and the second update management table is stopped. A second step of copying the data in the second storage device stored in the data block that is updated to a backup medium;
At time t2 (t1 <t2), the second storage to the corresponding data of the first storage device stored in the data block that is to be updated chromatic of the second update management table in the data block After copying to the data block of the device , the contents of the first update management table and the contents of the second update management table are reflected by reflecting the contents of the first update management table on the second update management table . A third step of matching,
A backup management method comprising:
請求項1に記載のバックアップ管理方法であって、
前記第2のステップにおける前記バックアップメディアへの複写に際し、前記バックアップメディアに複写する前記データに、当該データが格納されていた前記データブロックを指定する情報を付帯させること
を特徴とするバックアップ管理方法。
The backup management method according to claim 1,
A backup management method characterized in that, when copying to the backup medium in the second step, information specifying the data block in which the data is stored is attached to the data to be copied to the backup medium .
請求項1に記載のバックアップ管理方法であって、
前記バックアップメディアに複写した前記データを前記第1の記憶デバイスもしくは前記第2の記憶デバイスに書き戻すことにより、前記第1の記憶デバイスの内容を前記時刻t0の時点における状態に復元すること
を特徴とするバックアップ管理方法。
The backup management method according to claim 1,
By writing back the data has been copied to the backup media to the first storage device or the second storage device, characterized in that to restore the contents of the first storage device to the state at the time of the time t0 Backup management method.
請求項1に記載のバックアップ管理方法であって、
前記第3のステップの実行後に、前記第1の更新管理テーブルの更新有となっているデータブロックに対応する前記第2の記憶デバイスのデータブロックに格納されているデータを前記第1の記憶デバイスに複写することで、前記第1の記憶デバイスの内容を前記時刻t1の時点における状態に復元すること
を特徴とするバックアップ管理方法。
The backup management method according to claim 1,
After execution of the third step, the first update management table update perforated and made to correspond to the data block being said second of said first memory the data stored in the data block of the storage device A backup management method , wherein the contents of the first storage device are restored to the state at the time t1 by copying to a device .
請求項1に記載のバックアップ管理方法に用いる記憶制御装置であって、
通信手段により接続する上位装置からの要求に応じて前記第1の記憶デバイスと前記第2の記憶デバイスにデータを読み書きする手段と、
前記バックアップメディアにデータを読み書きする手段と、
前記第1乃至第3のステップを実行する手段と
を備えることを特徴とする記憶制御装置。
A storage control device for use in the backup management method according to claim 1,
Means for reading and writing data to and from the first storage device and the second storage device in response to a request from a host device connected by communication means;
Means for reading and writing data to the backup medium;
A storage control device comprising: means for executing the first to third steps.
JP2001342467A 2001-11-07 2001-11-07 Backup management method and storage control device used in this method Expired - Fee Related JP3904894B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001342467A JP3904894B2 (en) 2001-11-07 2001-11-07 Backup management method and storage control device used in this method
US10/290,931 US7013317B2 (en) 2001-11-07 2002-11-07 Method for backup and storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001342467A JP3904894B2 (en) 2001-11-07 2001-11-07 Backup management method and storage control device used in this method

Publications (2)

Publication Number Publication Date
JP2003140981A JP2003140981A (en) 2003-05-16
JP3904894B2 true JP3904894B2 (en) 2007-04-11

Family

ID=19156321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001342467A Expired - Fee Related JP3904894B2 (en) 2001-11-07 2001-11-07 Backup management method and storage control device used in this method

Country Status (2)

Country Link
US (1) US7013317B2 (en)
JP (1) JP3904894B2 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164318A (en) 2002-11-13 2004-06-10 Hitachi Ltd Generation management method for backup data and storage controller to be used for this method
JP4322511B2 (en) * 2003-01-27 2009-09-02 株式会社日立製作所 Information processing system control method and information processing system
JP4473513B2 (en) * 2003-02-27 2010-06-02 富士通株式会社 Originality verification apparatus and originality verification program
JP2004303122A (en) 2003-04-01 2004-10-28 Hitachi Ltd Data transfer control system
JP4325849B2 (en) * 2003-06-27 2009-09-02 株式会社日立製作所 Storage system, backup system, and backup method
JP4021823B2 (en) * 2003-09-01 2007-12-12 株式会社日立製作所 Remote copy system and remote copy method
US7296008B2 (en) * 2004-08-24 2007-11-13 Symantec Operating Corporation Generation and use of a time map for accessing a prior image of a storage device
US20050149554A1 (en) * 2003-12-29 2005-07-07 Chong Fay Jr. One-way data mirror using write logging
US7412577B2 (en) * 2004-02-05 2008-08-12 International Business Machines Corporation Shared data mirroring apparatus, method, and system
US20060051157A1 (en) * 2004-09-09 2006-03-09 International Business Machines Corporation Systems, methods, and media for backing up a computer system
JP2007323218A (en) * 2006-05-31 2007-12-13 Hitachi Ltd Backup system
JP4990064B2 (en) 2007-08-09 2012-08-01 株式会社日立製作所 Storage system and backup method
JP4714726B2 (en) * 2007-12-11 2011-06-29 株式会社日立製作所 Digital data recording / reproducing apparatus and digital data recording / reproducing method
US9836370B2 (en) * 2010-11-18 2017-12-05 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Backup memory administration using an active memory device and a backup memory device
CN105868053A (en) * 2016-03-28 2016-08-17 上海上讯信息技术股份有限公司 Method and equipment for backing up data on basis of data blocks
US11216361B2 (en) * 2016-06-29 2022-01-04 Western Digital Technologies, Inc. Translation lookup and garbage collection optimizations on storage system with paged translation table

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3303572B2 (en) 1994-12-27 2002-07-22 三菱電機株式会社 Data replication method
JP2001125815A (en) 1999-10-26 2001-05-11 Hitachi Ltd Back-up data management system
JP2001159993A (en) 1999-12-03 2001-06-12 Hitachi Ltd Method and device for storing data for referring to optional time state
US7031986B2 (en) * 2000-06-27 2006-04-18 Fujitsu Limited Database system with backup and recovery mechanisms

Also Published As

Publication number Publication date
JP2003140981A (en) 2003-05-16
US7013317B2 (en) 2006-03-14
US20030088592A1 (en) 2003-05-08

Similar Documents

Publication Publication Date Title
JP3316500B2 (en) Increase the number of drives in a RAID set while maintaining the integrity of the moved data
US6883112B2 (en) Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices
JP3904894B2 (en) Backup management method and storage control device used in this method
US7107486B2 (en) Restore method for backup
US7975168B2 (en) Storage system executing parallel correction write
US6766491B2 (en) Parity mirroring between controllers in an active-active controller pair
JP4152373B2 (en) A system that maintains the integrity of logical objects in a remote mirror cache
US7185048B2 (en) Backup processing method
US8219770B2 (en) Storage system and data management method
US20020129214A1 (en) System and method for minimizing message transactions for fault-tolerant snapshots in a dual-controller environment
KR20030017532A (en) Data storage system and process
JP2005031716A (en) Method and device for data backup
JP2002259062A (en) Storage device system and data copying method for data for the same
JP2014137711A (en) Storage device, backup program and backup method
JP2006059347A (en) Storage system using journaling
JP4311532B2 (en) Storage system and snapshot management method in the same system
US8151069B1 (en) Multiprotection for snapsnots
US20090177916A1 (en) Storage system, controller of storage system, control method of storage system
JP4394467B2 (en) Storage system, server apparatus, and preceding copy data generation method
JP4398596B2 (en) Disk array device
JP4187778B2 (en) Backup system and backup method
JP2007323377A (en) Recording apparatus, method for writing management data and method for repairing management data
JPH11154058A (en) Disk array device and data maintaining method
JP2019185661A (en) Storage device and control program
JPH06124169A (en) Duplex systematized optical disk device and automatic i/o error restoring method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040218

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040218

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060725

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070110

R150 Certificate of patent or registration of utility model

Ref document number: 3904894

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100119

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130119

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20140119

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees