JPH04152421A - Disk filing device - Google Patents

Disk filing device

Info

Publication number
JPH04152421A
JPH04152421A JP27819290A JP27819290A JPH04152421A JP H04152421 A JPH04152421 A JP H04152421A JP 27819290 A JP27819290 A JP 27819290A JP 27819290 A JP27819290 A JP 27819290A JP H04152421 A JPH04152421 A JP H04152421A
Authority
JP
Japan
Prior art keywords
area
data
alternative
disk
substitute
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
JP27819290A
Other languages
Japanese (ja)
Inventor
Yoshihide Kikuchi
芳秀 菊地
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
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 filed Critical NEC Corp
Priority to JP27819290A priority Critical patent/JPH04152421A/en
Publication of JPH04152421A publication Critical patent/JPH04152421A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)

Abstract

PURPOSE:To perform a substitute processing at a high speed by reading the data out of the substitute area of a disk medium in an operating state, storing the read data into a semiconductor memory, and carrying out the substitute processing with the use of the data on the substitute area. CONSTITUTION:A controller 101 controls a semiconductor memory 102 and a disk device 103 and starts the operation of the device 103. Then the substitute information indicating the relation between a defective area and its substitute area is read out of the device 13. Then the substitute data backed up in the substitute area is read out based on the substitute information and written into a memory 102. When a data read instruction is received from a host computer, the data is read out of the device 103 and the substitute area if included in the read data is read out of the memory 102. Therefore no seeking operation is required even if the substitute area is distant from the area of the device 103 which reads out the data. Thus the substitute processing is carried out at a high speed.

Description

【発明の詳細な説明】 C産業上の利用分野〕 本発明は、ディスクファイル装置に関し、特にディスク
ファイル装置の不良エリアに対する代替処理を高速に行
うことが可能なディスクファイル装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a disk file device, and particularly to a disk file device that can perform alternative processing for defective areas of the disk file device at high speed.

〔従来の技術] ディスク媒体には、製造時の不良、あるいは運用時の障
害などで正しく読み書きできない不良エリアが存在する
。従来のディスクファイル装置では、その不良エリアに
対処するために、ディスク媒体上に代替エリアが設けら
れていた。そして、この代替エリアを使用するために、
以下のように行っていた。すなわち、ディスクのフォー
マット時またはデータの入出力時に、不良エリアのチエ
ツクを行う。このとき、不良エリアが検出されると、デ
ィスク媒体に格納された代替情報を読み出し、空いてい
る代替エリアを探して、不良エリアの代わりに割り当て
る。以降、不良エリアをアクセスする代わりに、代替エ
リアに対してデータの入出力を行うというものである。
[Prior Art] Disk media have defective areas where reading and writing cannot be performed correctly due to defects during manufacturing or failures during operation. In conventional disk file devices, alternative areas are provided on the disk medium in order to deal with the defective areas. And to use this alternative area,
It was done as follows. That is, defective areas are checked when formatting a disk or inputting/outputting data. At this time, when a defective area is detected, alternative information stored on the disk medium is read, an empty alternative area is searched for, and allocated in place of the defective area. Thereafter, instead of accessing the defective area, data is input/output to the alternative area.

ここで、代替情報とは不良エリア番号と代替エリア番号
との対応関係を示している。
Here, the alternative information indicates the correspondence between the defective area number and the alternative area number.

しかしながら上記方法では、代替処理を行う度に、代替
情報をディスクから読み出す必要がある。
However, in the above method, it is necessary to read the replacement information from the disk every time replacement processing is performed.

この問題を解決する1手段として、特開昭63−288
370号公報「ディスク制御装置」が知られている。
As one means to solve this problem,
No. 370 "Disk Control Device" is known.

これは、ディスク装置への通電後、ディスク装置の代替
情報を半導体メモリに予め読み出しておくことで、代替
情報の読み出し時間を短縮し、代替処理が迅速に行える
ようにしたものである。
This is to shorten the time required to read out the replacement information by reading out the replacement information of the disk device into the semiconductor memory in advance after power is applied to the disk device, thereby making it possible to quickly perform replacement processing.

[発明が解決しようとする課B] 上述した従来のディスクファイル装置では、代替セクタ
そのもののデータをディスク媒体から読み出しているた
め、代替セクタが同一トラックに無い場合はシーク動作
が生じ、高速な代替処理が望めないという欠点がある。
[Problem B to be Solved by the Invention] In the conventional disk file device described above, the data of the alternative sector itself is read from the disk medium, so if the alternative sector is not on the same track, a seek operation occurs, resulting in a high-speed alternative sector. The disadvantage is that it cannot be processed.

