JPH103361A - Data backup device - Google Patents

Data backup device

Info

Publication number
JPH103361A
JPH103361A JP8156668A JP15666896A JPH103361A JP H103361 A JPH103361 A JP H103361A JP 8156668 A JP8156668 A JP 8156668A JP 15666896 A JP15666896 A JP 15666896A JP H103361 A JPH103361 A JP H103361A
Authority
JP
Japan
Prior art keywords
data
host computer
backup device
buffer memory
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8156668A
Other languages
Japanese (ja)
Inventor
Yoshio Goto
美夫 後藤
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 Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP8156668A priority Critical patent/JPH103361A/en
Publication of JPH103361A publication Critical patent/JPH103361A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data backup device with which the large capacitance of data can be backed up at high speed, the detection or correction of data error on a data transfer path is enabled and further, data erasure caused by the hit of power source can be prevented. SOLUTION: A data backup device 10 is constituted while having a buffer memory 4, tape drive 5 and RAID control part 13 or the like. Backup data from a host computer H are temporarily stored through an SCSI bus 11, SCSI controller 12 and buffer memory 4 into a high-speed storage device 14 of the RAID control part 1. The high-speed storage device 14 can transmit data at higher speed than the tape drive 5 and the temporarily stored data are stored through the buffer memory 4 into the tape drive 5 after the completion of temporary storage of the data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、サーバ機器などの
ファイルシステム用データなどを磁気テープなどの外部
記憶装置にバックアップするためのデータバックアップ
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data backup device for backing up data for a file system such as a server device in an external storage device such as a magnetic tape.

【0002】[0002]

【従来の技術】例えば、銀行や証券会社などにおいて
は、サーバ機器などのファイルシステムを運用している
間において、何らかの理由によってオンラインデータな
どが破壊されたり、あるいはファイルシステムにおける
重要なハードディスクが故障するなどの障害が発生する
場合がある。
2. Description of the Related Art For example, in a bank or securities company, while operating a file system such as a server device, online data is destroyed for some reason or an important hard disk in the file system breaks down. Failure may occur.

【0003】このような場合において、サーバ機器など
のファイルシステムが復旧した場合でも、正しいオンラ
インデータが失われていることから、業務をただちに継
続することができない。そこで、一般的には、これらオ
ンラインデータをデータバックアップ装置を用いて定期
的にバックアップするようにしている。このようなデー
タバックアップ装置としては、などのように、磁気テー
プを用いた磁気テープ装置(例えば、SMT、CMT、
CGMT、DAT、DLT)が広く使用されている。
In such a case, even if a file system such as a server device is restored, business cannot be continued immediately because correct online data has been lost. Therefore, generally, these online data are regularly backed up using a data backup device. As such a data backup device, a magnetic tape device using a magnetic tape (for example, SMT, CMT,
CGMT, DAT, DLT) are widely used.

【0004】図6に、従来のデータバックアップ装置1
の一例(従来例1)を示した。このデータバックアップ
装置1は、ホストコンピュータ(ホストマシン)Hから
のデータをバッファメモリ4を介してテープドライブ5
に装着された磁気テープにバックアップするとともに、
磁気テープからバッファメモリ4を介してホストコンピ
ュータHにリストアする構成としている。ホストコンピ
ュータHとデータバックアップ装置1との接続は、例え
ばSCSIコントローラ3を介して行われ、データ転送
速度は例えば8bit幅で5MB/Sである。
FIG. 6 shows a conventional data backup device 1.
(Conventional example 1) is shown. The data backup device 1 transfers data from a host computer (host machine) H to a tape drive 5 via a buffer memory 4.
Back up to the magnetic tape attached to the
The configuration is such that restoration is performed from the magnetic tape to the host computer H via the buffer memory 4. The connection between the host computer H and the data backup device 1 is performed, for example, via the SCSI controller 3, and the data transfer rate is, for example, 8 MB and 5 MB / S.

