JP2004171145A - Virtual tape backup system - Google Patents

Virtual tape backup system Download PDF

Info

Publication number
JP2004171145A
JP2004171145A JP2002334054A JP2002334054A JP2004171145A JP 2004171145 A JP2004171145 A JP 2004171145A JP 2002334054 A JP2002334054 A JP 2002334054A JP 2002334054 A JP2002334054 A JP 2002334054A JP 2004171145 A JP2004171145 A JP 2004171145A
Authority
JP
Japan
Prior art keywords
tape
data
virtual
backup
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002334054A
Other languages
Japanese (ja)
Inventor
Akihiro Fukuda
明裕 福田
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 Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals Co 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 Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2002334054A priority Critical patent/JP2004171145A/en
Publication of JP2004171145A publication Critical patent/JP2004171145A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a virtual tape backup system for reducing an empty area. <P>SOLUTION: This virtual tape backup system controls one backup as one virtual tape of setting a tape number, and is provided with an address of a storage area of a virtual magnetic tape storage device 30 and an area control table 221 for storing tape information composed of an index with every tape number or the tape number or a T terminal signal with every tape number or the empty area in response to the address. When backing up data, data capacity with every virtual tape can be varied by referring to address corresponding tape information stored in the area control table 221. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【産業上の利用分野】
本発明は、磁気ディスクを磁気テープに仮想してデータの記憶を行う仮想テープバックアップシステムに係り、特にコンピュータシステムのデータのバックアップを効率的に行うことができる仮想テープバックアップシステムに関する。
【0002】
【従来の技術】
一般にコンピュータシステムは、システム及びデータが膨大化する傾向にあり、災害等によるデータ障害に備え、データ等をバックアップすることが必要不可欠である。従来技術によるバックアップシステムは、従来は磁気ディスクのビット単価に比べて磁気テープのビット単価が安価なため、磁気テープ記憶装置と該磁気テープ記憶装置にデータ等のバックアップを制御するバックアップ制御装置とから成るバックアップシステムが用いられていた。
【0003】
しかしながら近年のバックアップシステムは、磁気テープを使用した場合にはデータ転送速度が遅くバックアップ時間が冗長になり、且つ近年では磁気ディスクのビット単価が急激に安価になっている背景もあり、磁気ディスクをバックアップ媒体として使用するものが実現され、本明細書では、このバックアップシステムを仮想テープバックアップシステムと呼ぶ。このバックアップシステムは、コンピュータシステム側から見ると、仮想テープ記憶装置を従来の磁気テープ記憶装置をバックアップ対象とする様にエミュレートし、データのバックアップを行うものである。またバックアップされるデータは、システム上において圧縮されたシーケンシャルなデータであっても良い。
【0004】
尚、前述の如き仮想テープバックアップシステムに関する技術が記載された文献としては、例えば特開平3−304926号公報、特開平6−252211号公報、特開平9−96543号公報が挙げられる。
【0005】
【発明が解決しようとする課題】
前述のような仮想テープバックアップシステムは、前述のように磁気ディスクを磁気テープとしてエミュレートし、磁気ディスク上で磁気テープ巻毎の容量を分割して確保しているため、仮想テープ記憶装置上において生成できる磁気テープ巻数は磁気テープ巻毎の容量を合計した総容量に制限されていた。
【0006】
しかしながら、従来のバックアップシステムにおいては、バックアップのためのマージンを余分に確保したテープ容量がシステム設計時に設定されるため、確保した仮想テープ容量に対して全容量を使用することはなく、空き領域が必然的に生じ、磁気ディスクの全容量を効率的に使用することが困難であると言う不具合を招いていた。
【0007】
これを図面を用いて説明すると、図4に示す如く、全磁気ディスク容量に対して3本の仮想磁気テープを設定する際には、図4(a)の如く、各40GBの終端にT終端信号を持つ1〜3本目の仮想テープ容量を確保し、次いで図4(b)〜(c)の如く、1本目に対するデータが30GB、2本目に対するデータが20GB、3本目に対するデータが25GBの場合、各仮想磁気テープ毎に、約10GB,20GB,15GB、総計約45GBの不使用の空き領域が生じると言う不具合を招いていた。
【0008】
更に従来技術による仮想磁気テープを使用したバックアップシステムは、1本の仮想磁気テープに複数回のバックアップを追記形式で行った際に仮想テープの操作ミスが生じた場合、データを消失することがあり、数世代分のデータを失う可能性があると言う不具合もあった。
【0009】
また、図5(a)に示す如く、全磁気ディスク容量に対して3本の仮想磁気テープを確保し、各40GBの終端にT終端信号を持つ1〜3本目の仮想テープ容量を確保し、次いで図5(b)の如く、1本目に30GBの第1世代のデータをバックアップし、図5(c)の如く、前記1本目の仮想磁気テープの余り部分から2本目の途中まで30GBの第2世代のデータのバックアップを行い、これに続いて2本目の仮想磁気テープの途中から3本目の途中までに30GBの第3世代のデータのバックアップを行った場合を想定した場合、図5(d)の如く第1世代の新データが3本目の仮想磁気テープに書き込まれ、旧第1世代のデータが残り、旧第1世代のデータ領域と空き領域分で1本分のテープ領域があったとしても、他の仮想テープの生成ができないと言う不具合があった。
【0010】
また1本の仮想磁気テープの容量を少な目に設定することも考えられるが、この場合は、仮想磁気テープの終端に割り付けられるEOTと呼ばれる終端位置情報を検出して次の磁気テープの挿入待ちの状態或いは異常終了となることがあると言う不具合があった。
【0011】
本発明の目的は、前述の従来技術による不具合を除去することであり、磁気ディスクの全容量を効率的に使用することができる仮想テープバックアップシステムを提供することであり、具体的には、不使用の磁気ディスク容量が生じることがなく、新たな仮想磁気テープを生成することができるにもかかわらず、新仮想磁気テープを生成することができないことを防止し、異常終了を防止した仮想テープバックアップシステムを提供することである。
【0012】
【課題を解決するための手段】
前記目的を達成するため本発明は、バックアップデータを記憶する仮想磁気テープ記憶装置と該仮想磁気テープ記憶装置のバックアップを制御するバックアップ制御装置とを備え、1つのバックアップをテープ番号を設定した1本の仮想テープとして制御する仮想テープバックアップシステムであって、前記バックアップ制御装置が、仮想磁気テープ記憶装置の記憶領域のアドレスと、該アドレス対応に、テープ番号毎のインデックス又はテープ番号又はテープ番号毎のT終端信号又は空き領域からなるテープ情報を格納するエリア管理テーブルを備え、データバックアップに際し、前記エリア管理テーブルに格納したアドレス対応のテープ情報を参照することによって、仮想テープ毎のデータ容量を可変としたことを第1の特徴とする。
【0013】
更に本発明は、前記第1特徴において、1本の仮想テープデータの上書きを行う場合、仮想磁気テープ記憶装置に先に格納したデータ及びT終端信号を開放した後、該開放した空き記憶領域に上書きデータを書き込み、該上書きデータの終端にT終端信号を書き込み、前記上書きデータ及びT終端信号を格納したアドレスに対応してエリア管理テーブルに格納したテープ情報を書き換えることを第2の特徴とし、前記第2特徴において、前記上書きデータの書き込みにより1本の仮想テープデータが記憶領域上で細分化された場合、前記1本の仮想テープデータが記憶領域上で連続する様にデータの並べ替えを行うことを第3の特徴とする。
【0014】
【発明の実施の形態】
以下、本発明の一実施形態による仮想テープバックアップシステムを図面を参照して詳細に説明する。図1は、本実施形態によるバックアップシステムの全体構成を説明するための概念図、図2は本実施形態によるデータバックアップ手順を説明するための図、図3は本実施形態によるエリア管理テーブルを説明するための図である。
【0015】
まず本実施形態による仮想テープバックアップシステムは、図1に示す如く、データのバックアップを必要とするコンピュータシステムであるバックアップ対象サーバ10に対して接続されるバックアップ制御装置20と、該バックアップ制御装置20の制御下においてデータをバックアップする記憶装置である仮想磁気テープ記憶装置30とから構成される。
【0016】
前記仮想磁気テープ記憶装置30は、記憶媒体として磁気ディスクを内蔵し、バックアップ制御装置20は、前記仮想磁気テープ記憶装置30とデータの送受信を行うためのインターフェース制御部23と、仮想磁気テープ記憶装置30上に記録エリアの管理及び制御を行うエリア管理・制御部22と、これら全体を制御するコントローラ21とから構成され、1バックアップを1本のテープとして管理する様に構成されている。更に前記エリア管理・制御部22は、磁気ディスクの記憶領域内におけるポインタ(アドレス)/テープ番号/その順序を記憶するエリア管理テーブル221を備える。
【0017】
このエリア管理テーブル221は、図1に示した例においては、ポインタ(磁気ディスクのアドレス)1にテープ1のインデックスが記憶され、ポインタ2にテープ2のインデックスが記憶され、ポインタ3にテープ3のインデックスが記憶され、ポインタ4にテープ1のデータが記憶され、ポインタ5にテープ1のデータが記憶され、・・・、ポインタn+1にテープ1の終端位置を示すT終端信号(EOT)が記憶されていることを表しており、詳細は後述する。尚、前記テープ1とは、最初のバックアップの際に生成される仮想の1本目のテープを意味し、テープ2とは、次のバックアップの際に生成される仮想の2本目のテープを意味する。
【0018】
この様に構成された仮想テープバックアップシステムは、バックアップ制御装置20がバックアップ対象サーバ10に記録された各種データをシーケンシャルに仮想磁気テープ記憶装置30の磁気ディスク媒体にバックアップを行うものであり、このときの磁気ディスク媒体のバックアップデータ書き込み手順を図2及び図3を参照して説明する。
【0019】
図2(a)〜(g)に示す長方形は磁気ディスク媒体の記憶領域を仮想的に図示したものであり、この記憶領域に対して磁気テープの記憶領域を仮想してデータバックアップを行う例を説明する。
【0020】
まず、本実施形態による仮想テープバックアップシステムは、制御装置20のコントローラ21によって、図2(a)に示す如く、1本目/2本目/3本目のテープのインデックスをアドレス1〜3に書き込む。このときの本システムは、エリア管理テーブル221において、図3(a)に示す如く、アドレス1〜3に、各テープ1〜3のデータ(内容はインデックス)が書き込まれたことを格納する。
【0021】
次いで本システムは、コントローラ21が、図2(b)〜(c)に示す如く、1本目のテープの記憶領域に30GBデータを書き込み、データ終端位置において、図2(c)の如く、T終端信号をセットし、エリア管理テーブル221に図3(b)の如く、アドレス4,5・・に、テープ1のデータが書き込まれたことを格納し、更にアドレスn+1にテープ1のT終端信号を格納する。
【0022】
次いで2及び3本目のデータを書き込む場合、本システムは、図2(d)に示す如く、2本目のテープの記憶領域に20GBデータを書き込み、データ終端位置においてT終端信号をセットし、次いで前記2本目のテープのT終端信号に続いて3本目の25GBデータを2本目の残領域からデータの記録を開始し、3本目テープのテープに記録し、T終端信号をセットする。このとき本システムは、エリア管理テーブル221に対して、図3(c)の如く、アドレスn+2・・に、テープ2のデータが書き込まれたことを格納し、更にアドレスn+a+1にテープ2のT終端信号をセットし、アドレスn+a+2,2n・・に、テープ3のデータが書き込まれたことをセットし、更にアドレス2n+b+1にテープ3のT終端信号を格納する。
【0023】
この様に本実施形態によるバックアップシステムは、バックアップ制御装置20のエリア管理・制御部22がエリア管理テーブル221に、各テープに対するインデックスを格納すると共に、システム側から見て巻別のデータの書き込み及び巻毎のT終端信号をセットすることにより1本のテープに相当するデータバックアップを行い、この動作をシステム側から見て巻別にデータのバックアップを行うことによって、余分な空き領域を生じることがなく、磁気ディスクの全容量を効率的に使用することができる。
【0024】
即ち本実施形態は、1つのバックアップをテープ番号を設定した1本の仮想テープとして制御する仮想テープバックアップシステムにおいて、バックアップ制御装置が、仮想磁気テープ記憶装置の記憶領域のアドレスと、該アドレス対応に、テープ番号毎のインデックス又はテープ番号又はテープ番号毎のT終端信号又は空き領域からなるテープ情報を格納するエリア管理テーブルを設け、データバックアップに際し、前記エリア管理テーブルに格納したアドレス対応のテープ情報を参照することによって、仮想テープ毎のデータ容量を可変とすることにより、余分な空き領域を生じることがなく、磁気ディスクの全容量を効率的に使用することができる。
【0025】
次に本バックアップシステムにおいて、1本目のテープにデータを上書きする例を説明する。この場合、本システムは、まず、図2(e)に示す如く、最初に記録した30GBデータ(1本目のデータ及びT終端信号)を開放し、次いで前記開放した記憶領域に1本目のテープにデータの上書を行うと共に、エリア管理テーブル221に、図3(e)の如くアドレス4,5・・n+1が空きであることをセットする。
【0026】
このとき1本目の上書きデータが最初に記憶した容量より多い場合、本システムは、図2(f)に示す如く、前記開放した記憶領域にデータの書き込みを行い、増加分のデータを前記図2(e)で説明した3本目テープのT終端信号に続いてデータ書き込み及びT終端信号のセットを行う。
また1本目の上書きデータが最初に記憶した容量より少ない場合、本システムは、図2(g)に示す如く、前記開放した記憶領域にデータの書き込みとT終端信号のセットを行う。
【0027】
このときエリア管理テーブル221には、各アドレスに対し、1本目/2本目/3本目等のテープ番号及びT終端信号がセットされ、制御装置20のコントローラ21は、このエリア管理テーブル221を監視することによって仮想テープ記憶装置内のデータを管理することができる。
【0028】
本実施形態による仮想テープバックアップシステムは、前述のようにバックアップ制御装置20のエリア管理・制御部22がエリア管理テーブル221に、各テープに対するインデックスを格納すると共に、システム側から見て巻別のデータの書き込み及び巻毎のT終端信号をセットすることにより1本の仮想テープに相当するデータバックアップを行い、この動作をシステム側から見て巻別にデータのバックアップを行い、更にデータの上書きを行う際にも既に該当のデータ及びT終端信号が記録された領域を開放し、この開放エリアにデータ(容量が増加した場合は空きエリア)及びT終端信号の上書きを行うことによって、余分な空き領域を生じることがなく、T終端信号の誤検出による異常終了を防止することができる。
【0029】
即ち、本実施形態においては、1本の仮想テープデータの上書きを行う場合、仮想磁気テープ記憶装置に先に格納したデータ及びT終端信号を開放した後、該開放した空き記憶領域に上書きデータを書き込み、該上書きデータの終端にT終端信号を書き込み、前記上書きデータ及びT終端信号を格納したアドレスに対応してエリア管理テーブルに格納したテープ情報を書き換え、バックアップ毎に1本の仮想テープとして閉じることによって、仮想磁気テープの終端を検出して次の磁気テープの挿入待ちの状態或いは異常終了を防止することができる。
【0030】
また前記実施形態においては、図2(g)の如く、データの上書きによって1つのシーケンシャルな仮想テープデータが分断され、更なる上書きを繰り返すことによって1つの仮想テープデータが更に分断して細分化することが考えられる。本システムにおいては、この様に1つの仮想テープデータが細分化した場合、システムの空き時間等に前記細分化を解消するため、前記1本の仮想テープデータが記憶領域上で連続する様にデータの並べ替え(デフラグ)を行う様に構成しても良い。
【0031】
尚、本発明は、例えばバックアップデータを記憶する仮想磁気テープ記憶装置と該仮想磁気テープ記憶装置のバックアップを制御するバックアップ制御装置とを備え、1つのバックアップをテープ番号を設定した1本のテープとして制御する仮想テープバックアップシステムにおいて、前記バックアップ制御装置が、仮想磁気テープ記憶装置の記憶領域のアドレスと、該アドレス対応に、テープ番号毎のインデックス又はテープ番号又はテープ番号毎のT終端信号又は空き領域からなるテープ情報とを格納するエリア管理テーブルを備え、データバックアップに際して、複数のテープ番号に対するインデックスを格納し、次いでテープ番号毎のデータ及びT終端信号をシーケンシャルに格納することを特徴とするとして表すこともできる。
【0032】
【発明の効果】
以上説明した様に本発明は、1つのバックアップをテープ番号を設定した1本の仮想テープとして制御する仮想テープバックアップシステムにおいて、仮想磁気テープ記憶装置の記憶領域のアドレスと、該アドレス対応に、テープ番号毎のインデックス又はテープ番号又はテープ番号毎のT終端信号又は空き領域からなるテープ情報を格納するエリア管理テーブルを設け、データバックアップに際し、前記エリア管理テーブルに格納したアドレス対応のテープ情報を参照することによって、仮想テープ毎のデータ容量を可変とすることにより、磁気ディスクの全容量を効率的に使用することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態によるバックアップシステムの全体構成を説明するための概念図。
【図2】本実施形態によるデータ記憶手順を説明するための図。
【図3】図3は本実施形態によるエリア管理テーブルを説明するための図。
【図4】従来技術による空き領域の発生を説明するための図。
【図5】従来技術による複数世代のデータバックアップ手順を説明するための図。
【符号の説明】
10:バックアップサーバ、20:バックアップ制御装置、30:仮想テープ記憶装置、21:コントローラ、22:エリア管理・制御部、23:インターフェース制御部、221:エリア管理テーブル。
[0001]
[Industrial applications]
The present invention relates to a virtual tape backup system that stores data by imagining a magnetic disk on a magnetic tape, and more particularly to a virtual tape backup system that can efficiently back up data of a computer system.
[0002]
[Prior art]
Generally, computer systems tend to be enormous in system and data, and it is essential to back up data and the like in preparation for a data failure due to a disaster or the like. Conventionally, a backup system according to the prior art has a low cost per bit of a magnetic tape compared with a cost per bit of a magnetic disk. Therefore, a backup system using a magnetic tape storage device and a backup control device that controls the backup of data and the like to the magnetic tape storage device. Backup system was used.
[0003]
However, in recent backup systems, when a magnetic tape is used, the data transfer speed is slow, the backup time is redundant, and in recent years, the bit unit price of the magnetic disk has rapidly decreased, so that the What is used as a backup medium is realized, and this backup system is referred to as a virtual tape backup system in this specification. This backup system emulates a virtual tape storage device as a backup target of a conventional magnetic tape storage device from the viewpoint of a computer system, and backs up data. The data to be backed up may be sequential data compressed on the system.
[0004]
Documents describing the technology relating to the virtual tape backup system as described above include, for example, JP-A-3-304926, JP-A-6-252221, and JP-A-9-96543.
[0005]
[Problems to be solved by the invention]
The virtual tape backup system as described above emulates a magnetic disk as a magnetic tape as described above, and divides and secures the capacity of each magnetic tape winding on the magnetic disk. The number of magnetic tape windings that can be generated has been limited to the total capacity obtained by adding up the capacity of each magnetic tape winding.
[0006]
However, in the conventional backup system, since the tape capacity with an extra margin for backup is set at the time of system design, the entire capacity is not used for the reserved virtual tape capacity, and the free space is not used. This inevitably occurs, causing a problem that it is difficult to efficiently use the entire capacity of the magnetic disk.
[0007]
This will be described with reference to the drawings. As shown in FIG. 4, when three virtual magnetic tapes are set for the entire magnetic disk capacity, as shown in FIG. When the first to third virtual tape capacities having signals are secured, and then the first data is 30 GB, the second data is 20 GB, and the third data is 25 GB as shown in FIGS. This causes a problem that an unused space area of about 10 GB, 20 GB, 15 GB, and a total of about 45 GB is generated for each virtual magnetic tape.
[0008]
Further, in a backup system using a virtual magnetic tape according to the related art, data may be lost if a virtual tape operation error occurs when multiple backups are performed on a single virtual magnetic tape in a write-once format. However, there is a problem that data for several generations may be lost.
[0009]
Also, as shown in FIG. 5A, three virtual magnetic tapes are secured for the total magnetic disk capacity, and the first to third virtual tape capacities having a T termination signal at the end of each 40 GB are secured. Next, as shown in FIG. 5 (b), the first data of 30 GB is backed up to the first one, and as shown in FIG. 5 (c), the 30 GB first magnetic data is transferred from the remainder of the first virtual magnetic tape to the middle of the second one. FIG. 5D shows a case in which a backup of the second generation data is performed, and then a backup of the third generation data of 30 GB is performed from the middle of the second virtual magnetic tape to the middle of the third virtual magnetic tape. ), The first-generation new data is written to the third virtual magnetic tape, the old first-generation data remains, and the old first-generation data area and the free area have one tape area. As well as other virtual tapes Generation there has been a problem that you say that you can not.
[0010]
It is also conceivable to set the capacity of one virtual magnetic tape to a small value. In this case, however, the end position information called EOT allocated to the end of the virtual magnetic tape is detected, and the waiting for insertion of the next magnetic tape is started. There is a problem that the state or abnormal termination may occur.
[0011]
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned disadvantages of the prior art, and to provide a virtual tape backup system that can efficiently use the entire capacity of a magnetic disk. A virtual tape backup that prevents a new virtual magnetic tape from being created even though a new virtual magnetic tape can be created without using up magnetic disk capacity and prevents abnormal termination Is to provide a system.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a virtual magnetic tape storage device for storing backup data and a backup control device for controlling backup of the virtual magnetic tape storage device. A virtual tape backup system for controlling as a virtual tape, wherein the backup control device is configured to control an address of a storage area of the virtual magnetic tape storage device and an index for each tape number or a tape number or a tape number for each of the addresses. An area management table for storing tape information including a T-termination signal or an empty area is provided, and at the time of data backup, the data capacity of each virtual tape can be changed by referring to the address corresponding tape information stored in the area management table. This is a first feature.
[0013]
Further, according to the first aspect, in the first aspect, when overwriting one virtual tape data, after releasing the data previously stored in the virtual magnetic tape storage device and the T-termination signal, the data is stored in the released empty storage area. A second feature is that the overwriting data is written, a T end signal is written at the end of the overwriting data, and the tape information stored in the area management table is rewritten corresponding to the address where the overwriting data and the T end signal are stored, In the second aspect, when one piece of virtual tape data is subdivided in the storage area by writing the overwrite data, the data is rearranged so that the one piece of virtual tape data is continuous in the storage area. Performing is a third feature.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a virtual tape backup system according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a conceptual diagram illustrating the overall configuration of a backup system according to the present embodiment, FIG. 2 is a diagram illustrating a data backup procedure according to the present embodiment, and FIG. 3 illustrates an area management table according to the present embodiment. FIG.
[0015]
First, as shown in FIG. 1, a virtual tape backup system according to the present embodiment includes a backup control device 20 connected to a backup target server 10 which is a computer system that requires data backup, and a backup control device 20 A virtual magnetic tape storage device 30, which is a storage device for backing up data under control.
[0016]
The virtual magnetic tape storage device 30 has a built-in magnetic disk as a storage medium, and the backup control device 20 has an interface control unit 23 for transmitting and receiving data to and from the virtual magnetic tape storage device 30, and a virtual magnetic tape storage device. An area management / control unit 22 for managing and controlling the recording area and a controller 21 for controlling the whole of them are provided on a unit 30, and one backup is managed as one tape. Further, the area management / control unit 22 includes an area management table 221 for storing a pointer (address) / tape number / order in a storage area of the magnetic disk.
[0017]
In the example shown in FIG. 1, the area management table 221 stores the index of the tape 1 in the pointer (magnetic disk address) 1, stores the index of the tape 2 in the pointer 2, and stores the index of the tape 3 in the pointer 3. The index is stored, the data of the tape 1 is stored in the pointer 4, the data of the tape 1 is stored in the pointer 5,..., The T end signal (EOT) indicating the end position of the tape 1 is stored in the pointer n + 1. And details will be described later. Incidentally, the tape 1 means a virtual first tape generated at the time of the first backup, and the tape 2 means a virtual second tape generated at the time of the next backup. .
[0018]
In the virtual tape backup system configured as described above, the backup control device 20 sequentially backs up various data recorded in the backup target server 10 to the magnetic disk medium of the virtual magnetic tape storage device 30. The procedure for writing the backup data to the magnetic disk medium will be described with reference to FIGS.
[0019]
The rectangles shown in FIGS. 2A to 2G are virtual illustrations of a storage area of a magnetic disk medium, and an example in which data is backed up by imagining a storage area of a magnetic tape with respect to this storage area. explain.
[0020]
First, in the virtual tape backup system according to the present embodiment, as shown in FIG. 2A, the index of the first / second / third tape is written to addresses 1 to 3 by the controller 21 of the control device 20. At this time, the present system stores, in the area management table 221, the fact that the data (contents are indexes) of the tapes 1 to 3 has been written to the addresses 1 to 3, as shown in FIG.
[0021]
Next, in the present system, the controller 21 writes 30 GB data in the storage area of the first tape as shown in FIGS. 2B to 2C, and at the data end position, as shown in FIG. 3A, the fact that the data of the tape 1 has been written is stored in the area management table 221 at addresses 4, 5,... As shown in FIG. 3B, and the T end signal of the tape 1 is stored in the address n + 1. Store.
[0022]
Next, when writing the second and third data, the system writes 20 GB data in the storage area of the second tape, sets the T end signal at the data end position as shown in FIG. Following the T end signal of the second tape, data recording of the third 25 GB data is started from the remaining area of the second tape, recorded on the tape of the third tape, and the T end signal is set. At this time, the system stores the fact that the data of the tape 2 has been written in the area management table 221 at address n + 2... As shown in FIG. A signal is set, the fact that the data of the tape 3 has been written is set at addresses n + a + 2, 2n..., And the T end signal of the tape 3 is stored at address 2n + b + 1.
[0023]
As described above, in the backup system according to the present embodiment, the area management / control unit 22 of the backup control device 20 stores the index for each tape in the area management table 221 and writes and reads data for each volume as viewed from the system side. Data backup corresponding to one tape is performed by setting a T-termination signal for each winding, and this operation is viewed from the system side to back up data for each winding, so that no extra free space is generated. Thus, the entire capacity of the magnetic disk can be used efficiently.
[0024]
That is, in this embodiment, in a virtual tape backup system in which one backup is controlled as one virtual tape with a tape number set, the backup control device determines the address of the storage area of the virtual magnetic tape storage device and the corresponding address. An area management table for storing an index for each tape number or a tape information comprising a tape number or a T end signal for each tape number or an empty area is provided, and at the time of data backup, the tape information corresponding to the address stored in the area management table is stored. By referencing, by making the data capacity of each virtual tape variable, it is possible to efficiently use the entire capacity of the magnetic disk without generating extra free space.
[0025]
Next, an example in which data is overwritten on the first tape in the present backup system will be described. In this case, the system first releases the first recorded 30 GB data (the first data and the T end signal) as shown in FIG. At the same time as overwriting the data, the fact that the addresses 4, 5,... N + 1 are empty is set in the area management table 221 as shown in FIG.
[0026]
At this time, if the first overwrite data is larger than the capacity initially stored, the system writes data to the opened storage area as shown in FIG. Following the T end signal of the third tape described in (e), data writing and setting of the T end signal are performed.
If the first overwrite data is smaller than the capacity initially stored, the system writes data and sets a T termination signal in the open storage area as shown in FIG. 2 (g).
[0027]
At this time, a tape number such as a first / second / third tape and a T end signal are set in the area management table 221 for each address, and the controller 21 of the control device 20 monitors the area management table 221. Thus, data in the virtual tape storage device can be managed.
[0028]
In the virtual tape backup system according to the present embodiment, as described above, the area management / control unit 22 of the backup control device 20 stores an index for each tape in the area management table 221 and stores data for each volume as viewed from the system side. When writing data and setting the T-terminus signal for each winding, data backup corresponding to one virtual tape is performed. When this operation is viewed from the system side, data backup is performed for each winding, and further data overwriting is performed. Also, an area in which the corresponding data and the T-terminal signal are already recorded is released, and an extra empty area is overwritten by overwriting data (an empty area when the capacity increases) and the T-terminal signal in this open area. This does not occur, and abnormal termination due to erroneous detection of the T terminal signal can be prevented.
[0029]
That is, in this embodiment, when overwriting one piece of virtual tape data, after releasing the data previously stored in the virtual magnetic tape storage device and the T end signal, the overwritten data is written to the released free storage area. Write, write a T end signal at the end of the overwrite data, rewrite the tape information stored in the area management table corresponding to the address where the overwrite data and the T end signal are stored, and close as one virtual tape for each backup This makes it possible to detect the end of the virtual magnetic tape and prevent the state of waiting for insertion of the next magnetic tape or abnormal termination.
[0030]
In the above embodiment, as shown in FIG. 2G, one sequential virtual tape data is divided by overwriting data, and one virtual tape data is further divided and subdivided by repeating further overwriting. It is possible. In this system, when one piece of virtual tape data is subdivided in this way, in order to eliminate the subdivision during the idle time of the system or the like, the data is set so that the one piece of virtual tape data is continuous on the storage area. (Defragmentation) may be performed.
[0031]
The present invention includes, for example, a virtual magnetic tape storage device that stores backup data, and a backup control device that controls backup of the virtual magnetic tape storage device. One backup is defined as one tape with a tape number set. In the virtual tape backup system to be controlled, the backup control device is configured to control an address of a storage area of the virtual magnetic tape storage device and, in correspondence with the address, an index or a tape number for each tape number or a T-termination signal or an empty area for each tape number And an area management table for storing tape information composed of a plurality of tape numbers. In data backup, an index for a plurality of tape numbers is stored, and then data for each tape number and a T end signal are sequentially stored. You can also.
[0032]
【The invention's effect】
As described above, the present invention provides a virtual tape backup system in which one backup is controlled as one virtual tape with a tape number set therein. An area management table for storing an index for each number, a tape number, a T-end signal for each tape number, or a tape information comprising an empty area is provided, and at the time of data backup, the tape information corresponding to the address stored in the area management table is referred to. Thus, by making the data capacity of each virtual tape variable, the entire capacity of the magnetic disk can be used efficiently.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram for explaining the overall configuration of a backup system according to an embodiment of the present invention.
FIG. 2 is an exemplary view for explaining a data storage procedure according to the embodiment;
FIG. 3 is an exemplary view for explaining an area management table according to the embodiment;
FIG. 4 is a diagram for explaining generation of a free area according to the related art.
FIG. 5 is a diagram for explaining a data backup procedure for a plurality of generations according to the related art.
[Explanation of symbols]
10: backup server, 20: backup control device, 30: virtual tape storage device, 21: controller, 22: area management / control unit, 23: interface control unit, 221: area management table.

