JPH0448320A - Disk device - Google Patents

Disk device

Info

Publication number
JPH0448320A
JPH0448320A JP2159271A JP15927190A JPH0448320A JP H0448320 A JPH0448320 A JP H0448320A JP 2159271 A JP2159271 A JP 2159271A JP 15927190 A JP15927190 A JP 15927190A JP H0448320 A JPH0448320 A JP H0448320A
Authority
JP
Japan
Prior art keywords
disk
floppy disk
data processing
data
processing device
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
JP2159271A
Other languages
Japanese (ja)
Inventor
Tsuneo Kato
加藤 常雄
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 JP2159271A priority Critical patent/JPH0448320A/en
Publication of JPH0448320A publication Critical patent/JPH0448320A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To copy a disk at a high speed by providing a means to copy the contents of a 1st disk to a 2nd disk through a data processor in an off-line state and carrying out a disk copying operation with no intervention of the data processor. CONSTITUTION:A floppy disk device 4 usually performs the data reading/writing operations to a floppy disk based on the instructions of a data processor 2 and can also copies a disk in a state where the device 4 is independent of the processor 2. That is, a means is provided to copy the contents of a 1st disk to a 2nd disk through the processor 2 in an off-line state. Thus, a disk copying operation is carried out at a high speed with no intervention of the processor 2.

Description

【発明の詳細な説明】 [発明の目的〕 (産業上の利用分野) 本発明は、コンピュータシステムの外部記憶装置などと
してマルチドロップ接続で用いられる、いわゆるディス
ク装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a so-called disk device used in a multi-drop connection as an external storage device of a computer system.

(従来の技術) いわゆる分散処理システムでは、データの処理を行うデ
ータ処理装置を1次局として、1次局で処理されるデー
タか記憶されるフロ・lビイディスク装置などの2次局
がトランクにマルチドロップ接続されている。
(Prior Art) In a so-called distributed processing system, a data processing device that processes data is the primary station, and a secondary station such as a floppy disk device that stores data processed by the primary station is a trunk. Multi-drop connected to.

トランクに2次局がマルチドロップ接続された分散処理
システムの構成の一例を第4図に示す。
FIG. 4 shows an example of the configuration of a distributed processing system in which secondary stations are multi-drop connected to trunks.

同図において、2は種々のデータ処理を行うデータ処理
装置である。
In the figure, 2 is a data processing device that performs various data processing.

また、3は分散処理システム1のマスタと【7て用いら
れるワークステーション、4はフロッピィディスクにデ
ータの読み書きを行うフロッピィディスク装置、5はデ
ータ処理装置2とワークステーション3、フロッピィデ
ィスク装置4とのデータの転送を行うHトランク、6は
Hトランクから分岐してワークステーション3、フロッ
ピィディスク装置4を接続するためのHTCである。
In addition, 3 is a workstation used as the master of the distributed processing system 1 and [7], 4 is a floppy disk device that reads and writes data to the floppy disk, and 5 is a workstation used for the data processing device 2, the workstation 3, and the floppy disk device 4. The H trunk 6 transfers data, and 6 is an HTC branching off from the H trunk to connect the workstation 3 and floppy disk device 4.

ところで、このように構成された分散処理システム]に
おいて、フロッピィディスクの内容のコビーは次のよう
にして行われる。
By the way, in the distributed processing system configured as described above, the contents of the floppy disk are copied as follows.

即ち、データ処理装置2によって、フロッピィディスク
装置4から原本となるフロッピィディスク(図示時。)
のデータがデータ処理装置2に読み出される。次いで、
読み出されたデータを再びフロッピィディスク装置4に
送出し、コピー先のフロッピィディスクに書込む。この
動作を、例えばセクタ単位で全セクタに対し行うことで
、原本に記録されていたデータを、全てコピー先のフロ
ッピィディスクに書込む。
That is, the data processing device 2 transfers the original floppy disk from the floppy disk device 4 (as shown).
data is read out to the data processing device 2. Then,
The read data is again sent to the floppy disk device 4 and written to the copy destination floppy disk. By performing this operation on all sectors, for example, sector by sector, all data recorded in the original is written to the copy destination floppy disk.

