[go: up one dir, main page]

JP2001290713A - Storage device system and backup acquisition method thereof - Google Patents

Storage device system and backup acquisition method thereof

Info

Publication number
JP2001290713A
JP2001290713A JP2000113220A JP2000113220A JP2001290713A JP 2001290713 A JP2001290713 A JP 2001290713A JP 2000113220 A JP2000113220 A JP 2000113220A JP 2000113220 A JP2000113220 A JP 2000113220A JP 2001290713 A JP2001290713 A JP 2001290713A
Authority
JP
Japan
Prior art keywords
data
volume
copy
storage device
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.)
Granted
Application number
JP2000113220A
Other languages
Japanese (ja)
Other versions
JP3882461B2 (en
Inventor
Haruaki Watanabe
治明 渡辺
Kenji Yamakami
憲司 山神
Kenzo Tabata
謙三 田畑
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 JP2000113220A priority Critical patent/JP3882461B2/en
Priority to DE60043873T priority patent/DE60043873D1/en
Priority to EP00111511A priority patent/EP1058190B1/en
Priority to US09/584,319 priority patent/US6836830B1/en
Publication of JP2001290713A publication Critical patent/JP2001290713A/en
Priority to US10/893,884 priority patent/US6981115B2/en
Application granted granted Critical
Publication of JP3882461B2 publication Critical patent/JP3882461B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】 【課題】ホストコンピュータからのデータのライト要求
を継続的に受け付けながらある時点におけるユーザデー
タのコピーを取得する。 【解決手段】ライト処理103は、ライト要求の対象ブ
ロックのコピーが完了していない場合は、ユーザボリュ
ーム110からデータを読み取り、ワークボリューム1
12に退避しておく。コピー処理105は、コピー対象
のデータがユーザボリューム110にあるのか、ワーク
ボリューム112にあるのかを判断し、データを読み取
って磁気テープ装置117に転送する。
(57) [Summary] To obtain a copy of user data at a certain point in time while continuously receiving a data write request from a host computer. A write process reads data from a user volume when a copy of a target block for a write request is not completed, and writes the data to a work volume.
Save to 12 The copy process 105 determines whether the data to be copied is in the user volume 110 or the work volume 112, reads the data, and transfers the data to the magnetic tape device 117.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、計算機システムに
おける記憶装置システムに係り、特に、ホストコンピュ
ータを介することなくデータのバックアップを取得可能
な記憶装置システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage system in a computer system, and more particularly to a storage system capable of obtaining data backup without a host computer.

【0002】[0002]

【従来の技術】一般に計算機システムでは、記憶装置に
障害が発生したときに大切なデータが完全に失われてし
まうことを防ぐために、記憶装置に保持されるデータの
バックアップをとることが行われている。バックアップ
をとるデータの整合性を保証するために、バックアップ
をとっている間は、通常、その記憶装置に対するデータ
のライト処理を停止しなくてはならない。
2. Description of the Related Art Generally, in a computer system, data stored in a storage device is backed up in order to prevent important data from being completely lost when a failure occurs in the storage device. I have. In order to guarantee the consistency of the data to be backed up, normally, during the backup, the data write processing to the storage device must be stopped.

【0003】このような問題を解決し、さらに、ホスト
コンピュータを介在させずにバックアップ処理を行うこ
とを可能とした記憶装置が、例えば、特開平7−210
439号公報に開示されている。
[0003] A storage device that solves such a problem and that can perform backup processing without the intervention of a host computer is disclosed in, for example, Japanese Patent Laid-Open No. 7-210.
No. 439.

【0004】特開平7−210439号公報に開示され
た記憶装置は、(1)バックアップの対象とされる領域
をバックアップ済みの領域と未バックアップ領域とに分
けて管理する手段、(2)未バックアップ領域に対する
ライト要求をうけたとき、ライト対象とされる領域に記
録されているデータを読みだしてバッファに退避し、そ
の後、ライトデータを受領して記憶媒体に記録する手
段、(3)バックアップの対象となるデータを別の記憶
装置に転送する際、転送対象のデータが記憶媒体にある
かバッファにあるかを識別し、バックアップ開始時点で
のデータを転送する手段、(4)バッファに退避したデ
ータが適当な量を越えた場合、積極的に退避データをバ
ックアップ先の別の記憶装置に転送する手段、及び
(5)バックアップ先の別の記憶装置がシーケンシャル
アクセス形式であった場合、データと、そのデータが記
憶媒体のどこに記録されていたかを示す位置情報とを合
わせて別の記憶装置に転送する手段を備える。
[0004] The storage device disclosed in Japanese Patent Application Laid-Open No. 7-210439 includes (1) means for managing an area to be backed up by dividing it into a backed up area and an unbacked up area, and (2) an unbacked up area. Means for reading out the data recorded in the area to be written and saving the data in a buffer when a write request for the area is received, and thereafter receiving the write data and recording it on the storage medium; (3) backup means Means for transferring the data to be transferred to another storage device, identifying whether the data to be transferred is in the storage medium or in the buffer, and transferring the data at the start of the backup; (4) saving the data to the buffer Means for actively transferring the save data to another storage device at the backup destination when the data exceeds an appropriate amount; If storage was sequential access format, it comprises means for transferring the data, together with position information indicating where the was recorded in the data storage medium to another storage device.

【0005】この記憶装置では、上記手段(4)によっ
てバッファがいっぱいになることを防止するため、バッ
クアップデータを格納する記憶装置がシーケンシャルア
クセス形式の場合、正しい順序で記録されないという問
題が発生する。これについては、手段(5)によってシ
ーケンシャルアクセス形式の記憶装置に正しい順序でデ
ータを格納しなくても、位置情報をもとにリストアする
ことを可能にしている。
In this storage device, in order to prevent the buffer from being filled by the means (4), if the storage device for storing backup data is of a sequential access type, there is a problem that data is not recorded in a correct order. In this regard, the means (5) enables restoration based on position information without storing data in a sequential access format storage device in a correct order.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た特開平7−210439号公報に開示された技術で
は、バックアップデータを格納する記憶装置がシーケン
シャルアクセス形式であった場合、データの位置情報を
作成する処理のオーバーヘッドがかかる。また、データ
の他にその位置情報を転送して記憶しておく必要があ
り、その分、バックアップデータを格納する記憶装置に
記憶容量が必要となるといった問題を有する。
However, according to the technique disclosed in Japanese Patent Application Laid-Open No. Hei 7-210439, when the storage device for storing backup data is of a sequential access format, data position information is created. Processing overhead is required. Further, in addition to the data, it is necessary to transfer and store the position information, and accordingly, there is a problem that the storage device for storing the backup data requires a storage capacity.

【0007】さらに、特開平7−210439号公報に
開示された技術では、バックアップ中にライト要求が発
生すると、ライト要求により更新される前のデータをバ
ッファに退避するので、バックアップ先の記憶装置へデ
ータを転送する際、転送すべきデータが記憶媒体にある
のか、バッファにあるのか管理しておく必要がある。ま
た、更新前のデータを退避するために、バッファのどの
領域があいているのか、どの領域のデータを退避したの
かといった管理項目も多くなるといった問題もある。
Further, according to the technique disclosed in Japanese Patent Application Laid-Open No. 7-210439, when a write request occurs during backup, data before being updated by the write request is saved in a buffer, so that the data is stored in the backup destination storage device. When transferring data, it is necessary to manage whether the data to be transferred is in a storage medium or in a buffer. There is also a problem that the management items such as which area of the buffer is open and which area of the data have been saved in order to save the data before update are increased.

【0008】本発明の目的は、バックアップデータを格
納する記憶装置がシーケンシャルアクセス形式の記憶装
置である場合でも、正しい順序でバックアップデータを
格納してデータの位置情報の記録を不要とした記憶装置
を提供することにある。
An object of the present invention is to provide a storage device which stores backup data in a correct order and eliminates the need to record data position information even when the storage device for storing backup data is a storage device of a sequential access format. To provide.

【0009】また、本発明の他の目的は、退避データの
管理を簡略なものとする記憶装置を提供することにあ
る。
Another object of the present invention is to provide a storage device which simplifies management of saved data.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明は、ホストからの指示に応答して、ボリューム
内の指示により示された領域に格納されているデータ
を、他の記憶装置に転送してバックアップを取得する機
能を有する記憶装置システムにおいて、指示された領域
を、他の記憶装置へのデータコピーが済んでいる領域
と、他の記憶装置へのコピーがすんでおらず、かつデー
タ退避用のボリュームにデータを退避済みの領域と、他
の記憶装置へのデータコピーが済んでおらず、かつ、デ
ータ退避用のボリュームへのデータの退避が行われてい
ない領域とに分けて管理する領域管理手段、他の記憶装
置へコピーされておらず、かつ退避用ボリュームへのデ
ータの退避が行われていない領域に対してライト要求を
受領した場合、当該ライト要求の対象領域に保持されて
いるデータを、データ退避用のボリュームに格納した
後、ライトデータを受領するライト要求実行手段、他の
記憶装置に転送するデータが、ボリューム内の領域にあ
るのかデータ退避用のボリュームにあるのかを管理する
コピー元管理手段、及び、コピー元管理手段によって得
られた場所のデータを指示により指定された記憶装置に
転送するコピー手段とを有する。
In order to achieve the above object, according to the present invention, in response to an instruction from a host, data stored in an area indicated by an instruction in a volume is stored in another storage device. In a storage device system having a function of transferring data to another storage device and transferring a backup to another storage device, the specified area is copied to another storage device, and the data is not copied to another storage device. It is divided into an area where the data has been saved in the data saving volume and an area where the data has not been copied to another storage device and the data has not been saved to the data saving volume. If a write request is received for an area that is not copied to another storage device and data has not been saved to the save volume, After the data held in the target area of the write request is stored in the data evacuation volume, the write request execution means for receiving the write data, and whether the data to be transferred to another storage device is in the area in the volume. A copy source management unit that manages whether the data is in a data saving volume; and a copy unit that transfers data at a location obtained by the copy source management unit to a storage device designated by an instruction.

【0011】また、本発明の他の観点によれば、コンピ
ュータにより利用されるユーザデータを格納したユーザ
ボリュームと、ユーザボリュームのデータを他の記憶装
置にコピーしてバックアップを取得する際にデータの退
避用として使われるワークボリュームと、ユーザボリュ
ーム及びワークボリュームへのアクセスを制御する制御
装置とを備えた記憶装置システムにおけるバックアップ
方法が提供される。このバックアップ方法では、ユーザ
ボリュームから他の記憶装置へのデータのコピー要求に
応答して、ユーザボリュームからコピー要求で指定され
た領域に保持されているユーザデータを他の記憶装置へ
のコピーされる。他の記憶装置へのコピー処理中に、指
定された領域内の一部の領域に対するデータの書き込み
要求があったとき、当該一部の領域に保持されているユ
ーザデータがワークボリュームに転送された後、一部の
領域へのデータの書き込みが行われる。コピー処理にお
いては、他の記憶装置へコピーしようとするユーザデー
タが、ユーザボリューム内の領域保持されているのか、
ワークボリューム内の領域に保持されているのか判別さ
れ、この判別の結果に応じてコピーしようとするユーザ
データを読み出して他の記憶装置へ転送する。
According to another aspect of the present invention, there is provided a user volume storing user data used by a computer, and the data of the user volume is copied when the data of the user volume is copied to another storage device to obtain a backup. There is provided a backup method in a storage device system including a work volume used for evacuation and a control device for controlling access to a user volume and a work volume. In this backup method, in response to a request to copy data from a user volume to another storage device, the user data stored in the area specified by the copy request is copied from the user volume to another storage device. . During a copy process to another storage device, when there is a data write request to a part of the designated area, the user data held in the part of the area is transferred to the work volume. Thereafter, data is written to some areas. In the copy processing, whether the user data to be copied to another storage device is held in the area in the user volume,
It is determined whether the data is held in an area in the work volume, and the user data to be copied is read and transferred to another storage device according to the result of this determination.

【0012】[0012]

【発明の実施の形態】図1は、本発明が適用された記憶
装置を含む計算機システムの構成例を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration example of a computer system including a storage device to which the present invention is applied.

【0013】本実施形態の計算機システムは、ユーザデ
ータを格納したディスクサブシステム118、ディスク
サブシステム118に対して、そこに格納されたユーザ
データを対象とするリード要求、ライト要求およびコピ
ー要求などを発行するホストコンピュータ116、及
び、ディスクサブシステム118に格納されたデータの
バックアップデータを格納する磁気テープ装置117を
有する。
The computer system according to the present embodiment issues a read request, a write request, a copy request, and the like to the disk subsystem 118 storing the user data and the disk subsystem 118 for the user data stored therein. It has a host computer 116 for issuing data and a magnetic tape device 117 for storing backup data of data stored in the disk subsystem 118.

【0014】ディスクサブシステム118は、ホストコ
ンピュータ116とのインタフェースとなるホストイン
タフェース102、磁気テープ装置117とのインタフ
ェースとなる磁気テープ装置インタフェース104、デ
ィスクサブシステム118において行われる各種の処理
を制御する制御プロセッサ108、制御プロセッサ10
8により使用される制御情報を格納する制御メモリ10
9、及びデータを格納する記憶装置であるボリュームに
アクセスするボリュームアクセス部114を備える。
The disk subsystem 118 controls the host interface 102 serving as an interface with the host computer 116, the magnetic tape device interface 104 serving as an interface with the magnetic tape device 117, and various processes performed in the disk subsystem 118. Processor 108, control processor 10
Control memory 10 for storing control information used by
9 and a volume access unit 114 for accessing a volume which is a storage device for storing data.

【0015】制御プロセッサ108は、本実施形態にお
けるバックアップ処理に関する処理機能として、ボリュ
ーム属性変更処理101、ライト処理103、及びコピ
ー処理105を有する。これらの処理機能は、具体的に
は制御プロセッサ108が実行するプログラムにより実
現される。制御プロセッサ108は、この他、ディスク
サブシステムの制御のために種々の機能を有するが、こ
れらについては、本発明と直接的には関係しないので、
ここでは図示、並びに説明は省略している。なお、これ
らの処理機能のうち、ボリューム属性変更処理101
は、第1の実施形態では用いられない。ボリューム属性
変更処理101については、後述する第2の実施形態で
説明する。
The control processor 108 has volume attribute change processing 101, write processing 103, and copy processing 105 as processing functions related to backup processing in the present embodiment. These processing functions are specifically realized by a program executed by the control processor 108. The control processor 108 also has various functions for controlling the disk subsystem, but these are not directly related to the present invention.
Here, illustration and description are omitted. Among these processing functions, the volume attribute change processing 101
Are not used in the first embodiment. The volume attribute change processing 101 will be described in a second embodiment described later.

【0016】制御メモリ109には、本実施形態におけ
るバックアップ処理において使われる制御情報として、
ボリューム管理情報106と、コピー状態管理情報10
7が保持される。
The control memory 109 stores, as control information used in the backup processing in this embodiment,
Volume management information 106 and copy status management information 10
7 is held.

【0017】ディスクサブシステム118は、データを
格納する記憶装置であるボリュームとして、ユーザデー
タを格納するユーザボリューム110、111と、バッ
クアップ処理時に、退避データを格納するためのワーク
ボリューム112、113を有する。各ボリュームに
は、各々を識別するための識別子として、ボリューム番
号が付与されている。
The disk subsystem 118 has, as volumes serving as data storage devices, user volumes 110 and 111 for storing user data and work volumes 112 and 113 for storing backup data during backup processing. . Each volume is provided with a volume number as an identifier for identifying each volume.

【0018】本実施形態、及び後述する第2の実施形態
において、ボリュームとは、物理的なディスク装置を用
いて形成され、ホストコンピュータから1つの記憶装置
として認識される論理的な記憶装置をいう。1台の物理
的なディスク装置をそのまま1つのボリュームとしても
よく、また、1台のディスク装置上で複数のボリューム
を形成するようにすることも可能である。ディスクサブ
システム118がいわゆるRAIDとして構成される場
合は、RAIDを構成する複数の物理的なディスク装置
上に、又は複数のボリュームが形成される。
In this embodiment and a second embodiment to be described later, a volume refers to a logical storage device formed using a physical disk device and recognized as one storage device by a host computer. . One physical disk device may be used as one volume as it is, or a plurality of volumes may be formed on one disk device. When the disk subsystem 118 is configured as a so-called RAID, a plurality of volumes are formed on a plurality of physical disk devices constituting the RAID.

【0019】各ボリュームの記憶領域は、複数個のブロ
ックから構成されている。各ブロックには、それぞれを
識別するための情報として、ブロック番号が付けられ
る。ボリュームは、ブロック番号が0、1、2、・・・、
N(Nは0以上の整数値であり、ボリューム毎に異なる
場合もある)の値をとるブロックを備える。
The storage area of each volume is composed of a plurality of blocks. Each block is assigned a block number as information for identifying each block. The volume has block numbers 0, 1, 2,...
A block having a value of N (N is an integer value of 0 or more and may be different for each volume) is provided.

【0020】図2は、コピー状態管理情報107のデー
タ構造を示す概念図である。
FIG. 2 is a conceptual diagram showing the data structure of the copy status management information 107.

【0021】コピー状態管理情報107は、コピー動作
に関係する情報を含んでいる。コピー状態管理情報10
7は、ホストコンピュータ116により発行されるライ
ト要求、及びコピー要求に応答して実行されるライト処
理103、及びコピー処理105において参照・更新さ
れる。
The copy status management information 107 includes information related to a copy operation. Copy status management information 10
7 is referenced / updated in a write process 103 and a copy process 105 executed in response to a write request issued by the host computer 116 and a copy request.

【0022】図に示すように、コピー状態管理情報10
7は、使用中フラグ300、コピー元ボリューム番号3
03、ブロック情報304を含んで構成される。使用中
フラグ300は、当該コピー状態管理情報107が使用
中であるかどうかを示すフラグで、「未使用」と「使用
中」のいずれかを示す値を持つ。コピー元ボリューム番
号303には、バックアップ処理によるコピー対象のデ
ータを格納しているボリュームのボリューム番号が格納
される。ブロック情報304は、コピー元ボリューム番
号303により示されるボリュームのブロックの状態を
示す情報である。
As shown in the figure, the copy status management information 10
7 is in use flag 300, copy source volume number 3
03, including block information 304. The in-use flag 300 is a flag indicating whether or not the copy status management information 107 is in use, and has a value indicating either “unused” or “in use”. The copy source volume number 303 stores the volume number of the volume storing the data to be copied by the backup process. The block information 304 is information indicating the state of the block of the volume indicated by the copy source volume number 303.

【0023】ブロック情報304は、ブロック状態を示
す情報として、ブロック番号301とコピー状態302
を有する。コピー状態302は、「コピー不要」、「コ
ピー要&退避未」、「コピー要&退避済」、及び「コピ
ー済み」のいずれかを示す値を持つ。
The block information 304 includes a block number 301 and a copy status 302 as information indicating the block status.
Having. The copy status 302 has a value indicating one of “copy unnecessary”, “copy required & not saved”, “copy required & saved”, and “copied”.

【0024】「コピー不要」は、コピーする必要のない
データを格納するブロックであることを示す。「コピー
要&退避未」は、現在コピーする必要のあるデータを格
納しているブロックであることを示す。「コピー要&退
避済」は、コピー要求を受領した時点ではコピーが必要
とされるデータを格納したブロックであったが、そのデ
ータがワークボリュームに退避されていることを示す。
"No need to copy" indicates that the block stores data that does not need to be copied. “Copy required & not saved” indicates that the block stores data that needs to be copied at present. “Copy required & saved” indicates that the block that stores the data that needs to be copied when the copy request is received, but that data is saved in the work volume.

【0025】図3は、ボリューム管理情報106のデー
タ構造を示す概念図である。
FIG. 3 is a conceptual diagram showing the data structure of the volume management information 106.

【0026】ボリューム管理情報106は、ボリューム
の状態を示す管理情報で、ボリューム番号400ごとに
コピー動作有無フラグ401を有している。コピー動作
有無フラグ401は、「コピー中」または「通常」のい
ずれかを示す値をとる。「コピー中」は、当該ボリュー
ムがコピー処理の対象であることを示す。「通常」は、
当該ボリュームがコピー処理の対象でないこと示す。
The volume management information 106 is management information indicating the status of the volume, and has a copy operation presence / absence flag 401 for each volume number 400. The copy operation presence / absence flag 401 takes a value indicating either “during copying” or “normal”. “During copying” indicates that the volume is a target of copy processing. "Normally,
Indicates that the volume is not subject to copy processing.

【0027】図4は、本実施形態において、ホストコン
ピュータからのライト要求に応答して実施されるライト
処理103の流れを示すフローチャートである。
FIG. 4 is a flowchart showing the flow of the write processing 103 executed in response to a write request from the host computer in the present embodiment.

【0028】ホストコンピュータ116は、ユーザデー
タの書き込み、あるいは、更新を行おうとする際、ライ
ト要求をディスクサブシステム118に対して発行す
る。ライト要求には、ライトデータが書き込まれるボリ
ュームのボリューム番号、ライトデータを書き込むブロ
ックのブロック番号、及びライトデータが含まれる。
When writing or updating user data, the host computer 116 issues a write request to the disk subsystem 118. The write request includes the volume number of the volume to which the write data is to be written, the block number of the block to which the write data is to be written, and the write data.

【0029】ライト要求を受けると、制御プロセッサ1
08は、ライト処理103による処理を開始する。
When a write request is received, the control processor 1
08 starts the process by the write process 103.

【0030】制御プロセッサ118は、まず、ボリュー
ム管理情報106を参照し、ライト要求の対象となるボ
リュームのデータに対して、後述するコピー処理が実行
中であるかどうか判定する。具体的には、コピー動作有
無フラグ401の状態を調べ、コピー動作有無フラグ4
01が「コピー中」を示す場合はステップ501に進
み、「通常」を示す場合はステップ504に進む(ステ
ップ500)。
The control processor 118 first refers to the volume management information 106 to determine whether or not copy processing, which will be described later, is being performed on the data of the volume that is the target of the write request. Specifically, the state of the copy operation presence / absence flag 401 is checked, and the copy operation presence / absence flag 4 is checked.
If 01 indicates "copying", the process proceeds to step 501, and if "normal", the process proceeds to step 504 (step 500).

【0031】ステップ501において、制御プロセッサ
118は、コピー状態管理情報107を参照してライト
要求の状態を調べ、データの退避が必要かどうかを判定
する。具体的には、ライト要求の対象とされるボリュー
ムのボリューム番号と同じ値をコピー元ボリューム番号
303に格納しているコピー状態管理情報107を選択
する。次に、制御プロセッサ118は、コピー状態30
2を調べ、ライト要求の対象であるブロックが「コピー
要&退避未」かどうか調べる。コピー状態302が「コ
ピー要&退避未」を示している場合、ステップ502に
進みデータの退避を行う。コピー状態302が「コピー
要&退避未」以外を示す値である場合は、データの退避
が不要なのでステップ504に進む。
At step 501, the control processor 118 checks the status of the write request with reference to the copy status management information 107, and determines whether data must be saved. Specifically, the copy status management information 107 storing the same value as the volume number of the volume to be requested for the write request in the copy source volume number 303 is selected. Next, the control processor 118 returns to the copy state 30
2 is checked to see if the block that is the target of the write request is "copy required & not saved". If the copy status 302 indicates "copy required & not saved", the process proceeds to step 502 to save the data. If the copy status 302 is a value indicating a value other than “copy required & not saved”, the process proceeds to step 504 because data saving is unnecessary.

【0032】ステップ502では、まず、ライト要求の
対象とされたブロックのうち、コピー状態302により
「コピー要&退避未」であることが示されるブロックの
データをユーザボリューム110からボリュームアクセ
ス部114により読み込む。次に、制御プロセッサ11
8は、読み込んだデータをワークボリューム112に記
録する。このとき、制御プロセッサ118は、ユーザボ
リューム110において読み出したデータが格納されて
いたブロックと同じブロック番号を持つワークボリュー
ム112のブロックにデータを書き込む。
In step 502, first, of the blocks requested to be written, data of a block that is indicated as “copy required & not yet saved” by the copy status 302 is transferred from the user volume 110 to the volume access unit 114. Read. Next, the control processor 11
8 records the read data in the work volume 112. At this time, the control processor 118 writes data to a block of the work volume 112 having the same block number as the block in which the data read in the user volume 110 was stored.

【0033】ステップ503で制御プロセッサ118
は、ステップ502でデータを退避したブロックのコピ
ー状態302を「コピー要&退避済」を示す値に更新す
る。
At step 503, the control processor 118
Updates the copy status 302 of the block whose data was saved in step 502 to a value indicating “copy required & saved”.

【0034】ステップ504では、ライト要求でホスト
コンピュータ116から受け取ったライトデータをユー
ザボリューム110の指定されたブロックに記録して処
理を終了する。
In step 504, the write data received from the host computer 116 in the write request is recorded in the designated block of the user volume 110, and the process ends.

【0035】図5は、本実施形態において、ホストコン
ピュータからのコピー要求に応答して実施されるコピー
処理105の流れを示すフローチャートである。
FIG. 5 is a flowchart showing the flow of the copy processing 105 executed in response to a copy request from the host computer in the present embodiment.

【0036】ホストコンピュータ116により発行され
るコピー要求は、コピー対象となるデータを格納したボ
リュームのボリューム番号、及びコピー対象となるデー
タを格納したブロックのブロック番号を有する。
The copy request issued by the host computer 116 has the volume number of the volume storing the data to be copied and the block number of the block storing the data to be copied.

【0037】ホストコンピュータ116からコピー要求
を受けると、制御プロセッサ118は、コピー処理10
5による処理を開始する。
Upon receiving a copy request from the host computer 116, the control processor 118 executes the copy process 10
5 is started.

【0038】コピー処理105において、制御プロセッ
サ118は、ボリューム管理情報106から、ボリュー
ム番号が400にコピー要求のパラメータとして受け取
ったボリューム番号と同じボリューム番号が設定されて
いるエントリを選択する。そして、そのエントリのコピ
ー動作有無フラグ401に「コピー中」を示す値を設定
する(ステップ600)。
In the copy processing 105, the control processor 118 selects an entry in which the volume number is set to 400 and the same volume number as the volume number received as a parameter of the copy request from the volume management information 106. Then, a value indicating "copying" is set in the copy operation presence / absence flag 401 of the entry (step 600).

【0039】制御プロセッサ118は、コピー状態管理
情報107の中から使用中フラグ300に「未使用」を
示す値が設定されているコピー状態管理情報を選択し、
選択したコピー状態管理情報107の使用中フラグに
「使用中」を示す値を設定する。次に、コピー元ボリュ
ーム番号303にコピー要求のパラメータであるボリュ
ーム番号を設定する。次に、制御プロセッサ118は、
コピー要求のパラメータで指定されたブロック番号と同
じブロック番号301に対応するコピー状態302に
「コピー要&退避未」を示す値を設定し、他のブロック
番号301に対応するコピー状態302に「コピー不
要」を示す値設定する(ステップ601)。
The control processor 118 selects, from the copy status management information 107, copy status management information in which the value indicating “unused” is set in the in-use flag 300,
A value indicating “in use” is set in the in use flag of the selected copy status management information 107. Next, a volume number, which is a parameter of the copy request, is set in the copy source volume number 303. Next, the control processor 118
A value indicating “copy required & not saved” is set in the copy status 302 corresponding to the same block number 301 as the block number designated by the parameter of the copy request, and “copy” is set in the copy status 302 corresponding to the other block numbers 301. A value indicating "unnecessary" is set (step 601).

【0040】この後、ブロックを指定するための変数i
に0を設定して、変数iを初期化する(ステップ60
2)。
Thereafter, a variable i for designating a block
Is set to 0, and a variable i is initialized (step 60).
2).