【0005】また、テープドライブ5の磁気テープに対
するデータの書き込み、読み出し動作は、DMA(ダイ
レクトメモリアクセス)方式を用いてDMAC6により
行われる。I/Oプロセッサ7は、ローカルメモリ8の
情報に基づき、DMAC6のテープドライブ5への書き
込み、読み出し動作を制御するとともに、SCSIコン
トローラ(SCSIC)3のホストコンピュータHに対
する接続、切り離し動作を制御する。なお、このよう
に、データを一旦蓄積するバッファメモリ4を設けるこ
とで、ホストコンピュータHとバッファメモリ4との
間、あるいはバッファメモリ4とテープドライブ5との
間のデータ転送を非同期で行うことができる。
The writing and reading of data to and from the magnetic tape of the tape drive 5 is performed by the DMAC 6 using a DMA (Direct Memory Access) method. The I / O processor 7 controls the operation of writing and reading the DMAC 6 to and from the tape drive 5 based on the information in the local memory 8 and controls the operation of connecting and disconnecting the SCSI controller (SSCSI) 3 to and from the host computer H. By providing the buffer memory 4 for temporarily storing data, data transfer between the host computer H and the buffer memory 4 or between the buffer memory 4 and the tape drive 5 can be performed asynchronously. it can.

【0006】また、例えば特開平4−124721号公
報に開示された技術(従来例2)もある。この従来例2
では、バックアップの際には、ホストコンピュータから
転送される一連のシーケンシャルデータをバッファメモ
リに一旦蓄積するとともに、このデータを予め設定した
データ量の単位(データブロック)に分割し、これらデ
ータブロックを複数の磁気テープに並列に転送して記録
する。また、リストアの際には、これらのデータブロッ
クを複数の磁気テープから並列に同時に読み出してバッ
ファメモリに記録し、バッファメモリに記録されたこの
データブロック群をホストコンピュータから転送された
ときと同じ順序で組み合わせ、この組み合わせたデータ
をホストコンピュータに転送している。
There is also a technique disclosed in, for example, Japanese Patent Application Laid-Open No. 4-124721 (conventional example 2). Conventional example 2
Then, at the time of backup, a series of sequential data transferred from the host computer is temporarily stored in a buffer memory, and this data is divided into units (data blocks) of a predetermined data amount, and these data blocks are divided into a plurality of data blocks. The data is transferred and recorded on a magnetic tape in parallel. Also, at the time of restoration, these data blocks are read simultaneously from a plurality of magnetic tapes in parallel and recorded in the buffer memory, and the data blocks recorded in the buffer memory are transferred in the same order as when transferred from the host computer. And the combined data is transferred to the host computer.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来技術には次のような問題があった。すなわち、従来例
1の場合、テープドライブにおける磁気テープに対する
読取り、書込み時のデータ転送速度が遅いことから、バ
ックアップやリストアのための処理時間が長くかかって
しまう。
However, the above prior art has the following problems. That is, in the case of the conventional example 1, since the data transfer speed at the time of reading and writing to and from the magnetic tape in the tape drive is low, the processing time for backup and restoration takes a long time.

【0008】従来例2の場合、従来例1に比べて、読取
りや書き込みの際のデータ転送速度を高めることができ
る。ところが、ホストコンピュータとバッファメモリと
の間、あるいはバッファメモリとテープドライブとの間
でやりとりされるデータ量が大きく、バッファメモリの
格納許容量を超過してしまう(つまり、バッファメモリ
が満杯になってしまう)場合には、ホストコンピュータ
とバッファメモリとの間のデータ転送処理が一時的に停
止してしまう場合があった。また、一連のデータを分割
して複数の磁気テープに記録保管する構成であることか
ら、1つのデータについて複数の磁気テープの保管が必
要であり、取り扱いが煩雑であった。また、取り扱うテ
ープドライブや磁気テープの数が増えるので、そのため
の設置スペースや保管スペースや余分に必要になるとい
う問題もあった。
In the case of the conventional example 2, the data transfer speed at the time of reading and writing can be increased as compared with the conventional example 1. However, the amount of data exchanged between the host computer and the buffer memory or between the buffer memory and the tape drive is large and exceeds the storage capacity of the buffer memory (that is, the buffer memory becomes full). In such a case, the data transfer process between the host computer and the buffer memory may be temporarily stopped. In addition, since a series of data is divided and recorded and stored on a plurality of magnetic tapes, it is necessary to store a plurality of magnetic tapes for one data, and the handling is complicated. In addition, since the number of tape drives and magnetic tapes to be handled is increased, there is a problem that an installation space, a storage space, and an extra space are required.

