JPH0291717A - File backup system - Google Patents

File backup system

Info

Publication number
JPH0291717A
JPH0291717A JP63244838A JP24483888A JPH0291717A JP H0291717 A JPH0291717 A JP H0291717A JP 63244838 A JP63244838 A JP 63244838A JP 24483888 A JP24483888 A JP 24483888A JP H0291717 A JPH0291717 A JP H0291717A
Authority
JP
Japan
Prior art keywords
file
drive
interruption
backup
hard disk
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
JP63244838A
Other languages
Japanese (ja)
Inventor
Tsutomu Shimomura
勉 下村
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63244838A priority Critical patent/JPH0291717A/en
Publication of JPH0291717A publication Critical patent/JPH0291717A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To back up an important file without any sense by making plural drive selections effective only in backup mode, allowing and inhibiting an interruption from a drive accordingly, and recognizing the interruption. CONSTITUTION:This system is equipped with a connection cable 1 which is used for a daisy chain system, hard disk controllers(HDC) 2 and 4, hard disk drives(HDD) 3 and 5,and a host interface circuit 6. Then a backup mode is entered and both drives 3 and 5 are made ready; and one drive 3(5) is set in an interruption ready state and a write command is generated after data is loaded in a sector buffer, so that a file controller 2(4) operates to write the data on a file device. Those file controllers 2 and 4 operate asynchronously, so they know the end from the end of the interruption; and those are repeated alternately to know the end of backup operation. Consequently, the important file can be backed up without any sense.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明はファイルバックアップ方式に関する。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to a file backup method.

(従来の技術) 最近では、パーソナルコンビエータ(以下単にPCと称
する)、ワークステージ冒ン(以下単にWSと称する)
クラスのコンビ為−タテモ、ハードディスク装置を標準
で装備することは常識になりつつあす、シかもその記憶
容量は40MB(メガバイト)〜100MBと大きくな
り、近い将来に300MB程度になるといわれている。
(Prior art) Recently, personal combinators (hereinafter simply referred to as PCs) and work stage machines (hereinafter simply referred to as WS) have been developed.
It is becoming common knowledge for a class of combination vehicles to be equipped with a hard disk drive as standard, and the storage capacity of these devices has increased from 40MB (megabytes) to 100MB, and is said to reach around 300MB in the near future.

ここで問題とされるのは記憶内容の保護をどうするかと
いう点にある。これまでは、フロッピーディスクの容量
とハードディスクの容量とにそれ程の差がなかりたため
、バックアップファイルはフロッピーディスクに、多く
ても10枚位で収まっていた。しかし、ハードディスク
容量が40MBともなると、いくら大容量のフロッピー
ディスクといえども、20枚〜30枚と必要になってく
る。
The issue here is how to protect the memory contents. Up until now, there was not that much difference between the capacity of a floppy disk and the capacity of a hard disk, so backup files could fit on a floppy disk, at most 10 disks. However, when the hard disk capacity reaches 40 MB, 20 to 30 floppy disks are required, no matter how large the capacity.

且つファイルのセーブに要する時間、フロッピーディス
クの保管場所といったこれまで気にならなかりたことも
表面化してきた。
In addition, things that had not been a concern before, such as the time required to save a file and the storage location of a floppy disk, have come to the fore.

(発明が解決しようとする課題) 最近、上記問題の解決のために、大容量のストリーマテ
ープ装置が出現し、カセットチーブにバックアップファ
イルをとることが試行され始めた。しかし、ストリーマ
テーゾ装置にも以下に列挙する欠点がある。
(Problem to be Solved by the Invention) Recently, in order to solve the above-mentioned problem, a large-capacity streamer tape device has appeared, and attempts have been made to save backup files on a cassette chip. However, the Streamer Theso device also has drawbacks listed below.

(1)  シーケンシャルファイル故、セーブ/ロード
に時間がかかる。
(1) Since it is a sequential file, it takes time to save/load.

(2)  ファイルのフォーマットが未だ標準化されて
いないので、ファイルの互換性で将来問題が発生し得る
(2) Since the file format has not yet been standardized, problems may arise in the future regarding file compatibility.

本発明は上記欠点に鑑みてなされたものであり。The present invention has been made in view of the above drawbacks.