【0041】制御プロセッサ118は、ステップ601
で選択したコピー状態管理情報107の中で、変数iの
値と同じブロック番号301に対応したコピー状態30
2の値によって次に実行する処理を決める。すなわち、
コピー状態302が「コピー要&退避未」を示す場合は
ステップ604に進み、「コピー要&退避済」を示す場
合はステップ605に進む。また、コピー状態302が
「コピー不要」あるいは「コピー済み」を示す場合はス
テップ607に進む(ステップ603)。
The control processor 118 determines in step 601
In the copy status management information 107 selected in the step 3, the copy status 30 corresponding to the same block number 301 as the value of the variable i.
The process to be executed next is determined by the value of 2. That is,
If the copy status 302 indicates “copy required & not saved”, the process proceeds to step 604. If the copy status 302 indicates “copy required & saved”, the process proceeds to step 605. If the copy status 302 indicates "copy unnecessary" or "copied", the process proceeds to step 607 (step 603).

【0042】ステップ604において、制御プロセッサ
118は、ボリュームアクセス部114を使って、変数
iと同じブロック番号を持つユーザボリューム110の
ブロックからデータを読み出す。制御プロセッサ118
は、ユーザボリューム110から読み出したデータを、
磁気テープ装置インタフェース104を介して磁気テー
プ装置117に転送し、磁気テープに記録する。
In step 604, the control processor 118 uses the volume access unit 114 to read data from the block of the user volume 110 having the same block number as the variable i. Control processor 118
Represents the data read from the user volume 110,
The data is transferred to the magnetic tape device 117 via the magnetic tape device interface 104 and recorded on the magnetic tape.