【0009】その他、各従来例では、ホストコンピュー
タとバッファメモリとの間、あるいはバッファメモリと
テープドライブとの間のデータ転送路においてデータ化
けなどが発生してもこれを検出したり修復できなかっ
た。さらに、データのバックアップやリストアの間にお
いて何らかの原因で電源が瞬間的に切断された場合、バ
ッファメモリの内容あるいはバックアップやリストアの
進行状況の情報などが失われてしまい、このため、バッ
クアップやリストアをやり直さなければならないという
問題もある。
In addition, in each of the conventional examples, even if data is garbled in the data transfer path between the host computer and the buffer memory or between the buffer memory and the tape drive, it cannot be detected or repaired. . Furthermore, if the power supply is momentarily cut off during data backup or restoration, the contents of the buffer memory or information on the progress of the backup or restoration will be lost. There is also the problem of having to start over.

【0010】本発明の課題は、大容量のデータでも高速
でバックアップでき、データ転送路におけるデータエラ
ーの検出や修復ができ、さらに電源の瞬断によるデータ
消失を防止できるデータバックアップ装置を提供するこ
とにある。
[0010] It is an object of the present invention to provide a data backup device which can back up a large amount of data at high speed, detect and repair a data error in a data transfer path, and prevent data loss due to a momentary power interruption. It is in.

【0011】[0011]

【課題を解決するための手段】本発明のデータバックア
ップ装置は、ホストコンピュータからのデータを記憶媒
体に保存するとともに前記保存されたデータを前記ホス
トコンピュータにリストアするための第1の記憶手段
と、前記バッファ手段からのデータを一時保存し前記第
1の記憶手段よりもデータ転送速度が高速である第2の
記憶手段とを有し、前記第1の記憶手段は、データバッ
クアップの際に、前記ホストコンピュータからのデータ
を一時保存し、前記一時保存されたデータを前記一時保
存されたデータを前記第1の記憶手段に転送することを
特徴とする。この構成により、ホストコンピュータから
のデータを高速でバックアップすることができる。
A data backup device according to the present invention comprises: first storage means for storing data from a host computer in a storage medium and restoring the stored data to the host computer; A second storage unit for temporarily storing data from the buffer unit and having a higher data transfer rate than the first storage unit, wherein the first storage unit is configured to store the data Data from a host computer is temporarily stored, and the temporarily stored data is transferred to the first storage means. With this configuration, data from the host computer can be backed up at high speed.

【0012】また、好ましくは、データバックアップ装
置は、ホストコンピュータと第1の記憶手段および第2
の記憶手段との間で送受されるデータを一時蓄積するバ
ッファ手段をさらに有することを特徴とする請求項1記
載のデータバックアップ装置。この構成とすれば、ホス
トコンピュータとバッファ手段との間、およびバッファ
手段と第1および第2の記憶手段との間のデータ転送を
非同期で行うことができる。
Preferably, the data backup device comprises a host computer, a first storage means, and a second storage means.
2. The data backup device according to claim 1, further comprising buffer means for temporarily storing data transmitted to and received from said storage means. With this configuration, data transfer between the host computer and the buffer unit and between the buffer unit and the first and second storage units can be performed asynchronously.

【0013】さらに、第2の記憶手段は、好ましくは、
ホストコンピュータからのデータを冗長度を持たせて保
存する。この構成とすれば、バックアップの際のデータ
伝送エラーを修復することができる。このような構成の
具体例としては、例えば、RAID(Redundan
t Arrays Independent Disk
s)制御によりデータを記録することが挙げられる。
Further, the second storage means preferably comprises:
Data from the host computer is stored with redundancy. With this configuration, a data transmission error at the time of backup can be repaired. As a specific example of such a configuration, for example, a RAID (Redundan
t Arrays Independent Disk
s) Recording data by control.

【0014】また、好ましくは、第2の記憶手段は、ホ
ストコンピュータからのデータにおける伝送エラーを検
出するものである。この構成とすれば、バックアップの
際のデータ伝送エラーを検出することができる。このた
めの具体的な構成例としては、第2の記憶手段にSCS
Iインターフェースを設け、これを介してホストコンピ
ュータからのデータを伝送する構成とすることが挙げら
れる。
[0014] Preferably, the second storage means detects a transmission error in data from the host computer. With this configuration, a data transmission error at the time of backup can be detected. As a specific configuration example for this, SCS is stored in the second storage means.
An I interface may be provided to transmit data from a host computer via the I interface.