同じ形のハードディスク装置を更に一台用意し、バック
アップファイルを通常のファイル書き込みと並行してと
ってしまうファイルバックアップ方式を提供することを
目的とする。
The purpose of the present invention is to provide a file backup method in which another hard disk device of the same type is prepared and a backup file is created in parallel with normal file writing.

[発明の構成] (課題を解決するための手段) 本発明は、ドライブセレクト信号がある状態の時、その
他の信号が有効となるファイルコントローラを複数備え
たコンピュータシステムにおいて、ホストインタフェー
ス回路を、CPUにより制御され1通常の動作モードで
は一方のドライブセレクトを禁止し、バックアップモー
ドにおいてのみ複数のドライブセレクトを有効にする手
段と、これに従いドライブからの割込みを許可/禁止し
、この割込みを認識することによりバックアップの終了
を認識する手段で構成したものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a computer system that includes a plurality of file controllers in which when a drive select signal is in a state, other signals become valid. 1. Means for disabling one drive select in normal operating mode and enabling multiple drive selects only in backup mode, and accordingly enabling/disabling interrupts from drives and recognizing these interrupts. This system is configured with means for recognizing the end of backup.

(作用) 上記構成において、バックアップモードに設定して両ド
ライブをREADY状態とし、一方のドライブを割込み
許可状態に設定しておく。そしてセクタバッファにデー
タをロードした後書込みコマンドを発行するとファイル
コントローラが動作してそのデータをファイル装置に書
込む。各々のファイルコントローラは非同期に動作する
ためその終了は割込み終了により知る。これを交互に繰
返すことでバックアップの終了を知る。
(Operation) In the above configuration, the backup mode is set to put both drives in the READY state, and one drive is set in the interrupt enabled state. When a write command is issued after loading data into the sector buffer, the file controller operates and writes the data to the file device. Since each file controller operates asynchronously, its termination is known by the termination of an interrupt. By repeating this alternately, you will know when the backup is complete.

このことにより、重要ファイルのバックアップが意識せ
ずに実現できる。
This allows you to back up important files without being aware of it.

(実施例) 以下、本発明実施例について詳細に説明する。(Example) Examples of the present invention will be described in detail below.

第1図は、本発明において使用されるハードディスク装
置の接続系統を示す図である。図において。
FIG. 1 is a diagram showing a connection system of a hard disk device used in the present invention. In fig.

1はデージチェーン方式で用いられる接続ケーブルであ
り、ドライブセレクト信号以外はすべてワイヤドOR接
続となっている。2はハードディスクコントローラ(I
DC÷1)で、ハードディスクドライブ(HDDφ1)
3を制御する。2と3のベアがソフトウェアから通常に
アクセスできるハードディスク装置である。4もハード
ディスクコントローラ(IDC≠2)で、ハードディス
クドライブ(HDD+2 ) 5を制御する。4と5の
ベアが本発明のポイントとなるファイルバックアップの
ためのハードディスク装置である。6はホストインタフ
ェース回路であり、第2図にその詳細が示されている。
Reference numeral 1 denotes a connection cable used in a daisy chain system, and all signals except the drive select signal are connected by wired OR. 2 is the hard disk controller (I
DC÷1), hard disk drive (HDDφ1)
Control 3. Bares 2 and 3 are hard disk drives that can be normally accessed by software. 4 is also a hard disk controller (IDC≠2), which controls the hard disk drive (HDD+2) 5. Bearings 4 and 5 are hard disk drives for file backup, which is the key point of the present invention. 6 is a host interface circuit, the details of which are shown in FIG.

第2図は、PC又はWSのプロセッサによりアクセスさ
れるホストインタフェース回路のうち。
FIG. 2 shows a host interface circuit accessed by a PC or WS processor.

