JP3794322B2 - Data copy system - Google Patents

Data copy system Download PDF

Info

Publication number
JP3794322B2
JP3794322B2 JP2001389934A JP2001389934A JP3794322B2 JP 3794322 B2 JP3794322 B2 JP 3794322B2 JP 2001389934 A JP2001389934 A JP 2001389934A JP 2001389934 A JP2001389934 A JP 2001389934A JP 3794322 B2 JP3794322 B2 JP 3794322B2
Authority
JP
Japan
Prior art keywords
logical disk
data
copy
area
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001389934A
Other languages
Japanese (ja)
Other versions
JP2003186629A (en
Inventor
勝吾 貞野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2001389934A priority Critical patent/JP3794322B2/en
Publication of JP2003186629A publication Critical patent/JP2003186629A/en
Application granted granted Critical
Publication of JP3794322B2 publication Critical patent/JP3794322B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明はデータコピーシステムに関し、特に、コンピュータシステム上で障害対策のために論理ディスクのミラーリングを行うデータコピーシステムに関する。
【0002】
【従来の技術】
従来から、コンピュータに内蔵もしくは接続される記憶装置において、記憶装置内または記憶装置間で論理ディスクのコピーを行い、元の論理ディスクに障害が発生した場合にコピーした論理ディスクを使用してデータを復旧する記憶装置機能が利用されている。
【0003】
図6は、この記憶装置機能を使用したデータコピーの従来例を説明するためのブロック図である。図6に示す従来例において、論理ディスク1と論理ディスク2はデータ転送が可能であれば同じコンピュータまたは記憶装置内にあっても、別の装置内にあってもよい。論理ディスク1には既にデータが書き込まれており、OS管理情報領域11と、データ管理情報領域12と、データ書き込み領域13と、データ未書き込み領域14とを備えている。OS管理情報領域11にはコンピュータ等のオペレーティングシステムやアプリケーションから論理ディスク1を管理するための情報が登録されている。データ管理領域12には、データ書き込み領域13に書き込んであるデータの場所を示す情報が登録されている。データ書き込み領域13は実際に書き込まれたデータが登録されており、データ未書き込み領域14は、データが何も書き込まれていない未使用領域である。
【0004】
このシステムにおいて、一定時間経過毎にあるいは毎日の運用終了時等に、障害対策として論理ディスク1のコピーが行われる。この場合、従来のシステムでは論理ディスク1を全て別の論理ディスク2にコピーするようにしている。すなわち、図6に示す例では、論理ディスク1のOS管理情報11、データ管理情報12、データ書き込み領域13、データ未書き込み領域14の全てが論理ディスク2にコピーされ、結果として論理ディスク2にもOS管理情報領域21、データ管理情報領域22、データ書き込み領域23、データ未書き込み領域24が作成される。
【0005】
【発明が解決しようとする課題】
しかしながら、従来のデータコピーシステムでは、コピー元の論理ディスク1とコピー先の論理ディスク2のデータが全て同一となり、従ってOSやアプリケーション等の上位手段から記憶装置を管理するOS管理情報(符号11及び21)が同一となる。このOS管理情報は、OSが論理ディスクを管理するためのOSボリュームの識別情報(例えば、Windows(登録商標)だとシグネイチャ等のドライブ番号が該当)が含まれるため、これが同一だと同一コンピュータからコピー元の論理ディスク1とコピー先の論理ディスク2を個別に使用することができない。これは従来通りのリストア目的のみに用いるに問題は生じないが、コピー終了後に論理ディスク1で通常業務を再開しつつ、コピー先の論理ディスク2で例えばデータベースシステム等での検索業務に使用するといった別業務を実施できるようになれば便利である。
【0006】
また、論理ディスク1においてデータの未書き込み領域14の多少に拘わらず、論理ディスク1の全てを論理ディスク2にコピーするようにしているため、データが存在せず本来はコピー不要である未使用領域14を論理ディスク2にコピーする作業が発生し、コピー作業終了までに余分な時間がかかってしまうという問題を有する。
【0007】
さらに、本来的にはコピーが不要なデータ未書き込み領域14のコピーを実施するため、コピー先の論理ディスク2において未書き込み領域14がコピーされる領域(すなわち、データ未書き込み領域24)に物理障害が存在する場合、コピー処理がエラーとなってしまうという問題もある。
【0008】
本発明はこのような問題に鑑み、論理ディスク間のコピー処理において本来コピー不要な領域のコピーを省くことにより、処理の短縮化および不要なエラー発生を防止するデータコピーシステムを提供することを目的とする。
【0009】
【課題を解決するための手段】
この目的を達成するために、本発明は、情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーするデータコピーシステムにおいて、既にデータが書き込まれているコピー元論理ディスクと、データのコピー先論理ディスクと、コピー動作制御手段とを備え、前記コピー元論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えるとともに、前記コピー動作制御手段が、前記コピー元論理ディスクの領域のうち、前記データ未書き込み領域については前記コピー先論理ディスクにコピーしないことを特徴とする。このようにシステムを構成すると、論理ディスクのコピー作業において、データが存在しないデータ未書き込み領域のコピーを実施しないため、この分の処理時間を削減できるとともに、コピー先論理ディスクにおいてデータ未書き込み領域に相当する領域に物理障害があっても当該領域にはアクセスしないため、エラーとならない。
【0010】
また、本発明は、情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーするデータコピーシステムにおいて、既にデータが書き込まれているコピー元論理ディスクと、データのコピー先論理ディスクと、コピー動作制御手段とを備え、前記コピー元論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えるとともに、前記コピー動作制御手段が、前記コピー元論理ディスクの領域のうち、前記OS管理情報領域については前記コピー先論理ディスクにコピーしないことを特徴とする。
このようにシステムを構成すると、論理ディスクのコピー作業において、論理ディスクの領域のうち上位手段から当該論理ディスクを管理するためのOS管理情報領域をコピーしないため、コピー元とコピー先の論理ディスクのOS管理情報が同一とならず、同一のコンピュータからコピー元とコピー先の論理ディスクを使用することが可能となる。
【0011】
このデータコピーシステムにおいて、前記コピー元論理ディスクとコピー先論理ディスクは同一デバイス内にあってもよいし、互いに接続された異なるデバイス内にあってもよい。例えば本発明のシステムを実現するのに、コピー元論理ディスクとコピー先論理ディスクをともに同一のコンピュータ又は記憶装置内に設けてもよいし、コピー元論理ディスクとコピー先論理ディスクを異なるコンピュータ又は記憶装置内に設けたり、コピー元論理ディスクをコンピュータ内に配置する一方でコピー先論理ディスクを当該コンピュータに接続した記憶装置内に設けたりすることができる。
【0012】
一方、本発明に係る方法は、コンピュータ又は当該コンピュータに接続された1又は2以上の情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーする方法において、コピー元の論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えており、前記方法が、前記コピー元論理ディスクの記憶領域のうち、前記データ管理情報領域と前記データ書き込み領域のみを、コピー先の論理ディスクの対応する領域にコピーすることを特徴とする。
【0013】
さらに、本発明は、コンピュータ又は当該コンピュータに接続された1又は2以上の情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーさせるためのプログラムにおいて、コピー元の論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えており、前記プログラムが、前記コピー元論理ディスクの領域のうち、前記データ管理情報領域と前記データ書き込み領域のみを抽出し、コピー先の論理ディスクの対応する領域にコピーさせるべく転送するよう前記コンピュータ又は記憶装置を制御するプログラムに関する。
【0014】
【発明の実施の形態】
本発明の実施の形態について、添付の図面を参照しながら以下に詳細に説明する。図1は、本発明の第1実施形態に係るデータコピーシステムの構成を示す概略ブロック図である。図1を参照すると、コンピュータ31にデータ送受信バス32を介して1つの情報記憶装置33が接続されている。この情報記憶装置33は例えば外部ハードディスク装置、磁気ディスク装置、磁気テープ装置、CDやDVD等の光ディスク装置であり、配下に複数の論理ディスク1〜nを有している。装置内の各論理ディスクは制御部34を介して内部信号線35で接続されている。この制御部34は通常運用時にはコンピュータ31からのデータ読出/書込コマンドに応じて例えば論理ディスク1にデータの記録再生を行うが、データコピー動作時には論理ディスク1からデータを読み出して別の論理ディスク2へコピーする処理を行う。この制御部34は内蔵する記憶媒体に格納されたプログラム36により動作する。
【0015】
図2は、論理ディスク1の構成及びデータコピー動作を説明するための概略ブロック図である。図2に示すように、論理ディスク1には既にデータが書き込まれており、OS管理情報領域11と、データ管理情報領域12と、データ書き込み領域13と、データ未書き込み領域14とを備えている。OS管理情報領域11にはコンピュータ31のオペレーティングシステムやアプリケーションから論理ディスク1を管理するための情報が登録される。データ管理領域12には、データ書き込み領域13に書き込んであるデータの場所を示す情報が登録されている。データ書き込み領域13は実際に書き込まれたデータが登録されており、データ未書き込み領域14は、データが何も書き込まれていない未使用領域である。データ書き込み領域13に書き込んであるデータを削除すると、削除されたデータが書き込まれていた領域はデータ未書き込み領域14となり、データ未書き込み領域14にデータが書き込まれると、書き込まれたデータの領域はデータ書き込み領域13となる。
【0016】
このシステムにおいて、一定時間経過毎にあるいは毎日の運用終了時等に、障害対策として論理ディスク1に書き込まれたデータを別の論理ディスク2にコピーする処理が行われる。図3は、制御部34が行う処理の流れを示すフローチャートである。制御部34は、データコピー命令が発生すると(ステップS1)、論理ディスク1のデータ管理情報領域12に書き込んである情報を読み出し(ステップS2)、論理ディスク1のデータ書き込み領域13に書き込んであるデータの場所を判断する(ステップS3)。そして、データ未書き込み領域のデータについてはコピーを行わず(ステップS4)、実際にデータが書き込んであるデータ書き込み領域について、データ書き込み領域13のデータを別の論理ディスク2の対応する領域にコピーするとともに、当該書き込みデータについてのデータ管理情報領域12のデータを論理ディスク2の対応する領域にコピーする(ステップS5)。
【0017】
すなわち、制御部34は、OS管理情報領域11及び未使用のデータ未書き込み領域14のコピーは行わず、データ管理情報領域12及びデータ書き込み領域13のみのデータを抽出して、論理ディスク2の対応する領域にコピーする。この結果、図2に示すように、論理ディスク1のOS管理情報11とは異なるOS管理情報21を有する論理ディスク2において、論理ディスク1のデータ管理情報領域12及びデータ書き込み領域13のコピーであるデータ管理情報領域22及びデータ書き込み領域23が作成され、他の部分はデータ未書き込み領域24として残る。
【0018】
このように論理ディスクのコピーを行うことにより、論理ディスク1の全てを論理ディスク2にコピーしていた従来例に比して、コンピュータ1から論理ディスクを管理する情報が格納されるOS管理情報領域が同一とならないため、コンピュータ1からコピー元論理ディスク1とコピー先論理ディスク2を個別に使用することができる。従って、コピー後に論理ディスク1で通常業務を再開する一方で、論理ディスク2を例えば検索目的に使用すると言った別業務を実施することができる。また、データ未書き込み領域のコピーを行わないためその分のコピー時間を削減することができる。さらに、データ未書き込み領域へのアクセスを行わないので、コピー先論理ディスク2のデータ未書き込み領域24に物理障害があった場合にエラー終了を避けることができる。
【0019】
図4及び図5は、本発明の他の実施形態の構成を示す概略ブロック図である。図4に示す第2実施形態のシステムでは、コンピュータ31にデータ送受信バス32を介して2つの情報記憶装置37、38が接続されている。このシステムにおいて、コピー元である論理ディスク1は情報記憶装置37内に、コピー先となる論理ディスク2は別の情報記憶装置38内に配置されている。この場合、情報記憶装置37にてプログラム制御される制御部37aがデータコピー処理を司り、その他の動作等は上述した第1の実施形態とほぼ同様である。すなわち、コピー元論理ディスク1を有する装置37の制御部37aが、論理ディスク1のデータ管理情報12及びデータ書き込み領域13を読み出して別の情報記憶装置38に転送し、この装置38の制御部38aが受け取ったデータを論理ディスク2のデータ管理情報領域22及びデータ書き込み領域23に格納する(図2参照)。この場合のコピー先記憶装置38の制御部38aの動作は、通常運用時における上位装置すなわちコンピュータ31からのデータ読み書き命令に対する処理と同様である。
【0020】
図5に示す第3実施形態では、コンピュータ31に1台の情報記憶装置39が接続されており、コピー元の論理ディスク1はコンピュータ31内に配置され、コピー先の論理ディスク2は情報記憶装置39内に配置されている。本実施形態では、コピー元論理ディスク1があるコンピュータ31の制御部31aが論理ディスク1からデータ管理情報領域12及びデータ書き込み領域13のみを読み出して情報記憶装置39に転送すると、装置39の制御部39aが論理ディスク2の対応する領域に格納する。このように、コピー元とコピー先の論理ディスクは同一の装置内にあっても別の装置内にあってもよい。
【0021】
【発明の効果】
以上説明したように、本発明のデータコピーシステムによれば、論理ディスクのコピー作業において、論理ディスクの領域のうち上位手段から当該論理ディスクを管理するためのOS管理情報領域をコピーしないため、コピー元とコピー先の論理ディスクのOS管理情報が同一とならず、同一のコンピュータからコピー元とコピー先の論理ディスクを個別に使用することが可能となる。また、データが存在しないデータ未書き込み領域のコピーを実施しないため、この分の処理時間を削減できるとともに、コピー先論理ディスクにおいてデータ未書き込み領域に対応する領域に物理障害があってもアクセスしないためエラーとならない。
【図面の簡単な説明】
【図1】本発明の実施の形態の構成を示す概略ブロック図である。
【図2】論理ディスクの領域の構成を示す概略ブロック図である。
【図3】データコピー作業の流れを説明するためのフローチャートである。
【図4】本発明の他の実施形態の構成を示す概略ブロック図である。
【図5】本発明の他の実施形態の構成を示す概略ブロック図である。
【図6】従来のデータコピー作業を説明するための概略ブロック図である。
【符号の説明】
1 コピー元論理ディスク
2 コピー先論理ディスク
11、21 OS管理情報領域
12、22 データ管理情報領域
13、23 データ書き込み領域
14、24 データ未書き込み領域
31 コンピュータ
32 データ送受信バス
33 情報記憶装置
34 制御部
36 プログラム
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data copy system, and more particularly to a data copy system that performs logical disk mirroring on a computer system as a countermeasure against a failure.
[0002]
[Prior art]
Conventionally, in a storage device built in or connected to a computer, a logical disk is copied within the storage device or between storage devices, and data is transferred using the copied logical disk when a failure occurs in the original logical disk. The storage device function to be restored is used.
[0003]
FIG. 6 is a block diagram for explaining a conventional example of data copy using this storage device function. In the conventional example shown in FIG. 6, the logical disk 1 and the logical disk 2 may be in the same computer or storage device as long as data transfer is possible, or in different devices. Data has already been written in the logical disk 1 and includes an OS management information area 11, a data management information area 12, a data writing area 13, and a data unwritten area 14. Information for managing the logical disk 1 from an operating system such as a computer or an application is registered in the OS management information area 11. In the data management area 12, information indicating the location of data written in the data writing area 13 is registered. The data writing area 13 stores the actually written data, and the data unwritten area 14 is an unused area where no data is written.
[0004]
In this system, copying of the logical disk 1 is performed as a countermeasure against failure at the elapse of a fixed time or at the end of daily operation. In this case, in the conventional system, the entire logical disk 1 is copied to another logical disk 2. That is, in the example shown in FIG. 6, all of the OS management information 11, the data management information 12, the data writing area 13, and the data unwritten area 14 of the logical disk 1 are copied to the logical disk 2. An OS management information area 21, a data management information area 22, a data writing area 23, and a data unwritten area 24 are created.
[0005]
[Problems to be solved by the invention]
However, in the conventional data copy system, the data of the copy source logical disk 1 and the copy destination logical disk 2 are all the same, and therefore OS management information (reference numerals 11 and 11) for managing the storage device from higher-level means such as OS and applications. 21) is the same. This OS management information includes OS volume identification information (for example, a drive number such as a signature for Windows (registered trademark)) for the OS to manage the logical disk. The copy source logical disk 1 and the copy destination logical disk 2 cannot be used individually. Although this does not cause a problem when used only for the purpose of restoration as usual, the normal operation is resumed on the logical disk 1 after the copy is completed, and the copy destination logical disk 2 is used for, for example, a search operation in a database system or the like. It would be convenient if it would be possible to carry out another task.
[0006]
Further, since all of the logical disk 1 is copied to the logical disk 2 regardless of the amount of the unwritten data area 14 in the logical disk 1, there is no data and the unused area that is originally not required to be copied. There is a problem that an operation to copy 14 to the logical disk 2 occurs and an extra time is required until the copy operation is completed.
[0007]
Further, since copying of the data unwritten area 14 which essentially does not require copying is performed, a physical failure occurs in the area where the unwritten area 14 is copied (that is, the data unwritten area 24) in the copy destination logical disk 2. If this exists, there is a problem that the copy process results in an error.
[0008]
SUMMARY OF THE INVENTION In view of the above problems, the present invention has an object to provide a data copy system that shortens processing and prevents unnecessary errors by omitting copying of areas that are not originally required for copying between logical disks. And
[0009]
[Means for Solving the Problems]
In order to achieve this object, the present invention relates to a copy source logical disk in which data has already been written in a data copy system for copying data on a logical disk in an information storage device to another logical disk as a countermeasure against a failure. An OS management information area in which information for managing the logical disk from a higher-level means is recorded, and a copy destination logical disk of data and a copy operation control means The data management information area in which the location of the write data is recorded, the data write area in which the write data from the higher-level means is recorded, and the unused data unwritten area, and the copy operation control means Among the areas of the copy source logical disk, the data unwritten area Characterized in that it does not copied to the destination logical disk. If the system is configured in this way, copying of the data unwritten area where no data exists is not performed in the copy operation of the logical disk, so this processing time can be reduced and the data unwritten area in the copy destination logical disk can be reduced. Even if there is a physical failure in the corresponding area, the area is not accessed, so an error does not occur.
[0010]
The present invention also relates to a copy source logical disk in which data has already been written and a copy destination logical of the data in a data copy system that copies data on a logical disk in an information storage device to another logical disk as a countermeasure against a failure. A disk and a copy operation control means, wherein the copy source logical disk has an OS management information area in which information for managing the logical disk from higher-order means is recorded, and the location of write data in the logical disk A copy management logical area, a data write area in which write data from the higher-level means is recorded, and an unused data unwritten area; and the copy operation control means includes the copy source logical disk Of these areas, the OS management information area is stored in the copy destination logical disk. Characterized in that it does not copy.
When the system is configured in this manner, the OS management information area for managing the logical disk is not copied from the higher-level means in the logical disk copy operation in the logical disk copy operation. The OS management information is not the same, and the copy source and copy destination logical disks can be used from the same computer.
[0011]
In this data copy system, the copy source logical disk and the copy destination logical disk may be in the same device or in different devices connected to each other. For example, to realize the system of the present invention, both the copy source logical disk and the copy destination logical disk may be provided in the same computer or storage device, or the copy source logical disk and the copy destination logical disk are different computers or storages. It can be provided in the apparatus, or the copy source logical disk can be arranged in the computer while the copy destination logical disk can be provided in a storage device connected to the computer.
[0012]
On the other hand, the method according to the present invention is a method of copying logical disk data in a computer or one or more information storage devices connected to the computer to another logical disk for the purpose of troubleshooting. The disk has an OS management information area in which information for managing the logical disk from the higher level means is recorded, a data management information area in which the location of write data in the logical disk is recorded, and a write from the higher level means A data writing area in which data is recorded, and an unused data unwritten area, and the method includes only the data management information area and the data writing area in the storage area of the copy source logical disk. Is copied to a corresponding area of the copy destination logical disk.
[0013]
Furthermore, the present invention relates to a copy source logical disk in a program for copying data on a logical disk in a computer or one or more information storage devices connected to the computer to another logical disk for troubleshooting. Includes an OS management information area in which information for managing the logical disk from the higher-level means is recorded, a data management information area in which the location of write data in the logical disk is recorded, and write data from the higher-level means Is recorded, and an unused data unwritten area is included, and the program extracts only the data management information area and the data writing area from the copy source logical disk area. And transfer it to the corresponding area of the destination logical disk. A program for controlling the computer or storage device.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a schematic block diagram showing the configuration of the data copy system according to the first embodiment of the present invention. Referring to FIG. 1, one information storage device 33 is connected to a computer 31 via a data transmission / reception bus 32. The information storage device 33 is, for example, an external hard disk device, a magnetic disk device, a magnetic tape device, an optical disk device such as a CD or a DVD, and has a plurality of logical disks 1 to n under its control. Each logical disk in the apparatus is connected by an internal signal line 35 via a control unit 34. The control unit 34 records and reproduces data on, for example, the logical disk 1 in response to a data read / write command from the computer 31 during normal operation, but reads data from the logical disk 1 during another data copy operation. Copy to 2 is performed. The control unit 34 is operated by a program 36 stored in a built-in storage medium.
[0015]
FIG. 2 is a schematic block diagram for explaining the configuration of the logical disk 1 and the data copy operation. As shown in FIG. 2, data has already been written in the logical disk 1 and includes an OS management information area 11, a data management information area 12, a data writing area 13, and a data unwritten area 14. . Information for managing the logical disk 1 from the operating system or application of the computer 31 is registered in the OS management information area 11. In the data management area 12, information indicating the location of data written in the data writing area 13 is registered. The data writing area 13 stores the actually written data, and the data unwritten area 14 is an unused area where no data is written. When data written in the data writing area 13 is deleted, the area where the deleted data has been written becomes the data unwritten area 14, and when data is written in the data unwritten area 14, the area of the written data becomes It becomes the data writing area 13.
[0016]
In this system, a process of copying data written in the logical disk 1 to another logical disk 2 as a countermeasure against a failure is performed every time a fixed time elapses or at the end of daily operation. FIG. 3 is a flowchart showing the flow of processing performed by the control unit 34. When a data copy command is generated (step S1), the control unit 34 reads information written in the data management information area 12 of the logical disk 1 (step S2), and data written in the data write area 13 of the logical disk 1 Is determined (step S3). Then, the data in the data unwritten area is not copied (step S4), and the data in the data write area 13 is copied to the corresponding area in another logical disk 2 for the data write area where the data is actually written. At the same time, the data in the data management information area 12 for the write data is copied to the corresponding area of the logical disk 2 (step S5).
[0017]
In other words, the control unit 34 does not copy the OS management information area 11 and the unused data unwritten area 14, but extracts data of only the data management information area 12 and the data writing area 13 to handle the logical disk 2. Copy to the area to be used. As a result, as shown in FIG. 2, in the logical disk 2 having the OS management information 21 different from the OS management information 11 of the logical disk 1, it is a copy of the data management information area 12 and the data writing area 13 of the logical disk 1. A data management information area 22 and a data writing area 23 are created, and the remaining part remains as a data unwritten area 24.
[0018]
By copying the logical disk in this way, the OS management information area in which information for managing the logical disk from the computer 1 is stored as compared with the conventional example in which the entire logical disk 1 is copied to the logical disk 2. Therefore, the copy source logical disk 1 and the copy destination logical disk 2 can be used individually from the computer 1. Therefore, while the normal operation is resumed on the logical disk 1 after copying, another operation such as using the logical disk 2 for search purposes can be performed. Further, since the data unwritten area is not copied, the copy time can be reduced accordingly. Further, since no access is made to the data unwritten area, it is possible to avoid the error termination when there is a physical failure in the data unwritten area 24 of the copy destination logical disk 2.
[0019]
4 and 5 are schematic block diagrams showing the configuration of another embodiment of the present invention. In the system of the second embodiment shown in FIG. 4, two information storage devices 37 and 38 are connected to a computer 31 via a data transmission / reception bus 32. In this system, the logical disk 1 that is the copy source is arranged in the information storage device 37, and the logical disk 2 that is the copy destination is arranged in another information storage device 38. In this case, the control unit 37a that is program-controlled by the information storage device 37 controls the data copy process, and other operations and the like are substantially the same as those in the first embodiment described above. That is, the control unit 37a of the device 37 having the copy source logical disk 1 reads the data management information 12 and the data write area 13 of the logical disk 1 and transfers them to another information storage device 38, and the control unit 38a of this device 38. Is received in the data management information area 22 and the data writing area 23 of the logical disk 2 (see FIG. 2). The operation of the control unit 38a of the copy destination storage device 38 in this case is the same as the processing for the data read / write command from the host device, that is, the computer 31 during normal operation.
[0020]
In the third embodiment shown in FIG. 5, one information storage device 39 is connected to the computer 31, the copy source logical disk 1 is arranged in the computer 31, and the copy destination logical disk 2 is the information storage device. 39. In this embodiment, when the control unit 31a of the computer 31 having the copy source logical disk 1 reads only the data management information area 12 and the data write area 13 from the logical disk 1 and transfers them to the information storage device 39, the control unit of the apparatus 39 39a is stored in the corresponding area of the logical disk 2. As described above, the copy source and copy destination logical disks may be in the same device or in different devices.
[0021]
【The invention's effect】
As described above, according to the data copy system of the present invention, in the copy operation of the logical disk, the OS management information area for managing the logical disk is not copied from the upper part of the logical disk area. The OS management information of the original and copy destination logical disks is not the same, and the copy source and copy destination logical disks can be used individually from the same computer. In addition, since the data unwritten area where data does not exist is not copied, the processing time can be reduced, and the area corresponding to the data unwritten area in the copy destination logical disk is not accessed even if there is a physical failure. There is no error.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing a configuration of an embodiment of the present invention.
FIG. 2 is a schematic block diagram showing a configuration of an area of a logical disk.
FIG. 3 is a flowchart for explaining the flow of data copy work;
FIG. 4 is a schematic block diagram showing the configuration of another embodiment of the present invention.
FIG. 5 is a schematic block diagram showing the configuration of another embodiment of the present invention.
FIG. 6 is a schematic block diagram for explaining a conventional data copy operation.
[Explanation of symbols]
1 Copy source logical disk 2 Copy destination logical disk 11, 21 OS management information area 12, 22 Data management information area 13, 23 Data write area 14, 24 Data unwritten area 31 Computer 32 Data transmission / reception bus 33 Information storage device 34 Control unit 36 programs