【0015】さらに、本発明においては、ホストコンピ
ュータから前記第2の記憶手段へのデータ転送が完了し
た際にホストコンピュータとのインターフェースが切断
される。また、具体的には、第1の記録手段としては磁
気テープ装置を、第2の記憶手段としてはハードディス
クまたは半導体ディスクを、それぞれ用いることができ
る。さらに、第1および第2の記憶手段の電源バックア
ップ手段をさらに設ける構成とするのが好ましく、これ
により、電源の瞬断によるデータ消失を防止することが
できる。
Further, in the present invention, when data transfer from the host computer to the second storage means is completed, the interface with the host computer is disconnected. More specifically, a magnetic tape device can be used as the first recording means, and a hard disk or a semiconductor disk can be used as the second storage means. Further, it is preferable to further provide a power supply backup means for the first and second storage means, thereby preventing data loss due to an instantaneous interruption of the power supply.

【0016】[0016]

【発明の実施の形態】以下に、本発明のデータバックア
ップ装置の実施の形態を説明する。図1は、このデータ
バックアップ装置10とホストコンピュータHを備えた
システムの構成例を示す図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a data backup device according to the present invention will be described below. FIG. 1 is a diagram illustrating a configuration example of a system including the data backup device 10 and a host computer H.

【0017】データバックアップ装置10は、SCSI
コントローラ12、バッファメモリ4、テープドライブ
5、DMAC(Direct Memory Acce
ssController)6、I/Oプロセッサ7、
ローカルメモリ8、RAID制御部13、並びに無停電
電源装置16などから構成される。また、RAID(R
edundant Arrays of Indepe
ndent Disks)制御部13は、SCSIコン
トローラ15と高速記憶装置14とから構成される。無
停電電源装置16は、高速記憶装置14やテープドライ
ブ5における作業中の電源の瞬断を防止するための接続
されている。
The data backup device 10 is a SCSI
Controller 12, buffer memory 4, tape drive 5, DMAC (Direct Memory Access)
ssController) 6, I / O processor 7,
It comprises a local memory 8, a RAID controller 13, an uninterruptible power supply 16, and the like. In addition, RAID (R
edundant Arrays of Indepe
The ND (disks) control unit 13 includes a SCSI controller 15 and a high-speed storage device 14. The uninterruptible power supply 16 is connected to prevent an instantaneous interruption of power during operation of the high-speed storage device 14 or the tape drive 5.

【0018】ここで、ホストコンピュータHから転送さ
れたバックアップデータは、例えば16bit幅で20
MB/Sである、SCSIバス11を通じてデータバッ
クアップ装置10に入力される。このSCSIバス11
とのインターフェースは、データバックアップ装置10
において、SCSIコントローラ12により制御され
る。また、バッファメモリ4は、バックアップまたはリ
ストアの作業中において一時的にデータを蓄積するため
のものである。そして、バッファメモリ4を介してRA
ID制御部13やテープドライブ5との間のデータ転送
が行われる。
Here, the backup data transferred from the host computer H is, for example, 20 bits with a width of 16 bits.
The data is input to the data backup device 10 through the SCSI bus 11, which is an MB / S. This SCSI bus 11
Interface with the data backup device 10
Is controlled by the SCSI controller 12. The buffer memory 4 is for temporarily storing data during a backup or restore operation. Then, via the buffer memory 4, RA
Data transfer between the ID control unit 13 and the tape drive 5 is performed.

【0019】また、RAID制御部13において、高速
記憶装置14は、バッファメモリ4のデータの許容量を
超えないようにこれに代わって順次データを格納する。
また、SCSIコンローラ15は高速記憶装置14をR
AID制御している。高速記憶装置14としては、ハー
ドディスクや半導体ディスクなどのように、テープドラ
イブ5と比べて高速でデータを読み書きすることができ
る記憶装置が用いられる。ここで、バッファメモリ4か
ら高速記憶装置14へ転送されるデータは、例えば、8
bit幅のバスにより10MB/Sの速度で転送され
る。また、高速記憶装置14はバックアップデータ量に
応じてその容量が定められるが、必要に応じてハードデ
ィスクなどを例えば7台まで増設することができる。
In the RAID control unit 13, the high-speed storage device 14 stores data in order instead of the allowable amount of data in the buffer memory 4 so as not to exceed the allowable amount.
The SCSI controller 15 sets the high-speed storage device 14 to R.
AID control is performed. As the high-speed storage device 14, a storage device that can read and write data at a higher speed than the tape drive 5, such as a hard disk or a semiconductor disk, is used. Here, the data transferred from the buffer memory 4 to the high-speed storage device 14 is, for example, 8
The data is transferred at a speed of 10 MB / S by a bus having a bit width. The capacity of the high-speed storage device 14 is determined in accordance with the amount of backup data. However, if necessary, for example, up to seven hard disks can be added.

【0020】本実施形態のデータバックアップ装置10
におけるバックアップ作業を図2を用いて説明する。す
なわち、この場合には、先ず、ホストコンピュータHか
らSCSIバス11を通じて送られたデータをSCSI
コントローラ12の制御によりバッファメモリ4に蓄積
する(図2において(1))。この際、データはSCS
Iバス11が16bit幅であるので、20MB/Sの
最大転送速度となる。また、バッファメモリ4ではデー
タの許容量を超えないように、バッファメモリ4内のデ
ータを順次RAID制御部13に一旦転送する
((2))。
The data backup device 10 of the present embodiment
Will be described with reference to FIG. That is, in this case, first, the data transmitted from the host computer H via the SCSI bus 11
The data is stored in the buffer memory 4 under the control of the controller 12 ((1) in FIG. 2). At this time, the data is SCS
Since the I bus 11 is 16 bits wide, the maximum transfer speed is 20 MB / S. Further, the data in the buffer memory 4 is temporarily transferred to the RAID control unit 13 sequentially so as not to exceed the allowable amount of data in the buffer memory 4 ((2)).

【0021】RAID制御部13では、SCSIコンロ
ーラ15のRAID制御により、高速記憶装置14にデ
ータを格納する。高速記憶装置14へのデータの転送が
完了したら、ホストコンピュータHに対してデータの転
送が終了したことを通知すると共に、SCSIコントロ
ーラ12によりホストコンピュータHとの接続を断つ
((3))。この後、高速記憶装置14からバッファメ
モリ4を介してテープドライブ5へデータが転送され、
これに装着された磁気テープにデータが記録されてバッ
クアップ作業が完了する((4))。なお、RAID制
御部13からテープドライブ5へのデータの転送中に修
復不能な故障が生じた場合、再度バックアップ作業を行
うために、ホストコンピュータHに再接続およびデータ
の再送を要求し、これを実行する。
The RAID controller 13 stores data in the high-speed storage device 14 under the RAID control of the SCSI controller 15. When the data transfer to the high-speed storage device 14 is completed, the host computer H is notified of the completion of the data transfer, and the connection with the host computer H is cut off by the SCSI controller 12 ((3)). Thereafter, data is transferred from the high-speed storage device 14 to the tape drive 5 via the buffer memory 4,
The data is recorded on the magnetic tape mounted thereon, and the backup operation is completed ((4)). If an unrecoverable failure occurs during the transfer of data from the RAID control unit 13 to the tape drive 5, a request is made to the host computer H to reconnect and retransmit the data in order to perform the backup operation again. Run.

【0022】また、この実施の形態のデータバックアッ
プ装置10におけるリストア作業を図3を用いて説明す
る。すなわち、先ず、ホストコンピュータHからテープ
ドライブ5に装着された磁気テープのデータの読出しコ
マンドが発生する。この場合、SCSIコントローラ1
2はただちにこれに対応できないので、一旦インターフ
ェースを切り離す。次いで、テープドライブ5が動作し
て磁気テープに記録されているデータが読み出され、バ
ッファメモリ4に書き込まれる((2))。このデータ
は、RAID制御部13のSCSIコントローラ15を
介して高速記憶装置14に一旦転送される((3))。
A restore operation in the data backup device 10 according to this embodiment will be described with reference to FIG. That is, first, a command to read data from the magnetic tape mounted on the tape drive 5 is generated from the host computer H. In this case, the SCSI controller 1
2 cannot respond to this immediately, so disconnect the interface once. Next, the tape drive 5 operates to read the data recorded on the magnetic tape and write it to the buffer memory 4 ((2)). This data is temporarily transferred to the high-speed storage device 14 via the SCSI controller 15 of the RAID control unit 13 ((3)).

【0023】次に、I/Oプロセッサ7は、SCSIコ
ンローラ12を介して、ホストコンピュータHにインタ
フェースの接続を要求するとともに、高速記憶装置14
からバッファメモリ4へのデータの転送が開始する
((4))。そして、バッファメモリ4の許容量を超え
ないように、つまりバッファメモリ4が満杯にならない
ように、SCSIコントロー12を介してバッファメモ
リ4からホストコンピュータHへデータを転送してリス
トア作業が完了する(第5ステップ(5))。
Next, the I / O processor 7 requests the host computer H to connect the interface via the SCSI controller 12 and the high-speed storage device 14.
, The transfer of data to the buffer memory 4 starts ((4)). Then, data is transferred from the buffer memory 4 to the host computer H via the SCSI controller 12 so that the buffer memory 4 does not become full, that is, the buffer memory 4 does not become full, and the restore operation is completed ( Fifth step (5)).

【0024】ここで、上記のバックアップおよびリスト
アの作業時において、RAID制御部13では、RAI
Dレベルに応じて高速記憶装置14へのデータの格納動
作が行われる。RAID制御部13は、ミラーリング方
式または分散パリティ方式のいずれにおいても、通常モ
ード、縮退モード、および修復モードの3つのモードで
の動作が可能である。
At the time of the above-mentioned backup and restoration work, the RAID control unit 13
An operation of storing data in the high-speed storage device 14 is performed according to the D level. The RAID control unit 13 can operate in three modes of the normal mode, the degenerate mode, and the recovery mode in either the mirroring scheme or the distributed parity scheme.

【0025】例えば、ミラーリング方式の場合、通常モ
ードでは、データディスク14aからデータを読み出
し、これを図4に示したように、データディスク14a
及びシャドーディスク14bに書き込む。縮退モードで
は、故障していないディスク14b(14a)からデー
タを読み込み、故障していないディスク14b(14
a)に書き込む。また、修復モードでは、故障していな
いディスク14bからデータを読み出し、故障したデー
タディスク14aまたはシャドーディスク14bに書き
込む。
For example, in the case of the mirroring system, in the normal mode, data is read from the data disk 14a and is read out from the data disk 14a as shown in FIG.
And write to the shadow disk 14b. In the degraded mode, data is read from the non-failed disk 14b (14a) and the data is read from the non-failed disk 14b (14a).
Write to a). In the recovery mode, data is read from the non-failed disk 14b and written to the failed data disk 14a or shadow disk 14b.