本発明を実現するための付加回路を示す。図において、
61はプロセッサ(以下CPU )のOUT命令でセッ
ト/リセットされるフリップフロップ(以下F/F )
である。F7F61のQ出力はアンドダート(A)63
に入力され、ドライブセレクト≠2(ライン13)を制
御する。62はCPUのOUT命令でセット/リセット
されるF/Fで、そのQ出力(ライン12)はドライブ
セレクト+1を制御すると共にアンドデートロ3を通し
てドライブセレクト+2を制御する。アンドデート63
はF/F61の出力(ライン14)が@1#OときF/
F6Zの出力(ライン12)をドライブセレクト+2(
ライン13)に出力し、′O”のときはライン13をイ
ンアクティブのitにする。
3 shows additional circuitry for implementing the invention. In the figure,
61 is a flip-flop (hereinafter referred to as F/F) that is set/reset by the OUT instruction of the processor (hereinafter referred to as CPU)
It is. The Q output of F7F61 is and dart (A) 63
is input to control drive select≠2 (line 13). 62 is an F/F that is set/reset by the CPU's OUT command, and its Q output (line 12) controls drive select +1 and also controls drive select +2 through AND/DATERO 3. and date 63
When the output of F/F61 (line 14) is @1#O, F/
Drive select +2 (line 12) of F6Z output (line 12)
It is output to line 13), and when it is 'O', line 13 is made inactive.