・ 本発明の目的は、このような欠点を解消し、代替エリア
からの読み出し時間を短縮することで代替処理を高速に
行うことのできるディスクファイル装置を提供すること
にある。
- An object of the present invention is to provide a disk file device that can eliminate these drawbacks and perform alternative processing at high speed by shortening the time required to read from an alternative area.

〔課題を解決するための手段〕[Means to solve the problem]

第1の発明は、ディスク媒体上の不良エリアを代替エリ
アで代替する機能を有するディスクファイル装置におい
て、 データを格納する半導体メモリを有し、ディスク媒体上
の前記代替エリアに格納されたデータを、運用時に読み
出して前記半導体メモリに格納し、前記半導体メモリに
格納された代替エリアのデータにより代替処理を行うこ
とを特徴とする。
A first aspect of the present invention is a disk file device having a function of replacing a defective area on a disk medium with an alternative area, which includes a semiconductor memory for storing data, and the data stored in the alternative area on the disk medium is It is characterized in that it is read out and stored in the semiconductor memory during operation, and that replacement processing is performed using data in the replacement area stored in the semiconductor memory.

第2の発明は、ディスク媒体上の不良エリアを代替エリ
アで代替する機能を有するディスクファイル装置におい
て、 データを格納し、電源を切断してもデータが消えない不
揮発性メモリを有し、 前記不揮発メモリ上に前記代替エリアを割り当て、代替
処理を行うことを特徴とする。
A second invention is a disk file device having a function of replacing a defective area on a disk medium with a substitute area, which has a non-volatile memory that stores data and does not erase the data even when the power is turned off, and the non-volatile The method is characterized in that the alternative area is allocated on the memory and alternative processing is performed.

〔作用〕[Effect]

第1の発明では、ディスクファイル装置が、ディスク媒
体上の代替エリアに書かれたデータを、運用時に読み出
してディスクファイル装置に内蔵されている半導体メモ
リに格納する。その後、ディスクファイル装置に対して
データ読み出しの命令があり、かつ代替処理が必要とな
った場合、代替領域のデータは、ディスク媒体上からで
はなく、半導体メモリから読み出す。半導体メモリから
読み出す速度は、ディスク媒体から読み出す速度より十
分に速いため、高速な代替処理が可能となる。
In the first invention, a disk file device reads data written in an alternative area on a disk medium during operation and stores it in a semiconductor memory built into the disk file device. Thereafter, when a command to read data is issued to the disk file device and alternative processing is required, the data in the alternative area is read from the semiconductor memory rather than from the disk medium. Since the speed of reading from a semiconductor memory is sufficiently faster than the speed of reading from a disk medium, high-speed alternative processing is possible.

さらに、第2の発明においては、上記の代替エリアをデ
ィスクファイル装置に内蔵されている不揮発性メモリ上
に割り当てている。第1の発明では、書き込み時には半
導体メモリとディスク媒体両方に書き込む必要があるが
、第2の発明では、不揮発性メモリにのみ書き込めば良
く、代替データの書き込みも極めて短い時間で行うこと
が可能となる。
Furthermore, in the second invention, the above alternative area is allocated on the nonvolatile memory built into the disk file device. In the first invention, when writing, it is necessary to write to both the semiconductor memory and the disk medium, but in the second invention, it is only necessary to write to the nonvolatile memory, and alternative data can also be written in an extremely short time. Become.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、第1の発明の一実施例を示す装置ブロック図
である。
FIG. 1 is a device block diagram showing an embodiment of the first invention.

このディスクファイル装置10は、制御装置101と、
半導体メモリ102と、ディスク装置103とから構成
されている。
This disk file device 10 includes a control device 101,
It is composed of a semiconductor memory 102 and a disk device 103.

半導体メモ1月02は、ディスク装置103に比べ、高
速に読み書き可能な半導体メモリであり、ディスク媒体
上の代替エリアに書かれたデータを格納する。
The semiconductor memo January 02 is a semiconductor memory that can read and write faster than the disk device 103, and stores data written in an alternative area on the disk medium.

ディスク装置103は、磁気ディスク装置、光磁気ディ
スク装置等の書き換え可能で、かつ代替エリアを持つデ
ィスク装置である。
The disk device 103 is a rewritable disk device such as a magnetic disk device or a magneto-optical disk device and has an alternative area.