Claims (3)

バックアップデータを記憶する仮想磁気テープ記憶装置と該仮想磁気テープ記憶装置のバックアップを制御するバックアップ制御装置とを備え、1つのバックアップをテープ番号を設定した1本の仮想テープとして制御する仮想テープバックアップシステムにおいて、
前記バックアップ制御装置が、仮想磁気テープ記憶装置の記憶領域のアドレスと、該アドレス対応に、テープ番号毎のインデックス又はテープ番号又はテープ番号毎のT終端信号又は空き領域からなるテープ情報を格納するエリア管理テーブルを備え、データバックアップに際し、前記エリア管理テーブルに格納したアドレス対応のテープ情報を参照することによって、仮想テープ毎のデータ容量を可変としたことを特徴とする仮想テープバックアップシステム。
A virtual tape backup system that includes a virtual magnetic tape storage device that stores backup data and a backup control device that controls backup of the virtual magnetic tape storage device, and controls one backup as one virtual tape with a tape number set. At
An area in which the backup control device stores an address of a storage area of the virtual magnetic tape storage device and, corresponding to the address, an index for each tape number or a tape number or a tape termination signal for each tape number or a tape information including a free area. A virtual tape backup system comprising a management table, wherein at the time of data backup, the data capacity of each virtual tape is made variable by referring to tape information corresponding to an address stored in the area management table.
1本の仮想テープデータの上書きを行う場合、仮想磁気テープ記憶装置に先に格納したデータ及びT終端信号を開放した後、該開放した空き記憶領域に上書きデータを書き込み、該上書きデータの終端にT終端信号を書き込み、前記上書きデータ及びT終端信号を格納したアドレスに対応してエリア管理テーブルに格納したテープ情報を書き換えることを特徴とする請求項1記載の仮想テープバックアップシステム。When overwriting one virtual tape data, after releasing the data previously stored in the virtual magnetic tape storage device and the T end signal, the overwrite data is written into the released empty storage area, and the end of the overwritten data is written. 2. The virtual tape backup system according to claim 1, wherein a T end signal is written, and the tape information stored in the area management table is rewritten corresponding to the address where the overwrite data and the T end signal are stored. 前記上書きデータの書き込みにより1本の仮想テープデータが記憶領域上で細分化された場合、前記1本の仮想テープデータが記憶領域上で連続する様にデータの並べ替えを行うことを特徴とする請求項2記載の仮想テープバックアップシステム。When one piece of virtual tape data is subdivided on the storage area by writing the overwrite data, the data is rearranged so that the one piece of virtual tape data is continuous on the storage area. The virtual tape backup system according to claim 2.
JP2002334054A 2002-11-18 2002-11-18 Virtual tape backup system Pending JP2004171145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002334054A JP2004171145A (en) 2002-11-18 2002-11-18 Virtual tape backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002334054A JP2004171145A (en) 2002-11-18 2002-11-18 Virtual tape backup system