【0043】ステップ605では、変数iに合致するブ
ロック番号を持つワークボリューム112のブロックか
ら、ボリュームアクセス部114を使って、データを読
み出す。制御プロセッサ118は、このデータを、磁気
テープ装置インタフェース104を介して磁気テープ装
置117に転送し、磁気テープに記録する。
In step 605, data is read from the block of the work volume 112 having the block number matching the variable i by using the volume access unit 114. The control processor 118 transfers this data to the magnetic tape device 117 via the magnetic tape device interface 104, and records the data on the magnetic tape.

【0044】ユーザボリューム110、あるいは、ワー
クボリューム112から磁気テープ装置117へのデー
タの転送の後、制御プロセッサ118は、当該ブロック
のデータのコピーが終わったことを示すため、コピー状
態管理情報107の変数iと同じブロック番号301に
対応するコピー状態302に「コピー済み」を示す値を
設定する(ステップ606)。
After the transfer of the data from the user volume 110 or the work volume 112 to the magnetic tape device 117, the control processor 118 checks the copy status management information 107 to indicate that the data of the block has been copied. A value indicating “copied” is set in the copy status 302 corresponding to the same block number 301 as the variable i (step 606).

【0045】ステップ607では、ユーザボリューム1
10のすべてのブロックに関して処理が実行されたかど
うか判定される。すべてのブロックについて処理が終了
した場合はステップ609の処理に進む。まだ残ってい
るブロックがある場合、制御プロセッサ118は、ステ
ップ608で変数iの値を1増やした後、ステップ60
3の処理に戻り、残りのブロックについて同様の処理を
行う。
At step 607, the user volume 1
It is determined whether the process has been performed for all 10 blocks. If the processing has been completed for all blocks, the process proceeds to step 609. If there are any remaining blocks, the control processor 118 increments the value of the variable i by 1 in step 608, and then proceeds to step 60.
Returning to the processing of step 3, the same processing is performed for the remaining blocks.