制御装置101は、半導体メモ1月02.ディスク装置
103を制御し、ディスク装置の運用を開始すると、デ
ィスク装置から不良エリアと代替エリアとの対応関係を
示す代替情報を読み出す。次に、読み出した代替情報に
基づき、その情報の代替エリアにハックアップされてい
る代替データを読み出し、半導体メモ1月02に書き込
む。そして、ホストコンピュータからデータの読み出し
命令を受けると、ディスク装置103からデータを読み
出し、この読み出したデータに代替エリアが含まれてい
た場合、その代替エリアのデータをディスク装置103
ではなく半導体メモ1月02から読み出す。これにより
、代替エリアがデータを読み出すディスク装置103の
エリアから離れている場合でも、シーク動作の必要がな
い。
The control device 101 uses semiconductor memo January 02. When the disk device 103 is controlled and the operation of the disk device is started, alternative information indicating the correspondence between the defective area and the alternative area is read from the disk device. Next, based on the read substitute information, the substitute data hacked up in the substitute area of the information is read and written in the semiconductor memo January 02. When receiving a data read command from the host computer, the data is read from the disk device 103, and if the read data includes an alternative area, the data in the alternative area is transferred to the disk device 103.
Instead, read from Semiconductor Memo January 02. Thereby, even if the alternative area is far from the area of the disk device 103 from which data is read, there is no need for a seek operation.

第3図は、第1図の実施例及び後述の第2図の実施例で
使用される代替情報の一例を示す図である。ディスク装
置には、不良エリア番号と代替エリア番号とが対応して
格納されている。すなわち、代替情報51では、不良エ
リアNo、31 と代替エリアNo、40とが対応し、
代替情報52では、不良エリアNo、33と代替エリア
41とが対応し、代替情報53では、不良エリアNo、
35と代替エリア43とが対応している。代替情報は、
不良エリアの数だけあるが、第3図では、代替情報51
〜53のみ示している。
FIG. 3 is a diagram showing an example of alternative information used in the embodiment of FIG. 1 and the embodiment of FIG. 2, which will be described later. A defective area number and an alternative area number are stored in correspondence with each other in the disk device. That is, in the alternative information 51, defective area No. 31 and alternative area No. 40 correspond,
In the alternative information 52, the defective area No. 33 corresponds to the alternative area 41, and in the alternative information 53, the defective area No. 33 corresponds to the alternative area 41.
35 and the alternative area 43 correspond to each other. Alternative information is
There are as many defective areas as there are, but in Fig. 3, alternative information 51
Only 53 are shown.

次に、第1発明の実施例における動作について第3図を
も参照して説明する。ディスクファイル装置10の運用
が開始されると、制御装置101がディスク装置102
から不良エリアと代替エリアとの対応関係を示す代替情
報51(不良エリアNo、31゜代替エリアNo、40
)を読み出す。次に、その代替情報5Iに基づき、代替
エリアNo、40にバックアップされている代替データ
を読み出し、半導体メモリ102に書き込む。
Next, the operation in the embodiment of the first invention will be explained with reference to FIG. 3 as well. When the operation of the disk file device 10 is started, the control device 101 controls the disk device 102.
Alternative information 51 (defective area No., 31° Alternative area No., 40
) is read out. Next, based on the alternative information 5I, the alternative data backed up in the alternative area No. 40 is read and written into the semiconductor memory 102.

そして、制御装置101は、ホストコンピュータからデ
ータの読み出し命令を受け、ディスク装置103から読
み出した読み出しデータの格納エリアに代替エリアが含
まれていた場合、代替エリアのデータをディスク媒体か
らではなく、半導体メモリ102から読み出す。この様
にしてこのディスクファイル装置は、代替エリアがディ
スク装置の読み出しデータの格納エリアから離れている
場合にも、シーク動作を行うことがなく、高速に代替処
理ができる。
When the control device 101 receives a data read command from the host computer and the storage area for the read data read from the disk device 103 includes an alternative area, the control device 101 stores the data in the alternative area from the semiconductor rather than from the disk medium. Read from memory 102. In this way, this disk file device can perform alternative processing at high speed without performing a seek operation even when the alternative area is far from the read data storage area of the disk device.

第2図は、第2の発明の一実施例を示す装置ブロック図
である。
FIG. 2 is a device block diagram showing an embodiment of the second invention.

このディスクファイル装置20は、制御装置201と、
不揮発性メモリ202と、ディスク装置203とから構
成されている。制御装置201.ディスク装置203の
機能は、第1の発明(第1図)の制御装置101.ディ
スク装置102とほぼ同しである。メモリ部分を、半導
体メモリ102から不揮発性メモIJ202に変えてい
るのが特徴となっている。
This disk file device 20 includes a control device 201,
It is composed of a nonvolatile memory 202 and a disk device 203. Control device 201. The functions of the disk device 203 are the same as those of the control device 101 of the first invention (FIG. 1). It is almost the same as the disk device 102. The feature is that the memory part is changed from the semiconductor memory 102 to a non-volatile memory IJ 202.