【0026】さらに、分散パリティ方式の場合、通常モ
ードでは、図5に示したように、1のユーザディスク1
4pからデータを読み出し、これを他のユーザディスク
14q及びパリティディスク14rに書き込む。また、
縮退モードでは、ユーザディスク(故障ディスクを除
く)14q及びパリティディスク14rからデータを読
み込み、ユーザディスク(故障ディスクを除く)14q
及びパリティディスク14rに書き込む。さらに、修復
モードでは、ユーザディスク14q(交換したディスク
を除く)及びパリティディスク14rからデータを読み
出し、ユーザーディスク14a(交換したディスクを含
む)及びパリティディスク14rに書き込む。このよう
に、3モードの動作によりディスク(高速記憶装置1
4)内のデータの信頼性が向上する。何れの方式によっ
ても、1のディスクが故障してもデータが失われずにデ
ータディスクの修復が可能となる。
Further, in the case of the distributed parity system, in the normal mode, as shown in FIG.
The data is read from 4p and written to another user disk 14q and parity disk 14r. Also,
In the degenerate mode, data is read from the user disk (excluding the failed disk) 14q and the parity disk 14r, and the user disk (excluding the failed disk) 14q is read.
And writes it to the parity disk 14r. Further, in the repair mode, data is read from the user disk 14q (excluding the replaced disk) and the parity disk 14r, and written to the user disk 14a (including the replaced disk) and the parity disk 14r. As described above, the disk (high-speed storage device 1)
The reliability of the data in 4) is improved. In either case, even if one disk fails, the data disk can be repaired without losing data.