F / F 64はIDC+ 1(、’)内KF/F6
5はI(DC+2(4)内に存在して、いずれもCPU
のOUT命令でセット/リセットされるF/Fである。
F/F 64 is IDC+1 (,') KF/F6
5 exists in I(DC+2(4)), and both CPU
This is an F/F that is set/reset by the OUT command.

F/F64のQ出力はアンドr−トロ 6に入力され、
)(DD÷1(3)からの割込み信号(IREQ÷1)
を許可/禁止する。同様にF/F65のQ出力はアンド
ダート6t7に入力され、HDD÷2(5)からの割込
み信号(IRE(1,?)を許可/禁止する。
The Q output of F/F64 is input to Andr-Toro 6,
) (Interrupt signal from DD÷1 (3) (IREQ÷1)
Allow/prohibit. Similarly, the Q output of the F/F 65 is input to the AND/DART 6t7, which enables/disables the interrupt signal (IRE(1,?) from the HDD/2(5)).

アンドr−トロ 6と67はホストインタフェース上で
ワイプドORされている。ラインXOを流れるBUSY
 (ビジー)信号は、ノ・−ドディスクドライブが動作
中であることを示し、ワイヤドORされているので、H
DDす1/皿D÷2ともにREADY (レディ)状態
にある時がREADYとしてCPUが認識し、データ・
コマンド等情報を転送できる。
Andr-Toro 6 and 67 are wiped-ORed on the host interface. BUSY flowing through line XO
The (busy) signal indicates that the node disk drive is in operation and is wired ORed so
When both DD S1/Dish D÷2 are in the READY state, the CPU recognizes it as READY, and the data
Commands and other information can be transferred.

以下、本発明実施例の動作について詳細に説明する。H
DC/)IDDへの書き込み動作は、BUSY信号がイ
ンアクティブのときに内蔵のセクタバッファに1セクタ
分のデータをロードしてから書き込みコマンドを発行す
ると、IDC+1(2)が1(DDす1(3)にそのデ
ータの書き込みを行い、完了したら割込み信号を発行し
てCPUに終了を知らせる。データ、・コマンド9及び
その他の情報はドライノセレクト信号がアクティブのと
きにのみ、IDC+1(2)が自分に与えられた情報と
し受信して、所定の動作を開始する。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. H
To write to DC/) IDD, when the BUSY signal is inactive, load one sector worth of data into the built-in sector buffer and then issue a write command, IDC+1(2) becomes 1 (DD+1( 3), and when completed, issues an interrupt signal to notify the CPU of the completion.Data, command 9, and other information are written to IDC+1 (2) only when the Drino Select signal is active. It receives the information given to it and starts a predetermined action.

書込み以外のコマンドについては本発明とは直接関係し
ないので省略する。
Commands other than writing are not directly related to the present invention and will therefore be omitted.

ここで第2図によυ本発明のバックアップ動作を説明す
る。F/F61がリセット状態のとき(Q=”O″)は
アンドダート63が禁止状態にあるので、ドライブセレ
クト+2(ライン13)はインアクティブである。この
場合、 IDC+2(4)はホストインタフェース信号
のいずれにも反応しな四t、7tがって、ハードディス
ク装置としてはHDC+1/ I(DDす1 (2/3
 )だけが装備されたのと同じである。これが通常モー
ドの動作である。
Here, the backup operation of the present invention will be explained with reference to FIG. When the F/F 61 is in the reset state (Q="O"), the AND/DART 63 is prohibited, so the drive select +2 (line 13) is inactive. In this case, IDC+2 (4) does not respond to any of the host interface signals; therefore, as a hard disk device, HDC+1/I (DDS1 (2/3)
) is the same as if only one was equipped. This is normal mode operation.

次ニバックアップモードについて説明する。Next, the backup mode will be explained.

F/F61をセットする。これがバックアップモードを
示す。このときF/F 62をセットするとアンドゲー
ト63が許可となっているので、ドライブセレクトナ1
、ドライブセレクト≠2ともにアクティブとなり、夫々
のIDC+1 (、?) 、+2(4)に同じデータ、
コマンド及びその他の情報が転送できる。
Set F/F61. This indicates backup mode. At this time, when F/F 62 is set, AND gate 63 is enabled, so drive selector 1
, drive select≠2 becomes active, and the same data is placed in each IDC +1 (,?), +2 (4),
Commands and other information can be transferred.

但しこのとき割込み許可/禁止を制御するF / F6
4および65は、F/F64がセット(工部Q+1を許
可)、F/F65はリセット(IREQ+2は禁止)と
しておく。セクタバッファ(図示せず)にデータをロー
ドしたのち、書込みコマンドを発行すると、)IDCす
1 (2) 、す2(4)が動作を開始してセクタバッ
ファのデータをHDD+ 1 (J)、+2(5)に書
込む。夫夫の)[DCす1(3)、+2(,5)は互い
に非同期で動作するので、その終了は割込み信号I R
EQで知ることになる。
However, at this time, F/F6 controls interrupt enable/disable.
4 and 65 are set in the F/F 64 (enabling engineering part Q+1) and reset in the F/F 65 (prohibiting IREQ+2). When a write command is issued after loading data into a sector buffer (not shown), IDCs (2) and (4) start operating and transfer the data in the sector buffer to HDD+1 (J), Write to +2 (5). Since DCs 1 (3) and +2 (, 5) of my husband operate asynchronously with each other, their termination is triggered by an interrupt signal I R
You will find out through EQ.

CPUは最初のI REQでI REQすlを検出する
。次に割込み許可/禁止を制御するF/F 64と65
の状態をF/F64をリセット(IREQ+1を禁止)
、F/F 65をセット(IREQφ2を許可)に設定
しなおす。CPUは次のI REQでI REQφ2を
検出する。
The CPU detects I_REQsu1 at the first I_REQ. Next, F/Fs 64 and 65 control interrupt enable/disable.
Reset the state of F/F64 (disable IREQ+1)
, reset F/F 65 to set (IREQφ2 is enabled). The CPU detects I REQφ2 at the next I REQ.

即ち、 CPUは2度のI REQの検出でHDC/ 
)IDDφ1及びHDC/ HDDΦ2の動作が両者と
も完了したことを認識できる。
In other words, the CPU detects IREQ twice and
) It can be recognized that the operations of both IDDφ1 and HDC/HDDφ2 have been completed.

以上の操作で各)[)Dには同じデータが同じセクタに
書き込まれたことになる。この操作を繰返せば、所定の
ファイルはHDDす2にHDDφ1と同じ内容で書き込
める。バックアップの不要々ファイルの書込みであれば
F/F61をセットしなければ時間的にロスは発生しな
い。
With the above operations, the same data is written to the same sector in each )[)D. By repeating this operation, a predetermined file can be written to HDD S2 with the same contents as HDD φ1. If you are writing a file that does not require backup, no time loss will occur unless you set the F/F 61.

[発明の効果] 以上説明のように本発明に従えば1重要ファイルのバッ
クアップが意識せずに可能となる。
[Effects of the Invention] As explained above, according to the present invention, it becomes possible to back up one important file without being aware of it.

尚、本発明はバッファメモリを持−つバー−ディスクコ
ントロール方式をとるハードディスク装置であれば付加
回路も少なくて済み、経済的である。
The present invention is economical because it requires less additional circuitry if it is a hard disk drive that has a buffer memory and uses a bar-disk control system.

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

