JPH04143968A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH04143968A
JPH04143968A JP26498890A JP26498890A JPH04143968A JP H04143968 A JPH04143968 A JP H04143968A JP 26498890 A JP26498890 A JP 26498890A JP 26498890 A JP26498890 A JP 26498890A JP H04143968 A JPH04143968 A JP H04143968A
Authority
JP
Japan
Prior art keywords
magnetic disk
address
controller
write
read
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
JP26498890A
Other languages
Japanese (ja)
Inventor
Nobuaki Teramura
寺村 信明
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
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP26498890A priority Critical patent/JPH04143968A/en
Publication of JPH04143968A publication Critical patent/JPH04143968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To reduce the burden of a main controller by constituting the device so that when a controller in the device receives an instruction from a main computer, it selects a defective part on a recording medium by itself and records it in a specific position on the medium. CONSTITUTION:A controller 23 receives an instruction of a computer 3, operates a sequencer 25 and sets a write pattern to a disk 5, sets an address to '0' and executes recording by a head 9. Whether a write error caused by a defect of the disk 5 is generated or not is decided. In the case of generation, defect information is written in a buffer, and at the time of no error or the end of write, the address is decided. When a write address passes through a final address, it is shifted to read. Subsequently, data of a read-in address on the disk 5 is read in by the head 9. When the read-in address passes through the final address by the same operation, the controller 23 sends the processing end to the main computer 3, and the processing is finished. According to this constitution, the burden of the main computer can be reduced.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は磁気ディスク装置に関するものである。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to a magnetic disk device.

(従来の技術) 従来の磁気ディスク装置においては、磁気ディスク上の
欠陥を検出するために、磁気ディスクの欠陥箇所の洗出
しおよび欠陥情報を磁気ディスクへ記録することが行わ
れる。
(Prior Art) In a conventional magnetic disk device, in order to detect defects on a magnetic disk, a defective portion of the magnetic disk is identified and defect information is recorded on the magnetic disk.

このような処理を行うには、例えば、磁気ディスク装置
に接続されたホストコンピュータが磁気ディスク上の欠
陥箇所の洗出し、および欠陥情報の磁気ディスクへの書
き込みという処理を行うための一連の命令を逐次磁気デ
ィスク装置内のコントローラに送り、コントローラがそ
の命令を逐次解読し処理を行う。
To perform such processing, for example, a host computer connected to a magnetic disk device issues a series of instructions to identify defective locations on the magnetic disk and write defect information to the magnetic disk. The instructions are sequentially sent to the controller in the magnetic disk device, and the controller sequentially decodes and processes the instructions.

また、別の方法として、磁気ディスク装置に測定器を取
り付け、この測定器が磁気ディスク上の欠陥箇所の洗出
し、および欠陥情報の磁気ディスクへの書き込みという
処理を行うための一連の命令を逐次磁気ディスク装置内
のコントローラに送り、コントローラがその命令を逐次
解読して処理を行うことがある。
Another method is to attach a measuring device to a magnetic disk drive, and this measuring device sequentially issues a series of instructions to identify defective locations on the magnetic disk and write defect information to the magnetic disk. The instructions may be sent to a controller within the magnetic disk device, and the controller may sequentially decode and process the instructions.

(発明が解決しようとする課題) 前者においては、前述したようにこれらの処理にかかわ
る一連の命令をホストコンビ二一夕が逐次磁気ディスク
装置内のコントローラへ出すので、これらの処理を行う
間、ホストコンピュータが占有されてしまうという問題
があった。
(Problem to be Solved by the Invention) In the former case, as described above, the host computer sequentially issues a series of instructions related to these processes to the controller in the magnetic disk device, so while these processes are being performed, There was a problem that the host computer was occupied.

また、後者の場合、専用の測定器が必要となる。In the latter case, a dedicated measuring device is required.

本発明は、このような問題に鑑みてなされたもので、そ
の目的とするところは、磁気ディスク上の欠陥箇所の洗
出しおよび欠陥情報の磁気ディスクへの記録を行うにあ
たり、ホストコンピュータの負担が小さく、また専用の
測定器も不要な磁気ディスク装置を提供することにある
The present invention has been made in view of these problems, and its purpose is to reduce the burden on the host computer when identifying defective locations on magnetic disks and recording defective information onto magnetic disks. The object of the present invention is to provide a magnetic disk device that is small and does not require a dedicated measuring device.