【0046】ステップ609では、ステップ601で選
択されたコピー状態管理情報107の使用中フラグ30
0に「未使用」を示す値が設定される。最後に、制御プ
ロセッサ118は、ボリューム管理情報106のコピー
動作有無フラグ401に「通常」を示す値を設定して、
コピー処理105を終了する。
In step 609, the in-use flag 30 of the copy status management information 107 selected in step 601 is used.
A value indicating “unused” is set to 0. Finally, the control processor 118 sets a value indicating “normal” in the copy operation presence / absence flag 401 of the volume management information 106,
The copy processing 105 ends.

【0047】ここで説明した実施形態では、ホストコン
ピュータ116から発行されたコピー要求に応答してコ
ピー処理が行われる。この他、ディスクサブシステム1
18が操作端末115とのインタフェースとなる操作端
末100を備え、操作端末115からコピー要求を発行
するようにしても良い。この場合、制御プロセッサ10
8は、操作端末インタフェース100を介して操作端末
115からコピー要求を受け、コピー処理105を開始
する。
In the embodiment described here, copy processing is performed in response to a copy request issued from the host computer 116. In addition, disk subsystem 1
The operation terminal 18 may include an operation terminal 100 serving as an interface with the operation terminal 115, and the operation terminal 115 may issue a copy request. In this case, the control processor 10
8 starts a copy process 105 upon receiving a copy request from the operation terminal 115 via the operation terminal interface 100.

