JPS60247728A - Disk control system - Google Patents

Disk control system

Info

Publication number
JPS60247728A
JPS60247728A JP10413584A JP10413584A JPS60247728A JP S60247728 A JPS60247728 A JP S60247728A JP 10413584 A JP10413584 A JP 10413584A JP 10413584 A JP10413584 A JP 10413584A JP S60247728 A JPS60247728 A JP S60247728A
Authority
JP
Japan
Prior art keywords
format
medium
factory
disk
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
JP10413584A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Takeshita
竹下 信義
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP10413584A priority Critical patent/JPS60247728A/en
Publication of JPS60247728A publication Critical patent/JPS60247728A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To reduce readout errors without returning a device to the factory by receiving a formatting operation instruction from a host device, and performing format conversion by using medium defective information stored in a memory and formatting the device. CONSTITUTION:A ROMII8 is already stored with medium defective information on a magnetic disk device 11. When a medium is formatted differently from the format of the device 11, the formatting operation instruction is received from the HOST12, the medium defective information stored in the ROMII8 is used to perform conversion to defective sectors in new format different from the format at the time of factory shipment, and the device 11 is formatted in the new format according to the converted defective sectors. Thus, when the format different from the format at the time of factory shipment is used, readout errors are reduced without returning the device 11 to the factory.

Description

【発明の詳細な説明】 技術分野 本発明はディスク制御方式に関し、特に記録ディスクの
記録面の媒体欠陥に関する情報を処理するディスク制御
方式に関する。
TECHNICAL FIELD The present invention relates to a disk control system, and more particularly to a disk control system that processes information regarding medium defects on the recording surface of a recording disk.

従来技術 一般に、磁気ディスク装置や光デイスク装置等のディス
ク装置は、円形の基板の表面に磁性材料や感光材料によ
る薄膜面を形成したディスク(記録媒体)を1枚又は複
数枚積重ねて回転させつつこの記録媒体の中心に向って
往復運動自在な磁気ヘッド又は光ヘッド等の書込読出ヘ
ッドによって情報の書込読出を行う構成を有している。
Prior Art In general, disk devices such as magnetic disk devices and optical disk devices are made by stacking one or more disks (recording media) on which a thin film of magnetic or photosensitive material is formed on the surface of a circular substrate and rotating the disks. It has a configuration in which information is written and read by a write/read head such as a magnetic head or an optical head that can freely reciprocate toward the center of the recording medium.

従って、ディスク装置は大容量でしかもアクセスタイム
(書込や読出のための選択動作時間)の短い記憶装置と
して比較的安価に得られるため、各種の情報処理装置に
広く用いられており、記憶媒体の膜面形成技術や書込読
出ヘッドの設計および生産の進歩によりその記録密度も
年々向上している。このようなディスク装置に使用され
る記憶媒体は、その記憶面の欠陥を皆無にすることは記
憶膜面の形成過程からみて必ずしも経済的ではないので
、ある一定数以下の欠陥の存在を許容して使用している
のが普通である。
Therefore, disk devices are widely used in various information processing devices because they can be obtained at relatively low cost as storage devices with large capacity and short access time (selective operation time for writing and reading). With advances in film surface formation technology and in the design and production of write/read heads, the recording density is increasing year by year. Since it is not necessarily economical to eliminate all defects on the storage surface of the storage medium used in such disk devices from the viewpoint of the formation process of the storage film surface, the storage medium is allowed to have a certain number of defects or less. It is common to use

そこで、従来のディスク装置は、工場からの出荷時にそ
の装置に組込まれている媒体の欠陥を検査しその欠陥に
関する情報(欠陥情報)をその媒体上に特定の記録形成
によって記録9ておき(このような作業をエラーテスト
フォーマツティングと言い、ETFと略称する)、ディ
スク装置を使用するときは、この欠陥に関する情報を読
み出して欠陥のある場所を知り、その欠陥部分を回避し
て情報の書込みを行うという手段が用いられている。
Therefore, when a conventional disk device is shipped from a factory, a medium incorporated in the device is inspected for defects, and information regarding the defect (defect information) is recorded on the medium by a specific record formation. This process is called error test formatting (abbreviated as ETF). When using a disk device, information about the defect is read out, the location of the defect is known, and the information is written while avoiding the defective part. A method of doing this is used.

しかしながら、ユーザが工場出荷時にディスク装置に記
録されている記録形式(以下、これをフォーマットとい
う)と異ったフォーマットに書き改めて使用するときに
は、既に記録されている欠陥情報は自動的に消滅してし
まうため、上述のようなときはそのディスク装置を工場
へ戻入して再度ETFを行うことによって、異ったフォ
ーマットに書き改めなければならないという欠点を有す
る。あるいは、既に存在する欠陥を全く無視して異った
フォーマットで使用した場合、読出しエラー等の障害が
発生するという欠点を有している。
However, when the user rewrites the data into a format different from the one recorded in the disk device at the time of shipment from the factory (hereinafter referred to as the format), the defect information already recorded is automatically erased. Therefore, in the above-mentioned case, the disk device has to be returned to the factory and rewritten to a different format by performing the ETF again. Alternatively, if the existing defects are completely ignored and a different format is used, problems such as read errors may occur.

発明の目的 本発明は上記従来の欠点を排除すべくなされたものであ
り、その目的とするところは、予め読出専用メモリに格
納されている媒体欠陥情報に基づいて工場出荷時のフォ
ーマントと異なるフォーマットに変換するようにするこ
とにより、ディスク装置を工場へ戻入する必要もなくか
つ読出エラーも発生せず信頼性を高め得るようにしたデ
ィスク制御方式を提供することにある。
OBJECT OF THE INVENTION The present invention has been made to eliminate the above-mentioned conventional drawbacks, and its purpose is to create a format different from the factory-shipped formant based on medium defect information previously stored in a read-only memory. It is an object of the present invention to provide a disk control method that can improve reliability by converting the disk drive into a format that eliminates the need to return the disk device to the factory and prevents read errors from occurring.

発明の構成 本発明によるディスク制御方式は、ディスク装置の媒体
の最初のトラックから最終のトラックまでの全記録トラ
ックの媒体欠陥関連情報を格納するメモリを有し、ディ
スク装置のフォーマットと異なるフォーマットでフォー
マツティングするに際しては、上位装置からフォーマッ
ト動作命令を受けてメモリに格納されている媒体欠陥関
連情報を用いてフォーマット変換して当該ディスク装置
をフォーマツティングするようにした構成である。
Composition of the Invention The disk control method according to the present invention has a memory that stores information related to medium defects of all recording tracks from the first track to the last track of the medium of a disk device, and can be formatted in a format different from that of the disk device. When matting is performed, the configuration is such that a format operation command is received from a host device, format conversion is performed using medium defect related information stored in a memory, and the disk device is formatted.

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

第1図は本発明を適用した磁気ディスク制御装置の一例
の構成を示すブロック図である。図において、インタフ
ェース制御回路9は上位装置 (HO8T)12との間
でデータ信号および制御信号の授受を行い、以下に述べ
る磁気ディスク制御装置内の各回路との間でこれらの信
号の伝達を行う。
FIG. 1 is a block diagram showing the configuration of an example of a magnetic disk control device to which the present invention is applied. In the figure, an interface control circuit 9 exchanges data signals and control signals with a host device (HO8T) 12, and transmits these signals with each circuit in the magnetic disk control device described below. .