Claims (6)

情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーするデータコピーシステムにおいて、既にデータが書き込まれているコピー元論理ディスクと、データのコピー先論理ディスクと、コピー動作制御手段とを備え、
前記コピー元論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内の書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えるとともに、
前記コピー先論理ディスクが、上位手段から当該論理ディスクを管理するための情報であって前記コピー元論理ディスクとは異なるOS管理情報が記録されたOS管理情報領域を備え、これにより前記コピー元論理ディスクとコピー先論理ディスクが異なる論理ディスクとして上位手段から認識され、
前記コピー動作制御手段が、前記コピー先論理ディスクのOS管理情報領域に変更を加えることなく前記コピー元論理ディスクのデータ管理情報領域とデータ書き込み領域とを前記コピー先論理ディスクにコピーし、前記上位手段が前記コピー元論理ディスクとは別に前記コピー先論理ディスクにコピーしたデータを使用できるようにしたことを特徴とするデータコピーシステム。
In a data copy system that copies data on a logical disk in an information storage device to another logical disk as a countermeasure against a failure, a copy source logical disk to which data has already been written, a data copy destination logical disk, and copy operation control Means and
The copy source logical disk includes an OS management information area in which information for managing the logical disk from higher-level means is recorded; a data management information area in which the location of write data in the logical disk is recorded; A data writing area in which write data from the means is recorded, and an unused data unwritten area,
The copy destination logical disk is provided with an OS management information area in which OS management information different from the copy source logical disk, which is information for managing the logical disk from higher-level means, is recorded. The disk and the copy destination logical disk are recognized by the higher-level means as different logical disks,
The copy operation control means copies the data management information area and the data write area of the copy source logical disk to the copy destination logical disk without changing the OS management information area of the copy destination logical disk, and A data copy system characterized in that the means can use data copied to the copy destination logical disk separately from the copy source logical disk .
請求項1に記載のデータコピーシステムにおいて、前記コピー動作制御手段は、前記コピー元論理ディスクの領域のうち、前記データ未書き込み領域については前記コピー先論理ディスクにコピーしないことを特徴とするデータコピーシステム。 2. The data copy system according to claim 1, wherein the copy operation control means does not copy the unwritten area of the copy source logical disk to the copy destination logical disk. system. 請求項1又は2に記載のデータコピーシステムにおいて、前記コピー元論理ディスクとコピー先論理ディスクは同一デバイス内にあることを特徴とするデータコピーシステム。  3. The data copy system according to claim 1, wherein the copy source logical disk and the copy destination logical disk are in the same device. 請求項1又は2に記載のデータコピーシステムにおいて、前記コピー元論理ディスクとコピー先論理ディスクは、互いに接続された異なるデバイス内にあることを特徴とするデータコピーシステム。  3. The data copy system according to claim 1, wherein the copy source logical disk and the copy destination logical disk are in different devices connected to each other. コンピュータ又は当該コンピュータに接続された1又は2以上の情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーする方法において、
コピー元の論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えるとともに、
コピー先論理ディスクが、上位手段から当該論理ディスクを管理するための情報であって前記コピー元論理ディスクとは異なるOS管理情報が記録されたOS管理情報領域を備え、これにより前記コピー元論理ディスクとコピー先論理ディスクが異なる論理ディスクとして上位手段から認識され、
前記コピー先論理ディスクのOS管理情報領域を変更することなく、前記コピー元論理ディスクの記憶領域のうち、前記データ管理情報領域と前記データ書き込み領域のみをコピー先の論理ディスクの対応する領域にコピーして、前記上位手段が前記コピー元論理ディスクとは別に前記コピー先論理ディスクにコピーしたデータを使用できるようにしたことを特徴とするデータコピー方法。
In a method of copying data of a logical disk in a computer or one or more information storage devices connected to the computer to another logical disk for troubleshooting,
The copy source logical disk includes an OS management information area in which information for managing the logical disk from the upper level means is recorded, a data management information area in which the location of write data is recorded in the logical disk, and the upper level Rutotomoni comprising a data write area where writing data is recorded from the unit, and a data unwritten area is unused,
The copy destination logical disk includes an OS management information area in which OS management information different from the copy source logical disk is recorded, which is information for managing the logical disk from higher-level means. And the copy destination logical disk is recognized as a different logical disk from the host means,
Without changing the OS management information area of the copy destination logical disk, only the data management information area and the data write area of the storage area of the copy source logical disk are copied to the corresponding areas of the copy destination logical disk. The data copy method is characterized in that the higher-level means can use data copied to the copy destination logical disk separately from the copy source logical disk .
コンピュータ又は当該コンピュータに接続された1又は2以上の情報記憶装置における論理ディスクのデータを障害対策のために別の論理ディスクにコピーさせるためのプログラムにおいて、
コピー元の論理ディスクが、上位手段から当該論理ディスクを管理するための情報が記録されたOS管理情報領域と、当該論理ディスク内で書き込みデータの所在地が記録されたデータ管理情報領域と、前記上位手段からの書き込みデータが記録されたデータ書き込み領域と、未使用であるデータ未書き込み領域とを備えており、
コピー先論理ディスクが、上位手段から当該論理ディスクを管理するための情報であって前記コピー元論理ディスクとは異なるOS管理情報が記録されたOS管理情報領域を備え、これにより前記コピー元論理ディスクとコピー先論理ディスクが異なる論理ディスクとして上位手段から認識され、
前記プログラムが、前記コピー先論理ディスクのOS管理情報領域を変更することなく、前記コピー元論理ディスクの領域のうち前記データ管理情報領域と前記データ書き込み領域のみを抽出し、コピー先の論理ディスクの対応する領域にコピーさせるべく転送するよう前記コンピュータ又は記憶装置を制御することを特徴とするプログラム。
In a program for copying data on a logical disk in a computer or one or more information storage devices connected to the computer to another logical disk for troubleshooting,
The copy source logical disk includes an OS management information area in which information for managing the logical disk from the upper level means is recorded, a data management information area in which the location of write data is recorded in the logical disk, and the upper level A data write area in which write data from the means is recorded, and an unused data unwritten area,
The copy destination logical disk includes an OS management information area in which OS management information different from the copy source logical disk is recorded, which is information for managing the logical disk from higher-level means. And the copy destination logical disk is recognized as a different logical disk from the host means,
The program extracts only the data management information area and the data write area from the copy source logical disk area without changing the OS management information area of the copy destination logical disk, and A program for controlling the computer or the storage device to transfer to a corresponding area for copying.
JP2001389934A 2001-12-21 2001-12-21 Data copy system Expired - Fee Related JP3794322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001389934A JP3794322B2 (en) 2001-12-21 2001-12-21 Data copy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001389934A JP3794322B2 (en) 2001-12-21 2001-12-21 Data copy system

