JPH06290547A - High-speed data transferring method - Google Patents

High-speed data transferring method

Info

Publication number
JPH06290547A
JPH06290547A JP7602693A JP7602693A JPH06290547A JP H06290547 A JPH06290547 A JP H06290547A JP 7602693 A JP7602693 A JP 7602693A JP 7602693 A JP7602693 A JP 7602693A JP H06290547 A JPH06290547 A JP H06290547A
Authority
JP
Japan
Prior art keywords
sectors
sector
disk
replacement
area
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
JP7602693A
Other languages
Japanese (ja)
Inventor
Takeshi Kobayashi
毅 小林
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP7602693A priority Critical patent/JPH06290547A/en
Publication of JPH06290547A publication Critical patent/JPH06290547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To eliminate the delay of data transfer due to the fact that the seek operation of a head is performed by moving back and forth between normal sectors in consecutive sectors and replacing sectors when defective sectors are included in the consecutive sectors when the read/write of the consecutive sectors is demmanded from a host computer to a disk device having a function replacing defective sectors with normal sectors in replacing sector area on the disk. CONSTITUTION:At the time of starting power source, a controller 4 copies the content of replacing sectors on the disk to RAM replacing area 3. When the controller 4 receives the read/write command to the consecutive sectors from the host computer 1 and when the defective sectors are included in sectors, the controller 4 performs the read/write processions to normal sectors in respective consecutive sectors at first and next performs the read/write processions as to replacing sectors of defective sectors to respective individual sector areas in the RAM replacing sector area 3 in stead of the disk.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はディスク上の欠陥セクタ
を同じくディスク上の交替セクタ領域にある他の正常な
セクタへ交替する機能を持つ磁気ディスク装置,光磁気
ディスク装置等のディスク装置において、ホストコンピ
ュータ(単にホストとも略す)からの連続セクタ領域の
リード/ライトのコマンドに基づき、ディスク装置が正
常セクタ領域と交替セクタ領域との間を往復するヘッド
のシーク動作を行うことによるデータ転送速度の低下を
防ぎ、高速にデータ転送を行うためのディスク装置の高
速データ転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk device such as a magnetic disk device or a magneto-optical disk device having a function of replacing a defective sector on the disk with another normal sector in the replacement sector area on the disk. Based on a read / write command of a continuous sector area from a host computer (also simply abbreviated as a host), the disk device performs a seek operation of a head that reciprocates between a normal sector area and an alternate sector area, thereby determining the data transfer rate. The present invention relates to a high-speed data transfer method of a disk device for preventing deterioration and performing high-speed data transfer.

【0002】なお以下各図において同一の符号は同一も
しくは相当部分を示す。
In the following figures, the same reference numerals indicate the same or corresponding parts.

【0003】[0003]

【従来の技術】一般にホストコンピュータによるディス
ク装置の連続セクタ領域へのデータのリード/ライト
は、先頭のセクタ番号とリード/ライトを行う連続セク
タ数をディスク装置へ指示することにより行う。ホスト
コンピュータとディスク装置とのインタフェースを行う
コントローラは、ホスト側から受け取ったコマンドの指
示に従い、ディスクに対するリード/ライトを行う。
2. Description of the Related Art In general, a host computer reads / writes data from / to a continuous sector area of a disk device by instructing the disk device of a leading sector number and the number of continuous sectors to be read / written. The controller that interfaces between the host computer and the disk device performs read / write on the disk according to the instruction of the command received from the host side.

【0004】ディスク装置においては、欠陥セクタ(即
ち欠陥があり読み書き不能なセクタ)は初期化の際に特
定な領域に確保されている交替セクタに交替される。図
5はディスク面上におけるセクタの説明図である。同図
において51は正常セクタ領域で丸1から丸12…と順
番にセクタが並んでいる。但しこのセクタのうち例えば
丸4と丸7は欠陥セクタ52であるものとする。D1〜
Dnのセクタからなる53の領域はこのような欠陥セク
タに対する交替用のセクタ(交替セクタ)を確保した交
替情報領域で、この例では丸4と丸7の欠陥セクタ52
は夫々D1とD2の交替セクタに代替されておりこの各
交替セクタには夫々交替情報(つまり交替元のセクタの
アドレスとそこに書かれるべきデータ)が書込まれる。
In the disk device, a defective sector (that is, a sector that is defective and cannot be read / written) is replaced with a replacement sector secured in a specific area at the time of initialization. FIG. 5 is an explanatory diagram of sectors on the disk surface. In the figure, reference numeral 51 denotes a normal sector area, in which the sectors are arranged in order from circle 1 to circle 12. However, for example, circle 4 and circle 7 are defective sectors 52. D1
An area 53 composed of Dn sectors is a replacement information area in which replacement sectors (replacement sectors) for such defective sectors are secured. In this example, circles 4 and 7 are defective sectors 52.
Are replaced by replacement sectors D1 and D2, respectively, and replacement information (that is, the address of the replacement source sector and the data to be written therein) is written in each replacement sector.