【0048】以上説明したように、データを退避する領
域としてボリュームを使用することにより、バッファな
どの半導体メモリをデータ退避用の記憶媒体として利用
する場合に比較してコストを低減することができる。ま
た、コピー要求で指定される順番に従ってデータをバッ
クアップするので、位置情報を用いることなくバックア
ップデータを磁気テープのようなシーケンシャルアクセ
ス形式の記憶媒体に格納することができる。これによ
り、バックアップ処理のオーバーヘッド、転送データ
量、及び格納データ量の削減を図ることができる。
As described above, by using a volume as an area for saving data, costs can be reduced as compared with a case where a semiconductor memory such as a buffer is used as a storage medium for saving data. Further, since the data is backed up in the order specified by the copy request, the backup data can be stored in a sequential access type storage medium such as a magnetic tape without using the position information. Thus, it is possible to reduce the overhead of the backup process, the amount of transfer data, and the amount of stored data.

【0049】次に、本発明の他の実施形態について説明
する。
Next, another embodiment of the present invention will be described.

【0050】以下に説明する第2の実施の形態における
計算機システムは、基本的には、第1の実施形態と同様
の構成を有する。本実施形態では、第1の実施形態では
用いなかったボリューム属性変更処理101を用いた処
理について説明する。ボリューム属性変更処理101を
用いることにより、制御情報の内容及び実施される処理
が第1の実施形態とは多少異なる。
The computer system according to the second embodiment described below has basically the same configuration as that of the first embodiment. In the present embodiment, processing using volume attribute change processing 101 not used in the first embodiment will be described. By using the volume attribute change processing 101, the contents of the control information and the processing to be performed are slightly different from those in the first embodiment.

【0051】図6は、本実施形態で用いられるコピー状
態管理情報のデータ構造を示す概念図である。図に示す
ように、本実施形態のコピー状態管理情報は、使用中フ
ラグ300、コピー元ボリューム番号303、ブロック
情報304にワークボリューム番号700が追加されて
いる。
FIG. 6 is a conceptual diagram showing the data structure of the copy status management information used in the present embodiment. As shown in the figure, in the copy status management information of the present embodiment, a work volume number 700 is added to a busy flag 300, a copy source volume number 303, and block information 304.

【0052】ワークボリューム番号700は、ホストコ
ンピュータ116、あるいは、操作端末115からのコ
ピー要求を実行中にデータを退避するためのワークボリ
ュームとして用いるボリュームのボリューム番号であ
る。本実施形態では、ワークボリューム番号700に保
持されたボリューム番号を持つボリュームがワークボリ
ュームとして使用される。
The work volume number 700 is a volume number of a volume used as a work volume for saving data during execution of a copy request from the host computer 116 or the operation terminal 115. In the present embodiment, a volume having a volume number held in the work volume number 700 is used as a work volume.

【0053】図7は、本実施形態におけるボリューム管
理情報106のデータ構造を示す概念図である。図に示
すように、本実施形態のボリューム管理情報106は、
第一の実施の形態で用いたボリューム管理情報に対し、
属性フラグ800が追加されている。
FIG. 7 is a conceptual diagram showing the data structure of the volume management information 106 in the present embodiment. As shown in the figure, the volume management information 106 of the present embodiment includes:
For the volume management information used in the first embodiment,
An attribute flag 800 has been added.

【0054】属性フラグ800には、ボリューム番号4
00により特定されるボリュームの属性を示すフラグと
して、「ユーザ」あるいは「ワーク」のいずれかを示す
値が設定される。属性フラグ800に設定された値が
「ユーザ」を示すとき、当該ボリュームはユーザデータ
を格納するユーザボリュームとして用いられる。一方、
属性フラグ800が「ワーク」を示す値のとき、当該ボ
リュームは退避データを格納するワークボリュームとし
て用いられる。
The attribute flag 800 includes a volume number 4
As a flag indicating the attribute of the volume specified by 00, a value indicating either “user” or “work” is set. When the value set in the attribute flag 800 indicates “user”, the volume is used as a user volume for storing user data. on the other hand,
When the attribute flag 800 has a value indicating “work”, the volume is used as a work volume for storing save data.

【0055】ホストコンピュータ116、あるいは操作
端末115は、ディスクサブシステム118に対し、ボ
リューム属性変更コマンドを発行することで、ボリュー
ムの属性(ユーザボリュームあるいはワークボリューム
といった属性)を変更することができる。ボリューム属
性変更コマンドは、パラメータとして、「ボリューム番
号」および「属性」を含んでいる。パラメータ「ボリュ
ーム番号」は、属性を変更する対象となるボリュームを
示すボリューム番号である。また、パラメータ「属性」
は、ボリューム番号で指定されたボリュームの新しい属
性を示す。
By issuing a volume attribute change command to the disk subsystem 118, the host computer 116 or the operation terminal 115 can change the volume attribute (attribute such as user volume or work volume). The volume attribute change command includes “volume number” and “attribute” as parameters. The parameter “volume number” is a volume number indicating the volume whose attribute is to be changed. Also, the parameter "Attribute"
Indicates a new attribute of the volume specified by the volume number.

【0056】図8は、ボリューム属性変更コマンドに応
答して制御プロセッサ108が実行するボリューム属性
変更処理101のフローチャートである。
FIG. 8 is a flowchart of the volume attribute change processing 101 executed by the control processor 108 in response to the volume attribute change command.

【0057】ボリューム属性変更処理101において、
制御プロセッサ108は、まず、ボリューム管理情報1
06を参照して、受け付けたボリューム属性変更コマン
ドのパラメータ「ボリューム番号」に対応するボリュー
ムのコピー動作有無フラグ401を検査する(ステップ
1000)。
In the volume attribute change processing 101,
The control processor 108 first sets the volume management information 1
With reference to 06, the copy operation presence / absence flag 401 of the volume corresponding to the parameter "volume number" of the received volume attribute change command is checked (step 1000).

【0058】コピー動作有無フラグ401が「コピー
中」である場合、制御プロセッサ108は、属性を変更
することはできないことを要求元のホストコンピュータ
116、あるいは操作端末115に通知して処理を終了
する(ステップ1002)。
When the copy operation presence / absence flag 401 is "copying", the control processor 108 notifies the requesting host computer 116 or the operation terminal 115 that the attribute cannot be changed, and terminates the processing. (Step 1002).

【0059】ステップ1000において、コピー動作有
無フラグ401が「通常」であった場合、制御プロセッ
サ108は、属性フラグ800をパラメータで指定され
た属性に変更して処理を終了する(ステップ100
1)。
If the copy operation presence / absence flag 401 is "normal" in step 1000, the control processor 108 changes the attribute flag 800 to the attribute designated by the parameter and ends the processing (step 100).
1).

【0060】図9は、本実施形態におけるライト処理の
フローチャートである。本実施形態におけるライト処理
は、図に示すように、第一の実施形態におけるライト処
理におけるステップ502の処理が、ステップ1100
およびステップ1101の処理と置き換えられている。
FIG. 9 is a flowchart of the write process in this embodiment. As shown in the drawing, in the write processing in the present embodiment, the processing in step 502 in the write processing in the first embodiment is performed in step 1100.
And the processing of step 1101 are replaced.

【0061】制御プロセッサは、データの退避が必要と
される場合(ライト要求の対象とされたボリュームにつ
いてコピー要求を実行しており、かつ、ライト要求の対
象ブロックのコピー状態302が「コピー要&退避未」
の場合)ステップ1100において、使用中フラグ30
0が「使用中」であり、ライト要求の対象とされたボリ
ュームのボリューム番号がコピー元ボリューム番号30
3に設定されているコピー状態管理情報107を取得す
る。さらに、制御プロセッサは、該当するコピー状態管
理情報107のワークボリューム番号700に設定され
ているボリューム番号に基づいて、データを退避するた
めのワークボリュームとして使用するボリュームを識別
する。
When the data must be saved (the control processor is executing a copy request for the volume requested to be written, and the copy status 302 of the target block of the write request is “copy required & Not evacuated "
In step 1100, the in-use flag 30
0 is “in use” and the volume number of the volume for which the write request was made is the copy source volume number 30
The copy status management information 107 set to No. 3 is acquired. Further, the control processor identifies a volume to be used as a work volume for saving data based on the volume number set in the work volume number 700 of the corresponding copy status management information 107.

【0062】ステップ1101では、第1の実施形態の
ステップ502と同様にして、コピー元のボリュームか
らデータが読み出され、ステップ1100で識別された
ワークボリュームにそのデータが書き込まれる。
At step 1101, data is read from the copy source volume and written to the work volume identified at step 1100, as in step 502 of the first embodiment.

【0063】ステップ1100、1101以外の図4と
同じステップ番号が付された処理は、第1の実施形態に
おいて説明した対応するステップの処理と同じであり、
ここでは説明を省略する。
The processes having the same step numbers as in FIG. 4 except for steps 1100 and 1101 are the same as the corresponding steps described in the first embodiment.
Here, the description is omitted.

【0064】図10は、本実施形態におけるコピー処理
のフローチャートである。
FIG. 10 is a flowchart of the copy processing according to the present embodiment.

【0065】本実施形態のコピー処理は、次の点で第1
の実施形態におけるコピー処理とは異なっている。第1
の実施形態におけるステップ601に換えてステップ1
200、1201の処理が行われる。第1の実施形態に
おけるステップ605の処理に換えてステップ1202
の処理が行われる。そして、処理の最後に、ステップ1
203の処理が追加されている。
The copy processing of this embodiment is the first in the following points.
Is different from the copy processing in the embodiment. First
Step 1 in place of Step 601 in the embodiment
Steps 200 and 1201 are performed. Step 1202 instead of step 605 in the first embodiment
Is performed. Then, at the end of the process, step 1
Step 203 has been added.

【0066】ステップ1200で制御プロセッサ108
は、ボリューム管理情報106を参照して、コピー動作
有無フラグ401が「通常」、属性フラグ800が「ワ
ーク」であるボリューム、すなわち、未使用のワークボ
リュームを選択する。そして、選択したボリュームに対
応するコピー動作有無フラグ401に「コピー中」を示
す値を設定する。
At step 1200, the control processor 108
Refers to the volume management information 106 and selects a volume whose copy operation presence / absence flag 401 is “normal” and whose attribute flag 800 is “work”, that is, an unused work volume. Then, a value indicating “copying” is set in the copy operation presence / absence flag 401 corresponding to the selected volume.

【0067】次に、制御プロセッサ108は、ステップ
1201において、第1の実施形態におけるステップ6
01と同様に、使用するコピー状態管理情報107を選
択し、各情報の設定を行う。このとき、本実施形態で
は、コピー状態管理情報107のワークボリューム番号
700には、ステップ1200で選択されたボリューム
のボリューム番号が設定される。
Next, in step 1201, the control processor 108 executes step 6 in the first embodiment.
As in the case of 01, the copy status management information 107 to be used is selected, and each information is set. At this time, in the present embodiment, the volume number of the volume selected in step 1200 is set as the work volume number 700 of the copy status management information 107.

【0068】ステップ1202で制御プロセッサ108
は、ステップ1200で選択したボリュームから、変数
iと同じブロック番号を持つブロックに記憶されている
データを読み出す。それから、制御プロセッサ108
は、磁気テープ装置インタフェース104を介して読み
出したデータを磁気テープ装置117に転送し、磁気テ
ープにそのデータを記録する。
At step 1202, the control processor 108
Reads the data stored in the block having the same block number as the variable i from the volume selected in step 1200. Then, the control processor 108
Transfers the data read via the magnetic tape device interface 104 to the magnetic tape device 117 and records the data on a magnetic tape.

【0069】ステップ1203では、ボリューム管理情
報106のステップ1200で選択したボリュームに対
応するコピー動作有無フラグ401に「通常」を設定
し、使用中の状態を解除する。
In step 1203, "normal" is set in the copy operation presence / absence flag 401 corresponding to the volume selected in step 1200 in the volume management information 106, and the status of use is released.

【0070】ここで説明した処理以外の処理について
は、第1の実施形態におけるコピー処理と同様の処理が
行われる。従って、ここではその説明は省略する。
For processes other than the processes described here, the same processes as the copy process in the first embodiment are performed. Therefore, the description is omitted here.

【0071】本実施形態によれば、ボリュームの属性を
変更するコマンドをサポートし、ユーザデータを格納す
るユーザボリュームや退避データを格納するワークボリ
ュームを切り替えて使用することができる。このため、
必要となるコピー要求の多重度に合わせてワークボリュ
ーム数を変更可能であり、ボリューム資源を有効に活用
できる。
According to this embodiment, a command for changing the attribute of a volume is supported, and a user volume for storing user data and a work volume for storing saved data can be switched and used. For this reason,
The number of work volumes can be changed according to the required copy request multiplicity, and volume resources can be used effectively.

【0072】また、コピー要求を受け付けたときに、デ
ィスクサブシステムが未使用のワークボリューム群の中
から、当該コピー要求を実行するために使用するワーク
ボリュームを選択して使用する。コピー処理が終了した
時には、使っていたワークボリュームを未使用の状態に
戻す。このように、1個のワークボリュームを使いまわ
すことにより、ワークボリュームの有効活用がはかれ
る。
When a copy request is received, the disk subsystem selects and uses a work volume to be used for executing the copy request from a group of unused work volumes. When the copy processing ends, the used work volume is returned to an unused state. In this way, by reusing one work volume, the work volume can be effectively used.

【0073】さらに、ホストコンピュータや操作端末側
のコピー要求を発行するプログラムは、ワークボリュー
ムを管理する必要がないので、プログラムが簡単にな
る。
Further, the program for issuing a copy request from the host computer or the operation terminal does not need to manage the work volume, so that the program is simplified.

【0074】上述した第1及び第2の実施形態では、退
避データをワークボリューム内のユーザボリュームと同
じブロック番号のブロックに格納したが、ワークボリュ
ームの先頭から順に退避データを格納することもでき
る。この場合、コピー状態管理情報107に、退避済み
かどうかという情報の他に、どのブロックに退避したか
という情報を持たせればよい。コピー処理では、この情
報から退避データがどこに格納されているか調べ、該当
するブロックからデータを読み出して、磁気テープ装置
にデータを転送する。このようにすることで、ホストコ
ンピュータあるいは操作端末からのコピー要求によって
示されるブロックの分だけ、退避データを格納する領域
を確保すれば良く、より少ない容量のワークボリューム
で、コピー要求を多重に実行することができる。
In the first and second embodiments, the save data is stored in the block having the same block number as the user volume in the work volume. However, the save data may be stored in order from the head of the work volume. In this case, the copy status management information 107 may have information indicating which block has been saved, in addition to the information indicating whether the copy has been saved. In the copy process, the location of the save data is checked from this information, the data is read from the corresponding block, and the data is transferred to the magnetic tape device. By doing so, it is sufficient to secure an area for storing the save data for the block indicated by the copy request from the host computer or the operation terminal, and execute the copy request multiple times with a smaller work volume. can do.

【0075】また、ディスクサブシステムがホストコン
ピュータからボリュームへのアクセス要求を受けた場
合、ボリューム管理情報を参照して当該ボリュームがユ
ーザボリュームであるかどうかをチェックし、当該ボリ
ュームがユーザボリュームであればアクセス要求を実行
し、当該ボリュームがワークボリュームである場合は、
アクセス要求を受領できないボリュームであることをホ
ストコンピュータに通知するようにすることもできる。
このようなチェック機構を設けることにより、ディスク
サブシステムは、不当なボリュームへのアクセスを禁止
することができる。
When the disk subsystem receives a request to access a volume from the host computer, it checks whether or not the volume is a user volume by referring to volume management information. Execute the access request and if the volume is a work volume,
The host computer may be notified that the volume cannot receive the access request.
By providing such a check mechanism, the disk subsystem can prohibit access to an illegal volume.

【0076】以上説明した実施形態によれば、コピー要
求で示されるブロックに関して、ホストからライト要求
を受けながら、コピー要求を受領した時点のデータを、
ホストを介在しないで、磁気テープ装置などにバックア
ップするディスクサブシステムにおいて、以下のような
効果を奏することができる。
According to the embodiment described above, for a block indicated by a copy request, while receiving a write request from the host, the data at the time of receiving the copy request is
The following effects can be obtained in a disk subsystem that backs up to a magnetic tape device or the like without intervening a host.

【0077】第一に、データを退避する領域としてボリ
ュームを使用することにより、バッファなどの半導体メ
モリと比較してコストを低減することができる。
First, by using a volume as an area for saving data, the cost can be reduced as compared with a semiconductor memory such as a buffer.

【0078】第二に、コピー要求で示される順番どおり
に、バックアップデータを磁気テープのようなシーケン
シャルアクセス形式の記憶媒体に格納することができる
ので、バックアップしたデータが格納されていた位置を
示す位置情報を付加する必要がなく、位置情報作成のオ
ーバーヘッド削減、転送データ量の削減、格納データ量
の削減を実現できる。
Second, since the backup data can be stored in a sequential access type storage medium such as a magnetic tape in the order indicated by the copy request, the position indicating the position where the backed-up data was stored is indicated. There is no need to add information, and it is possible to reduce the overhead of creating position information, reduce the amount of transfer data, and reduce the amount of stored data.

【0079】[0079]

【発明の効果】本発明によれば、ホストコンピュータか
らのデータのライト要求を継続的に受け付けながらある
時点におけるユーザデータのコピーを取得することがで
きる。
According to the present invention, it is possible to obtain a copy of user data at a certain point in time while continuously receiving a data write request from a host computer.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明が適用された記憶装置を含む計算機シス
テムの構成例を示す簡略なブロック図である。
FIG. 1 is a simplified block diagram illustrating a configuration example of a computer system including a storage device to which the present invention has been applied.

【図2】第1の実施形態におけるコピー状態管理情報の
データ構造を示す概念図である。
FIG. 2 is a conceptual diagram illustrating a data structure of copy status management information according to the first embodiment.

【図3】第1の実施形態におけるボリューム管理情報の
データ構造を示す概念図である。
FIG. 3 is a conceptual diagram illustrating a data structure of volume management information according to the first embodiment.

【図4】第1の実施形態におけるライト処理の流れを示
すフローチャートである。
FIG. 4 is a flowchart illustrating a flow of a write process according to the first embodiment.

【図5】第1の実施形態におけるコピー処理の流れを示
すフローチャートである。
FIG. 5 is a flowchart illustrating a flow of a copy process according to the first embodiment.

【図6】第2の実施形態におけるコピー状態管理情報の
データ構造を示す概念図である。
FIG. 6 is a conceptual diagram illustrating a data structure of copy status management information according to a second embodiment.

【図7】第2の実施形態におけるボリューム管理情報の
データ構造を示す概念図である。
FIG. 7 is a conceptual diagram illustrating a data structure of volume management information according to a second embodiment.

【図8】ボリューム属性変更処理の流れを示すフローチ
ャートである。
FIG. 8 is a flowchart illustrating a flow of a volume attribute change process.

【図9】第2の実施形態におけるライト処理の流れを示
すフローチャートである。
FIG. 9 is a flowchart illustrating a flow of a write process according to the second embodiment.

【図10】第2の実施形態におけるコピー処理の流れを
示すフローチャートである。
FIG. 10 is a flowchart illustrating a flow of a copy process according to the second embodiment.

【符号の説明】[Explanation of symbols]

101・・・ボリューム属性変更処理、103・・・ライト処
理、105・・・コピー処理、106・・・ボリューム管理情
報、107・・・コピー状態管理情報、108・・・制御プロ
セッサ、109・・・制御メモリ、110、111・・・ユー
ザボリューム、112、113・・・ワークボリューム、
116・・・ホストコンピュータ、117・・・磁気テープ装
置、118・・・ディスクサブシステム。
101: Volume attribute change processing, 103: Write processing, 105: Copy processing, 106: Volume management information, 107: Copy status management information, 108: Control processor, 109 ... Control memory, 110, 111: user volume, 112, 113: work volume,
116: Host computer, 117: Magnetic tape device, 118: Disk subsystem

フロントページの続き (72)発明者 田畑 謙三 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 Fターム(参考) 5B018 GA04 HA03 KA03 MA11 QA15 5B065 BA01 BA07 CA40 EA02 EA12 EA23 EA33 5B082 DE06 GA15 5B083 AA08 BB01 BB03 CC04 CD11 EE08 Continued on the front page (72) Inventor Kenzo Tabata 2880 Kozu, Odawara-shi, Kanagawa F-term in Hitachi, Ltd. Storage Systems Division 5B018 GA04 HA03 KA03 MA11 QA15 5B065 BA01 BA07 CA40 EA02 EA12 EA23 EA33 5B082 DE06 GA15 5B08 AA08 BB01 BB03 CC04 CD11 EE08

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】ホストからの指示に応答して、ボリューム
内の前記指示により示された領域に格納されているデー
タを、他の記憶装置に転送してバックアップを取得する
機能を有する記憶装置サブシステムにおいて、前記指示
された領域を、前記他の記憶装置へのデータコピーが済
んでいる領域と、前記他の記憶装置へのコピーがすんで
おらず、かつデータ退避用のボリュームにデータを退避
済みの領域と、前記他の記憶装置へのデータコピーが済
んでおらず、かつ、前記データ退避用のボリュームへの
データの退避が行われていない領域とに分けて管理する
領域管理手段と、前記他の記憶装置へコピーされておら
ず、かつ前記退避用ボリュームへのデータの退避が行わ
れていない領域に対してライト要求を受領した場合、当
該ライト要求の対象領域に保持されているデータを、前
記データ退避用のボリュームに格納した後、ライトデー
タを受領するライト要求実行手段と、前記他の記憶装置
に転送するデータが、前記ボリューム内の領域にあるの
か、前記データ退避用のボリュームにあるのかを管理す
るコピー元管理手段と、前記コピー元管理手段によって
得られた場所のデータを前記指示により指定された記憶
装置に転送するコピー手段とを有することを特徴とする
記憶装置システム。
1. A storage device sub-system having a function of transferring data stored in an area indicated by said instruction in a volume to another storage device and acquiring a backup in response to an instruction from a host. In the system, the designated area is divided into an area in which data has been copied to the other storage device, and a copy to the other storage device has not been completed, and data has been saved to a data saving volume. Area management means for separately managing the area and the area in which data has not been copied to the other storage device and data has not been saved to the data saving volume; and If a write request is received for an area that has not been copied to another storage device and data has not been saved to the save volume, the write request After storing the data held in the area in the data evacuation volume, write request execution means for receiving write data, and whether the data to be transferred to the other storage device is in the area in the volume A copy source management unit that manages whether the data is in the data evacuation volume, and a copy unit that transfers data at a location obtained by the copy source management unit to a storage device specified by the instruction. Characteristic storage system.
【請求項2】前記コピー手段は、前記指示により指定さ
れる順番で、前記記憶装置にデータを転送することを特
徴とする請求項1に記載の記憶装置システム。
2. The storage device system according to claim 1, wherein said copy means transfers data to said storage device in an order specified by said instruction.
【請求項3】ユーザデータを格納するユーザボリューム
と退避データを格納するワークボリュームとを切り替え
るコマンドを受領するボリューム切り替え手段を有する
ことを特徴とする請求項1に記載の記憶装置システム。
3. The storage system according to claim 1, further comprising volume switching means for receiving a command for switching between a user volume for storing user data and a work volume for storing save data.
【請求項4】前記データ退避用のボリュームを複数有
し、これら複数のデータ退避用ボリュームの使用状態を
管理するワークボリューム管理手段と、コピー要求に応
答して、前記ワークボリューム管理手段により管理され
る未使用状態のデータ退避用ボリュームを選択して、デ
ータ退避用に割り当てるデータ退避用ボリューム割り当
て手段と、コピー要求の実行が完了したことに応じて、
データ退避用に使用していた前記データ退避用ボリュー
ムを未使用の状態にもどすデータ退避用ボリューム解放
手段とを有することを特徴とする請求項1に記載の記憶
装置システム。
4. A work volume management means having a plurality of data evacuation volumes and managing the use state of the plurality of data evacuation volumes, and is managed by the work volume management means in response to a copy request. A data evacuation volume in an unused state to be selected, and a data evacuation volume allocating means to be allocated for data evacuation, and in response to completion of execution of a copy request,
2. The storage system according to claim 1, further comprising: a data evacuation volume release unit that returns the data evacuation volume used for data evacuation to an unused state.
【請求項5】前記ライト要求実行手段は、前記データ退
避用ボリュームにデータを退避する際、退避するデータ
が格納されていた前記ボリューム内の領域と同じアドレ
スとなる前記データ退避用ボリューム内の領域に、前記
データを退避することを特徴とする請求項1に記載の記
憶装置システム。
5. The data save volume according to claim 1, wherein said write request execution means, when saving data to said data save volume, has an area in said data save volume having the same address as an area in said volume in which data to be saved is stored. 2. The storage device system according to claim 1, wherein said data is saved.
【請求項6】コンピュータにより利用されるユーザデー
タを格納したユーザボリュームと、該ユーザボリューム
のデータを他の記憶装置にコピーしてバックアップを取
得する際にデータの退避用として使われるワークボリュ
ームと、前記ユーザボリューム及びワークボリュームへ
のアクセスを制御する制御装置とを備えた記憶装置シス
テムにおけるバックアップの取得方法において、 前記ユーザボリュームから前記他の記憶装置へのデータ
のコピー要求に応答して、前記ユーザボリュームから前
記コピー要求で指定された領域に保持されている前記ユ
ーザデータの前記他の記憶装置へのコピー処理を開始
し、 前記他の記憶装置へのコピー処理中に、前記指定された
領域内の一部の領域に対するデータの書き込み要求があ
ったとき、当該一部の領域に保持されているユーザデー
タを前記ワークボリュームに転送し、 前記一部の領域へのデータの書き込みを行い、 前記コピー処理において、前記他の記憶装置へコピーし
ようとするユーザデータが、前記ユーザボリューム内の
領域保持されているのか、前記ワークボリューム内の領
域に保持されているのか判別し、 該判別の結果に応じて前記コピーしようとするユーザデ
ータを読み出して前記他の記憶装置へ転送することを特
徴とするバックアップの取得方法。
6. A user volume storing user data used by a computer, a work volume used for saving data when copying the data of the user volume to another storage device and obtaining a backup, A backup acquisition method in a storage device system comprising: a control device that controls access to the user volume and the work volume; wherein the user device responds to a request to copy data from the user volume to the other storage device. Initiating a copy process of the user data held in the area designated by the copy request from the volume to the other storage device, and during the copy process to the other storage device, When there is a request to write data to some area of Transferring the user data held in the area to the work volume, writing the data to the partial area, and in the copying process, the user data to be copied to the other storage device is the user data. It is determined whether the data is held in the area in the volume or in the area in the work volume, and the user data to be copied is read and transferred to the other storage device according to the result of the determination. A method for obtaining a backup, characterized in that:
【請求項7】前記記憶装置システムは前記ワークボリュ
ームとして利用可能な複数のボリュームを備え、前記コ
ピー処理を開始するステップは、前記複数のボリューム
の中から使用されていないボリュームを選択して前記ワ
ークボリュームに割り当てる処理を含むことを特徴とす
る請求項6記載のバックアップの取得方法。
7. The storage system includes a plurality of volumes usable as the work volumes, and the step of starting the copy processing includes selecting an unused volume from the plurality of volumes to execute the work. 7. The backup acquisition method according to claim 6, further comprising a process of allocating to a volume.
【請求項8】前記ユーザデータの前記ワークボリューム
への転送は、前記ユーザボリューム内のアドレスと対応
する前記ユーザボリューム内のアドレスに向けて行われ
ることを特徴とする請求項6記載のバックアップの取得
方法。
8. The backup acquisition according to claim 6, wherein the transfer of the user data to the work volume is performed toward an address in the user volume corresponding to an address in the user volume. Method.
【請求項9】前記ユーザデータの前記ワークボリューム
への転送は、前記ユーザデータを転送した前記ワークボ
リュームの領域のアドレスを記憶する処理を含むことを
特徴とする請求項6記載のバックアップの取得方法。
9. The backup acquisition method according to claim 6, wherein the transfer of the user data to the work volume includes a process of storing an address of an area of the work volume to which the user data has been transferred. .
JP2000113220A 1999-06-01 2000-04-10 Storage device system and backup acquisition method thereof Expired - Fee Related JP3882461B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2000113220A JP3882461B2 (en) 2000-04-10 2000-04-10 Storage device system and backup acquisition method thereof
DE60043873T DE60043873D1 (en) 1999-06-01 2000-05-29 Method for data backup
EP00111511A EP1058190B1 (en) 1999-06-01 2000-05-29 Data backup method
US09/584,319 US6836830B1 (en) 1999-06-01 2000-05-31 Method of data backup in a computer system and a storage system therefor
US10/893,884 US6981115B2 (en) 1999-06-01 2004-07-20 Method of data backup in a computer system and a storage system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000113220A JP3882461B2 (en) 2000-04-10 2000-04-10 Storage device system and backup acquisition method thereof

Publications (2)

Publication Number Publication Date
JP2001290713A true JP2001290713A (en) 2001-10-19
JP3882461B2 JP3882461B2 (en) 2007-02-14

Family

ID=18625232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000113220A Expired - Fee Related JP3882461B2 (en) 1999-06-01 2000-04-10 Storage device system and backup acquisition method thereof

Country Status (1)

Country Link
JP (1) JP3882461B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031579A (en) * 2004-07-21 2006-02-02 Hitachi Ltd Storage device
JP2007265441A (en) * 2007-07-09 2007-10-11 Hitachi Ltd Storage device
US7631157B2 (en) 2003-07-10 2009-12-08 Hitachi, Ltd. Offsite management using disk based tape library and vault system
JP2010277586A (en) * 2009-05-22 2010-12-09 Internatl Business Mach Corp <Ibm> Method, program for storing one or more volume attributes in database, and data processing system
JP2015022353A (en) * 2013-07-16 2015-02-02 日本電信電話株式会社 Data management server snapshot creation system and server cluster snapshot creation system
US11289115B1 (en) 2021-06-15 2022-03-29 International Business Machines Corporation Copying a storage tape

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631157B2 (en) 2003-07-10 2009-12-08 Hitachi, Ltd. Offsite management using disk based tape library and vault system
US7996635B2 (en) 2003-07-10 2011-08-09 Hitachi, Ltd. Offsite management using disk based tape library and vault system
JP2006031579A (en) * 2004-07-21 2006-02-02 Hitachi Ltd Storage device
JP2007265441A (en) * 2007-07-09 2007-10-11 Hitachi Ltd Storage device
JP2010277586A (en) * 2009-05-22 2010-12-09 Internatl Business Mach Corp <Ibm> Method, program for storing one or more volume attributes in database, and data processing system
US9773033B2 (en) 2009-05-22 2017-09-26 International Business Machines Corporation Storing and retrieving volumes in a database by volume attributes
JP2015022353A (en) * 2013-07-16 2015-02-02 日本電信電話株式会社 Data management server snapshot creation system and server cluster snapshot creation system
US11289115B1 (en) 2021-06-15 2022-03-29 International Business Machines Corporation Copying a storage tape

Also Published As

Publication number Publication date
JP3882461B2 (en) 2007-02-14

Similar Documents

Publication Publication Date Title
US6694413B1 (en) Computer system and snapshot data management method thereof
JP4199993B2 (en) How to get a snapshot
US7461201B2 (en) Storage control method and system for performing backup and/or restoration
US7325110B2 (en) Method for acquiring snapshot
US7752390B2 (en) Disk array apparatus and control method for disk array apparatus
US20060047926A1 (en) Managing multiple snapshot copies of data
US8751765B2 (en) Computer system, storage system and method for saving storage area by integrating same data
US20120331254A1 (en) Storage control system and method
US20040123068A1 (en) Computer systems, disk systems, and method for controlling disk cache
US8001323B2 (en) Network storage system, management method therefor, and control program product therefor
JP3246146B2 (en) Data transfer method for external storage device
US7694087B2 (en) Duplicate data storing system, duplicate data storing method, and duplicate data storing program for storage device
JP2007249573A (en) Storage system for issuing optimum I / O command to automatically expandable volume and control method thereof
JP2007108981A (en) Data exchange method between storage device and volume
WO2024192888A1 (en) Cxl memory module, memory data replacement method, and computer system
JP3882461B2 (en) Storage device system and backup acquisition method thereof
JP4394467B2 (en) Storage system, server apparatus, and preceding copy data generation method
JP3882467B2 (en) Snapshot management method for storage system
JPH11272426A (en) Data copying / restoring system and recording medium
JPH1153123A (en) Backup system
JP2001100930A (en) Mirror disk controller
JP2000305719A (en) Data backup method in information processing system
JPH0973372A (en) Storage control method and storage control device
US20060143423A1 (en) Storage device, data processing method thereof, data processing program thereof, and data processing system
JP2574537B2 (en) Process management equipment

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060328

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060626

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: 20061024

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061106

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

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131124

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees