JPH05289827A - Disk controller - Google Patents
Disk controllerInfo
- Publication number
- JPH05289827A JPH05289827A JP4094079A JP9407992A JPH05289827A JP H05289827 A JPH05289827 A JP H05289827A JP 4094079 A JP4094079 A JP 4094079A JP 9407992 A JP9407992 A JP 9407992A JP H05289827 A JPH05289827 A JP H05289827A
- Authority
- JP
- Japan
- Prior art keywords
- data
- copy
- copying
- drive
- 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
Links
- 238000000034 method Methods 0.000 abstract description 32
- 230000004886 head movement Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】
【目的】オンライン動作中のディスクドライブのデータ
をディスク制御装置により他のディスクドライブに複写
するとき、複写動作に伴うディスクヘッドの移動量を低
減し、複写時間を短縮する。
【構成】ディスク制御装置は、複写対象とするディスク
ドライブ上の未複写領域の位置情報とヘッドの位置情報
を管理しておき、また複写先ドライブのヘッドを常に複
写元ドライブと同じ位置に位置付けしおいて、未複写領
域の位置情報とヘッドの位置情報から、ヘッドの移動時
間が最短である未複写領域の位置を求め、当該位置の領
域から複写処理を再開する手段を備えたものである。
(57) [Abstract] [Purpose] When the data of the disk drive during online operation is copied to another disk drive by the disk controller, the moving amount of the disk head accompanying the copy operation is reduced and the copy time is shortened. [Structure] The disk controller manages the position information of the non-copy area and the head position information on the disk drive to be copied, and the head of the copy destination drive is always positioned at the same position as the copy source drive. In this case, a means for determining the position of the non-copy area where the head movement time is the shortest from the position information of the non-copy area and the head position information and restarting the copying process from the area of the position is provided.
Description
【0001】[0001]
【産業上の利用分野】本発明はディスク制御装置に関
し、特に当該装置に接続されたディスクドライブ上のデ
ータを当該装置に接続された他のディスクドライブに複
写する複写制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control device, and more particularly to a copy control system for copying data on a disk drive connected to the device to another disk drive connected to the device.
【0002】[0002]
【従来の技術】コンピュータシステムの適用される分野
が拡大するのに伴い、システムの無停止性が要求される
ケースが増えてきている。システムの無停止性を実現す
るための条件の一つとして、オンライン状態での保守が
可能であることが挙げられるが、保守対象がディスクド
ライブである場合、当該ディスクドライブをあらかじめ
予備のディスクドライブを利用して多重化しておくか、
あるいは記憶しているデータをオンライン動作中に予備
のディスクドライブに複写した後に、元のディスクドラ
イブの保守を実施する必要がある。いずれの場合でも当
該ディスクドライブ上のデータを他のディスクドライブ
に複写しながら、当該ディスクドライブに対するホスト
コンピュータからのデータアクセスを実行でき、かつ短
時間で複写処理が実行できることが課題となるが、例え
ば特開昭64−33770号公報に開示される技術で
は、複写元ディスクドライブから複写先ディスクドライ
ブにデータを順次複写していき、この複写がどこまで終
了しているかをポインタメモリに記憶しておくことによ
って、複写処理中に複写元であるディスクドライブに対
するデータアクセスが発生すると複写処理を中断し、デ
ータアクセスが読み出しであれば、複写元ディスクドラ
イブからの読み出しを実行し、データアクセスが書き込
みであれば、その書き込みが複写済のアドレスに対する
ものかどうかを前記ポインタメモリを利用して判断し、
書き込み済アドレスに対するものであれば、複写元およ
び複写先ディスクドライブに書き込みを行い、複写済で
ないアドレスに対するものであれば、複写元ディスクド
ライブにのみ書き込みを行った上で、中断していた複写
処理を再開することにより、前記の課題を解決してい
る。2. Description of the Related Art As the field of application of computer systems expands, the number of cases in which system nonstop performance is required is increasing. One of the conditions for achieving non-disruptiveness of the system is that maintenance can be performed online.If the maintenance target is a disk drive, replace the disk drive with a spare disk drive in advance. Or use it for multiplexing,
Alternatively, it is necessary to perform maintenance of the original disk drive after copying the stored data to the spare disk drive during online operation. In either case, while copying the data on the disk drive to another disk drive, it is a problem that the host computer can perform data access to the disk drive and copy processing can be executed in a short time. In the technique disclosed in Japanese Patent Laid-Open No. 64-33770, data is sequentially copied from a copy source disk drive to a copy destination disk drive, and the pointer memory stores the extent to which this copying is completed. When the data access to the copy source disk drive occurs during the copy process, the copy process is interrupted. If the data access is read, the read from the copy source disk drive is executed, and if the data access is write, , The address is for the copied address It is determined whether or not the by using the pointer memory of,
If it is for a written address, it writes to the copy source and copy destination disk drives, and if it is for an address that has not been copied, it only writes to the copy source disk drive and then the interrupted copy process. The above-mentioned problem is solved by restarting.
【0003】[0003]
【発明が解決しようとする課題】前記従来技術では、複
写処理の終了したアドレスをポインタメモリで管理して
おき、複写処理を中断してホストコンピュータによるデ
ータアクセスを実行しても、データアクセス終了後に複
写処理を再開することが可能であること、ホストコンピ
ュータによる複写元ディスクドライブの複写済アドレス
に対するデータの書き込みを複写先ディスクドライブに
対しても行うことにより、ディスクドライブ全域に渡る
複写処理を1度ですませることを特徴としている。In the above-mentioned prior art, even if the address for which the copying process is completed is managed in the pointer memory and the copying process is interrupted and the data access is executed by the host computer, after the data access is completed. The copying process can be restarted, and the host computer writes the data to the copied address of the copying source disk drive to the copying destination disk drive as well, so that the copying process can be performed once over the entire disk drive. The feature is that it is done.
【0004】ところが、上記従来技術では以下に示す問
題点があることを発明者は見出した。上記技術では複写
処理の再開時に複写再開位置を決定するストラテジを特
に持ってはおらず、仮に最も単純である前回複写を中断
した位置から再開する方法を採用すると、複写処理中断
の原因となったホストコンピュータによるデータアクセ
スの実行により、複写元ディスクドライブのヘッドが前
回複写を中断した位置から移動している可能性があり、
前回複写を中断した位置までヘッドを位置付けした後に
複写処理を再開する必要があるが、ホストコンピュータ
によるデータアクセスが頻繁に発生する状況下では、こ
のヘッドの位置付けの最中にもデータアクセスが発生す
る可能性があり、複写処理の進行遅延やホストコンピュ
ータによるデータアクセスの実行速度が低下する原因と
なることが考えられる。However, the inventor has found that the above-mentioned prior art has the following problems. The above technology does not have a strategy for determining the copy restart position when the copy process is restarted. If the simplest method of restarting the copy from the position where the previous copy was interrupted was adopted, the host that caused the copy process to stop Due to the execution of data access by the computer, the head of the copy source disk drive may have moved from the position where copying was interrupted last time.
Although it is necessary to restart the copying process after positioning the head to the position where the copying was interrupted last time, under the situation where the host computer frequently accesses the data, the data access will occur even during the positioning of the head. This may cause a delay in the progress of the copying process and a reduction in the execution speed of data access by the host computer.
【0005】そこで本発明の目的は、複写処理の再開時
におけるヘッドの位置付け時間を減少させる複写再開位
置決定ストラテジを持ったディスク制御装置を提供する
ことである。SUMMARY OF THE INVENTION An object of the present invention is to provide a disk control device having a copy restart position determining strategy for reducing the head positioning time when the copy process is restarted.
【0006】[0006]
【課題を解決するための手段】前記目的を達成するため
に、ディスク制御装置は、複写対象とするディスクドラ
イブ上の未複写領域の位置情報とヘッドの位置情報を管
理しておき、また複写先ドライブのヘッドを常に複写元
ドライブと同じ位置に位置付けしおいて、前記未複写領
域の位置情報とヘッドの位置情報から、ヘッドの移動時
間が最短である未複写領域の位置を求め、当該位置の領
域から複写処理を再開する手段を備えたものである。In order to achieve the above-mentioned object, a disk controller manages position information of an uncopied area on a disk drive to be copied and position information of a head, and a copy destination. The head of the drive is always positioned at the same position as the copy source drive, and the position of the uncopied area with the shortest movement time of the head is obtained from the position information of the uncopied area and the head position information, and the position of that position is determined. A means for restarting the copying process from the area is provided.
【0007】[0007]
【作用】前記した本発明のディスク制御装置では、前記
ディスクドライブの複写処理再開に際して、ヘッド位置
付けの待ち時間が最小となり、結果として複写時間が減
少し、前記ヘッド位置付けの最中に上位装置により当該
ディスクドライブに対するデータアクセスが発生する確
率が低下し、位置付け終了待ちによるデータアクセス実
行の遅延が減少する。In the disk control device of the present invention described above, the waiting time for positioning the head is minimized when the copying process of the disk drive is restarted, and as a result, the copying time is reduced. The probability that data access to the disk drive will occur is reduced, and the delay in executing data access due to waiting for the positioning completion is reduced.
【0008】[0008]
【実施例】以下、図面を参照しながら本発明について説
明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.
【0009】図1は本発明の一実施例であるディスク制
御装置の構成図である。FIG. 1 is a block diagram of a disk controller which is an embodiment of the present invention.
【0010】ディスク制御装置200は、例えば汎用の
コンピュータシステムの中枢をなす中央処理装置や当該
中央処理装置に代わって、外部との間でデータ授受を制
御するチャネルなどからなる上位装置100と、ディス
クドライブ301および302に接続され、構成要素と
して入出力制御回路201と、ヘッド位置管理メモリ2
02と、未複写領域管理メモリ203および操作パネル
204を備える。入出力制御回路201は上位装置10
0から要求されるディスクドライブへのデータの書き込
みおよび読み出し処理と、操作パネル204から指示さ
れるディスクドライブの複写処理を制御する。ヘッド位
置管理メモリは入出力制御部201がディスクドライブ
301および302にヘッドの位置付けを指示したとき
に、その移動先のシリンダ番号を記録するために使用す
る。未複写領域管理メモリは複写対象とするディスクド
ライブの各シリンダ毎に、入出力制御回路201による
複写処理が終了しているトラック数を記録するためのメ
モリであり、図2に示す構造となっている。未複写領域
管理メモリの内容は入出力制御回路201が1トラック
分の複写を行う毎に更新する。The disk control device 200 comprises, for example, a central processing unit which is the center of a general-purpose computer system, and a host device 100 including a channel for controlling data exchange with the outside, instead of the central processing unit, and a disk. The I / O control circuit 201 and the head position management memory 2 are connected as components to the drives 301 and 302.
02, an uncopied area management memory 203, and an operation panel 204. The input / output control circuit 201 is the host device 10.
It controls data write / read processing to / from the disk drive requested from 0 and copy processing of the disk drive instructed from the operation panel 204. The head position management memory is used to record the cylinder number of the movement destination when the input / output control unit 201 instructs the disk drives 301 and 302 to position the head. The uncopied area management memory is a memory for recording the number of tracks for which the copying process by the input / output control circuit 201 is completed, for each cylinder of the disk drive to be copied, and has the structure shown in FIG. There is. The contents of the uncopied area management memory are updated each time the input / output control circuit 201 copies one track.
【0011】本実施例のディスク制御装置の動作は以下
の通りとなる。The operation of the disk controller of this embodiment is as follows.
【0012】制御パネル204によってディスクドライ
ブ301の内容をディスクドライブ302に複写するこ
とが指示されると、この指示は入出力制御回路201に
受理され、複写処理の開始に先立ち、入出力制御回路2
01は未複写領域管理メモリの複写済みトラック数のフ
ィールドを総て0クリアし、全シリンダの全トラックが
未複写状態であることを記録する。次に複写処理が以下
の手順で実施される。When the control panel 204 gives an instruction to copy the contents of the disk drive 301 to the disk drive 302, this instruction is accepted by the input / output control circuit 201, and the input / output control circuit 2 is started prior to the start of the copying process.
01 clears all the fields of the number of copied tracks in the non-copy area management memory to record that all tracks of all cylinders are in the non-copy state. Next, the copying process is carried out in the following procedure.
【0013】入出力制御回路201は、ヘッド位置管理
メモリからディスクドライブ301のヘッドの位置する
シリンダ番号を読み出す。次に未複写領域管理メモリの
当該シリンダに対応する複写済トラック数を読み出し、
これを1シリンダ当たりのトラック数と比較することに
よって、当該シリンダ内に未複写トラックが存在するか
どうかを判断する。未複写トラックが残っていれば、未
複写トラックの内の最もトラック番号の小さいトラック
のデータをディスクドライブ302の同じトラックに複
写し、複写が終了したら未複写領域管理メモリの当該シ
リンダに対応する複写済トラック数に1を加算する。未
複写トラックが無ければ、ヘッドが位置するシリンダ以
外のシリンダについて、ヘッドが位置するシリンダに近
い順に未複写領域管理メモリの複写済トラック数を読み
出し、これを1シリンダ当たりのトラック数と比較する
ことによって、未複写トラックが存在するか調べて行
き、最初に発見した未複写トラックの存在するシリンダ
にディスクドライブ301および302のヘッドを位置
付け、そのシリンダ番号をヘッド位置管理メモリに記録
した後、発見したシリンダの未複写トラックの内の最も
トラック番号の小さいトラックのデータをディスクドラ
イブ302の同じトラックに複写し、複写が終了したら
未複写領域管理メモリのヘッドが位置するシリンダに対
応する複写済トラック数に1を加算する。以上の複写処
理を繰り返し、未複写領域管理メモリの全シリンダの複
写済トラック数が1シリンダ当たりのトラック数に等し
くなるまで複写処理を繰り返すことによりディスクドラ
イブの全データを複写する。The input / output control circuit 201 reads the cylinder number of the head of the disk drive 301 from the head position management memory. Next, the number of copied tracks corresponding to the cylinder in the uncopy area management memory is read,
By comparing this with the number of tracks per cylinder, it is determined whether or not there are uncopied tracks in the cylinder. If an uncopied track remains, the data of the track having the smallest track number among the uncopied tracks is copied to the same track of the disk drive 302, and when the copying is completed, a copy corresponding to the cylinder of the uncopied area management memory. Add 1 to the number of completed tracks. If there are no uncopied tracks, read the number of copied tracks in the uncopied area management memory for cylinders other than the cylinder in which the head is located, and compare this with the number of tracks per cylinder. By checking whether there is an uncopied track, position the heads of the disk drives 301 and 302 to the cylinder in which the uncopied track found first, and record the cylinder number in the head position management memory, and then discover The data of the track having the smallest track number among the uncopied tracks of the cylinder is copied to the same track of the disk drive 302, and when the copying is completed, the number of copied tracks corresponding to the cylinder where the head of the uncopied area management memory is located is set. Add 1 All the data in the disk drive is copied by repeating the above-mentioned copying process until the number of copied tracks in all cylinders of the uncopied area management memory becomes equal to the number of tracks per cylinder.
【0014】この複写処理中に上位装置100よりディ
スク制御装置200に対して、ディスクドライブ301
に対するデータの書き込みまたは読み出しが要求される
と、ディスク制御装置200は処理中のトラックの複写
が終了し、未複写領域管理メモリのヘッドが位置付けら
れているシリンダに対応する複写済トラック数に1を加
算した後に複写処理を中断し、要求されたデータの書き
込みまたは読み出しを実行する。During this copying process, the host device 100 sends a disk drive 301 to the disk controller 200.
When the writing or reading of data to or from the disk is requested, the disk controller 200 finishes copying the track being processed and sets the number of copied tracks corresponding to the cylinder in which the head of the uncopied area management memory is located to 1. After the addition, the copy process is interrupted and the requested data is written or read.
【0015】この時その要求がデータの読み込みである
と、入出力制御回路201はディスクドライブ301お
よび302に対し目的のデータが格納されているシリン
ダにヘッドを位置付けることを指示し、ディスクドライ
ブ301のヘッドの位置付けが完了した時点で、目的の
データを読み出して上位装置に転送し、同時にヘッドの
位置付けられたシリンダ番号をヘッド位置管理メモリに
記録する。At this time, if the request is to read data, the I / O control circuit 201 instructs the disk drives 301 and 302 to position the head on the cylinder in which the desired data is stored, and the disk drive 301 When the positioning of the head is completed, the target data is read and transferred to the host device, and at the same time, the cylinder number in which the head is positioned is recorded in the head position management memory.
【0016】一方、上位装置100による要求がデータ
の書き込みであると、入出力制御回路201はディスク
ドライブ301および302に対し目的のデータを書き
込むべきシリンダにヘッドを位置付けることを指示し、
次に未複写領域管理メモリの当該シリンダの複写済みト
ラック数を読み出し、上位装置100から要求されたデ
ータの書き込み先のトラック番号と比較することによっ
て、書き込み先のトラックが複写済か未複写かを判定す
る。上位装置100から要求されたデータの書き込み先
のトラックが複写済であれば、ディスクドライブ301
および302のヘッドの位置付けが完了した時点で、上
位装置から受領したデータを両ディスクドライブに書き
込み、上位装置100から要求されたデータの書き込み
先のトラックが未複写であれば、ディスクドライブ30
1のヘッドの位置付けが完了した時点で、上位装置から
受領したデータをディスクドライブ301に書き込む。
書き込みが終了したら、ヘッドの位置付けられたシリン
ダ番号をヘッド位置管理メモリに記録する。On the other hand, when the request from the host device 100 is to write data, the input / output control circuit 201 instructs the disk drives 301 and 302 to position the head on the cylinder where the desired data is to be written,
Next, the number of copied tracks of the cylinder in the uncopied area management memory is read and compared with the track number of the writing destination of the data requested by the upper level device 100 to determine whether the writing destination track is copied or not copied. judge. If the data write destination track requested by the higher-level device 100 has already been copied, the disk drive 301
When the positioning of the heads 302 and 302 is completed, the data received from the higher-level device is written to both disk drives, and if the track to which the data requested by the higher-level device 100 is written is not copied, the disk drive 30
When the positioning of the head of No. 1 is completed, the data received from the host device is written to the disk drive 301.
When the writing is completed, the cylinder number in which the head is positioned is recorded in the head position management memory.
【0017】上位装置100からのデータの書き込みま
たは読み出し要求が途切れると、入出力制御回路201
は再び前記の複写処理を再開し、ディスクドライブの全
面複写を実現する。When the data write or read request from the host device 100 is interrupted, the input / output control circuit 201
Restarts the copying process again and realizes full copying of the disk drive.
【0018】複写再開時に1トラック分の複写が終了す
るまでの時間は次に示す式で表すことができる。The time until the copying of one track is completed when the copying is restarted can be expressed by the following formula.
【0019】1トラック分の複写時間=ヘッド位置付け
時間+平均回転待ち時間+データ複写時間 本実施例で説明した方法では、複写中に発生する上位装
置からのデータの書き込みまたは読み出し要求がディス
ク全域に渡ってランダムに発生する場合、例えばディス
クの最内周(または最外周)のシリンダから最外周(ま
たは最内周)のシリンダに向かって順次複写して行き、
上位装置からのデータの書き込みまたは読み出し要求に
よる複写処理の中断時、中断したトラックから複写処理
を再開する方式に比べると、複写再開時におけるヘッド
位置付け時間を短縮でき、その結果として複写時間を短
縮できる。また、本実施例で説明したように複写処理中
に発生する上位装置からの複写元ディスクドライブに対
するデータの書き込みまたは読み出し要求を処理中のト
ラックの複写が終了するまで待たせる場合、複写時間が
短縮されるので、複写処理中に上位装置からの複写元デ
ィスクドライブに対するデータの書き込みまたは読み出
し要求が発生する確率が低下し、上位装置からの要求の
処理遅延が低減できる。特に上位装置からの複写元ディ
スクドライブに対するデータの書き込みまたは読み出し
要求が高頻度でかつディスク上のランダムな位置に対し
て発生する場合、この方法が有効となる。Copying time for one track = head positioning time + average rotation waiting time + data copying time In the method described in this embodiment, a data writing or reading request from the host device during copying occurs in the entire disk. If it occurs randomly across, for example, copying from the innermost (or outermost) cylinder of the disk to the outermost (or innermost) cylinder in sequence,
When the copying process is interrupted by a data writing or reading request from the host device, the head positioning time at the time of resuming copying can be shortened, and as a result, the copying time can be shortened, as compared with the method of restarting the copying process from the interrupted track. .. Further, as described in the present embodiment, when the data writing or reading request from the host device during the copying process to the copying source disk drive is made to wait until the copying of the track being processed is completed, the copying time is shortened. As a result, the probability that a data write or read request from the host device to the copy source disk drive will occur during the copy process is reduced, and the processing delay of the request from the host device can be reduced. This method is effective especially when data writing or reading requests from the host device to the copy source disk drive occur frequently and at random positions on the disk.
【0020】[0020]
【発明の効果】以上説明したように本発明は、ディスク
制御装置によるディスクドライブの複写処理において、
複写のためのヘッド移動量を低減することにより、複写
処理時間を短縮する効果、および複写処理中に発生する
上位装置から複写対象ディスクドライブに対する書き込
みおよび読み出し要求の処理遅延低減の効果がある。As described above, according to the present invention, in the copy processing of the disk drive by the disk controller,
By reducing the amount of head movement for copying, there is an effect of shortening the copying processing time and an effect of reducing the processing delay of writing and reading requests from the host device to the copying target disk drive that occur during the copying processing.
【図1】本発明の一実施例であるディスク制御装置の構
成図である。FIG. 1 is a configuration diagram of a disk control device that is an embodiment of the present invention.
【図2】本発明の実施例における未複写領域管理メモリ
の構造図である。FIG. 2 is a structural diagram of an uncopied area management memory in the embodiment of the present invention.
100…上位装置、 200…ディスク制御装置、 201…入出力制御回路、 202…ヘッド位置管理メモリ、 203…未複写領域管理メモリ、 204…制御パネル、 301…ディスクドライブ、 302…ディスクドライブ。 Reference numeral 100 ... Host device, 200 ... Disk control device, 201 ... Input / output control circuit, 202 ... Head position management memory, 203 ... Uncopied area management memory, 204 ... Control panel, 301 ... Disk drive, 302 ... Disk drive.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 宇佐美 和弘 神奈川県小田原市国府津2880番地日立コン ピュータ機器株式会社内 (72)発明者 一斗 栄彦 神奈川県小田原市国府津2880番地日立コン ピュータ機器株式会社内 (72)発明者 笠原 久弘 神奈川県小田原市国府津2880番地日立コン ピュータ機器株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuhiro Usami 2880 Kunifu, Odawara-shi, Kanagawa Hitachi Computer Computer Co., Ltd. (72) Inventor Hisahiro Kasahara 2880 Kozu, Odawara-shi, Kanagawa Hitachi Computer Equipment Co., Ltd.
Claims (1)
ディスクドライブに対するデータの書き込みまたは読み
出し要求を行う上位装置に接続され、前記上位装置によ
るデータの書き込みまたは読み出し要求に従って、前記
ディスクドライブに対するデータの書き込みまたは読み
出しを行う入出力制御と、前記ディスクドライブの一つ
を複写元ドライブとし、他の一つを複写先ドライブとし
て、ディスクドライブ上の全データ記録面を複数の領域
に分けて、この内の1領域分のデータを複写元ドライブ
から読み出し、このデータを複写先ドライブの同一領域
に書き込む複写制御を行う入出力制御部を備え、前記複
写制御により1領域分のデータの複写が終了する毎に、
前記入出力制御部により更新される未複写領域の位置情
報を記憶する未複写領域管理メモリと、前記入出力制御
部が前記ディスクドライブのヘッドを移動した時に、そ
の移動先を記憶するヘッド位置管理メモリを備えるコン
ピュータシステム中のディスク制御装置であって、前記
入出力制御部が、前記ヘッド位置管理メモリに記録され
ている前記複写先ドライブのヘッド位置と前記未複写領
域管理メモリに記憶されている未複写領域の位置情報を
比較し、その時点のヘッド位置の最も近くに位置する未
複写領域を探索し、この領域のデータを前記複写制御に
より複写し、これを繰り返すことにより前記複写元ドラ
イブの全データを前記複写先ドライブに複写する手段
と、前記複写手段による動作中に前記上位装置から前記
複写元ドライブに対するデータの読み出し要求が発生し
た時、前記入出力制御部が複写を中止し、前記複写元ド
ライブと前記複写先ドライブのヘッドを前記上位装置か
ら要求されたデータの書き込まれている位置に移動し、
要求されたデータの読み出し実行した後、再び前記複写
手段によって複写を再開する複写中データ読み出し手
段、および前記複写手段による動作中に前記上位装置か
ら前記複写元ドライブに対するデータの書き込み要求が
発生した時、前記入出力制御部が複写を中止し、前記複
写元ドライブと前記複写先ドライブのヘッドを前記上位
装置から要求されたデータの書き込み位置に移動し、前
記上位装置から要求されたデータの書き込み位置と前記
未複写領域管理メモリに記録されている未複写領域の位
置情報を比較し、前記データの書き込み要求が複写済領
域に対するものであれば、要求されたデータの書き込み
を前記複写元ドライブと複写先ドライブの両ドライブに
対して実行し、前記データの書き込み要求が未複写領域
に対するものであれば、要求されたデータの書き込みを
前記複写元ドライブに対してのみ実行した後、再び前記
複写手段によって複写を再開する複写中データ書き込み
手段を備えることを特徴とするディスク制御装置。1. A plurality of disk drives are connected to a higher-level device that makes a data write or read request to the disk drive, and data is written to the disk drive according to a data write or read request from the higher-level device. Alternatively, the input / output control for reading and reading, one of the disk drives as the copy source drive, and the other as the copy destination drive are used to divide the entire data recording surface of the disk drive into a plurality of areas. An I / O control unit is provided for reading out data for one area from the copy source drive and writing this data in the same area of the copy destination drive. ,
An uncopied area management memory for storing position information of the uncopied area updated by the input / output control unit, and a head position management for storing the movement destination when the I / O control unit moves the head of the disk drive. A disk controller in a computer system including a memory, wherein the input / output control unit is stored in a head position of the copy destination drive recorded in the head position management memory and in the non-copy area management memory. The position information of the uncopied area is compared, the uncopied area located closest to the head position at that time is searched, the data in this area is copied by the copy control, and this is repeated to repeat the operation of the copy source drive. Means for copying all data to the copy destination drive, and means for copying data from the host device to the copy source drive during operation by the copy means. When a data read request is issued, the input / output control unit stops copying and moves the heads of the copy source drive and the copy destination drive to the position where the data requested by the host device is written. ,
After the requested data is read, the copying data is read again by the copying means, and a data write request is issued from the host device to the copy source drive during the operation of the copying means. , The input / output control unit stops copying, moves the heads of the copy source drive and the copy destination drive to the data writing position requested by the host device, and writes the data writing position requested by the host device. And the position information of the uncopied area recorded in the uncopied area management memory are compared, and if the data write request is for the copied area, the requested data writing is copied to the copy source drive. Execute it for both drives of the destination drive, and if the data write request is for the uncopied area. After executing the write requested data only to the copy source drive, disk controller, characterized in that it again comprises a resume copying the data writing means copying by the copy means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4094079A JPH05289827A (en) | 1992-04-14 | 1992-04-14 | Disk controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4094079A JPH05289827A (en) | 1992-04-14 | 1992-04-14 | Disk controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05289827A true JPH05289827A (en) | 1993-11-05 |
Family
ID=14100484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4094079A Pending JPH05289827A (en) | 1992-04-14 | 1992-04-14 | Disk controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05289827A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0684274A (en) * | 1992-01-10 | 1994-03-25 | Trace Mountain Prod Inc | Method for reproducing data on rotary magnetic disk |
EP0635826A2 (en) * | 1993-07-22 | 1995-01-25 | Sharp Kabushiki Kaisha | High-speed data dubbing method |
JP2013097630A (en) * | 2011-11-02 | 2013-05-20 | Fujitsu Ltd | Repeater system and data copy method |
-
1992
- 1992-04-14 JP JP4094079A patent/JPH05289827A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0684274A (en) * | 1992-01-10 | 1994-03-25 | Trace Mountain Prod Inc | Method for reproducing data on rotary magnetic disk |
EP0635826A2 (en) * | 1993-07-22 | 1995-01-25 | Sharp Kabushiki Kaisha | High-speed data dubbing method |
EP0635826A3 (en) * | 1993-07-22 | 1997-01-22 | Sharp Kk | High-speed data dubbing method. |
JP2013097630A (en) * | 2011-11-02 | 2013-05-20 | Fujitsu Ltd | Repeater system and data copy method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3160149B2 (en) | Non-stop program change method of disk controller and disk controller | |
JP3249868B2 (en) | Array type storage system | |
US6230239B1 (en) | Method of data migration | |
JP2000181773A (en) | Storage system | |
JPH06236241A (en) | Hard disk device using flash memory | |
JPH08286837A (en) | External storage subsystem control method and control device | |
JPH07225715A (en) | Method and system for accessing data in cache | |
KR100368964B1 (en) | Data writing method, data reading method, disk drive apparatus and disk drive apparatus controller | |
JPH05289827A (en) | Disk controller | |
US5875453A (en) | Apparatus for and method of information processing | |
JP3847888B2 (en) | High speed host transfer method of rearranged data due to defects in disk device | |
JPH09160889A (en) | Control method for multiprocessor system | |
JPH1027069A (en) | Storage device | |
JP2002342038A (en) | Disk unit that controls the execution order of commands | |
JPH11232037A (en) | Magnetic disk device with disk cache write function | |
JPH04311216A (en) | External storage controller | |
JPH08286836A (en) | Information recording and reproducing device | |
JP2634867B2 (en) | Disk cache data transfer control method | |
JPH06149487A (en) | External storage device and data backup method | |
JPH04220739A (en) | Write hit control method for disk controller | |
JP2634025B2 (en) | Format write control method for magnetic disk controller | |
JPH02113467A (en) | Disk control method | |
JPS59172186A (en) | Cache memory control system | |
JPS61208119A (en) | Disk controller | |
JP2704138B2 (en) | Control method of magnetic disk cache |