【0005】ところで前記のコントローラはリード/ラ
イトすべきセクタ中に欠陥セクタがある場合、それに対
する交替セクタを含めた連続セクタのリード/ライトを
行うために、例えば次のような動作を行う。図6はこの
ような従来のディスクコントローラのリード/ライト処
理のフローチャートで、S1〜S7はそのステップを示
す。即ち電源投入後、ホストからリード/ライトのコマ
ンドを受信すると(S1,S2)、リード/ライトすべ
き連続セクタの先頭のセクタ番号(アドレス)とセクタ
数を確認し(S3)、該当する正常セクタ領域51へシ
ークしたうえ、欠陥セクタ52の直前までの正常な連続
セクタにリード/ライトを行い(S4)、欠陥セクタが
存在すればその度にヘッドを交替セクタまでシークさせ
(S5,S6)、リード/ライトを行う。それ以後は、
もとの欠陥セクタの直後の正常セクタまでヘッドを戻し
(S4)、同様の動作を続けていく。
By the way, when the sector to be read / written has a defective sector, the controller performs the following operation, for example, in order to read / write continuous sectors including the replacement sector. FIG. 6 is a flowchart of the read / write processing of such a conventional disk controller, and S1 to S7 indicate the steps. That is, when a read / write command is received from the host after the power is turned on (S1, S2), the head sector number (address) and the number of sectors of consecutive sectors to be read / written are confirmed (S3), and the corresponding normal sector is read. After seeking to the area 51, read / write is performed on a normal continuous sector up to immediately before the defective sector 52 (S4), and if there is a defective sector, the head is sought to the replacement sector (S5, S6). Read / write. After that,
The head is returned to the normal sector immediately after the original defective sector (S4), and the same operation is continued.

【0006】[0006]

【発明が解決しようとする課題】しかしながらこのよう
な従来のリード/ライト方法では、欠陥セクタがある度
にその交替先の正常セクタへのヘッドのシーク動作が発
生し、全体としてのデータリード/ライト速度が遅くな
るという問題がある。すなわちリード/ライトを行う連
続セクタ中に欠陥セクタを含む場合、ヘッドは正常セク
タ領域51と交替セクタ領域53の間を欠陥セクタの数
だけ往復することになり、欠陥セクタの数が多いほどデ
ータリード/ライト速度は遅くなる。
However, in such a conventional read / write method, every time there is a defective sector, the seek operation of the head to the normal sector at the replacement destination occurs, and the data read / write as a whole is performed. There is a problem that the speed becomes slow. That is, when a defective sector is included in the continuous sectors to be read / written, the head reciprocates between the normal sector area 51 and the replacement sector area 53 by the number of defective sectors. / Write speed becomes slow.

【0007】そこで本発明はこのような問題を改善する
ディスク装置の高速データ転送方法を提供することを課
題とする。
Therefore, it is an object of the present invention to provide a high-speed data transfer method for a disk device that solves such a problem.

【0008】[0008]

【課題を解決するための手段】前記の課題を解決するた
めに、請求項1の高速データ転送方法では、ディスク上
の欠陥があり読み書き可能な欠陥セクタ(52など)を
このディスク上の交替セクタ領域(交替情報領域53な
ど)の他の正常なセクタへ交替する機能を持つディスク
装置において、電源立ち上げ時にディスク上の交替セク
タ領域の少なくとも交替元セクタのアドレスデータおよ
び交替元セクタのデータをRAM内のあらかじめ用意し
た交替セクタ領域(3など)にコピーしておき、ホスト
コンピュータ(1など)からのリード/ライトコマンド
によるディスクの交替セクタ領域へのデータのリード/
ライトはディスクの該交替セクタ領域に対応する前記R
AM内の交替セクタ領域へのアクセスにより行い、ヘッ
ドのシーク動作を減らすことで高速なデータ転送を行う
ようにする。
In order to solve the above-mentioned problems, in the high-speed data transfer method according to claim 1, a defective sector which is defective and readable and writable on the disk (52, etc.) is replaced with a replacement sector on the disk. In a disk device having a function of replacing another normal sector in an area (such as the replacement information area 53), at least the address data of the replacement source sector and the data of the replacement source sector in the replacement sector area on the disk are RAM In the spare sector area (3 etc.) prepared in advance, and read / write data from / to the spare sector area of the disk by a read / write command from the host computer (1 etc.)
The write corresponds to the R sector corresponding to the replacement sector area of the disk.
By performing access to the alternate sector area in the AM, the seek operation of the head is reduced to achieve high-speed data transfer.

【0009】また請求項2の高速データ転送方法では、
請求項1に記載の高速データ転送方法において、前記デ
ィスク装置はホストコンピュータのライトコマンドに基
づき前記RAM内の交替セクタ領域を書換えたときは、
該コマンドの終了後、該交替セクタ領域に対応するディ
スク上の交替セクタ領域にRAMを書換えたデータと同
一のデータを上書きするものであるようにする。
Further, in the high speed data transfer method according to claim 2,
The high-speed data transfer method according to claim 1, wherein when the disk device rewrites the replacement sector area in the RAM based on a write command from a host computer,
After the command is finished, the same data as the data rewritten in the RAM is overwritten in the spare sector area on the disk corresponding to the spare sector area.

【0010】[0010]

【作用】ディスク装置内にディスク上の交替情報領域5
3の内容をコピーして置くRAM領域を設け、電源立ち
上げ時に交替情報領域の内容をこのRAMの交替セクタ
領域に読込んで置き、以後ディスクのリード/ライトの
際、交替セクタへのアクセスが必要なときはRAMの交
替セクタ領域に対してアクセスするようにしてシーク動
作を減じ高速にデータを転送する。
Operation: The replacement information area 5 on the disk in the disk device
A RAM area for copying the contents of 3 is provided, and when the power is turned on, the contents of the replacement information area are read and stored in the replacement sector area of this RAM, and it is necessary to access the replacement sector when reading / writing the disk thereafter. In this case, the alternate sector area of the RAM is accessed to reduce the seek operation and transfer the data at high speed.

【0011】[0011]

【実施例】以下図1ないし図5を用いて本発明の実施例
を説明する。図1は本発明の一実施例であり、ディスク
への読み書きを行うシステムの構成を示すブロック図で
ある。同図において1は上位のホストコンピュータ、2
はディスク装置、3はRAMの交替セクタ領域、4はコ
ントローラ(制御部)、5はホストインタフェース部、
6はバッファ・マネージャ、7はコントローラ・バッフ
ァ、8はディスクドライブである。ホストコンピュータ
1はリード/ライトの際、ディスク装置2とホストイン
タフェース部5を介して接続され、ディスクの連続セク
タ領域をリード/ライトしようとするときは、ディスク
装置2に対し読み書きする先頭セクタ番号とセクタ数を
リード/ライトのコマンドに含めて指示する。書き込み
時にはライトコマンドに続けて書き込みデータをディス
ク装置2へ送り、読み出し時にはリードコマンド出力
後、ディスク装置2から読出されたセクタデータを受け
取る。RAMの交替セクタ領域3は、本発明により追加
した部分である。
Embodiments of the present invention will be described below with reference to FIGS. FIG. 1 is an embodiment of the present invention, and is a block diagram showing the configuration of a system for reading and writing to a disk. In the figure, 1 is a high-order host computer, 2
Is a disk device, 3 is a replacement sector area of RAM, 4 is a controller (control unit), 5 is a host interface unit,
6 is a buffer manager, 7 is a controller buffer, and 8 is a disk drive. The host computer 1 is connected to the disk device 2 via the host interface unit 5 at the time of reading / writing, and when reading / writing a continuous sector area of the disk, the head sector number for reading / writing from / to the disk device 2 is set. Include the number of sectors in the read / write command to instruct. At the time of writing, write data is sent to the disk device 2 following the write command, and at the time of reading, the read command is output and then the sector data read from the disk device 2 is received. The replacement sector area 3 of the RAM is a portion added by the present invention.