しかしながら、Hトランクのデータ転送速度、データ処
理装置2のソフトウェア処理によるオーバヘッド、デー
タ転送時のデータ長の制限などにより処理に時間を要し
ていた。
However, the processing takes time due to the data transfer speed of the H trunk, overhead due to software processing of the data processing device 2, and limitations on data length during data transfer.

また、処理することのできるフォーマットが限定されて
いた。
Furthermore, the formats that can be processed are limited.

(発明が解決しようとする課題) 上述したように、従来のディスク装置は、オンラインで
の使用のみを前提としており、ディスクの内容をコピー
する場合は、データ処理装置2のようなホストを介し、
ホストでのソ゛クト処理によって行わなければならず、
処理に時間がかかるという問題があった。
(Problems to be Solved by the Invention) As mentioned above, conventional disk devices are intended only for online use, and when copying the contents of a disk, it is necessary to copy the contents of the disk through a host such as the data processing device 2.
It must be done by software processing on the host,
There was a problem that processing took a long time.

また、コピーが可能なフォーマットが、ホストで使用さ
れるソフトによって制限されることが多く、不便である
という問題もあった。
Additionally, the formats that can be copied are often limited by the software used on the host, which is inconvenient.

そこで、本発明はこのような点に対処すべくなされたも
ので、コピー処理をオフラインでも行うことのできるデ
ィスク装置を提供するものである。
Therefore, the present invention has been made to address this problem, and provides a disk device that can perform copy processing even offline.

[発明の構成] (課題を解決するための手段) 本発明は、少なくとも2つのディスクドライブを備え、
所定の外部装置とオンラインでデータ転送を行うディス
ク装置において、所定の入力を行う入力手段と、この入
力手段により所定の入力がおこなわれた場合、前記外部
装置とのオンライン処理を休止とした後、前記ディスク
ドライブの1つに装着されたディスクから他へ、ディス
クの内容のコピーを行うコピー手段とを備えるものであ
る。
[Configuration of the Invention] (Means for Solving the Problems) The present invention comprises at least two disk drives,
In a disk device that performs online data transfer with a predetermined external device, there is an input means for performing a predetermined input, and when a predetermined input is made by the input means, after suspending online processing with the external device, and copying means for copying the contents of the disk from one of the disks loaded in one of the disk drives to another.

(作 用) 本発明では、データ処理装置からオフライン状態で、第
1のディスクの内容を第2のディスクにコピーする手段
を有し、データ処理装置を介さずにディスクのコピーが
行えるので、ディスクのコピーを高速で行うことができ
る。
(Function) The present invention has means for copying the contents of the first disk to the second disk in an offline state from the data processing device, and the disk can be copied without going through the data processing device. can be copied at high speed.

(実施例) 以下、本発明の実施例を図面を用いて説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第4図は本発明の一実施例に係わる分散処理システムの
構成を示す図である。
FIG. 4 is a diagram showing the configuration of a distributed processing system according to an embodiment of the present invention.

同図において、2は種々のデータ処理を行うデータ処理
装置である。
In the figure, 2 is a data processing device that performs various data processing.

また、3は分散処理システム1のマスクとして用いられ
るワークステーション、4はフロッピィディスクにデー
タの読み書きを行うフロッピィディスク装置、5はデー
タ処理装置2とワークステーション3、フロッピィディ
スク装置4とのデータの転送を行うHトランク、6はH
トランクから分岐してワークステーション3、フロッピ
ィディスク装置4を接続するためのHTCと称する分岐
装置である。
Further, 3 is a workstation used as a mask for the distributed processing system 1, 4 is a floppy disk device for reading and writing data on a floppy disk, and 5 is a data transfer unit between the data processing device 2, workstation 3, and floppy disk device 4. H trunk, 6 is H
This is a branching device called HTC that branches off from the trunk and connects the workstation 3 and floppy disk device 4.