第1図は本発明が実現されるノ・−ドディスク装置の接
続系統を示す図、第2図は本発明を実現するための付加
回路を示す図である。 6・・・ホストインタフェース回路、61 、62 。
FIG. 1 is a diagram showing a connection system of a node disk device in which the present invention is realized, and FIG. 2 is a diagram showing an additional circuit for realizing the present invention. 6...Host interface circuit, 61, 62.

Claims (1)

【特許請求の範囲】[Claims] ドライブセレクト信号がある状態の時、その他の信号が
有効となるファイルコントローラを複数備えたコンピュ
ータシステムにおいて、CPUにより制御され、通常の
動作モードでは一方のドライブセレクトを禁止し、バッ
クアップモードにおいてのみ複数のドライブセレクトを
有効にする手段と、これに従いドライブからの割込みを
許可/禁止し、この割込みを認識することによりバック
アップの終了を認識する手段とを具備することを特徴と
するファイルバックアップ方式。
When one drive select signal is in the state, other signals are valid.In a computer system equipped with multiple file controllers, the CPU controls one drive select, and in normal operation mode, one drive select is prohibited, and only in backup mode, multiple file controllers are enabled. A file backup method characterized by comprising means for enabling drive selection, means for permitting/disabling interrupts from the drive in accordance with this, and means for recognizing the end of backup by recognizing this interrupt.
JP63244838A 1988-09-29 1988-09-29 File backup system Pending JPH0291717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63244838A JPH0291717A (en) 1988-09-29 1988-09-29 File backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63244838A JPH0291717A (en) 1988-09-29 1988-09-29 File backup system

Publications (1)

Publication Number Publication Date
JPH0291717A true JPH0291717A (en) 1990-03-30

Family

ID=17124719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63244838A Pending JPH0291717A (en) 1988-09-29 1988-09-29 File backup system

Country Status (1)

Country Link
JP (1) JPH0291717A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5459857A (en) * 1992-05-15 1995-10-17 Storage Technology Corporation Fault tolerant disk array data storage subsystem
US5544347A (en) * 1990-09-24 1996-08-06 Emc Corporation Data storage system controlled remote data mirroring with respectively maintained data indices
US6289398B1 (en) 1993-03-11 2001-09-11 Emc Corporation Distributed storage array system having plurality of storage devices which each of devices including a modular control unit for exchanging configuration information over a communication link

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544347A (en) * 1990-09-24 1996-08-06 Emc Corporation Data storage system controlled remote data mirroring with respectively maintained data indices
US5459857A (en) * 1992-05-15 1995-10-17 Storage Technology Corporation Fault tolerant disk array data storage subsystem
US6289398B1 (en) 1993-03-11 2001-09-11 Emc Corporation Distributed storage array system having plurality of storage devices which each of devices including a modular control unit for exchanging configuration information over a communication link
US5742792A (en) * 1993-04-23 1998-04-21 Emc Corporation Remote data mirroring
US6625705B2 (en) * 1993-04-23 2003-09-23 Emc Corporation Remote data mirroring system having a service processor

Similar Documents

Publication Publication Date Title
US5920893A (en) Storage control and computer system using the same
JP3078856B2 (en) Large capacity magnetic disk drive
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
US6507881B1 (en) Method and system for programming a peripheral flash memory via an IDE bus
JPH05289854A (en) Access device for external storage device
JPH1063442A (en) Semiconductor disk device
JPH0291717A (en) File backup system
KR100445182B1 (en) Data Copy Device
JP3733737B2 (en) Programmable controller and recording medium
JP2000148404A (en) Computer system
KR20110116404A (en) Hybrid hard disk drive apparatus and read/write control method thereof
JPS6331806B2 (en)
JPH0793101A (en) Data backup device
KR200229996Y1 (en) An external storage device being applicable to plural interfaces
JP3555871B2 (en) Disk array device
JPH01501661A (en) Improved high-speed tag transfer
JP2023032334A (en) Information processing apparatus, information processing method and information processing program
JPH10293656A (en) Disk storage system and duplexing method applied to the storage system
JP2024059375A (en) Information processing device, information processing method, and program
JPH03110620A (en) Write controller for hard disk device
JPS63193252A (en) Macrocommand processor
JPH10333958A (en) Data backup method
JP2000330728A (en) Disk array device, high speed communicating method used for the device and recording medium recording its control program
JPS6070549A (en) Control device of floppy disc
JPH09114674A (en) Hard disk device