【0012】図2はこのRAMの交替セクタ領域3の構
成例を示す。即ちこの交替セクタ領域3はディスクの図
5で述べた交替情報領域53におけるD1〜Dnのn個
の交替セクタに夫々対応するR1〜Rnのn個の領域か
らなり、この各領域R1〜Rnは夫々当該の交替セクタ
についての管理情報(アドレス)11とその交替セクタ
のデータ12より成る。
FIG. 2 shows a configuration example of the replacement sector area 3 of this RAM. That is, the replacement sector area 3 is composed of n areas R1 to Rn corresponding to the n replacement sectors D1 to Dn in the replacement information area 53 of FIG. Each is composed of management information (address) 11 for the corresponding replacement sector and data 12 of the replacement sector.

【0013】図3はディスクへのリード/ライトデータ
の一時的な保管場所であるコントローラ・バッファ7の
構成例を示す。図4は図1のコントローラの動作説明用
のフローチャートで、S11〜S20はそのステップを
示す。図1の構成では、ホストコンピュータ1とディス
ク装置2は1バイトごとのハンドシェイク方式によって
コマンド及びデータの授受を行う。本構成における電源
投入時からディスクへのリード/ライトの動作について
図1〜図3,図5を参照しつつ図4のフローチャートを
用いて次に説明する。
FIG. 3 shows an example of the structure of the controller buffer 7, which is a temporary storage location for read / write data to the disk. FIG. 4 is a flowchart for explaining the operation of the controller of FIG. 1, and S11 to S20 show the steps. In the configuration of FIG. 1, the host computer 1 and the disk device 2 exchange commands and data by a handshake method for each byte. The read / write operation from the power-on to the disk in this configuration will be described below with reference to FIGS. 1 to 3 and 5 and the flowchart of FIG.

【0014】・電源投入時:図2に示したように、RA
Mにもディスクと同じようにあらかじめn個の交替情報
(交替元のアドレス11とそこに書かれるべきデータ1
2)専用の交替セクタ領域3が確保されている。電源投
入後(S11)、コマンド待ちの状態になる前に必ずデ
ィスクの交替情報領域53内の欠陥セクタ別の交替情報
(図5のD1〜Dn)をRAMの交替セクタ領域3内の
交替セクタ別の領域(図2のR1〜Rn)にコピーする
手続きを組み込んでおく。すなわち初期のコマンド待ち
ではディスク上の交替セクタD1〜Dnと夫々同一の内
容がRAMの交替セクタ領域3の個別領域R1〜Rnに
コピーされた状態にしておく(S12)。
When power is turned on: As shown in FIG.
Similar to the disc, the M pieces of n pieces of replacement information (the replacement source address 11 and the data 1 to be written there) are stored in advance.
2) The dedicated replacement sector area 3 is secured. After the power is turned on (S11), the replacement information for each defective sector (D1 to Dn in FIG. 5) in the replacement information area 53 of the disk must be written for each replacement sector in the replacement sector area 3 of the RAM before entering the command waiting state. A procedure for copying to the area (R1 to Rn in FIG. 2) is incorporated. That is, in the initial command wait, the same contents as the replacement sectors D1 to Dn on the disk are copied to the individual areas R1 to Rn of the replacement sector area 3 of the RAM (S12).

【0015】・連続セクタのリード:図5において丸4
と丸7が欠陥セクタ52で、それぞれ交替セクタD1と
D2に交替されている場合に、丸1から丸12までのセ
クタを連続してリードするようなコマンドをホストコン
ピュータ1から受け取った時のヘッドの動きとデータの
流れについて説明する。コマンドを受け取ると(S1
3)、コントローラ4はリード/ライト対象の連続セク
タの先頭アドレスとセクタ数を確認し(S14)、初め
に正常セクタにヘッドをシークさせ、欠陥セクタを除く
セクタのデータをコントローラ・バッファ7の対応する
アドレス(図3のB1〜B3,B5,B6,B8〜B1
2)に書き込む。次にRAMの交替セクタ領域3の個別
セクタ領域(この例ではR1とR2)から、図5の欠陥
セクタ丸4と丸7に対するセクタデータをコントローラ
・バッファ7の対応するアドレス(図3のB4,B7)
に転送する(S16,S17)。結果としてコントロー
ラ・バッファ7には情報系列の順にデータが書き込まれ
る。次にコントローラ4はこのコントローラバッファ7
内の連続した情報系列をバッファマネージャ6,ホスト
インタフェース部5を介してホストコンピュータ1へ送
る。
Read of continuous sectors: circle 4 in FIG.
And the circle 7 are defective sectors 52 and are replaced by the replacement sectors D1 and D2, respectively, the head when receiving a command from the host computer 1 to continuously read the sectors 1 to 12 And the flow of data will be described. When a command is received (S1
3) The controller 4 confirms the start address and the number of sectors of continuous sectors to be read / written (S14), first seeks the head to a normal sector, and makes the data of the sector excluding the defective sector correspond to the controller buffer 7. Address (B1 to B3, B5, B6, B8 to B1 in FIG. 3)
Write in 2). Next, from the individual sector areas (R1 and R2 in this example) of the replacement sector area 3 of the RAM, the sector data for defective sectors circles 4 and 7 in FIG. 5 are transferred to the corresponding addresses (B4 in FIG. 3) of the controller buffer 7. B7)
(S16, S17). As a result, data is written in the controller buffer 7 in the order of information series. Next, the controller 4 uses this controller buffer 7
The continuous information sequence in the above is sent to the host computer 1 via the buffer manager 6 and the host interface unit 5.

【0016】・連続セクタのライト:図5において丸4
と丸7が欠陥セクタで、それぞれ交替セクタD1とD2
に交替されている場合に、丸1から丸12までのセクタ
を連続してライトするようなコマンドをホストコンピュ
ータ1から受け取った時のヘッドの動きとデータの流れ
について説明する。コマンドを受け取ると(S13)、
コントローラ(制御部)4はこのコマンドに続いてホス
トコンビュータ1から出力される連続セクタのデータを
一旦、バッファマネージャ6を介してコントローラバッ
ファ7の各アドレス領域(図3のB1〜B12)に書込
む。次にコントローラ4は初めに正常セクタ領域51に
ヘッドをシークさせ、欠陥セクタ52を除く各セクタに
対して順次コントローラ・バッファ7の対応するアドレ
ス(図3のB1〜B3,B5,B6,B8〜B12)の
データを書き込む(S15)。次にRAMの交替セクタ
領域3に欠陥セクタに対応するセクタデータをコントロ
ーラ・バッファ7の対応するアドレス(図3のB4,B
7)から転送する(S16,S17)。そしてホスト1
のコマンド終了の直後に(S18)、RAMの交替セク
タ領域3に変更があれば(S19,分岐Y)、すなわ
ち、ライトした範囲に交替セクタがあれば、更新された
RAM内容をディスクの交替セクタ領域53へ上書き
し、ディスク上の交替情報も更新する(S20)。
Write of consecutive sectors: circle 4 in FIG.
And circle 7 are defective sectors, and replacement sectors D1 and D2, respectively.
The following will describe the movement of the head and the flow of data when a command for continuously writing the sectors from circle 1 to circle 12 is received from the host computer 1 in the case where the data is exchanged for. When the command is received (S13),
Following this command, the controller (control unit) 4 once writes the continuous sector data output from the host computer 1 to each address area (B1 to B12 in FIG. 3) of the controller buffer 7 via the buffer manager 6. . Next, the controller 4 first seeks the head in the normal sector area 51, and sequentially addresses corresponding sectors (B1 to B3, B5, B6, B8 to B8 in FIG. 3) of the controller buffer 7 for each sector except the defective sector 52. The data of B12) is written (S15). Next, the sector data corresponding to the defective sector is stored in the replacement sector area 3 of the RAM at the corresponding addresses (B4 and B in FIG. 3) of the controller buffer 7.
Transfer from 7) (S16, S17). And host 1
Immediately after the end of the command (S18), if there is a change in the replacement sector area 3 of the RAM (S19, branch Y), that is, if there is a replacement sector in the written range, the updated RAM contents are replaced with the replacement sector of the disk. The area 53 is overwritten and the replacement information on the disc is also updated (S20).

【0017】[0017]

【発明の効果】本発明によれば電源立ち上げ時にディス
ク装置のコントローラがディスク上の交替セクタ情報を
RAMに読み込んでおき、以後、交替セクタへのアクセ
スはRAMに対して行うようにした。即ち、コントロー
ラはホストコンピュータからのリード/ライトコマンド
を受け取ると、まず正常セクタのみのリード/ライトを
行い、次に交替セクタが存在する場合のみRAMにコピ
ーされた交替セクタへのリード/ライトを行う。ライト
コマンド実行中にRAMの交替セクタ内容を更新した場
合はコマンド終了直後にディスクの交替領域も更新す
る。以上のように本発明では交替領域へのアクセスはR
AMで行うようにしたので、動作の遅いヘッドの移動を
最小限に抑えたデータ転送ができる。結果として、シー
ク動作の少ない高速データ転送が可能となる。
According to the present invention, when the power is turned on, the controller of the disk device reads the replacement sector information on the disk into the RAM, and thereafter, the replacement sector is accessed to the RAM. That is, when the controller receives a read / write command from the host computer, it first reads / writes only the normal sector, and then reads / writes the replacement sector copied to the RAM only when the replacement sector exists. . When the content of the replacement sector of the RAM is updated during the execution of the write command, the replacement area of the disk is also updated immediately after the end of the command. As described above, in the present invention, the access to the replacement area is R
Since it is performed by AM, data transfer can be performed while the movement of the slow-moving head is minimized. As a result, high-speed data transfer with less seek operation becomes possible.

【0018】本発明が効果的である例を紹介する。ディ
スク装置のコントローラからSCSIバスなどを介して
接続されている外部装置(ホストコンピュータあるいは
他の周辺機器)でのデータ処理が、シーケンサ回路を用
いているためにデータのシリアルな授受に関して時間的
制約が大きい場合には、従来方式では誤動作を招く恐れ
がある。このようなシステムに対してはデータを高速に
(途切れることなくコンスタントに)転送する必要があ
り、本発明の有効性が発揮されると考えられる。
An example in which the present invention is effective will be introduced. Data processing in an external device (host computer or other peripheral device) connected from the controller of the disk device via a SCSI bus or the like has a time constraint regarding serial data transfer because the sequencer circuit is used. If it is large, the conventional method may cause a malfunction. Data must be transferred at high speed (without interruption) to such a system, and the effectiveness of the present invention is considered to be exerted.

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

【図1】本発明の一実施例としてのシステムの構成を示
すブロック図
FIG. 1 is a block diagram showing the configuration of a system as an embodiment of the present invention.

【図2】図1のRAMの交替セクタ領域の構成例を示す
FIG. 2 is a diagram showing a configuration example of a replacement sector area of the RAM of FIG.

【図3】図1のコントローラバッファの構成例を示す図FIG. 3 is a diagram showing a configuration example of a controller buffer in FIG.

【図4】図1のディスク装置の動作説明用のフローチャ
ート
4 is a flowchart for explaining the operation of the disk device shown in FIG.

【図5】ディスク面上のセクタ領域の説明図FIG. 5 is an explanatory diagram of a sector area on the disk surface.

【図6】従来のディスク装置の動作説明用のフローチャ
ート
FIG. 6 is a flowchart for explaining the operation of a conventional disk device.

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