Publications (2)

Publication Number Publication Date
JP2003186629A JP2003186629A (en) 2003-07-04
JP3794322B2 true JP3794322B2 (en) 2006-07-05

Family

ID=27598006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001389934A Expired - Fee Related JP3794322B2 (en) 2001-12-21 2001-12-21 Data copy system

Country Status (1)

Country Link
JP (1) JP3794322B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5923913B2 (en) * 2011-09-27 2016-05-25 富士通株式会社 Storage device, storage device control method, and storage system
JP7065816B2 (en) * 2019-10-09 2022-05-12 ハギワラソリューションズ株式会社 Computer system and its drive copy device, and data copy method of computer system

Also Published As

Publication number Publication date
JP2003186629A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
JP4949088B2 (en) Remote mirroring between tiered storage systems
KR100345632B1 (en) A memory device and a method for controlling the same
JP3273254B2 (en) Fast, high-performance, defect-tolerant, error-correctable storage system for binary computers
US7461201B2 (en) Storage control method and system for performing backup and/or restoration
US6604171B1 (en) Managing a cache memory
JP3617437B2 (en) Data copy method and program recording medium recording data copy program
JPH07281840A (en) Dual-disk recording device
JP2000187608A (en) Storage device sub-system
US6742093B2 (en) Subsystem and method of reorganizing multiplexed data
JP3794322B2 (en) Data copy system
JP4667225B2 (en) Control device and copy control method
JP3882461B2 (en) Storage device system and backup acquisition method thereof
JP2562753B2 (en) Readout control method for magneto-optical disk device
US8667218B2 (en) Storage apparatus comprising RAID groups of RAID 1 series and control method of writing to RAID group of RAID 1 series
JP2010152781A (en) Backup server device, backup/restore program, and backup/restore method
JP4641528B2 (en) Data writing program and data writing method
JPH07121310A (en) Hard disk storage device
JPH0793101A (en) Data backup device
JP4288929B2 (en) Data storage apparatus and data storage method
JP2000305719A (en) Method for backing-up data in information processing system
US11307774B2 (en) Storage control device, non-transitory computer-readable storage medium, and storage control method
US8549221B2 (en) RAID management apparatus, RAID management method, and computer product
JP2005316697A (en) Disk array system and method for data backup
JP3614886B2 (en) File system
JP3376316B2 (en) Disk array device, high-speed communication method used therefor, and recording medium recording control program therefor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060404

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees