JPH0614312B2 - Control method for rotary storage device - Google Patents
Control method for rotary storage deviceInfo
- Publication number
- JPH0614312B2 JPH0614312B2 JP60198765A JP19876585A JPH0614312B2 JP H0614312 B2 JPH0614312 B2 JP H0614312B2 JP 60198765 A JP60198765 A JP 60198765A JP 19876585 A JP19876585 A JP 19876585A JP H0614312 B2 JPH0614312 B2 JP H0614312B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- track
- storage device
- rotary storage
- 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.)
- Expired - Lifetime
Links
Description
【発明の詳細な説明】 〔発明の利用分野〕 本発明は磁気ディスク装置等の回転型記憶装置の制御方
式に係り、特にシーケンシャル動作中に発生する無駄な
時間を有効利用するのに好適な回転型記憶装置の制御方
法に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system for a rotary storage device such as a magnetic disk device, and particularly to a rotation suitable for effectively utilizing a wasteful time generated during a sequential operation. The present invention relates to a method for controlling a storage device.
近年、磁気ディスク装置の固定化、大容量化にともな
い、そのバックアップファイルとして磁気テープ等に落
とす作業(ダンプ処理)に多大な時間を要し、その短縮
が要望されている。このダンプ処理はトラック上にどん
なフォーマットでレコードが何個あるか予測できないた
め、ダンププログラムは一つのコマンドで一つのトラッ
ク上の全レコードを読み込む方式が用いられるが、運用
面では、複数ボリュームの多重処理、複数トラックの一
括処理により改善されてきている。しかしながら、トラ
ック上に少しのレコードしか存在しないときでも、処理
する必要のない限りのトラック部分はチャネルと結合さ
れたまゝであるため、磁気ディスク制御装置とチャネル
のビジィ時間が増加し、多重処理に芳しくない影響を与
えている。In recent years, with the fixed and large-capacity magnetic disk devices, it takes a lot of time to drop the backup file onto a magnetic tape or the like (dump processing), and it is desired to shorten the time. Since this dump process cannot predict the format and number of records on a track, the dump program uses the method of reading all the records on one track with one command. It has been improved by processing and batch processing of multiple tracks. However, even when there are only a few records on the track, the track portion is combined with the channel unless it needs to be processed, so that the busy time of the magnetic disk controller and the channel increases, and multi-processing is not possible. It has a bad influence.
従来、磁気ディスク制御装置のパスの有効化を図るため
に種々の制御方式が考案されている。例えば、目的のレ
コード位置を上位側より指示し、このレコード開始点に
ヘッドが位置付けられるまで、チャネルとディスク装置
を解放するセットセクタ方式、あるいは特公昭56−1
7692号に記載の如く、ディスク装置の消去動作を実
行が完了するまで、チャネルとディスク装置を解放する
方式がある。しかしながら、前者の方式ではあらかじめ
レコード開始時点が上位側でわかっている時に限定され
ており、また、後者の方式は、消去機能をディスク装置
自身に実行させパスを解放させるのが主眼で、次のレコ
ード開始までの予測と再位置付けに関してはなんら言及
していない。Conventionally, various control methods have been devised in order to validate the path of the magnetic disk control device. For example, a set sector method in which a target record position is designated from the upper side, and a channel and a disk device are released until the head is positioned at this record start point, or Japanese Patent Publication Sho 56-1.
As described in No. 7692, there is a method of releasing the channel and the disk device until the erase operation of the disk device is completed. However, the former method is limited to the time when the record start time is known in advance on the upper side, and the latter method mainly focuses on causing the disk device to execute the erase function and release the path. No mention is made of forecasting or repositioning until the start of the record.
本発明の目的は、回転型記憶装置が処理装置の下に複数
台存在するシステムにおいて、ある記憶装置のシーケン
シャル動作に発生する無駄な時間を有効利用し、システ
ムスループットの向上を図ることにある。An object of the present invention is to improve the system throughput by effectively utilizing the wasted time generated in the sequential operation of a certain storage device in a system in which a plurality of rotary storage devices exist under the processing device.
本発明は、ある記憶装置がシーケンシャルにトラック単
位のデータ処理を行っている場合、制御装置内でレコー
ド終了点と次のレコード開始点までの時間を計算し、こ
の時間が一定時間以上であれば、そのパスルートを解放
し、他の記憶装置へのサービスを可能としたことであ
る。According to the present invention, when a certain storage device sequentially performs data processing in track units, the time between the record end point and the next record start point is calculated in the control device, and if this time is a certain time or more, , The path route is released and it is possible to service other storage devices.
以下、本発明の一実施例について図面を参照して詳細に
説明する。An embodiment of the present invention will be described in detail below with reference to the drawings.
第2図は本発明の一実施例のシステム構成図である。第
2図において、処理装置(CPU)101はチャネル1
02、チャネルインタフェース107を介してディスク
制御装置(A)103と接続されている。ディスク制御
装置(A)103はコントロールインタフェース(A)
108を介してディスク接続装置(A)105と接続さ
れ、ディスク接続装置(A)105はデバイスインタフ
ェース(A)109を介して磁気ディスク装置群10
6,113と接続されている。ディスク制御装置(A)
103はさらにディスク制御装置(B)104とも接続
され、ディスク制御装置(B)104はコントロールイ
ンタフェース(B)110を介してディスク接続装置
(B)111と接続され、ディスク接続装置(B)11
1はデバイスインタフェース(B)112を介して他の
磁気ディスク装置群114と接続されている。FIG. 2 is a system configuration diagram of an embodiment of the present invention. In FIG. 2, the processing unit (CPU) 101 is a channel 1
02, and the disk controller (A) 103 via the channel interface 107. The disk controller (A) 103 is a control interface (A)
The disk connection device (A) 105 is connected via a device interface (A) 109 to the magnetic disk device group 10 via a device interface (A) 109.
6,113 are connected. Disk controller (A)
103 is further connected to the disk control device (B) 104, and the disk control device (B) 104 is connected to the disk connection device (B) 111 via the control interface (B) 110, and the disk connection device (B) 11
1 is connected to another magnetic disk device group 114 via a device interface (B) 112.
いま、処理装置(CPU)101、チャネル102、デ
ィスク接続装置(A)103、ディスク接続装置(A)
105、磁気ディスク装置(O)106がチャネルイン
タフェース107、コントロールインタフェース(A)
108、デバイスインタフェース(A)109によって
接続されているとし、ディスク装置106から複数トラ
ックに及ぶデータの読み出しを実行するダンプ処理につ
いて考えてみる。Now, the processing device (CPU) 101, the channel 102, the disk connection device (A) 103, the disk connection device (A)
105, a magnetic disk device (O) 106 is a channel interface 107, a control interface (A)
108 and the device interface (A) 109, let us consider a dump process for reading data from a disk device 106 over a plurality of tracks.
通常、ディスク装置から磁気テープへデータをダンプす
る場合、トラックにデータがどんなフォーマットで書き
込まれているか判明しないため、一つのコマンドでトラ
ック上の全レコードを読み込む方式が用いられる。この
場合、コマンドチェインは第3図に示すように、MT
SEARCH ID(サーチ動作)201、TIC20
2、READ MCKD(リード動作)203の繰り返
しとなる。READ MCKDのコマンド部分に対する
従来の動作フローチャートを示すと第4図のようにな
る。即ち、レコード1,2,……の順でレコードを読み
込み、全レコードの処理が終了した後、次のコマンドを
受けとり、コマンドがMT SEARCH ID204
であればインデックスマーカまで待ち、次のトラックへ
切り替えて処理の続行を行う。したがって、第3図のト
ラック1のように、トラック上に少数のレコードしか存
在しない場合には、最終レコード処理終了後、インデッ
クスマーカまでのデータ転送を行わない時間中もパスル
ート107,108,109は専有されたまゝである。Normally, when dumping data from a disk device to a magnetic tape, it is not known in what format the data is written in the track, so a method of reading all records on the track with one command is used. In this case, the command chain is MT as shown in FIG.
SEARCH ID (search operation) 201, TIC 20
2, READ MCKD (read operation) 203 is repeated. A conventional operation flowchart for the command portion of READ MCKD is shown in FIG. That is, the records are read in the order of records 1, 2, ..., After the processing of all records is completed, the next command is received, and the command is MT SEARCH ID204.
If so, it waits until the index marker, switches to the next track, and continues processing. Therefore, when only a small number of records are present on the track, as in the case of track 1 in FIG. 3, the path routes 107, 108, and 109 are set even after the end of the final record processing and during the time when data transfer to the index marker is not performed. It is a privately owned company.
本発明はこの点に鑑み、複数のトラックをシーケンシャ
ルに一括して処理する場合、トラック上でのレコード終
了点から次のレコード開始点までの時間を予測し、この
時間が一定時間以上であれば、該当パスルートを解放し
て、次のレコード開始点で記憶装置側より再接続を要求
させ、この解放時間内に他の記憶装置へのサービスを可
能にするものである。最終レコードの位置を把握するた
めの方法として、例えば第5図のように、レコードのフ
ォーマットを作成するときは必ずホームアドレス(H
A)とカウント部(C0〜CN)にインデックスマーカ
からの距離を示す位置情報としてセグメントナンバー
(SN)の付加情報を記録しておく。このセグメントナ
ンバーは1レコード前のセグメントナンバーからそれに
ギャップ長、キー長、データ長などを加え込むことによ
り実現できる。In view of this point, the present invention predicts the time from the record end point to the next record start point on a track when processing a plurality of tracks collectively in a batch, and if this time is a certain time or more, , The corresponding path route is released, the re-connection is requested from the storage device side at the next record start point, and the service to another storage device is enabled within this release time. As a method for grasping the position of the last record, when creating a record format, for example, as shown in FIG.
The additional information of the segment number (SN) is recorded in A) and the count section (C0 to CN) as position information indicating the distance from the index marker. This segment number can be realized by adding the gap length, the key length, the data length, etc. to the segment number of one record before.
第1図に本発明による場合の動作の動作フローチャート
を示す。FIG. 1 shows an operation flowchart of the operation according to the present invention.
ディスク装置106のトラック上で最終レコードを処理
完了した時点で(ステップ11,12)、ディスク制御
装置103はトラック上のセグメントナンバーよりマイ
クロプログラムにて当レコードの終了点から次のトラッ
ク上のレコード開始点までの時間αを計算する(ステッ
プ13)。即ち、このケースでのMT SEARCH
IDのコマンドは次のトラックのインデックスマーカ以
降を処理する要求であり、トラック全体のセグメント数
(1回転分の時間に相当する)から現在のセグメントナ
ンバーを引算し、時間に直すことはマイクロプログラム
により簡単に実現できる。この時間αがチャネル、ディ
スク装置間の再接続時間以下であれば現状の通りの処理
を(ステップ14,20)、以上であればインデックス
マーカに位置付けるためのセットターゲットを行い(ス
テップ14,15)、コマンドリトライによりチャネル
パスルートを解放する(ステップ16)。なお、セット
ターゲットとは、ディスク接続装置よりディスク装置に
対し、あるトラック上のあるセクタを指定することによ
り、ディスク装置はヘッドがその位置にくるとディスク
接続装置、チャネルにに対し、再接続を要求する機能の
ことである。Upon completion of processing the last record on the track of the disk device 106 (steps 11 and 12), the disk control device 103 starts the record on the next track from the end point of this record by the microprogram from the segment number on the track. The time α to the point is calculated (step 13). That is, MT SEARCH in this case
The ID command is a request to process the index marker of the next track and subsequent ones, and the current segment number is subtracted from the number of segments (corresponding to the time for one rotation) of the entire track, and it is a micro program Can be easily realized by If this time α is less than the reconnection time between the channel and the disk device, the current processing is performed (steps 14 and 20), and if it is more than that, a set target for positioning the index marker is performed (steps 14 and 15). , The channel path route is released by command retry (step 16). Note that the set target is that by specifying a certain sector on a certain track from the disk connection device to the disk connection device, the disk device reconnects to the disk connection device and channel when the head comes to that position. It is the function that you request.
ディスク装置106はインデック付近にヘッドが位置付
けされると、ディスク制御装置103に再接続を要求し
(ステップ17)、そのときチャネル102及びディス
ク制御装置103がフリーであれば、パスの再接続が行
われ(ステップ18,19)、MT SEARCH I
Dのコマンドが再度発行される。このとき、ディスク装
置106のヘッドはインデックスマーカ近くに位置して
おり、無駄な時間を浪費することなく次のトラックへヘ
ッドを切り換えて、SEARCH動作を行うことができ
る。パス開放中にチャネル102がディスク制御装置1
03配下でディスク装置106以外で任意の装置、又は
ディスク制御装置104配下の任意の装置とサービスを
行っていて、ディスク装置106からの再接続要求時に
サービスが終了していない場合、ディスク装置106の
再接続要求は受けつけらず、1回転待って実行されるこ
とになる(ステップ21)。When the head is positioned near the index, the disk device 106 requests the disk controller 103 to reconnect (step 17), and if the channel 102 and the disk controller 103 are free at that time, the path is reconnected. I (steps 18 and 19), MT SEARCH I
The D command is issued again. At this time, the head of the disk device 106 is located near the index marker, and the SEARCH operation can be performed by switching the head to the next track without wasting time. While the path is open, the channel 102 is the disk controller 1
If a service other than the disk device 106 under the control of 03 is servicing any device under the control of the disk control device 104 and the service is not completed when the reconnection request is issued from the disk device 106, The reconnection request is not accepted and is executed after waiting for one rotation (step 21).
次に再接続の位置付け方式の効果について第6図を利用
して説明する。これについては通常のセットセクタコマ
ンドにる回転待ち(位置付け方式601)と同じであ
る。この場合、再接続時のヘッドの位置付け完了タイミ
ング603はAになり、インデックスマーカ604通過
後はディスク装置より再接続要求がなくなるので、Bタ
イミング以降での再接続完了タイミングはなくレコード
0を検出するために無駄なサーチ動作を繰り返すことが
なくなる。例えば、再接続要求を従来消去完了に用いて
いた完了方式602を採用すれば、再接続の完了はディ
スク制御装置、チャネルがいずれもフリーであることが
条件であるため、Bタイミング以降で再接続が可能にな
ってしまうケースがある。このときは該当レコード0が
すでに通過してしまっているので1回転する時間中、チ
ャネルを専有したまゝとなる。したがって、消去完了の
再接続にも位置付け方式601が望ましいのは明らかで
ある。Next, the effect of the reconnection positioning method will be described with reference to FIG. This is the same as the rotation wait (positioning method 601) in the normal set sector command. In this case, the head positioning completion timing 603 at the time of reconnection becomes A, and the reconnection request from the disk device disappears after passing the index marker 604, so there is no reconnection completion timing after the B timing and record 0 is detected. Therefore, useless search operation is not repeated. For example, if the completion method 602, which has conventionally used the reconnection request for the completion of erasure, is required to complete the reconnection on the condition that both the disk controller and the channel are free. There are cases in which it becomes possible. At this time, since the corresponding record 0 has already passed, the channel is occupied for one rotation time. Therefore, it is apparent that the positioning method 601 is also desirable for reconnection after erasing is completed.
本発明によれば、回転型記憶装置にシーケンシャル動作
によるトラック単位のデータ処理に関して、最終エコー
ドと次のレコード開始点までの時間、パスルートを解放
して、その間、他のサービス要求に応えることができ、
多重動作環境での有効利用が向上するという優れた効果
がある。According to the present invention, with respect to data processing in track units by a sequential operation in a rotary storage device, a path route can be released for the time between the last echo and the start point of the next record, and other service requests can be satisfied during that time. ,
There is an excellent effect that the effective use is improved in a multiple operation environment.
特に、ディスク装置のセータをダンプするときは、ファ
イル属性を意識せず、物理イメージで丸ごと読み込む業
務が多い。このとき、あるトラックで全然データがない
かあるかは小さなレコードで終了してしまっているケー
スが多く、そのため無駄な専有時間はかなりな量にのぼ
っているが、本発明によればこれが改善される。In particular, when dumping the data in the disk device, there are many tasks in which the entire physical image is read without being aware of the file attributes. At this time, it is often the case that there is no data or no data on a certain track, and it ends with a small record, and therefore, the wasteful occupation time is considerable, but according to the present invention, this is improved. It
第1図は本発明の一実施例の動作フローチャート、第2
図は本発明の一実施例のシステム構成図、第3図はトラ
ックフォーマットとコマンドチェインの関係を示す図、
第4図は従来の動作フローチャート、第5図はセグメン
トナンバーを説明するためのトラックフォーマットを示
す図、第6図は本発明による再接続の位置付け方式の効
果を説明するタイミング図である。 101…処理装置、102…チャネル、 103,104…ディスク制御装置、 105,111…ディスク接続装置、 106,113,114…磁気ディスク装置。FIG. 1 is an operation flowchart of one embodiment of the present invention, and FIG.
FIG. 3 is a system configuration diagram of an embodiment of the present invention, FIG. 3 is a diagram showing a relationship between a track format and a command chain,
FIG. 4 is a conventional operation flowchart, FIG. 5 is a diagram showing a track format for explaining a segment number, and FIG. 6 is a timing diagram for explaining the effect of the reconnection positioning system according to the present invention. 101 ... Processing device, 102 ... Channel, 103, 104 ... Disk control device, 105, 111 ... Disk connecting device, 106, 113, 114 ... Magnetic disk device.
Claims (1)
て複数台の回転型記憶装置が接続されている情報処理シ
ステムにおいて、回転型記憶装置が複数のトラックのデ
ータをシーケンシャルに一括処理しているときの制御方
法であって、 前記制御装置において、前記回転型記憶装置が一つのト
ラックの最終レコードを処理終了した時点で、次のトラ
ックのレコード開始点までの時間を予測し、該予測時間
が予め定めた所定時間以上か否か判定し、所定時間以上
あれば、チャネルと該制御装置間及び該制御装置と当該
回転記憶装置間の接続を一時解放し、当該回転記憶装置
から次のトラックのレコード開始時点で再接続要求を受
け取って再び接続を行うことを特徴とする回転型記憶装
置の制御方法。1. In an information processing system in which a plurality of rotary storage devices are connected to a processing device via a channel and a control device, the rotary storage device sequentially and collectively processes data of a plurality of tracks. In the control device, when the rotary storage device finishes processing the last record of one track, the control device predicts the time to the record start point of the next track, and It is determined whether or not the time is equal to or longer than a predetermined time, and if the time is longer than or equal to the predetermined time, the connection between the channel and the control device and between the control device and the rotary storage device is temporarily released, and the next connection from the rotary storage device is performed. A method of controlling a rotary storage device, characterized in that a reconnection request is received and connection is reestablished at the start of recording a track.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60198765A JPH0614312B2 (en) | 1985-09-09 | 1985-09-09 | Control method for rotary storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60198765A JPH0614312B2 (en) | 1985-09-09 | 1985-09-09 | Control method for rotary storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6258328A JPS6258328A (en) | 1987-03-14 |
| JPH0614312B2 true JPH0614312B2 (en) | 1994-02-23 |
Family
ID=16396567
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60198765A Expired - Lifetime JPH0614312B2 (en) | 1985-09-09 | 1985-09-09 | Control method for rotary storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0614312B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5566043A (en) * | 1978-11-09 | 1980-05-19 | Fujitsu Ltd | Disc pack control system |
| US4517641A (en) * | 1982-04-30 | 1985-05-14 | International Business Machines Corporation | Lookahead I/O device control subsystem |
-
1985
- 1985-09-09 JP JP60198765A patent/JPH0614312B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6258328A (en) | 1987-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7320050B2 (en) | Data transmission control method and storage device | |
| US5729718A (en) | System for determining lead time latency as function of head switch, seek, and rotational latencies and utilizing embedded disk drive controller for command queue reordering | |
| US6957311B2 (en) | Data storage apparatus, computer apparatus, data processing apparatus, and data processing method | |
| JP2024535250A5 (en) | ||
| JPH10149260A (en) | Read cache method in disk drive | |
| US6567886B1 (en) | Disk drive apparatus and control method thereof | |
| US7490259B2 (en) | Error recovery method for data storage device, data storage device, and magnetic disk storage device | |
| JPH0614312B2 (en) | Control method for rotary storage device | |
| US5875453A (en) | Apparatus for and method of information processing | |
| JP5030387B2 (en) | Data storage device | |
| WO2000048068A1 (en) | Magnetic disk device and disk access method therefor | |
| JPH04251421A (en) | Method for decreasing number of moving times of head/arm of disk drive in direction of diameter | |
| JP3368292B2 (en) | Method of partitioning magnetic tape into segments that appear continuously between and around regularly occurring system zones | |
| JP3392159B2 (en) | Track emulation method and external storage subsystem | |
| JP2634025B2 (en) | Format write control method for magnetic disk controller | |
| JPH05282807A (en) | Magnetic disc unit with off-track measuring feature | |
| JP2541158B2 (en) | Information processing system | |
| JP3889578B2 (en) | Simultaneous recording / reproducing control apparatus for recording apparatus | |
| JP3068811B2 (en) | Method of controlling storage device | |
| JPS5823308A (en) | Data processing method for magnetic disc device | |
| JPH0731581B2 (en) | Storage controller | |
| JPH11273242A (en) | Magnetic disk drive | |
| JP2001006237A (en) | Automatic tape duplication apparatus and automatic tape duplication method | |
| JPS61145659A (en) | Semiconductor file | |
| JP2012038330A (en) | Hard disk drive |