1 ホストコンピュータ 2 ディスク装置 3 RAMの交替セクタ領域 4 コントローラ(制御部) 5 ホストインタフェース部 6 バッファマネージャ 7 コントローラバッファ 8 ディスクドライブ 11 アドレス 12 データ 51 正常セクタ領域 52 欠陥セクタ 53 交替情報領域 1 host computer 2 disk device 3 replacement sector area of RAM 4 controller (control section) 5 host interface section 6 buffer manager 7 controller buffer 8 disk drive 11 address 12 data 51 normal sector area 52 defective sector 53 replacement information area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ディスク上の欠陥があり読み書き可能な欠
陥セクタをこのディスク上の交替セクタ領域の他の正常
なセクタへ交替する機能を持つディスク装置において、
電源立ち上げ時にディスク上の交替セクタ領域の少なく
とも交替元セクタのアドレスデータおよび交替元セクタ
のデータをRAM内のあらかじめ用意した交替セクタ領
域にコピーしておき、ホストコンピュータからのリード
/ライトコマンドによるディスクの交替セクタ領域への
データのリード/ライトはディスクの該交替セクタ領域
に対応する前記RAM内の交替セクタ領域へのアクセス
により行い、ヘッドのシーク動作を減らすことで高速な
データ転送を行うことを特徴とするディスク装置の高速
データ転送方法。
1. A disk device having a function of replacing a defective readable / writable defective sector on a disk with another normal sector of an alternate sector area on the disk,
When power is turned on, at least the address data of the replacement source sector and the data of the replacement source sector in the replacement sector area on the disk are copied to the replacement sector area prepared in advance in the RAM and the disk is read / written by the host computer. The data read / write from / to the replacement sector area of the disk is performed by accessing the replacement sector area in the RAM corresponding to the replacement sector area of the disk, and high-speed data transfer is performed by reducing the seek operation of the head. A high-speed data transfer method for a disk device characterized.
【請求項2】請求項1に記載の高速データ転送方法にお
いて、前記ディスク装置はホストコンピュータのライト
コマンドに基づき前記RAM内の交替セクタ領域を書換
えたときは、該コマンドの終了後、該交替セクタ領域に
対応するディスク上の交替セクタ領域にRAMを書換え
たデータと同一のデータを上書きするものであることを
特徴とするディスク装置の高速データ転送方法。
2. The high-speed data transfer method according to claim 1, wherein when the disk device rewrites the replacement sector area in the RAM based on a write command from a host computer, the replacement sector is written after the command is completed. A high-speed data transfer method for a disk device, characterized in that the same data as the data rewritten in the RAM is overwritten in an alternate sector area on the disk corresponding to the area.
JP7602693A 1993-04-02 1993-04-02 High-speed data transferring method Pending JPH06290547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7602693A JPH06290547A (en) 1993-04-02 1993-04-02 High-speed data transferring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7602693A JPH06290547A (en) 1993-04-02 1993-04-02 High-speed data transferring method

Publications (1)

Publication Number Publication Date
JPH06290547A true JPH06290547A (en) 1994-10-18

Family

ID=13593318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7602693A Pending JPH06290547A (en) 1993-04-02 1993-04-02 High-speed data transferring method

Country Status (1)

Country Link
JP (1) JPH06290547A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980063200A (en) * 1996-12-31 1998-10-07 김광호 How to reallocate data sectors on your hard disk drive
GB2396453A (en) * 2002-11-15 2004-06-23 Plasmon Lms Inc Relocation batch processing using a memory and defect management area in disk drives with grown defects

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980063200A (en) * 1996-12-31 1998-10-07 김광호 How to reallocate data sectors on your hard disk drive
GB2396453A (en) * 2002-11-15 2004-06-23 Plasmon Lms Inc Relocation batch processing using a memory and defect management area in disk drives with grown defects
US7200771B2 (en) 2002-11-15 2007-04-03 Plasmon Lms, Inc. Relocation batch processing for disk drives

Similar Documents

Publication Publication Date Title
US20010047451A1 (en) Method and apparatus for disc drive defragmentation
JPH056891B2 (en)
JPH04218828A (en) Large-capacity magnetic-disk driving apparatus
JPH07334426A (en) Information recording and reproducing device and data caching method
US5337197A (en) Method and system for maintaining directory consistency in magneto-optic media
JPH08286837A (en) Control method for external storage sub system and controller therefor
US20020015252A1 (en) Method and apparatus for a disc drive adaptive file system
JPH10301721A (en) Method for processing defective sector of information storage medium, and information storing and reproducing device
JPH08152975A (en) Disk device and data write-read method
JPH0467469A (en) Rotary type storage device and control method for same
JPH06290547A (en) High-speed data transferring method
JPH04111113A (en) Hard disk emulator
JPH0511933A (en) Hard disk emulator and fixed cache area allocating method for the emulator
JPH03290873A (en) Disk type storage device, controller of disk type storage device, and control method for disk type storage device
JP3794322B2 (en) Data copy system
JPH05210915A (en) Disk device
JP2002251821A (en) Information recording and reproducing device
JPH0644118A (en) File backup system
JPH02113467A (en) Disk control system
JP2561394B2 (en) I / O control method
JP3080416B2 (en) Method of executing internal operation in controller and controller
JPH07239759A (en) Backup device and method for disk array device
JPH11232046A (en) Magnetic disk device
JPH1049312A (en) Magnetic disk drive
JPH0628779A (en) Method for recording and controlling data in disk device