Publications (1)

Publication Number Publication Date
JP2004171145A true JP2004171145A (en) 2004-06-17

Family

ID=32698602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002334054A Pending JP2004171145A (en) 2002-11-18 2002-11-18 Virtual tape backup system

Country Status (1)

Country Link
JP (1) JP2004171145A (en)

Similar Documents

Publication Publication Date Title
US7761284B2 (en) Tape emulating disk based storage system and method with automatically resized emulated tape capacity
US11775180B2 (en) Tape library emulation with automatic configuration and data retention
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
JP3245364B2 (en) Method and system for sharing a storage device via different interfaces
US8223600B2 (en) Network-attachable, file-accessible storage drive
US7136977B2 (en) Backup acquisition method and disk array apparatus
US20070156958A1 (en) Methods, systems, and computer program products for optimized copying of logical units (LUNs) in a redundant array of inexpensive disks (RAID) environment using buffers that are smaller than LUN delta map chunks
US7987328B2 (en) Data archive system
US20050108471A1 (en) Deferred writing of data to be synchronized on magnetic tape employing a non-volatile store
US6625626B1 (en) Recording apparatus and recording method, reproducing apparatus and reproducing method, and recording medium
JP2004171145A (en) Virtual tape backup system
US6463502B1 (en) Backup copying of data to a tape unit with a cache memory
GB2400927A (en) Method of managing memory by checking that none of the sectors in a block is needed before erasing the block.
WO2000077641A1 (en) System and method for generating a backup copy of a storage medium
JPH05334009A (en) Information recording method for non-volatile memory
JP2006201953A (en) File system
Edwards Integration Options For The OSI LD1200
JPH07121317A (en) Optical disk management method for computer controller
JPS6019820B2 (en) data transfer control device
JP2008165673A (en) Data writing control method, management server, and data writing control program
JP2000021133A (en) Automatic preparation system for duplication medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081209

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090414