【0027】つまり、SCSIコンローラ15によりミ
ラーリング方式によりRAID制御する場合には、高速
記憶装置14はハードディスクや半導体ディスクを例え
ば2台備え、一方をデータディスク14a、他方をシャ
ドーディスク14bとする。そして、シャドーディスク
14bにデータディスク14aのデータと同一のデータ
を格納する。
That is, when RAID control is performed by the SCSI controller 15 in a mirroring system, the high-speed storage device 14 includes, for example, two hard disks and semiconductor disks, one of which is a data disk 14a and the other is a shadow disk 14b. Then, the same data as that of the data disk 14a is stored in the shadow disk 14b.

【0028】また、分散パリティ方式によりRAID制
御する場合には、高速記憶装置14は例えば3台のハー
ドディスクや半導体ディスク備え、これらは、データデ
ィスク15p、15qおよびパリティディスク15rと
してそれぞれ構成され、また各ディスクの任意のセクタ
にはデータa、b、c、dおよびパリティa' 、b'、
c' 、d' が分散して格納される。ここで、パリティ
a' 、b' 、c' 、d'は、二つのデータの排他的論理
和をとって生成される。そして、2つのデータ及び1つ
のパリティの相互関係から各データを割り出し可能にな
る。
When RAID control is performed by the distributed parity system, the high-speed storage device 14 includes, for example, three hard disks and semiconductor disks, which are respectively configured as data disks 15p and 15q and a parity disk 15r. Data a, b, c, d and parity a ', b',
c ′ and d ′ are stored in a distributed manner. Here, the parities a ′, b ′, c ′, and d ′ are generated by taking the exclusive OR of two data. Then, each data can be determined from the mutual relationship between two data and one parity.

