JP2007323589A - Copy control method, copy controller, and copy control program for virtual volume - Google Patents

Copy control method, copy controller, and copy control program for virtual volume Download PDF

Info

Publication number
JP2007323589A
JP2007323589A JP2006156296A JP2006156296A JP2007323589A JP 2007323589 A JP2007323589 A JP 2007323589A JP 2006156296 A JP2006156296 A JP 2006156296A JP 2006156296 A JP2006156296 A JP 2006156296A JP 2007323589 A JP2007323589 A JP 2007323589A
Authority
JP
Japan
Prior art keywords
virtual volume
data
copy
storage area
physical storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2006156296A
Other languages
Japanese (ja)
Inventor
Hiroyuki Miura
宏之 三浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006156296A priority Critical patent/JP2007323589A/en
Publication of JP2007323589A publication Critical patent/JP2007323589A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an allocation method of physical storage areas to virtual volumes in a hierarchical virtual storage device using a hard disk device and a tape library device. <P>SOLUTION: In the hierarchical virtual storage, physical data copying on a tape is not carried out but only management information of the virtual volume is copied to create another virtual volume. When a reading request is made, the virtual volume is made to be acquired as necessary data. When update/new writing is carried out, a new physical storage area is allocated to each virtual volume. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ハードディスク装置とテープライブラリ装置を利用した階層型仮想ストレージシステムにおいて、仮想ボリュームを高速にコピーするための物理的記憶領域の割付技術に関する。   The present invention relates to a physical storage area allocation technique for copying a virtual volume at high speed in a hierarchical virtual storage system using a hard disk device and a tape library device.

近年、複数の記憶装置を組み合わせて利用し実質的に大容量の記憶領域を確保する階層型のストレージシステムが一般に供されている。これは、高速であるが小容量のストレージを一次ストレージとして使い、以下順に、それより低速ではあるが大容量となるストレージを二次ストレージ、三次ストレージ・・・と階層的にストレージを組み合わせることによって、仮想的に一つのストレージとして見せるシステムである。したがって、アクセス頻度の高いデータを一次ストレージ側に配置し、アクセス頻度の低いデータを二次ストレージ以下に配置するようにして、低価格、かつ大容量、高性能のストレージを実現させたものとなっている(例えば、特許文献1参照)。   In recent years, a hierarchical storage system that uses a plurality of storage devices in combination and secures a substantially large storage area is generally provided. This is because high-speed but small-capacity storage is used as primary storage, and in the following order, storage that is slower but larger is secondary storage, tertiary storage, and so on. It is a system that shows virtually as one storage. Therefore, low-cost, large-capacity, high-performance storage is realized by placing frequently accessed data on the primary storage side and placing less frequently accessed data below the secondary storage. (For example, refer to Patent Document 1).

こうした大規模なストレージシステムにおいては、ストレージに蓄える情報は時間の経過と共に変化するため、長期間にわたり効率的かつ安全に保存する必要があり、維持運用費を含めたストレージの管理コストの増加抑止を図る情報ライフサイクル管理が重要となってくる。そのため、例えば、使用頻度の高い情報は短時間でアクセスできる大容量のハードディスクなどの高速オンラインストレージで管理し、使用頻度は低いが長期保存を必要とする情報については磁気テープなどの低コストなオフラインストレージで管理すること等の対応がとられている。   In such a large-scale storage system, the information stored in the storage changes over time, so it is necessary to store it efficiently and safely over a long period of time, and the increase in storage management costs, including maintenance costs, can be suppressed. Information lifecycle management is becoming important. For this reason, for example, frequently used information is managed by high-speed online storage such as a large-capacity hard disk that can be accessed in a short time, and low-cost offline information such as magnetic tape is used for information that is infrequently used but requires long-term storage. Measures such as management by storage are taken.

しかしながら、情報ライフサイクル管理にもとづく階層型仮想ストレージシステムをハードディスク装置とテープライブラリ装置から構成している場合、テープライブラリ装置は、ハードディスク装置上のデータの内、アクセス頻度の少ないデータをディスクから追い出して長期保存しておく「低速だが安価な記憶領域」としての位置づけとなる。こうした階層型のストレージシステムにおいて、仮想ボリューム全体のバックアップを取るには、大量のテープ間コピーが発生するため、ディスク装置のみで構成されるストレージシステムに対し、レスポンス性能の悪さを露呈してしまう。したがって、データをバックアップする際に、低速度のテープ間コピーの発生を抑える必要がある。
特開2002−215334号公報
However, when a hierarchical virtual storage system based on information lifecycle management is composed of a hard disk device and a tape library device, the tape library device drives out less frequently accessed data from the disk. It is positioned as a “low-speed but inexpensive storage area” to be stored for a long time. In such a tiered storage system, in order to back up the entire virtual volume, a large amount of tape-to-tape copying occurs, which exposes poor response performance to a storage system composed only of disk devices. Therefore, when backing up data, it is necessary to suppress the occurrence of low-speed tape-to-tape copying.
JP 2002-215334 A

上記問題を解決するために、本発明では、ハードディスク装置とテープライブラリ装置から構成される階層型仮想ストレージにおいて、大容量の仮想ボリュームを論理的に高速コピーしたように見せるため、テープ上の物理的なデータコピーは行わず、仮想ボリュームの管理情報のみをコピーして別の仮想ボリュームを作成し、ユーザに対し大容量の記憶領域を高速にコピーしたように見せる技術を提供する。   In order to solve the above problem, in the present invention, in a hierarchical virtual storage composed of a hard disk device and a tape library device, a large-capacity virtual volume appears to be logically copied at high speed. Thus, a technique is provided in which only virtual volume management information is copied to create another virtual volume without making any data copy, and the user can see a large-capacity storage area as if it was copied at high speed.

コピーして作られた仮想ボリュームは、既存データについてはコピー元の仮想ボリュームと物理的に同じ記憶領域を指すため、読み込み要求時には必要なデータを取得できる。また、仮想ボリュームへ更新・新規書き込みを行う場合には、仮想ボリュームごとに新規の物理記憶領域を割り当てる。この方法により、ユーザに対して、既存データをコピー済みとして新たな仮想記憶領域を提供するものである。   The virtual volume created by copying points to the storage area that is physically the same as the copy source virtual volume for the existing data, so that necessary data can be acquired at the time of a read request. In addition, when performing update / new writing to a virtual volume, a new physical storage area is allocated for each virtual volume. By this method, a new virtual storage area is provided to the user with the existing data already copied.

第一の発明は、ハードディスク装置とテープライブラリ装置から構成される階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御方法であって、ユーザからのコピー要求に応じ、前記仮想ボリュームと前記テープライブラリ装置の物理的記憶領域とが対応付られた管理テーブルを参照し前記物理的記憶領域における実データの存在をチェックするステップと、前記物理的記憶領域において、実データが存在したとき前記管理テーブルの管理情報のみをコピーしてコピー元/コピー先の仮想ボリュームに同一の物理的記憶領域を割り付けるステップと、を有することを特徴とする仮想ボリュームのコピー制御方法に関する。   A first invention is a virtual volume copy control method in a hierarchical virtual storage system composed of a hard disk device and a tape library device. The virtual volume and the tape library device are physically controlled in response to a copy request from a user. Checking the existence of actual data in the physical storage area by referring to the management table associated with the physical storage area, and only management information of the management table when actual data exists in the physical storage area And copying the same physical storage area to the copy source / destination virtual volume, and a virtual volume copy control method.

すなわち、第一の発明によれば、ユーザからのコピー要求に対し、仮想ボリュームとテープライブラリ装置の物理的記憶領域が関連付けられた管理情報を格納した管理テーブルを参照し、その管理情報をチェックし、当該要求のデータがテープライブラリ装置に既に書き込み済みのデータであれば、管理テーブルの管理情報だけをコピーすることによって、コピー元・コピー先の仮想ボリュームを同じ物理的領域に割り付けることで仮想的に高速コピーが実現できることとなる。   That is, according to the first invention, in response to a copy request from the user, the management information storing the management information in which the virtual volume and the physical storage area of the tape library device are associated is referred to, and the management information is checked. If the requested data is already written in the tape library device, the virtual volume of the copy source / destination can be allocated to the same physical area by copying only the management information in the management table. High speed copy can be realized.

上記のように、本発明によれば、階層型仮想ストレージにおいて仮想ボリュームの高速コピーが可能になる。また、一つの仮想ボリュームから複数のコピーを作成した場合、それぞれコピーされた仮想ボリュームは、物理的な記憶領域としては既存データを共有するため新規物理記憶領域は差分のみで済むこととなり、テープライブラリ装置などの低速のストレージの効率的な運用を図ることができる。   As described above, according to the present invention, a virtual volume can be copied at high speed in a hierarchical virtual storage. In addition, when multiple copies are created from a single virtual volume, each copied virtual volume shares existing data as a physical storage area, so only a difference is required for the new physical storage area. Efficient operation of low-speed storage such as devices can be achieved.

第二の発明は、前記仮想ボリュームにデータ変更が生じた場合、コピー元において前記仮想ボリュームに対応する前記ハードディスク装置上の実データを更新するステップと、更新した当該実データを前記仮想ボリュームに対応するテープライブラリ装置の前記物理的記憶領域に追記するステップと、かつ追記した前記実データのテープ上の位置情報を書き換えるステップとを有することを特徴とする上記第一の発明に記載の仮想ボリュームのコピー制御方法に関する。   According to a second aspect of the present invention, when a data change occurs in the virtual volume, the actual data on the hard disk device corresponding to the virtual volume is updated at the copy source, and the updated actual data is associated with the virtual volume. A virtual volume of the virtual volume according to the first aspect of the present invention, further comprising: a step of additionally writing to the physical storage area of the tape library device, and a step of rewriting position information on the tape of the actual data that has been additionally written. The present invention relates to a copy control method.

また、第三の発明は、前記仮想ボリュームにデータ変更が生じた場合、コピー先において更新対象データを前記テープライブラリ装置からハードディスク装置に読み込み、前記ハードディスク装置上で当該データを更新し、更新した当該実データを前記仮想ボリュームに対応するテープライブラリ装置の前記物理的記憶領域に追記し、かつ追記した前記実データのテープ上の位置情報を書き換えることを特徴とする上記第一の発明に記載の仮想ボリュームのコピー制御方法に関する。   The third invention reads the update target data from the tape library device to the hard disk device at the copy destination when the data change occurs in the virtual volume, updates the data on the hard disk device, and updates the data. The virtual data according to the first aspect, wherein real data is added to the physical storage area of the tape library device corresponding to the virtual volume, and location information on the tape of the added real data is rewritten. The present invention relates to a volume copy control method.

すなわち、第二、または第三の発明によれば、仮想ボリュームにデータ変更が必要な場合に、対象データが既にテープに書き込まれているので、コピー元、またはコピー先において、対象仮想ボリュームに対応するハードディスク装置上の実データを更新し、当該更新データをテープライブラリ装置の新たな物理記憶領域に書き込み、対象仮想ボリュームに対応するテープ上の位置情報などの管理情報を付け替える構成をとることによって、更新作業の煩雑性が軽減される。また、テープは追記型の記憶メディアであるため、必要なくなった仮想ボリュームからテープ上の位置情報を削除するだけで、これまで時間のかかった更新作業の効率化が図れる。   That is, according to the second or third invention, when the data change is necessary for the virtual volume, the target data has already been written on the tape, so the copy source or the copy destination supports the target virtual volume. By updating the actual data on the hard disk device, writing the updated data to a new physical storage area of the tape library device, and replacing the management information such as position information on the tape corresponding to the target virtual volume, The complexity of the update work is reduced. In addition, since the tape is a write-once type storage medium, it is possible to improve the efficiency of the update work that has taken a long time by simply deleting the position information on the tape from the virtual volume that is no longer needed.

以上、上記してきた発明により以下の効果が生まれる。
(1)階層型仮想ストレージシステムにおいて、ユーザからのコピー要求に対し、仮想ボリュームとテープライブラリ装置の物理的記憶領域が関連付けられた管理情報を格納した管理テーブルを参照し、その管理情報をチェックし、当該要求のデータがテープライブラリ装置に既に書き込み済みのデータであれば、管理テーブルの管理情報だけをコピーすることによって、コピー元・コピー先の仮想ボリュームを同じ物理的領域に割り付けることで仮想的に高速コピーが実現できることとなる。また、一つの仮想ボリュームから複数のコピーを作成した場合、それぞれコピーされた仮想ボリュームは、物理的な記憶領域としては既存データを共有するため、新規物理記憶領域は差分のみで済むこととなる。
As described above, the following effects are produced by the above-described invention.
(1) In a hierarchical virtual storage system, in response to a copy request from a user, a management table storing management information in which a virtual volume and a physical storage area of a tape library device are associated is referred to and the management information is checked. If the requested data is already written in the tape library device, the virtual volume of the copy source / destination can be allocated to the same physical area by copying only the management information in the management table. High speed copy can be realized. In addition, when a plurality of copies are created from one virtual volume, the copied virtual volumes share existing data as physical storage areas, so that the new physical storage area needs only a difference.

すなわち、階層型仮想ストレージにおいて、大容量の仮想ボリュームをテープ間のデータ転送なしで高速にコピーを取れるようになり、ボリュームのバックアップ時に運用を止めなければならない時間を短縮できる。
(2)また、仮想ボリュームにデータ変更がある場合、対象データが既にテープに書き込まれているので、新たな物理記憶領域に変更データを書き込み、仮想ボリュームに対応するテープ上の位置情報などの管理情報を付け替えるだけで対応できる。また、テープは、追記型の記憶メディアであるため、必要なくなった仮想ボリュームからテープ上の位置情報を削除するだけで対応が可能となる。
That is, in a tiered virtual storage, a large-capacity virtual volume can be copied at high speed without data transfer between tapes, and the time required to stop the operation at the time of volume backup can be shortened.
(2) Also, if there is a data change in the virtual volume, the target data has already been written to the tape, so the changed data is written to a new physical storage area, and management of positional information on the tape corresponding to the virtual volume, etc. Just change the information. Further, since the tape is a write-once type storage medium, it is possible to cope by simply deleting the position information on the tape from the virtual volume that is no longer needed.

以下、図面にもとづいて本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態になる階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御システムの一基本構成を示す。   FIG. 1 shows a basic configuration of a virtual volume copy control system in a hierarchical virtual storage system according to an embodiment of the present invention.

階層型仮想ストレージシステムは、ホスト0に接続する一次ストレージ100としてハードディスク装置101、一次ストレージと二次ストレージ200の間に介在し、ホスト0からの要求を受け付け、二次ストレージ200とのやりとりを管理する管理サーバ1、および二次ストレージ200として複数のテープ1、2、・・・nを内蔵するテープライブラリ装置201から構成されている。また、管理サーバ1は、CPU(Central Processing Unit)2、メモリ3を備えるコンピュータであり、仮想ボリュームのコピーを実行するためのコピー制御部10、および管理テーブル20を備える。   The hierarchical virtual storage system is interposed between the hard disk device 101, the primary storage, and the secondary storage 200 as the primary storage 100 connected to the host 0, receives requests from the host 0, and manages the exchange with the secondary storage 200 The management server 1 and the secondary storage 200 are composed of a tape library device 201 containing a plurality of tapes 1, 2,... N. The management server 1 is a computer including a CPU (Central Processing Unit) 2 and a memory 3, and includes a copy control unit 10 for executing a virtual volume copy and a management table 20.

ここで、階層型仮想ストレージにおける各装置間のデータの処理動作について説明する。一次ストレージ100には、一次ストレージ制御用のファームウェアとして一次ストレージ制御プログラム102が内蔵され、二次ストレージ200を管理する管理サーバ1へ読出/書込等の要求を出す構成となっている。   Here, a data processing operation between devices in the hierarchical virtual storage will be described. The primary storage 100 incorporates a primary storage control program 102 as firmware for primary storage control, and is configured to issue a read / write request to the management server 1 that manages the secondary storage 200.

一次ストレージ制御プログラム102は、ホスト0に対し、一次ストレージ100として、ハードディスク装置101の容量以上の大きな仮想ボリュームを見せ、通常のディスクとして使用できるように以下の処理を行う。   The primary storage control program 102 performs the following processing so that the host 0 can show a large virtual volume larger than the capacity of the hard disk device 101 as the primary storage 100 and can be used as a normal disk.

ホスト0からデータ書込要求を受けたとき、ハードディスクの容量を超えそうであれば、古いデータを二次ストレージ200に書き込むように管理サーバ1側に指示する。そして、二次ストレージ200への書込みが終わった時点で、一次ストレージからその古いデータを削除して空きスペースを作る。また、ホスト0からデータ読出要求を受けたとき、ハードディスク装置101内にそのデータがあればそのままデータをホスト0に返す。もしハードディスク装置101上になければ、管理サーバ1にデータ読出要求を行い、二次ストレージ200からデータを採取してホスト0に返す。   When a data write request is received from the host 0, if the capacity of the hard disk is likely to be exceeded, the management server 1 is instructed to write old data to the secondary storage 200. When the writing to the secondary storage 200 is completed, the old data is deleted from the primary storage to create a free space. Further, when a data read request is received from the host 0, if the data exists in the hard disk device 101, the data is returned to the host 0 as it is. If it is not on the hard disk device 101, it makes a data read request to the management server 1, collects data from the secondary storage 200, and returns it to the host 0.

また、一次ストレージ制御プログラム102が、管理サーバ1にデータの読出/書込を要求する場合は、仮想ボリューム番号を指定して行うので、管理サーバ1は、仮想ボリューム、テープ、および実データであるデータブロックが相互に関連付けられた管理テーブル20(仮想ボリューム管理TBL(テーブル)21、テープ管理TBL22、およびデータブロックTBL23で構成)を検索してテープ上のデータ位置を割り出し、読出/書込要求に答えることになる。   Further, when the primary storage control program 102 requests the management server 1 to read / write data, it designates the virtual volume number, so the management server 1 is a virtual volume, tape, and real data. A management table 20 (consisting of a virtual volume management TBL (table) 21, a tape management TBL 22, and a data block TBL 23) in which data blocks are associated with each other is searched to determine a data position on the tape, and a read / write request is made. Will answer.

一方、管理サーバ1において、仮想ボリュームのコピー制御部10は、ユーザからのコピー要求に応じ、仮想ボリュームとテープライブラリ装置101の物理的記憶領域とが対応付られた管理テーブル20の管理情報を参照し物理的記憶領域における実データの存在をチェックし、実データが存在したとき管理テーブル20の管理情報のみをコピーしてコピー元/コピー先の仮想ボリュームに同一の物理的記憶領域を割り付ける。   On the other hand, in the management server 1, the virtual volume copy control unit 10 refers to the management information in the management table 20 in which the virtual volume and the physical storage area of the tape library apparatus 101 are associated with each other in response to a copy request from the user. Then, the existence of the actual data in the physical storage area is checked, and when the actual data exists, only the management information in the management table 20 is copied and the same physical storage area is allocated to the copy source / copy destination virtual volume.

また、仮想ボリュームの書込みデータを更新する場合には、仮想ボリュームのコピー元、またはコピー先において、ハードディスク装置101の実データ(またはデータブロック)を更新し、テープライブラリ装置201のテープにその更新データの追記を行うように構成している。   Further, when updating the write data of the virtual volume, the actual data (or data block) of the hard disk device 101 is updated at the copy source or copy destination of the virtual volume, and the update data is stored on the tape of the tape library device 201. It is configured to perform additional writing.

図2は、本発明の実施の形態になる仮想ボリュームを管理する管理テーブルのデータ構成例を示す。管理テーブル20の内、(a)は、仮想ボリューム管理テーブル21、(b)は、テープ管理テーブル22、および(c)は、データブロック管理テーブル23のデータ構成例を示している。   FIG. 2 shows a data configuration example of a management table for managing virtual volumes according to the embodiment of the present invention. Among the management tables 20, (a) shows a virtual volume management table 21, (b) shows a tape management table 22, and (c) shows a data configuration example of the data block management table 23.

仮想ボリューム管理テーブル21は、システム内で一意に識別する仮想ボリュームの「識別子」、仮想ボリュームの「ボリューム番号」、「ボリューム名」、「容量」、「作成日時」、エラーや使用に関する仮想ボリュームの状態情報を表す「ステータス」、および仮想ボリュームへの読出/書込のアクセス許可を表す「パーミッション」の項目で構成されている。   The virtual volume management table 21 includes the “identifier” of the virtual volume uniquely identified in the system, the “volume number”, “volume name”, “capacity”, “creation date / time” of the virtual volume, and the virtual volume related to errors and usage. It consists of items of “status” representing state information and “permission” representing read / write access permission to the virtual volume.

また、テープ管理テーブル22は、テープの「識別子」、「ラベル名」、「テープタイプ」、テープマウントの形態を表す「テープタイプ」、および仮想ボリューム管理テーブル21の仮想ボリュームとの対応関係を示すポインタとなる「所属ボリュームID」の項目で構成されている。   The tape management table 22 indicates the correspondence relationship between the “identifier”, “label name”, “tape type” of the tape, “tape type” indicating the tape mount form, and the virtual volume in the virtual volume management table 21. It consists of an item of “Affiliated Volume ID” that becomes a pointer.

さらに、データブロック管理テーブル23は、データブロックの「識別子」、仮想ボリューム及びテープへのポインタとなる「所属ボリュームID」及び「所属テープID」、ハードディスクにおける「ボリューム上のアドレス」、「テープ上の位置」、「データサイズ」、および参照されている仮想ボリュームの個数を表す「参照カウンタ」の項目で構成されている。   Further, the data block management table 23 includes an “identifier” of the data block, an “affiliation volume ID” and “affiliation tape ID” that are pointers to the virtual volume and the tape, an “address on the volume” in the hard disk, and an “on tape”. It includes items of “position”, “data size”, and “reference counter” indicating the number of referenced virtual volumes.

図3は、本発明の実施の形態になる同一データがテープ上に存在する場合の仮想ボリュームコピーの概念図を示す。本実施例では、ハードディスク装置101上のデータが全てテープライブラリ装置201内の複数のテープに書き込まれている仮想ボリュームを対象としている。   FIG. 3 is a conceptual diagram of virtual volume copy when the same data according to the embodiment of the present invention exists on a tape. In this embodiment, a virtual volume in which all data on the hard disk device 101 is written on a plurality of tapes in the tape library device 201 is targeted.

本発明は、仮想ボリュームの管理情報だけをコピーして、新たな仮想ボリュームを作成し、コピー時の既存データについては、コピー元/コピー先の仮想ボリュームにて全て同じ物理的記憶領域を指すようにすることが特徴であり、図には、ハードディスク上にある対象の仮想ボリュームの実データとしてのあるデータブロックが、テープ上にて同一の物理的記憶領域に保持されていることを概念的に示している。   In the present invention, only virtual volume management information is copied to create a new virtual volume, and all existing data at the time of copying is pointed to the same physical storage area in the copy source / copy destination virtual volume. In the figure, it is conceptually shown that a certain data block as actual data of the target virtual volume on the hard disk is held in the same physical storage area on the tape. Show.

図4は、本発明の実施の形態になるコピー元仮想ボリュームにおいてデータを更新する場合の概念図を示す。本実施例は、仮想ボリュームにデータ更新の必要が生じた場合に、コピー元において更新を行う手順を概念的に示したものである。   FIG. 4 is a conceptual diagram when data is updated in the copy source virtual volume according to the embodiment of the present invention. The present embodiment conceptually shows a procedure for performing an update at the copy source when the data needs to be updated in the virtual volume.

コピー元において、まず、対象となる仮想ボリュームに対応するハードディスク上のデータブロックを更新し、つぎに、更新した当該データブロックを対象の仮想ボリュームに対応するテープライブラリ装置201のテープに追記し、かつ、追記したデータブロックのテープ上の位置情報を書き換える。   At the copy source, first, the data block on the hard disk corresponding to the target virtual volume is updated, and then the updated data block is added to the tape of the tape library apparatus 201 corresponding to the target virtual volume, and The position information on the tape of the added data block is rewritten.

ここで、仮想ボリュームがコピーされた直後には、データブロックは全てコピー先・コピー元の2つの仮想ボリュームから参照されているため、図2のデータブロック管理テーブル23における参照カウンタの値は2となっている。データ更新が行われて、一方の仮想ボリュームからしか参照されなくなると、その場合のデータブロックの参照カウンタは1となる。   Here, immediately after the virtual volume is copied, all the data blocks are referenced from the two virtual volumes of the copy destination and the copy source. Therefore, the value of the reference counter in the data block management table 23 of FIG. It has become. When data is updated and only one virtual volume is referred to, the reference counter of the data block in that case becomes 1.

テープは、追記型の記憶メディアのため、さらに、このデータが更新されて更新データブロックが追記された場合には、元のデータブロックの参照カウンタは0となる。そして、参照カウンタが0となったデータブロックは、どこの仮想ボリュームにも割り付けられていないため、単なる無効データとなり、不要データ削除処理を行うガーベジコレクショにおいて削除対象になる。   Since the tape is a write-once storage medium, when this data is updated and an updated data block is additionally written, the reference counter of the original data block becomes 0. Since the data block whose reference counter is 0 is not allocated to any virtual volume, it becomes simply invalid data and becomes a deletion target in garbage collection for performing unnecessary data deletion processing.

図5は、本発明の実施の形態になるコピー先仮想ボリュームにおいてデータを更新する場合の概念図を示す。本実施例は、仮想ボリュームにデータ更新の必要が生じた場合に、コピー先において更新を行う手順を概念的に示したものである。   FIG. 5 shows a conceptual diagram when data is updated in the copy destination virtual volume according to the embodiment of the present invention. The present embodiment conceptually shows a procedure for performing an update at the copy destination when the data needs to be updated in the virtual volume.

コピー先において、更新対象のデータブロックをテープライブラリ装置201のテープからハードディスクに読み込み、ハードディスク上で当該データブロックを更新し、更新したデータブロックを対象仮想ボリュームに対応するテープライブラリ装置201のテープの物理的記憶領域に追記し、かつ、追記したデータブロックのテープ上の位置情報を書き換える。   At the copy destination, the data block to be updated is read from the tape of the tape library apparatus 201 to the hard disk, the data block is updated on the hard disk, and the updated data block is physically stored in the tape library apparatus 201 corresponding to the target virtual volume. Information is added to the target storage area and the position information on the tape of the added data block is rewritten.

図6は、本発明の実施の形態になる本発明の実施の形態になる同一データがテープ上に存在する場合の仮想ボリュームコピーの処理フローを示す。図3の概念図に示した階層型仮想ストレージシステムにおける仮想ボリュームのバックアップコピーの処理フローを示している。本実施例では、コピー元となる仮想ボリュームがあり、ボリューム上のデータブロックがテープに書き込まれている場合を前提としている。   FIG. 6 shows a processing flow of virtual volume copy when the same data according to the embodiment of the present invention exists on the tape according to the embodiment of the present invention. 4 shows a processing flow of backup copy of a virtual volume in the hierarchical virtual storage system shown in the conceptual diagram of FIG. In this embodiment, it is assumed that there is a virtual volume serving as a copy source, and data blocks on the volume are written to tape.

ステップS11において、コピー元の仮想ボリュームの構成情報をコピーして仮想ボリュームを作成する。続けて、ステップS12において、コピー先の仮想ボリュームがコピー元と同じデータブロックを指すように構成情報を更新する。   In step S11, the virtual volume is created by copying the configuration information of the copy source virtual volume. In step S12, the configuration information is updated so that the copy destination virtual volume points to the same data block as the copy source.

以上、本発明では、管理テーブル20の構成情報だけをコピーすることで新たに仮想ボリュームのバックアップが作成され、コピー元/コピー先の仮想ボリュームは、テープ上の物理的記憶領域のデータとしては全く同じデータブロックの使用を可能としている。   As described above, in the present invention, a backup of a virtual volume is newly created by copying only the configuration information of the management table 20, and the copy source / copy destination virtual volume is completely as data in the physical storage area on the tape. The same data block can be used.

図7は、本発明の実施の形態になるコピー元における仮想ボリュームのデータ更新の処理フローを示す。本実施例は、図4の概念図に示した階層型仮想ストレージシステムにおける仮想ボリュームのデータ更新の処理フローであり、構成情報のコピーにより仮想ボリュームのコピーが作成され、コピー元とコピー先の仮想ボリュームが物理的記憶領域の同じデータを指している場合のコピー元におけるデータ更新を示している。   FIG. 7 shows a processing flow of data update of the virtual volume at the copy source according to the embodiment of the present invention. The present embodiment is a processing flow for updating virtual volume data in the hierarchical virtual storage system shown in the conceptual diagram of FIG. 4, in which a copy of the virtual volume is created by copying the configuration information, and the copy source and destination virtual The data update at the copy source when the volume points to the same data in the physical storage area is shown.

まず、ステップS21において、コピー元の仮想ボリュームにて、あるデータブロックを更新する。つぎに、ステップS22において、仮想ボリュームに対応するハードディスク上のデータブロックを更新し、ステップS23において、仮想ボリュームに対応するテープに対して変更したデータブロックを追記する。そして、ステップS24において、仮想ボリュームに対応するテープ上のデータについて追記したデータブロックを指すようにテープ管理テーブル22の位置情報を変更する。   First, in step S21, a certain data block is updated in the copy source virtual volume. Next, in step S22, the data block on the hard disk corresponding to the virtual volume is updated, and in step S23, the changed data block is added to the tape corresponding to the virtual volume. In step S24, the position information of the tape management table 22 is changed so as to indicate the data block added to the data on the tape corresponding to the virtual volume.

上記のように、更新のあったデータブロックについては、コピー元/コピー先の仮想ボリュームが異なる物理的記憶領域のデータブロックを指すこととなる。   As described above, an updated data block refers to a data block in a physical storage area with different copy source / copy destination virtual volumes.

図8は、本発明の実施の形態になるコピー先における仮想ボリュームのデータ更新の処理フローを示す。本実施例は、図5の概念図に示した階層型仮想ストレージシステムにおける仮想ボリュームのデータ更新の処理フローであり、構成情報のコピーにより仮想ボリュームのコピーが作成されている場合のコピー先におけるデータ更新を示している。   FIG. 8 shows a processing flow of data update of the virtual volume at the copy destination according to the embodiment of the present invention. This embodiment is a processing flow for updating data of a virtual volume in the hierarchical virtual storage system shown in the conceptual diagram of FIG. 5, and data at the copy destination when a copy of the virtual volume is created by copying configuration information Indicates an update.

まず、ステップS31において、コピー先の仮想ボリュームにて、あるデータブロックを更新する。つぎに、ステップS32において、仮想ボリュームに対してディスク領域を割り当ててデータを書込み、ステップS33において、仮想ボリュームに対応するテープに対して変更したデータブロックを追記する。そして、ステップS34において、仮想ボリュームに対応するテープ上のデータについて追記したデータブロックを指すようにテープ管理テーブル22の位置情報を変更する。   First, in step S31, a certain data block is updated in the copy destination virtual volume. Next, in step S32, a disk area is allocated to the virtual volume and data is written, and in step S33, the changed data block is added to the tape corresponding to the virtual volume. In step S34, the position information of the tape management table 22 is changed so as to indicate the data block added to the data on the tape corresponding to the virtual volume.

上記のように、仮想ボリュームのコピー先でのデータ変更処理によって、テープに更新したデータブロックが追記され、仮想ボリュームがそのデータを指すように、テープ管理テーブル22の位置情報が更新されることとなる。   As described above, the data change process at the copy destination of the virtual volume adds the updated data block to the tape, and the position information in the tape management table 22 is updated so that the virtual volume points to the data. Become.

本発明の実施の形態になる階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御システムの一基本構成を示す図である。It is a figure which shows one basic composition of the copy control system of the virtual volume in the hierarchical virtual storage system which becomes embodiment of this invention. 本発明の実施の形態になる仮想ボリュームを管理する管理テーブルのデータ構成例を示す図である。It is a figure which shows the example of a data structure of the management table which manages the virtual volume which becomes embodiment of this invention. 本発明の実施の形態になる同一データがテープ上に存在する場合の仮想ボリュームコピーの概念図である。It is a conceptual diagram of a virtual volume copy when the same data according to an embodiment of the present invention exists on a tape. 本発明の実施の形態になるコピー元仮想ボリュームにおいてデータを更新する場合の概念図である。It is a conceptual diagram in the case of updating data in the copy source virtual volume according to the embodiment of the present invention. 本発明の実施の形態になるコピー先仮想ボリュームにおいてデータを更新する場合の概念図である。It is a conceptual diagram in the case of updating data in the copy destination virtual volume according to the embodiment of the present invention. 本発明の実施の形態になる同一データがテープ上に存在する場合の仮想ボリュームコピーの処理フローを示す図である。It is a figure which shows the processing flow of a virtual volume copy in case the same data which become embodiment of this invention exists on a tape. 本発明の実施の形態になるコピー元における仮想ボリュームのデータ更新の処理フローを示す図である。It is a figure which shows the processing flow of the data update of the virtual volume in the copy source which becomes embodiment of this invention. 本発明の実施の形態になるコピー先における仮想ボリュームのデータ更新の処理フローを示す図である。It is a figure which shows the processing flow of the data update of the virtual volume in the copy destination which becomes embodiment of this invention.

符号の説明Explanation of symbols

0 ホスト
1 管理サーバ
2 CPU
3 メモリ
10 仮想ボリュームコピー制御部
20 管理テーブル
21 仮想ボリューム管理テーブル
22 テープ管理テーブル
23 データブロック管理テーブル
100 一次ストレージ
101 ハードディスク装置
102 一次ストレージ制御プログラム
200 二次ストレージ
201 テープライブラリ装置
0 Host 1 Management server 2 CPU
3 Memory 10 Virtual Volume Copy Control Unit 20 Management Table 21 Virtual Volume Management Table 22 Tape Management Table 23 Data Block Management Table 100 Primary Storage 101 Hard Disk Device 102 Primary Storage Control Program 200 Secondary Storage 201 Tape Library Device

Claims (5)

ハードディスク装置とテープライブラリ装置から構成される階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御方法であって、
ユーザからのコピー要求に応じ、前記仮想ボリュームと前記テープライブラリ装置の物理的記憶領域とが対応付られた管理テーブルを参照し前記物理的記憶領域における実データの存在をチェックするステップと、
前記物理的記憶領域において、実データが存在したとき前記管理テーブルの管理情報のみをコピーしてコピー元/コピー先の仮想ボリュームに同一の物理的記憶領域を割り付けるステップと、
を有することを特徴とする仮想ボリュームのコピー制御方法。
A virtual volume copy control method in a hierarchical virtual storage system composed of a hard disk device and a tape library device,
In response to a copy request from a user, referring to a management table in which the virtual volume and the physical storage area of the tape library device are associated with each other, and checking the presence of actual data in the physical storage area;
Copying only the management information of the management table when real data exists in the physical storage area, and allocating the same physical storage area to the copy source / copy destination virtual volume;
A copy control method for a virtual volume, comprising:
前記仮想ボリュームにデータ変更が生じた場合、コピー元において前記仮想ボリュームに対応する前記ハードディスク装置上の実データを更新するステップと、更新した当該実データを前記仮想ボリュームに対応するテープライブラリ装置の前記物理的記憶領域に追記するステップと、かつ追記した前記実データのテープ上の位置情報を書き換えるステップとを有することを特徴とする請求項1に記載の仮想ボリュームのコピー制御方法。   When data change occurs in the virtual volume, the actual data on the hard disk device corresponding to the virtual volume is updated at the copy source, and the updated real data is updated in the tape library device corresponding to the virtual volume. The virtual volume copy control method according to claim 1, further comprising a step of additionally writing to a physical storage area, and a step of rewriting position information on the tape of the added actual data. 前記仮想ボリュームにデータ変更が生じた場合、コピー先において更新対象データを前記テープライブラリ装置からハードディスク装置に読み込み、前記ハードディスク装置上で当該データを更新し、更新した当該実データを前記仮想ボリュームに対応するテープライブラリ装置の前記物理的記憶領域に追記し、かつ追記した前記実データのテープ上の位置情報を書き換えることを特徴とする請求項1に記載の仮想ボリュームのコピー制御方法。   When data change occurs in the virtual volume, the update target data is read from the tape library device to the hard disk device at the copy destination, the data is updated on the hard disk device, and the updated actual data corresponds to the virtual volume. The virtual volume copy control method according to claim 1, further comprising: rewriting the physical data in the physical storage area of the tape library device to be rewritten, and rewriting the position information on the tape of the real data that has been additionally written. ハードディスク装置とテープライブラリ装置から構成される階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御装置であって、
ユーザからのコピー要求に応じ、前記仮想ボリュームと前記テープライブラリ装置の物理的記憶領域とが対応付られた管理テーブルを参照し前記物理的記憶領域における実データの存在をチェックする手段と、
前記物理的記憶領域において、実データが存在したとき前記管理テーブルの管理情報のみをコピーしてコピー元/コピー先の仮想ボリュームに同一の物理的記憶領域を割り付ける手段と、
を有することを特徴とする仮想ボリュームのコピー制御装置。
A virtual volume copy control device in a hierarchical virtual storage system composed of a hard disk device and a tape library device,
Means for checking the presence of actual data in the physical storage area by referring to a management table in which the virtual volume and the physical storage area of the tape library device are associated in response to a copy request from a user;
Means for copying only the management information of the management table and allocating the same physical storage area to a copy source / copy destination virtual volume when actual data exists in the physical storage area;
A virtual volume copy control apparatus comprising:
ハードディスク装置とテープライブラリ装置から構成される階層型仮想ストレージシステムにおける仮想ボリュームのコピー制御プログラムであって、
管理サーバに、
ユーザからのコピー要求に応じ、前記仮想ボリュームと前記テープライブラリ装置の物理的記憶領域とが対応付られた管理テーブルを参照し前記物理的記憶領域における実データの存在をチェックするステップと、
前記物理的記憶領域において、実データが存在したとき前記管理テーブルの管理情報のみをコピーしてコピー元/コピー先の仮想ボリュームに同一の物理的記憶領域を割り付けるステップと、
を実行させる仮想ボリュームのコピー制御プログラム。
A virtual volume copy control program in a hierarchical virtual storage system composed of a hard disk device and a tape library device,
On the management server,
In response to a copy request from a user, referring to a management table in which the virtual volume and the physical storage area of the tape library device are associated with each other, and checking the presence of actual data in the physical storage area;
Copying only the management information of the management table when real data exists in the physical storage area, and allocating the same physical storage area to the copy source / copy destination virtual volume;
Virtual volume copy control program to execute.
JP2006156296A 2006-06-05 2006-06-05 Copy control method, copy controller, and copy control program for virtual volume Withdrawn JP2007323589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006156296A JP2007323589A (en) 2006-06-05 2006-06-05 Copy control method, copy controller, and copy control program for virtual volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006156296A JP2007323589A (en) 2006-06-05 2006-06-05 Copy control method, copy controller, and copy control program for virtual volume