[琴明の構成] (課題を解決するための手段) 前述した目的を達成するために本発明は、磁気ディスク
装置の各種動作を制御するコントローラを本体に内蔵す
る磁気ディスク装置において、前記コントローラはホス
トコンピュータから所定の命令が送られると、磁気記録
媒体上の欠陥箇所を洗出す機能と、前記磁気記録媒体上
に設けた特定の領域に欠陥情報を記録する機能と、を備
えたことを特徴としている。
[Configuration of Kotomei] (Means for Solving the Problems) To achieve the above-mentioned object, the present invention provides a magnetic disk device in which a controller for controlling various operations of the magnetic disk device is built into the main body, the controller comprising: When a predetermined command is sent from a host computer, the device has a function of identifying a defective location on a magnetic recording medium, and a function of recording defect information in a specific area provided on the magnetic recording medium. It is said that

(作用) 本発明では、磁気ディスク装置内のコントローラがホス
トコンピュータから所定の命令を受けると、このコント
ローラ自身が磁気記録媒体上の欠陥箇所を洗出し、磁気
記録媒体上に設けた特定の領域に欠陥情報を記録する。
(Function) In the present invention, when the controller in the magnetic disk device receives a predetermined command from the host computer, the controller itself identifies defective areas on the magnetic recording medium and places them in specific areas provided on the magnetic recording medium. Record defect information.

(実施例) 以下、図面に基づいて本発明の一実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、本発明の一実施例にかかる磁気ディスク装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a magnetic disk device according to an embodiment of the present invention.

同図において、符号1は磁気ディスク装置を表わし、こ
の磁気ディスク装置はホストコンピュータ3に接続され
、このホストコンピュータ3は磁気ディスク装置1の動
作を制御する。
In the figure, reference numeral 1 represents a magnetic disk device, and this magnetic disk device is connected to a host computer 3, and this host computer 3 controls the operation of the magnetic disk device 1.

磁気記録媒体たる磁気ディスク5は、情報信号を記録す
る。
A magnetic disk 5, which is a magnetic recording medium, records information signals.

スピンドルモータ7は、スピンドルドライバ21によっ
て駆動され、磁気ディスク5を回転させる。
The spindle motor 7 is driven by a spindle driver 21 and rotates the magnetic disk 5.

磁気ヘッド9は、磁気ディスク5に対して情報信号の読
み書きを行う。
The magnetic head 9 reads and writes information signals to and from the magnetic disk 5 .

アクチュエータ11は、磁気ヘッド9の位置を移動させ
る。
The actuator 11 moves the position of the magnetic head 9.

ヘッドランプ13は、読み込み時は情報信号を増幅させ
、書き込み時は磁気ヘッドの駆動を行う。
The headlamp 13 amplifies the information signal during reading and drives the magnetic head during writing.

リード回路15は、磁気ディスク5から読み出された信
号から情報を再生する。
The read circuit 15 reproduces information from the signal read from the magnetic disk 5.

ライト回路17は、情報を磁気ディスク5に記録するた
めの信号に変換する。
The write circuit 17 converts information into a signal for recording on the magnetic disk 5.

サーボ回路19は、磁気ヘッドの位置決め制御を行う。The servo circuit 19 performs positioning control of the magnetic head.

スピンドルドライバ21は、スピンドルモータ7を駆動
する。
The spindle driver 21 drives the spindle motor 7.

コントローラ23は、シーケンサ25.27を有してお
り、ホストコンピュータ3の指令により磁気ディスク装
置1内の各種回路を制御する。
The controller 23 has sequencers 25 and 27, and controls various circuits within the magnetic disk device 1 according to commands from the host computer 3.

シーケンサ25は、磁気ディスク5上の欠陥を洗出す処
理を行う。
The sequencer 25 performs a process of cleaning out defects on the magnetic disk 5.

シーケンサ27は、欠陥情報を磁気ディスク5上の特定
の領域に記録する処理を行う。
The sequencer 27 performs a process of recording defect information in a specific area on the magnetic disk 5.

次に、本実施例の動作を第2図のフローチャートを用い
て説明する。
Next, the operation of this embodiment will be explained using the flowchart shown in FIG.

ホストコンピュータ3は、コントローラ23に対して磁
気ディスク5上の欠陥の洗出しおよび欠陥情報の磁気デ
ィスク1への書込みを行うという命令を送る。
The host computer 3 sends a command to the controller 23 to identify defects on the magnetic disk 5 and write defect information to the magnetic disk 1.

コントローラ23は、この命令を受けると以下の処理を
自動的に行う。
Upon receiving this command, the controller 23 automatically performs the following processing.

まず、シーケンサ25が動作し、磁気ディスク5に対し
て、たとえばワーストパターンのような書込みパターン
を設定する(ステップSl)。
First, the sequencer 25 operates to set a write pattern, such as the worst pattern, on the magnetic disk 5 (step Sl).