【0029】[0029]

【発明の効果】以上の説明から明らかなように、本発明
によれば、大容量のデータを高速でバックアップし、デ
ータ転送路でのデータエラーの検出や修復が可能であ
り、さらに電源の瞬断によるデータ消失を防止できるデ
ータバックアップ装置を提供することができる。
As is apparent from the above description, according to the present invention, large-capacity data can be backed up at high speed, and data errors can be detected and repaired on the data transfer path. A data backup device capable of preventing data loss due to interruption can be provided.

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

【図1】本発明の実施の形態のデータバックアップ装置
の説明図である。
FIG. 1 is an explanatory diagram of a data backup device according to an embodiment of the present invention.

【図2】図1のデータバックアップ装置におけるバック
アップ時のデータの流れを示す説明図である。
FIG. 2 is an explanatory diagram showing a flow of data at the time of backup in the data backup device of FIG. 1;

【図3】図1のデータバックアップ装置におけるリスト
ア時のデータの流れを示す説明図である。
FIG. 3 is an explanatory diagram showing a data flow at the time of restoration in the data backup device of FIG. 1;

【図4】RAID制御の一例を示す概略的説明図であ
る。
FIG. 4 is a schematic explanatory diagram showing an example of RAID control.

【図5】RAID制御の他の例を示す概略的説明図であ
る。
FIG. 5 is a schematic explanatory diagram showing another example of RAID control.

【図6】従来技術におけるデータバックアップ装置の説
明図である。
FIG. 6 is an explanatory diagram of a data backup device according to the related art.

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

5 テープドライブ 4 バッファメモリ 10 データバックアップ装置 11 SCSIバス 13 RAID制御部 14 高速記憶装置 15 SCSIコンローラ 16 無停電電源装置 Hホストコンピュータ Reference Signs List 5 tape drive 4 buffer memory 10 data backup device 11 SCSI bus 13 RAID controller 14 high-speed storage device 15 SCSI controller 16 uninterruptible power supply H host computer

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータからのデータを記憶
媒体に保存するとともに前記保存されたデータを前記ホ
ストコンピュータにリストアするための第1の記憶手段
と、 前記バッファ手段からのデータを一時保存し前記第1の
記憶手段よりもデータ転送速度が高速である第2の記憶
手段とを有し、 前記第1の記憶手段は、データバックアップの際に、前
記ホストコンピュータからのデータを一時保存し、前記
一時保存されたデータを前記一時保存されたデータを前
記第1の記憶手段に転送することを特徴とするデータバ
ックアップ装置。
A first storage unit for storing data from a host computer in a storage medium and restoring the stored data to the host computer; and temporarily storing data from the buffer unit. A second storage unit having a data transfer speed higher than that of the first storage unit, wherein the first storage unit temporarily stores data from the host computer during data backup, A data backup device for transferring stored data to the temporarily stored data to the first storage means.
【請求項2】 前記ホストコンピュータと前記第1の記
憶手段および第2の記憶手段との間で送受されるデータ
を一時蓄積するバッファ手段をさらに有することを特徴
とする請求項1記載のデータバックアップ装置。
2. The data backup according to claim 1, further comprising buffer means for temporarily storing data transmitted and received between the host computer and the first storage means and the second storage means. apparatus.
【請求項3】 前記第2の記憶手段が前記ホストコンピ
ュータからのデータを冗長度を持たせて保存することを
特徴とする請求項1または2記載のデータバックアップ
装置。
3. The data backup device according to claim 1, wherein said second storage means stores data from said host computer with redundancy.
【請求項4】 前記第2の記憶手段は、前記ホストコン
ピュータからのデータにおける伝送エラーを検出するこ
とを特徴とする請求項1、2または3記載のデータバッ
クアップ装置。
4. The data backup device according to claim 1, wherein said second storage means detects a transmission error in data from said host computer.
【請求項5】 前記ホストコンピュータから前記第2の
記憶手段へのデータ転送が完了した際に前記ホストコン
ピュータとのインターフェースが切断されることを特徴
とする請求項1から4項のいずれか1つに記載のデータ
バックアップ装置。
5. An interface according to claim 1, wherein an interface with the host computer is disconnected when data transfer from the host computer to the second storage means is completed. 2. A data backup device according to item 1.
【請求項6】 前記第1の記録手段が、磁気テープ装置
であることを特徴とする請求項1項から5項のいずれか
1つに記載のデータバックアップ装置。
6. The data backup device according to claim 1, wherein the first recording unit is a magnetic tape device.
【請求項7】 前記第2の記憶手段が、ハードディスク
または半導体ディスクであることを特徴とする請求項1
から6項のいずれか1つに記載のデータバックアップ装
置。
7. The apparatus according to claim 1, wherein said second storage means is a hard disk or a semiconductor disk.
Item 7. The data backup device according to any one of Items 6 to 6.
【請求項8】 前記第1および第2の記憶手段の電源バ
ックアップ手段をさらに有することを特徴とする請求項
1から7項のいずれか1つに記載のデータバックアップ
装置。
8. The data backup device according to claim 1, further comprising a power supply backup unit for said first and second storage units.
JP8156668A 1996-06-18 1996-06-18 Data backup device Pending JPH103361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8156668A JPH103361A (en) 1996-06-18 1996-06-18 Data backup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8156668A JPH103361A (en) 1996-06-18 1996-06-18 Data backup device