このフロッピィディスク装置4の構成を第1図に、外観
を第2図に示す。
The configuration of this floppy disk device 4 is shown in FIG. 1, and the external appearance is shown in FIG.

同図において、lla、llbはフロッピィディスク装
置4に装着されたフロッピィディスク(図示時。)から
データを読み出したり書き込んだりするディスクドライ
ブ、12はディスクドライブlla、llbの制御を行
う制御部、13はディスクドライブlla、llb及び
制御部12へ所定の電圧を供給する電源部である。
In the figure, lla and llb are disk drives that read and write data from a floppy disk (at the time of illustration) installed in a floppy disk device 4, 12 is a control unit that controls the disk drives lla and llb, and 13 is a control unit that controls the disk drives lla and llb. This is a power supply section that supplies a predetermined voltage to the disk drives lla, llb and the control section 12.

さらに、14はフロッピィディスク装置内の放熱を促す
ファン、15はHTCに接続されるインタフェースケー
ブル、16は電源に接続される電源ケーブル、17は電
源の大切の操作を行う電源スィッチ、18はディスクコ
ピーの操作を行う内照式の操作スイッチ、19は異常時
に対処するヒユーズである。なお、ディスクドライブ1
1a。
Furthermore, 14 is a fan that promotes heat dissipation inside the floppy disk device, 15 is an interface cable connected to the HTC, 16 is a power cable connected to the power supply, 17 is a power switch for performing important operations on the power supply, and 18 is a disk copy An internally illuminated operation switch 19 is a fuse for handling abnormalities. In addition, disk drive 1
1a.

11bはそれぞれ論理上、ドライブ#0、ドライブ#1
に怠別されている。
11b are logically drive #0 and drive #1, respectively.
is being neglected.

上述の分散処理システムにマルチドロップ接続されたフ
ロッピィディスク装置4は、通常、データ処理装置2か
らの指示に基づき、フロッピィディスクに記憶されたデ
ータをフロッピィディスクから読み出し、データ処理装
置2に送出する。また、データ処理装置2から送出され
たデータを、データ処理装置2からの指示に基づき、フ
ロッピィディスクに記憶させる。
The floppy disk device 4 connected to the above-described distributed processing system in a multi-drop manner usually reads data stored on the floppy disk from the floppy disk and sends it to the data processing device 2 based on instructions from the data processing device 2. Further, data sent from the data processing device 2 is stored in a floppy disk based on instructions from the data processing device 2.

このように、フロッピィディスク装置4は、通常、デー
タ処理装置2からの指示に基づき、フロッピィディスク
へのデータの読み書きを行うが、フロッピィディスク装
置4をデータ処理装置2から独立させた状態でディスク
のコピーを行うことも可能である。
In this way, the floppy disk device 4 normally reads and writes data to and from the floppy disk based on instructions from the data processing device 2. Copying is also possible.

次に、フロッピィディスク装置4をデータ処理装置2か
ら独立させてディスクのコピーを行う場合の動作を第3
図に示すフローチャートを参照しつつ説明する。
Next, the operation when copying a disk by making the floppy disk device 4 independent from the data processing device 2 will be explained in the third section.
This will be explained with reference to the flowchart shown in the figure.

このフロッピィディスク装置4では、操作スイッチ18
aかオフであるとき、データ処理装ft2のオンライン
処理が行われる。
In this floppy disk device 4, the operation switch 18
When a is off, online processing of the data processing device ft2 is performed.

このとき、制御部12は、操作スイッチ18mの状態を
調べ(ステップ301) 、操作スイッチ18aがオフ
である場合、オンライン処理を行う(ステップ3o2)
At this time, the control unit 12 checks the state of the operation switch 18m (step 301), and if the operation switch 18a is off, performs online processing (step 3o2).
.