次に、ヘッド番号、シリンダ番号、セクタ番号で示され
る磁気ディスク5上のアドレスである書込みアドレスA
ddを「0」に設定する(ステップS2)。
Next, a write address A is an address on the magnetic disk 5 indicated by the head number, cylinder number, and sector number.
dd is set to "0" (step S2).

次に、磁気ディスク5上の書込みアドレスで示される位
置に磁気ヘッド9によりステップS1で設定した書込み
パターンを記録する(ステップS3)。
Next, the write pattern set in step S1 is recorded by the magnetic head 9 at the position indicated by the write address on the magnetic disk 5 (step S3).

この書込み動作において、磁気ディスク5の欠陥による
書込みエラーが発生したかどうかを判定しくステップS
4)、エラーが発生した場合、欠陥情報をバッファへ書
き込む(ステップS5)。
In this write operation, it is determined in step S whether a write error has occurred due to a defect in the magnetic disk 5.
4) If an error occurs, write defect information to the buffer (step S5).

エラーが発生しない場合、またはステップS5の処理が
終了すると、書込みアドレスAddを1増やしくステッ
プS6)、書込みアドレスAddが最終アドレス以下か
否かを判定する(ステップS7)書込みアドレスAdd
が最終アドレス以下の場合、ステップS3に戻り、以上
の動作を繰り返す。
If no error occurs or the process in step S5 is completed, the write address Add is increased by 1 (step S6), and it is determined whether the write address Add is less than or equal to the final address (step S7).
If is less than or equal to the final address, the process returns to step S3 and the above operations are repeated.

書込みアドレスが最終アドレスを越えると、読取り動作
を行う。
When the write address exceeds the final address, a read operation is performed.

すなわち、ヘッド番号、シリンダ番号、セクタ番号で示
される磁気ディスク5上のアドレスである読込みアドレ
スAddlを「0」に設定する(ステップS8)。
That is, the read address Addl, which is the address on the magnetic disk 5 indicated by the head number, cylinder number, and sector number, is set to "0" (step S8).

次に、磁気ディスク5上の読込みアドレスAddlで示
される位置のデータを磁気ヘッド9により読込む(ステ
ップS9)。
Next, data at the position indicated by the read address Addl on the magnetic disk 5 is read by the magnetic head 9 (step S9).

この読込み動作において、磁気ディスク5の欠陥による
読込みエラーが発生したかどうかを判定しくステップ5
10)、エラーが発生した場合欠陥情報をバッファへ書
き込む(ステップ511)。
In this read operation, it is determined whether or not a read error has occurred due to a defect in the magnetic disk 5.
10) If an error occurs, write defect information to the buffer (step 511).

エラーが発生しない場合、またはステップS11の処理
が終了すると、読込みアドレスAddlを1増やしくス
テップ512)、読込みアドレスAddlが最終アドレ
ス以下か否かを判定する(ステップ513)。
If no error occurs, or if the process in step S11 is completed, the read address Addl is increased by 1 (step 512), and it is determined whether the read address Addl is less than or equal to the final address (step 513).

読込みアドレスAddlが最終アドレス以下の場合、ス
テップS9に戻り、以上の動作を繰り返す。
If the read address Addl is less than or equal to the final address, the process returns to step S9 and the above operations are repeated.

読込みアドレスAddlが最終アドレスを越えると、シ
ーケンサ27がバッファにストアされている欠陥情報を
磁気ディスク5上の、例えば最外周の位置に記録する(
ステップ514)。
When the read address Addl exceeds the final address, the sequencer 27 records the defect information stored in the buffer on the magnetic disk 5, for example, at the outermost position (
Step 514).

次に、コントローラ23は、処理終了を示すメツセージ
をホストコンピュータ3に送り、処理の終了となる。
Next, the controller 23 sends a message indicating the end of the process to the host computer 3, and the process ends.

かくして本実施例によれば、コントローラ23が磁気デ
ィスク5上の欠陥箇所の洗出しおよび欠陥情報の磁気デ
ィスク5に対する書込み処理を行うので、ホストコンピ
ュータ3は、その間開放され、別の処理に使用されるこ
とが可能となる。
Thus, according to this embodiment, since the controller 23 performs processing to identify defective locations on the magnetic disk 5 and write defect information to the magnetic disk 5, the host computer 3 is freed during that time and is used for other processing. It becomes possible to

なお、本実施例においては、磁気ディスク装置1自身に
スイッチを設け、このスイッチにより磁気ディスク装置
1本体に電源が入ると同時に、磁気ディスク5の欠陥の
洗出しおよぞ欠陥情報の記録を行わせることもできる゛
In this embodiment, a switch is provided in the magnetic disk device 1 itself, and when the switch turns on the power to the magnetic disk device 1 itself, defects in the magnetic disk 5 are identified and defect information is recorded. You can also do it.