この不揮発性メモリ202とは、EEFROMなど、電
気的に読み書き可能で、かつメモリに電源電圧をかけな
い状態でも記憶内容が失われないメモリより成る。なお
、通常の揮発性半導体メモリとバックアップ用電源を組
み合わせて、疑似的な不揮発性メモリを構成することも
可能である。また、ディスク装置203は、ディスク装
置103と同じ物を用いることもできるが、代替エリア
を持たない物であっても構わない。
This non-volatile memory 202 consists of a memory such as an EEFROM which is electrically readable and writable and whose stored contents are not lost even when a power supply voltage is not applied to the memory. Note that it is also possible to configure a pseudo nonvolatile memory by combining a normal volatile semiconductor memory and a backup power source. Further, the disk device 203 can be the same as the disk device 103, but it is also possible to use a device that does not have an alternative area.

次に、第2の発明の実施例における動作について第3図
をも参照して説明する。まず、ホストコンピュータから
制御装置201に対して読み書きの要求が出されると、
制御装置201は、不良エリアと代替エリアの対応関係
を表す代替情報52(不良エリアNo、33.代替エリ
アNo、41)を読み出し、読み書き要求のデータの格
納領域に不良エリアがあるかないかを調査する。ここで
、代替情報52は、従来通りディスク媒体上に持ってい
ても良いが、不揮発性メモリ上に持つ方が、高速な動作
が可能となる。不良エリアの調査の結果、制御装置20
1は、データの格納領域に不良エリアが含まれていなけ
れば、ディスク媒体に対し全データの読み書きを行う。
Next, the operation in the embodiment of the second invention will be explained with reference also to FIG. First, when a read/write request is issued from the host computer to the control device 201,
The control device 201 reads out the alternative information 52 (defective area number, 33; alternative area number, 41) representing the correspondence between the defective area and the alternative area, and investigates whether there is a defective area in the storage area of the data requested for reading or writing. do. Here, the alternative information 52 may be stored on a disk medium as before, but faster operation is possible if it is stored on a non-volatile memory. As a result of the investigation of the defective area, the control device 20
1, if the data storage area does not include a defective area, all data is read from and written to the disk medium.

一方、不良エリア以外のデータはディスク媒体に対して
読み書きを行い、不良エリアNo、33に対応する代替
エリアNo、41のデータは、不揮発性メモリ202に
対して読み書きを行う。こうすることにより、ディスク
媒体上の代替エリアへ書き込む必要がなくなり、高速な
代替処理が可能となる。
On the other hand, data other than the defective area is read from and written to the disk medium, and data in alternative area No. 41 corresponding to defective area No. 33 is read from and written to the nonvolatile memory 202. By doing this, there is no need to write to the alternative area on the disk medium, and high-speed alternative processing becomes possible.

〔発明の効果] 以上説明したように、第1の発明では、ディスク媒体上
の代替エリアに格納されたデータを、運用時に読み出し
て内蔵する半導体メモリに格納するため、代替エリアの
データを読み出す場合には、半導体メモリから読み出せ
ば良く、高速な代替処理が可能となる効果がある。特に
、代替エリアが不良エリアと別のトラックにある場合、
従来の方式では、シーク動作が生じる。しかし、本発明
では、そのシーク動作の時間が省けるため、効果は著し
いものとなる。
[Effects of the Invention] As explained above, in the first invention, data stored in the alternative area on the disk medium is read out during operation and stored in the built-in semiconductor memory. This has the effect of enabling high-speed alternative processing by simply reading it out from the semiconductor memory. Especially if the alternate area is on a different track from the bad area.
In conventional schemes, seek operations occur. However, in the present invention, the time required for the seek operation can be saved, so the effect is significant.

また、第2の発明では、代替エリアをディスクファイル
装置に内蔵される不揮発性メモリ上に割り当てているた
め、第1の発明の効果に加え、代替エリアへの書き込み
も、不揮発性メモリに対してのみ行えば良く、高速な代
替処理が可能となる効果がある。さらに、第1の発明の
ような運用時に読み出すという手間が省けるため、通電
後すぐに使用可能となり、使い勝手が著しく向上する効
果もある。
In addition, in the second invention, since the alternative area is allocated on the non-volatile memory built into the disk file device, in addition to the effect of the first invention, writing to the alternative area is also possible with respect to the non-volatile memory. This has the effect of enabling high-speed alternative processing. Furthermore, since the trouble of reading during operation as in the first invention can be omitted, the device can be used immediately after energization, which has the effect of significantly improving usability.

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