Publications (1)

Publication Number Publication Date
JPH103361A true JPH103361A (en) 1998-01-06

Family

ID=15632701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8156668A Pending JPH103361A (en) 1996-06-18 1996-06-18 Data backup device

Country Status (1)

Country Link
JP (1) JPH103361A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100380221B1 (en) * 1999-03-31 2003-04-16 인터내셔널 비지네스 머신즈 코포레이션 Method and system for providing an instant backup in a raid data storage system
JP2012064296A (en) * 2010-08-19 2012-03-29 Panasonic Corp Data structure creation method and backup device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100380221B1 (en) * 1999-03-31 2003-04-16 인터내셔널 비지네스 머신즈 코포레이션 Method and system for providing an instant backup in a raid data storage system
JP2012064296A (en) * 2010-08-19 2012-03-29 Panasonic Corp Data structure creation method and backup device

Similar Documents

Publication Publication Date Title
US6324655B1 (en) Input/output controller providing preventive maintenance information regarding a spare I/O unit
US5588012A (en) Apparatus and method for ensuring data in external storage system
US6199074B1 (en) Database backup system ensuring consistency between primary and mirrored backup database copies despite backup interruption
US6006308A (en) Removable library media system utilizing redundant data storage and error detection and correction
US5566316A (en) Method and apparatus for hierarchical management of data storage elements in an array storage device
JP3742494B2 (en) Mass storage device
US6397347B1 (en) Disk array apparatus capable of dealing with an abnormality occurring in one of disk units without delaying operation of the apparatus
US6886075B2 (en) Memory device system and method for copying data in memory device system
US9081697B2 (en) Storage control apparatus and storage control method
WO2002091111A2 (en) Parity mirroring between controllers in an active-active controller pair
JP2000200157A (en) Disk array device and data restoration method in disk array device
JPH1195933A (en) Disk array system
JP2913840B2 (en) Collective disk unit
JPH103361A (en) Data backup device
JPH08286844A (en) Parity generation control method and disk controller
JPH02291011A (en) Memory device
JP3009987B2 (en) Disk array device
JP3288071B2 (en) Information conversion processing device and information transfer control method
JP3518232B2 (en) Portable media library device
JP4218636B2 (en) Storage device for storing portable media
JPH0962461A (en) Automatic data restoring method for disk array device
JP4190756B2 (en) Magnetic tape array controller and write data recovery method using the same
JP2002123372A (en) Disk array device with cache memory, its error- controlling method and recording medium with its control program recorded thereon
JPH05127837A (en) Disk array device
JPH0588988A (en) Disk array device and method for restoring data