また、本実施例では、磁気ディスク装置を対象としたが
、本発明を光磁気ディスク装置に応用することもできる
Further, although this embodiment is directed to a magnetic disk device, the present invention can also be applied to a magneto-optical disk device.

[発明の効果コ 以上詳細に説明したように本発明によれば、磁気ディス
ク上の欠陥箇所の洗出しおよび欠陥情報の磁気ディスク
への記録を行うにあたり、ホストコンビ二一夕の負担が
小さく、また専用の測定器も不要な磁気ディスク装置を
提供することができる。
[Effects of the Invention] As described in detail above, according to the present invention, the burden on the host computer is small in identifying defective locations on the magnetic disk and recording defect information on the magnetic disk. Furthermore, it is possible to provide a magnetic disk device that does not require a dedicated measuring device.

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

第1図は、本発明の一実施例にかかる磁気ディスク装置
の構成を示すブロック図、 第2図は、本実施例の動作を示すフローチャートである
。 3・・・・・・・・・ホストコンピュータ5・・・・・
・・・・磁気ディスク 9・・・・・・・・・磁気ヘッド 23・・・・・・・・・コントローラ 代理人 弁理士  則 近 憲 佑 代理人 弁理士 山 下  −〇””1117第1 図 第2図(酌 第2図 (b) コ
FIG. 1 is a block diagram showing the configuration of a magnetic disk device according to an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of this embodiment. 3...Host computer 5...
...Magnetic disk 9 ...... Magnetic head 23 ...... Controller agent Patent attorney Nori Chika Kensuke Agent Patent attorney Yamashita -〇""1117 No. 1 Figure 2 (cup Figure 2 (b)

Claims (1)

【特許請求の範囲】 磁気ディスク装置の各種動作を制御するコントローラを
本体に内蔵する磁気ディスク装置において、 前記コントローラはホストコンピュータから所定の命令
が送られると、磁気記録媒体上の欠陥箇所を洗出す機能
と、前記磁気記録媒体上に設けた特定の領域に欠陥情報
を記録する機能と、 を備えたことを特徴とする磁気ディスク装置。
[Scope of Claims] A magnetic disk device having a built-in controller for controlling various operations of the magnetic disk device, wherein the controller identifies defective locations on a magnetic recording medium when a predetermined command is sent from a host computer. A magnetic disk device comprising: a function of recording defect information in a specific area provided on the magnetic recording medium.
JP26498890A 1990-10-04 1990-10-04 Magnetic disk device Pending JPH04143968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26498890A JPH04143968A (en) 1990-10-04 1990-10-04 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26498890A JPH04143968A (en) 1990-10-04 1990-10-04 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH04143968A true JPH04143968A (en) 1992-05-18

Family

ID=17411007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26498890A Pending JPH04143968A (en) 1990-10-04 1990-10-04 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH04143968A (en)

Similar Documents

Publication Publication Date Title
JP3432441B2 (en) Hard disk drive manufacturing process management method
JP4015277B2 (en) Servo track writer port number recording method
JP2837155B2 (en) How to copy hard disk drive
JPH04143968A (en) Magnetic disk device
JPH06309118A (en) Information processor
KR980011310A (en) Maintenance method in a maintenance cylinder
KR100419394B1 (en) Method for recording error management program for analyzing and repairing malfunction of magnetic disk recording device
KR100496180B1 (en) Defect Handling on Hard Disk Drives
JPH0991907A (en) System and method for manufacture of disc apparatus
KR100422428B1 (en) Method for reducing time for performing burn-in test process
KR100417224B1 (en) How to Overlay a Program on a Hard Disk Drive
JPH05182369A (en) Magnetic disk control method
JPS59157813A (en) Controller for magnetic memory of rotor
JPS60101788A (en) Optical disk controller
JPH1092101A (en) Magnetic disc apparatus and its driving method
JPH09320209A (en) Disk storage device and its accessing method
JP2003045132A (en) Disk storage medium and disk storage provided with the same
JPH05298812A (en) Magnetic disk control device
JPH08106722A (en) Information recording/reproducing apparatus
JPH09213033A (en) Data recording and reproducing device and head positioning control method for the same
KR19980021712A (en) How to test burn-in of a hard disk drive
JPH05150909A (en) Magnetic disk device with data compare mode
JPH04223520A (en) Magnetic disk device backup method
JPS61208534A (en) Control system for semiconductor disk
KR19990065703A (en) How to Scan Micro Defects from Hard Disk Drives