制御用処理回路(以下制御用CPUと略称する)2は、
第一読出し専用メモリ(以下ROM)と略称する)6に
格納されている動作手順に従って磁気ディスク制御装置
(DKC)10の動作を制御する回路でデータバスライ
ン21によって、インタフェース制御回路9、ROMl
6、ランダムアクセスメモリ(以下RAMと略称する)
7、第二読出し専用メモリ(以下ROM[と略称する)
8、書込み読出し制御回路(以下R席制御回路と略称す
する)4および誤り修正回路(以下FCC回路と略称す
る)5と、またアドレスバスライン22によってROM
(6、RAM7およびROM[8と夫々接続されている
The control processing circuit (hereinafter abbreviated as control CPU) 2 includes:
This circuit controls the operation of the magnetic disk controller (DKC) 10 according to the operation procedure stored in the first read-only memory (hereinafter referred to as ROM) 6.
6. Random access memory (hereinafter abbreviated as RAM)
7. Second read-only memory (hereinafter abbreviated as ROM)
8, a write/read control circuit (hereinafter referred to as the R seat control circuit) 4 and an error correction circuit (hereinafter referred to as the FCC circuit) 5, and the address bus line 22
(6, connected to RAM7 and ROM[8, respectively.

R/W制御回路4は、インタフェース制御回路9を介し
てHO3T2との間で送受されるデータが格納されてい
るRAM7の格納データの磁気ディスク装置(以下、D
KUと略称する)11への書込みまだは読出し動作の制
御を行う。ECC回路5は、DKUllから読出したデ
ータに誤りがある場合、これを検出して誤りを訂正する
為の情報を生成し、該情報に従って訂正されたデータは
RAM7に格納される。RAM7は、インタフェース回
路9を介してHO3T12から送られてくるデータや制
御信号またはECC回路5において生成された訂正情報
によって修正されたデータの一時格納を行う。ROM[
8はDKUIIの欠陥情報がちらハかしめ格納しである
回路であり、異ったフォーマットで使用する場合に読出
される。ROM(6は本発、卿制;御装置の各動作手順
を格納しておく回路であり、制御用CPU2からアドレ
スバス22によってその番地を指定されてデータバス2
1によって読出される。
The R/W control circuit 4 is connected to a magnetic disk device (hereinafter referred to as D
(abbreviated as KU) 11 controls write and read operations. If there is an error in the data read from the DKUll, the ECC circuit 5 detects the error and generates information for correcting the error, and the data corrected according to the information is stored in the RAM 7. The RAM 7 temporarily stores data and control signals sent from the HO3T 12 via the interface circuit 9 or data corrected by correction information generated in the ECC circuit 5. ROM [
Reference numeral 8 denotes a circuit in which defect information of the DKUII is stored in a staggered manner, and is read out when used in a different format. ROM (6 is a circuit for storing each operating procedure of the main control device; the address is specified by the control CPU 2 by the address bus 22, and the data bus 2
1.

なお、メモリアクセス制御回路゛(以下DMAコントロ
ーラという)3は、ECC回路5からの読出しデータを
RAM7に格納するときDKUIIの読出し速度に合わ
せてRAM7の番地指定を行うための制御回路であって
制御用″CPU2に代って動作する。又、このDMAコ
ントローラ3は、RAM7のデータをFCC回路5を通
じてD K Ullに書込む場合にも制御用CPU2に
代って動作するものである。
The memory access control circuit (hereinafter referred to as DMA controller) 3 is a control circuit for specifying the address of the RAM 7 in accordance with the read speed of the DKUII when storing read data from the ECC circuit 5 in the RAM 7. The DMA controller 3 also operates in place of the control CPU 2 when data in the RAM 7 is written to the DK Ull via the FCC circuit 5.

第2図は工場出荷時のフォーマットと異ったフォーマッ
トで使用する場合に媒体欠陥を含んでフォーマット変換
する一例を説明するものである。
FIG. 2 explains an example of format conversion including medium defects when using a format different from the factory-shipped format.

図において、工Mはトラック始点、終点を示すインデッ
クマークであシ、媒体欠陥はIMよ!71Aバイトの位
置に存在する。IMから次のIMまで11バイトの記憶
容量であシ、工場出荷時のフォーマットがnセクタ分割
であるならば、第2図における媒体欠陥に相当するセク
タは、t2//(tI/+1)の演算を行うことによっ
て容易にわかるもので、ETFを行った時、該媒体欠陥
に相当するセクタは欠陥セクタである旨記憶されている
。然るに、工場出荷時フォーマットと異なるフォーマッ
ト(例えばmセクタ分割)で使用するならば、t2/(
71,/m)の演算を行うことによって、異なるフォー
マットにおいても媒体欠陥に相当する欠陥セクタは容易
に判明する。
In the figure, M is an index mark indicating the start and end points of a track, and IM indicates a media defect. It exists at the 71A byte position. If the storage capacity from one IM to the next IM is 11 bytes, and the factory default format is n-sector division, the sector corresponding to the media defect in Figure 2 is t2//(tI/+1). This can be easily determined by performing calculations, and when ETF is performed, it is stored that the sector corresponding to the medium defect is a defective sector. However, if you use a format different from the factory default format (for example, m-sector division), t2/(
71,/m), defective sectors corresponding to medium defects can be easily identified even in different formats.

ROM[8には、第2図のIMから媒体欠陥までのバイ
ト数の他、該媒体欠陥の存在する7リンダ、ヘッド番号
等があらかじめ記憶されているものである。
In addition to the number of bytes from the IM to the medium defect shown in FIG. 2, the 7 cylinders in which the medium defect exists, the head number, etc. are stored in advance in the ROM [8.

次に、前記の構成を有するDKCIQおよびDKUll
に対して本発明の磁気ディスク制御装置の動作について
第3図のフローチャートを参照して説明する。第3図は
本発明において工場出荷時のフォーマットと異なるフォ
ーマットに変換する動作の一実施例を示すフローチャー
トである。上述した如<、ROM118には、DKUI
Iの媒体欠陥情報が既に格納しである。いまHO8T1
2から”5PECIFY”コマンドを受信する(参照番
号a)。
Next, DKCIQ and DKUll with the above configuration
The operation of the magnetic disk control device of the present invention will be explained with reference to the flowchart of FIG. FIG. 3 is a flowchart showing an example of the operation of converting into a format different from the factory-shipped format according to the present invention. As mentioned above, the ROM 118 contains the DKUI
The medium defect information for I has already been stored. Now HO8T1
Receives the "5PECIFY" command from 2 (reference number a).

”5PECIFY”コマンドとは、DKUIIの最大シ
リンダ数、最大ヘッド数、最大セクタ数等を磁気ディス
ク制御装置に指示するコマンドと定義する。この°’5
PECIFY”コマンドによって指定される最大セクタ
数と、工場出荷時フォーマットされている最大セクタ数
とを比較することにより(参照番号b)、工場出荷時フ
ォーマットと相違しなければ次の処理を実行する(参照
番号C)。
The "5PECIFY" command is defined as a command that instructs the magnetic disk control device about the maximum number of cylinders, maximum number of heads, maximum number of sectors, etc. of the DKUII. This °'5
By comparing the maximum number of sectors specified by the ``PECIFY'' command with the maximum number of sectors formatted at the factory (reference number b), if the format does not differ from the factory shipment, the next process is executed ( Reference number C).

もし、工場出荷時フォーマットと相違していれば、HO
8T12から”EORMAT DRIVE” コマンド
を受信する(参照番号d)。“F ORMA TDRI
VE”コマンドとは、DKUIIを指定されたフォーマ
ットで書込むことを指示するコマンドと定義する。次に
、ROMI[8から読出した欠陥情報従い、工場出荷時
フォーマットとは異なる新フォーマットにおける欠陥セ
クタに変換しく参照番号e)、変換された欠陥セクタに
従ってDKUllを新フォーマットにフォーマットする
(参照番号f)。
If the format differs from the factory default, please
8T12 receives the "EORMAT DRIVE" command (reference number d). “FORMA TDRI
VE" command is defined as a command that instructs to write DKUII in a specified format. Next, according to the defect information read from ROMI [8], the defect sector is written in a new format different from the factory format. Convert reference number e) and format the DKUll to a new format according to the converted defective sectors (reference number f).

以上あ動作を行うことによって、工場出荷時の媒体欠陥
情報を何ら損うことなく新フォー毎ットに変換できるも
のである。以上の説明は、本発明を磁気ディスク制御装
置および磁気ディスク装置に適用した場合であるが、光
デイスク制御装置および光デイスク装置に対しても全く
同様に適用することができることは上述の説明から明ら
かである。又本実施例は固定長セクタ分割の場合を例と
した。が、可変長セクタにおいても適用することができ
る。
By performing the above operations, it is possible to convert the media defect information at the time of factory shipment to the new format without any loss. The above description is for the case where the present invention is applied to a magnetic disk control device and a magnetic disk device, but it is clear from the above description that the present invention can be applied in exactly the same way to an optical disk control device and an optical disk device. It is. Furthermore, this embodiment takes as an example the case of fixed length sector division. However, it can also be applied to variable length sectors.

発明の詳細 な説明した様に、本発明によれば、工場出荷時のフォー
マットとは異なるフォーマットを使用する場合に、媒体
欠陥情報が何等損われることがないので、読出エラーの
著しい低減をもたらす効果があり、またディスク装置を
工場へ戻入する必要もなくなる。
As described in detail, according to the present invention, when a format different from the factory-shipped format is used, medium defect information is not damaged in any way, resulting in a significant reduction in read errors. This also eliminates the need to return the disk device to the factory.

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

第1図は本発明の一実施例のブロック図、第2図は、固
定セクタ方式による記録形式において媒体欠陥に相当す
る欠陥セクタの演算及びフォーマット変換例を説明する
図、第3図は第1図のブロックの動作を示すフローチャ
ートである。 主要部分の符号の説明 2・・・制御用CPU 3・・・DMAコントローラ4
・・・書込読出側、御回路 5・・・FCC回路 6.8・・ROM7・・・RAM
 11・・・ディスク装置12・・・上位装置 出願人 日本電気株式会社 代理人 弁理士 柳 川 信 第1図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram illustrating an example of calculation and format conversion of a defective sector corresponding to a medium defect in a fixed sector recording format, and FIG. 3 is a flowchart showing the operation of the blocks in the figure. Explanation of symbols of main parts 2... Control CPU 3... DMA controller 4
...Write/read side, control circuit 5...FCC circuit 6.8...ROM7...RAM
11...Disk device 12...Upper device Applicant NEC Corporation Agent Patent attorney Shin Yanagawa Figure 1

Claims (1)

【特許請求の範囲】[Claims] ディスク装置の記録媒体の全記録トラックの媒体欠陥関
連情報を格納したメモリ手段を有し、前記ディスク装置
のフォーマットと異なるフォーマットをもってフォーマ
ツティングする際に、上位装置からフォーマット動作命
令を受けて前記メモリ手段に格納された前記媒体欠陥情
報を用いてフォーマット変換して前記ディスク装置をフ
ォーマツティングするようにしたことを特徴とするディ
スク制御方式。
It has a memory means storing medium defect related information of all recording tracks of the recording medium of the disk device, and when formatting with a format different from the format of the disk device, the memory means receives a formatting operation command from a host device. A disk control method characterized in that the medium defect information stored in the means is used to convert the format and format the disk device.
JP10413584A 1984-05-23 1984-05-23 Disk control system Pending JPS60247728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10413584A JPS60247728A (en) 1984-05-23 1984-05-23 Disk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10413584A JPS60247728A (en) 1984-05-23 1984-05-23 Disk control system

Publications (1)

Publication Number Publication Date
JPS60247728A true JPS60247728A (en) 1985-12-07

Family

ID=14372658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10413584A Pending JPS60247728A (en) 1984-05-23 1984-05-23 Disk control system

Country Status (1)

Country Link
JP (1) JPS60247728A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6414774A (en) * 1987-07-08 1989-01-18 Fuji Electric Co Ltd Method for initializing hard disk
JPH01286016A (en) * 1988-05-13 1989-11-17 Canon Electron Inc Information recording and reproducing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6414774A (en) * 1987-07-08 1989-01-18 Fuji Electric Co Ltd Method for initializing hard disk
JPH01286016A (en) * 1988-05-13 1989-11-17 Canon Electron Inc Information recording and reproducing device

Similar Documents

Publication Publication Date Title
EP0837472B1 (en) Signal recording apparatus and signal recording method
JP4279515B2 (en) Recording / playback device
EP0272029B1 (en) Erasable optical disk and optical information recording and reproducing apparatus having means for managing defective sector
JPH02216672A (en) Optical disk drive device
US8081396B2 (en) Processing data recorded on a tape medium
US20040128581A1 (en) Information storage apparatus that can relocate data to be stored in defective sectors
US6079044A (en) Method and error correcting code (ECC) apparatus for storing predefined information with ECC in a direct access storage device
US5161072A (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JP2001014606A (en) Magnetic disk device
JPH0316712B2 (en)
EP0437202B1 (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JPS60247728A (en) Disk control system
JPS58109954A (en) Magnetic disc controller
JP2623238B2 (en) Information playback method
JP3803209B2 (en) Method for controlling rotary memory device and rotary memory device
JPS58150111A (en) Magnetic disc device
JPS6038764A (en) Information recording system
JP2776558B2 (en) Bad sector replacement method for disk drive.
JP3257024B2 (en) Optical disk drive
JPH02236865A (en) Information recording and reproducing device
JPS6013360A (en) Storage device
JP2503371B2 (en) Disk system
JP2725343B2 (en) Data recording device and method
JPH0258768A (en) Disk controller
JPH0417458B2 (en)