第1図は、第1の発明の一実施例を表す装置ブロック図
、 第2図は、第2の発明の一実施例を表す装置ブロック図
、 第3図は、第1図及び第2図の実施例で使用される代替
情報を説明するための図である。 10、20・・・・ディスクファイル装置101、2(
H・・・制御装置 102  ・・・・・半導体メモリ 103、203・・・ディスク装置 202  ・・・・・不揮発性メモリ
FIG. 1 is a device block diagram representing an embodiment of the first invention, FIG. 2 is a device block diagram representing an embodiment of the second invention, and FIG. 3 is a diagram showing FIGS. 1 and 2. FIG. 3 is a diagram for explaining alternative information used in the embodiment. 10, 20... Disk file devices 101, 2 (
H...Control device 102...Semiconductor memory 103, 203...Disk device 202...Nonvolatile memory

Claims (2)

【特許請求の範囲】[Claims] (1)ディスク媒体上の不良エリアを代替エリアで代替
する機能を有するディスクファイル装置において、 データを格納する半導体メモリを有し、 ディスク媒体上の前記代替エリアに格納されたデータを
、運用時に読み出して前記半導体メモリに格納し、前記
半導体メモリに格納された代替エリアのデータにより代
替処理を行うことを特徴とするディスクファイル装置。
(1) A disk file device that has a function of replacing a defective area on a disk medium with an alternative area, which has a semiconductor memory for storing data, and reads the data stored in the alternative area on the disk medium during operation. A disk file device characterized in that data is stored in the semiconductor memory, and alternative processing is performed using data in an alternative area stored in the semiconductor memory.
(2)ディスク媒体上の不良エリアを代替エリアで代替
する機能を有するディスクファイル装置において、 データを格納し、電源を切断してもデータが消えない不
揮発性メモリを有し、 前記不揮発メモリ上に前記代替エリアを割り当て、代替
処理を行うことを特徴とするディスクファイル装置。
(2) A disk file device having a function of replacing a defective area on a disk medium with an alternative area, which has a non-volatile memory that stores data and does not erase the data even when the power is turned off, A disk file device that allocates the alternative area and performs alternative processing.
JP27819290A 1990-10-17 1990-10-17 Disk filing device Pending JPH04152421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27819290A JPH04152421A (en) 1990-10-17 1990-10-17 Disk filing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27819290A JPH04152421A (en) 1990-10-17 1990-10-17 Disk filing device

Publications (1)

Publication Number Publication Date
JPH04152421A true JPH04152421A (en) 1992-05-26

Family

ID=17593877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27819290A Pending JPH04152421A (en) 1990-10-17 1990-10-17 Disk filing device

Country Status (1)

Country Link
JP (1) JPH04152421A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243265A (en) * 2007-03-26 2008-10-09 Toshiba Corp Information recorder and method of controlling thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243265A (en) * 2007-03-26 2008-10-09 Toshiba Corp Information recorder and method of controlling thereof

Similar Documents

Publication Publication Date Title
US6553532B1 (en) Method and apparatus for recording and reproducing information on and from disk
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
US6405332B1 (en) Storage device and alternate processing method for defective sectors of the same
RU2242805C2 (en) Recording method, control device and recording device
US5841699A (en) Storage device and method to detect its degradation
US20040268070A1 (en) Method and apparatus for backing up data in virtual storage medium
JP5049835B2 (en) Hybrid recording device
US5233591A (en) Auto changer apparatus with a defect control memory
KR950006086B1 (en) Disc memory system
JPH07121444A (en) Auxiliary storage device
JPH11282765A (en) External storage device using flash memory
US20070174736A1 (en) Storage medium management apparatus, storage medium management program, and storage medium management method
US20020069376A1 (en) Method, article of manufacture and apparatus for copying information to a storage medium
JPH04152421A (en) Disk filing device
US20070174739A1 (en) Disk device, method of writing data in disk device, and computer product
JPH06332795A (en) Electrically erasable nonvolatile memory controlling method and system therefor
JPH09198846A (en) Magneto-optical recording device
JPH0235537A (en) Multiple volume update control system
JP2590722B2 (en) Optical disk controller
JP2001014219A (en) Method and device for controlling cache
US20070174737A1 (en) Storage medium management apparatus, storage medium management program, and storage medium management method
JPH02113467A (en) Disk control system
JPH117731A (en) Information processing apparatus
JPH04188466A (en) Data recording apparatus
JPH04157670A (en) Magnetic disk drive