次いで、オペレータにより操作スイッチ18aが押下さ
れると、上述のステップ801において、操作スイッチ
18gのオン状態を検出し、図示を省略したステータス
レジスタにオフライン要求フラグをセットし、データ処
理装置2に対しステータスリードコマンドの送出を要求
する(ステップ303)。この要求に対し、データ処理
装置2はステータスリードコマンドを送出し、読み出し
たステータスレジスタのオフライン要求フラグをチエツ
クして、オフラインとなることを許可するデイファイン
コマンドを発行する。このデイファインコマンドを受信
することで、以降フロッピィディスク装置4はデータ処
理装置2がらオフライン状態となる(ステップ3o4)
Next, when the operator presses the operation switch 18a, in step 801 described above, the ON state of the operation switch 18g is detected, an offline request flag is set in the status register (not shown), and the status is sent to the data processing device 2. A request is made to send a read command (step 303). In response to this request, the data processing device 2 sends a status read command, checks the offline request flag of the read status register, and issues a define command to permit going offline. By receiving this day fine command, the floppy disk device 4 becomes offline from the data processing device 2 (step 3o4).
.

この後、操作スイッチ18bの内照を点滅させて、オペ
レータにマスクとなるフロッピィディスクをドライブ#
0に装着するよう促す(ステップ305)。
After this, the internal illumination of the operation switch 18b is blinked, and the operator is instructed to insert the floppy disk that will serve as a mask into the drive #.
0 to put it on (step 305).

オペレータは、マスクとなるフロッピィディスクディス
クをドライブ#0に装着した後、操作スイッチ18bを
押下する。
The operator presses the operation switch 18b after loading a floppy disk serving as a mask into drive #0.

操作スイッチ18bが押下されたことが検出されたなら
ば(ステップ306) 、操作スイッチ18Cの内照を
点滅させて、オペレータにスレーブ用のフロッピィディ
スクをドライブ#1に装着するよう促す(ステップ3o
7)。
If it is detected that the operation switch 18b has been pressed (step 306), the internal light of the operation switch 18C is blinked to prompt the operator to insert the slave floppy disk into drive #1 (step 3o).
7).

オペレータは、スレーブ用のフロッピィディスクディス
クをドライブ#1に装着した後、操作スイッチ18cを
押下する。
After loading the slave floppy disk into drive #1, the operator presses the operation switch 18c.

操作スイッチ18cが押下されたことが検出されたなら
ば(ステップ30g) 、各ドライブに装着されたフロ
ッピィディスクのフォーマットの種類を調べる(ステッ
プ309)。
If it is detected that the operation switch 18c has been pressed (step 30g), the format type of the floppy disk installed in each drive is checked (step 309).

そして、マスクとスレーブのフォーマットが一致してい
ない場合、マスクのフォーマットに従ってスレーブ用の
ディスクの初期化を行う(ステップ310)。
If the mask and slave formats do not match, the slave disk is initialized according to the mask format (step 310).

両者のフォーマットが一致していた場合には、マスクの
フロッピィディスクから読出したl トラック分のデー
タを(ステップ311) 、スレーブのフロッピィディ
スクに書込む(ステップ312)ことによりl トラッ
ク分のコピーを行う。
If the formats of both match, the data for l tracks read from the mask floppy disk (step 311) is written to the slave floppy disk (step 312), thereby copying l tracks. .

この後、全トラックに対してコピーを行ったが否かか調
べられ(ステップ313) 、全トラック終了するまで
、コピー処理(ステップ311、ステップ312)か繰
返し実行する。例えば、3.5インチの両面ディスクで
あれば上述のコピー処理を160回繰返すことになる。
Thereafter, it is checked whether or not all tracks have been copied (step 313), and the copy process (steps 311 and 312) is repeatedly executed until all tracks are completed. For example, in the case of a 3.5-inch double-sided disc, the above-described copying process will be repeated 160 times.