Publications (1)

Publication Number Publication Date
JP2007323589A true JP2007323589A (en) 2007-12-13

Family

ID=38856318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006156296A Withdrawn JP2007323589A (en) 2006-06-05 2006-06-05 Copy control method, copy controller, and copy control program for virtual volume

Country Status (1)

Country Link
JP (1) JP2007323589A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009245293A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Virtual tape device, virtual tape library system, electric power supply control method
JP2011170833A (en) * 2010-02-17 2011-09-01 Hitachi Ltd Method and apparatus to manage object based tier
US8230191B2 (en) 2009-01-27 2012-07-24 Fujitsu Limited Recording medium storing allocation control program, allocation control apparatus, and allocation control method
US9632949B2 (en) 2014-10-28 2017-04-25 International Business Machines Corporation Storage management method, storage management system, computer system, and program
US9740434B2 (en) 2013-04-12 2017-08-22 Fujitsu Limited Storage device and control method
JP7409196B2 (en) 2020-03-27 2024-01-09 富士通株式会社 Storage control device, storage system, and storage control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009245293A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Virtual tape device, virtual tape library system, electric power supply control method
US8230191B2 (en) 2009-01-27 2012-07-24 Fujitsu Limited Recording medium storing allocation control program, allocation control apparatus, and allocation control method
JP2011170833A (en) * 2010-02-17 2011-09-01 Hitachi Ltd Method and apparatus to manage object based tier
US9740434B2 (en) 2013-04-12 2017-08-22 Fujitsu Limited Storage device and control method
US9632949B2 (en) 2014-10-28 2017-04-25 International Business Machines Corporation Storage management method, storage management system, computer system, and program
JP7409196B2 (en) 2020-03-27 2024-01-09 富士通株式会社 Storage control device, storage system, and storage control program

Similar Documents

Publication Publication Date Title
US11226747B2 (en) System and method for copy on write on an SSD
CN102012852B (en) Method for implementing incremental snapshots-on-write
JP5907739B2 (en) Nonvolatile memory device
US8799601B1 (en) Techniques for managing deduplication based on recently written extents
CN113508382B (en) Selective erasure of data in SSDs
US9075754B1 (en) Managing cache backup and restore
US9021222B1 (en) Managing incremental cache backup and restore
EP3382557B1 (en) Method and apparatus for persistently caching storage data in a page cache
JP2008015769A (en) Storage system and writing distribution method
JP4993020B2 (en) Virtual tape device, control method, control unit
CN102096561B (en) Hierarchical data storage processing method, device and storage equipment
CN101120305A (en) New point-in-time copy operation
CN105027069A (en) Deduplication of volume regions
CN103597440A (en) Method for creating clone file, and file system adopting the same
US10402338B2 (en) Method and apparatus for erase block granularity eviction in host based caching
CN106326229B (en) File storage method and device of embedded system
KR20100132244A (en) Memory system and method of managing memory system
JP2007265403A (en) Remote mirroring method between tiered storage systems
CN103514249A (en) Method and system for automatic data reduction and storage device
JP4909963B2 (en) Integrated memory management device
JP2008269374A (en) Storage system and control method
JP2007323589A (en) Copy control method, copy controller, and copy control program for virtual volume
CN109902034A (en) Snapshot creation method, device, electronic equipment and machine readable storage medium
US7549029B2 (en) Methods for creating hierarchical copies
US20040039875A1 (en) Disk array device and virtual volume management method in disk array device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090901