一方、全トラック終了したならば、操作スイッチ18b
及び18eの内照を点滅させて、オペレータにコピーが
終了したことを知らせ(ステップ314)た後、操作ス
イッチ18aの内照を点滅させる(ステップ315)。
On the other hand, when all tracks are completed, the operation switch 18b
Then, the internal illumination of the operation switch 18a is blinked to inform the operator that the copying has been completed (step 314), and then the internal illumination of the operation switch 18a is blinked (step 315).

オペレータはコピーが終了したことを確認し、操作スイ
ッチ18aを押下する。
The operator confirms that the copying is completed and presses the operation switch 18a.

制御部12は、操作スイッチ18aの状態を調べ(ステ
ップ31B) 、操作スイッチ18aがオフとなった場
合、オフライン要求フラグをリセットし、データ処理装
置2に対しステータスリードコマンドの送出を要求する
(ステップ317)。この要求に対し、データ処理装置
2はステータスリードコマンドを送出し、読み出したス
テータスレジスタのオフライン要求フラグがリセットさ
れていることをチエツクして、オンラインとなることを
許可するデイファインコマンドを発行する。このデイフ
ァインコマンドを受信すること(ステップ318)で、
以降フロッピィディスク装置4はデータ処理装置2とオ
ンライン状態となる(ステップ301、ステップ302
)。
The control unit 12 checks the state of the operation switch 18a (step 31B), and if the operation switch 18a is turned off, resets the offline request flag and requests the data processing device 2 to send a status read command (step 31B). 317). In response to this request, the data processing device 2 sends a status read command, checks that the offline request flag of the read status register has been reset, and issues a define command to permit going online. By receiving this day fine command (step 318),
Thereafter, the floppy disk device 4 will be in an online state with the data processing device 2 (steps 301 and 302).
).

このようにして、データ処理装置2からオフライン状態
でフロッピィディスクの内容のコピーを行うことができ
、データ処理装置2やHトランク6を介さないため高速
なコピー処理を行うことができる。
In this way, the contents of the floppy disk can be copied from the data processing device 2 in an offline state, and since the data processing device 2 and the H trunk 6 are not used, high-speed copy processing can be performed.

なお、オフライン状態でデータ処理装置2からフロッピ
ィディスク装置4に送出されるコマンドは、無効として
実行されないものとするか、所定のバッファに格納され
てコピー終了後に再びオンライン状態となったとき実行
されるようにする。
Note that commands sent from the data processing device 2 to the floppy disk device 4 in an offline state are either invalid and not executed, or are stored in a predetermined buffer and executed when the floppy disk device 4 returns to the online state after copying is completed. Do it like this.

また、マスクとなるフロッピィディスクにフォーマット
済みのフロッピィディスクを用いた場合には、スレーブ
用のフロッピィディスクの初期化を行うことが可能であ
る。
Further, when a formatted floppy disk is used as the floppy disk serving as a mask, it is possible to initialize the floppy disk for the slave.

さらに、フロッピィディスク装置4に設けた操作スイッ
チ18の操作によりコピーが行われるようにしたが、デ
ータ処理装置2がら所定のコマンドをフロッピィディス
ク装置4に送出することで、以降オフラインによるコピ
ーが行われるようにしてもよい。
Furthermore, although copying is performed by operating the operation switch 18 provided on the floppy disk device 4, offline copying can be performed from now on by sending a predetermined command from the data processing device 2 to the floppy disk device 4. You can do it like this.

[発明の効果〕 本発明では、データ処理装置からオフライン状態で、第
1のディスクの内容を第2のディスクにコピーする手段
を有する。
[Effects of the Invention] The present invention includes means for copying the contents of a first disk to a second disk in an offline state from a data processing device.

従って、データ処理装置を介さずにディスクのコピーが
行えるので、ディスクのコピーを高速で行うことができ
、種々のフォーマットに対しても容易に対応することが
できる。
Therefore, since the disc can be copied without going through a data processing device, the disc can be copied at high speed and can be easily adapted to various formats.

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

第1図は本発明の実施例のフロッピィディスク装置の構
成を示すブロック図、第2図はこのフロッピィディスク
装置の外観を示す斜視図、第3図はフロッピィディスク
のコピーを行うときの動作を示すフローチャート、第4
図はフロッピィディスク装置の接続される分散処理シス
テムの構成を示すブロック図である。 2・・・データ処理装置、4・・・フロッピィディスク
装置、5・・・Hトランク、lla、llb・・・ディ
スクドライブ、12・・・制御部、18・・・操作スイ
ッチ。 出願人      株式会社 東芝
Fig. 1 is a block diagram showing the configuration of a floppy disk device according to an embodiment of the present invention, Fig. 2 is a perspective view showing the external appearance of this floppy disk device, and Fig. 3 shows the operation when copying a floppy disk. Flowchart, 4th
The figure is a block diagram showing the configuration of a distributed processing system to which floppy disk devices are connected. 2... Data processing device, 4... Floppy disk device, 5... H trunk, lla, llb... Disk drive, 12... Control unit, 18... Operation switch. Applicant: Toshiba Corporation

Claims (1)

【特許請求の範囲】[Claims] (1)少なくとも2つのディスクドライブを備え、所定
の外部装置とオンラインでデータ転送を行うディスク装
置において、 所定の入力を行う入力手段と、 この入力手段により所定の入力がおこなわれた場合、前
記外部装置とのオンライン処理を休止とした後、前記デ
ィスクドライブの1つに装着されたディスクから他へ、
ディスクの内容のコピーを行うコピー手段と を備えることを特徴とするディスク装置。
(1) In a disk device that includes at least two disk drives and performs online data transfer with a predetermined external device, an input means for performing a predetermined input, and when a predetermined input is made by this input means, the external After suspending online processing with the device, from the disk attached to one of the disk drives to the other,
What is claimed is: 1. A disk device comprising: copying means for copying the contents of a disk.
JP2159271A 1990-06-18 1990-06-18 Disk device Pending JPH0448320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2159271A JPH0448320A (en) 1990-06-18 1990-06-18 Disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2159271A JPH0448320A (en) 1990-06-18 1990-06-18 Disk device

Publications (1)

Publication Number Publication Date
JPH0448320A true JPH0448320A (en) 1992-02-18

Family

ID=15690131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2159271A Pending JPH0448320A (en) 1990-06-18 1990-06-18 Disk device

Country Status (1)

Country Link
JP (1) JPH0448320A (en)

Similar Documents

Publication Publication Date Title
JPS6433770A (en) Disk controller
JPH064220A (en) Magnetic disk subsystem
JPH0448320A (en) Disk device
JPS61127026A (en) Optical disk controller
JPH11175261A (en) Control method for disk
JPS61208119A (en) Disk controller
JP2892429B2 (en) Input/Output Control Unit
JPH1049310A (en) Data backup method for industrial computer
JPH04127252A (en) Method and device for changing data
JP2001014258A (en) Copying machine
JP2524620B2 (en) Input / output control method
JPH05181613A (en) Information processor
JPS6121696Y2 (en)
JPH10207783A (en) Volume copy system and method therefor, and computer readable recording medium recorded with volume copy program
JPS6053326B2 (en) Double data recording method for input/output control equipment
JPH03219461A (en) Compatible floppy disk device
JPS63119070A (en) File data storage system
JPH04148351A (en) Disk cache controller
JPS58201158A (en) Data storage processing system
JPH01237965A (en) Rotation synchronized parallel disk system
JPS61127025A (en) Optical disk controller
JPS6371752A (en) Semiconductor filing device
JPS6054062A (en) Input and output data transfer system
JPH04336620A (en) Magnetic disk sub-system
JPS58171724A (en) Copy controller of magnetic disc tape