JPS61287071A - Magnetic disc controller - Google Patents
Magnetic disc controllerInfo
- Publication number
- JPS61287071A JPS61287071A JP12714785A JP12714785A JPS61287071A JP S61287071 A JPS61287071 A JP S61287071A JP 12714785 A JP12714785 A JP 12714785A JP 12714785 A JP12714785 A JP 12714785A JP S61287071 A JPS61287071 A JP S61287071A
- Authority
- JP
- Japan
- Prior art keywords
- defective
- magnetic disk
- defective area
- track
- 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
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は磁気ディスクをドライブする磁気ディスク制御
装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a magnetic disk control device that drives a magnetic disk.
磁気ディスクのトラックに書き込みも読み出しもできな
い、媒体の物理的な欠陥領域が存在する場合、その欠陥
トラックにおけるデータの入出力はその領域を避けて行
わなければならない。従来の磁気ディスク装置では、磁
気ディスク上のあるファイルを読むときまたは書くとき
の通常のアクセスはシーケンシャルに行うが、欠陥領域
があるとあらかじめ用意された代替領域へヘッドが移動
してからアクセスしていた。If there is a physically defective area of the medium in which neither writing nor reading can be performed on a track of a magnetic disk, input/output of data on the defective track must be performed while avoiding the area. In conventional magnetic disk drives, when reading or writing a file on a magnetic disk, normal access is performed sequentially, but if there is a defective area, the head moves to a pre-prepared alternative area before accessing it. Ta.
しかし、上述の従来装置では、欠陥領域がある場合は、
それがない場合に比較して、余分なシーク時間や回転待
ち時間がかかるので、データ転送速度が遅くなるという
欠点があった。すなわち、第3図(a)は代替トラック
方式の動作原理を示す図であり、図に示すように代替ト
ラック方式の場合は、一旦ヘッド11が欠陥トラック1
2に移動し、そのトラックが欠陥トラック12であるこ
とを読み取ってから、あらかじめ用意した代替トラック
13に移動する、そしてその代替トラック13でのアク
セスを終えてから欠陥トラック12の次のトラックにヘ
ッド11が移動し、再びアクセスはシーケンシャルに行
なわれるようになる。However, with the conventional device described above, if there is a defective area,
Compared to the case without this, extra seek time and rotational waiting time are required, which has the disadvantage of slowing down the data transfer speed. That is, FIG. 3(a) is a diagram showing the operating principle of the alternative track method. As shown in the figure, in the case of the alternative track method, the head 11 once moves to the defective track 1.
2, reads that the track is a defective track 12, moves to a substitute track 13 prepared in advance, and after completing the access on the substitute track 13, moves the head to the next track after the defective track 12. 11 is moved, and access is again performed sequentially.
このような代替トラック方式の場合は、一旦欠陥トラッ
ク12へ行ってから代替トラック13へ行き、再び次の
トラックに移動するため、正常の場合のときよりも1個
余計にシークする必要がある。In the case of such an alternative track method, since the track first goes to the defective track 12, then goes to the alternative track 13, and then moves to the next track again, it is necessary to seek one more track than in the normal case.
このヘッド11を動かすためのシーク時間は磁気ディス
クのアクセスで一番時間のかかるものであり、また一般
的に代替トラック13は隣接トラックよりも離れたとこ
ろにあるため移動距離が長くなるので、正常時よりも余
分な時間がかかるという欠点があった。しかもこの代替
トラック方式では、欠陥トラック12に移っても読み取
り開始位置が決まっているので、すぐに欠陥トラック1
2であることの情報を読みとる訳ではなく、読み取りま
でに時間がかかる場合があるという欠点もある。The seek time for moving the head 11 is the most time consuming in accessing a magnetic disk, and generally the alternative track 13 is located further away than the adjacent track, so the distance traveled is longer, so it is not normal. The drawback was that it took more time than usual. Moreover, with this alternative track method, even if the reading starts at the defective track 12, the reading start position is fixed, so the defective track 12 is immediately read.
There is also the disadvantage that it does not read the information that it is 2, and it may take some time to read it.
また、第3図(b)は代替セクタ方式の動作原理を示す
図であり、図に示すように代替セクタ方式の場合は、シ
リンダーが回転して欠陥セクタがヘッド部にくると、ヘ
ッドが欠陥セクタ14であることを読み取り、シリンダ
ーを回転して一旦代替セクタ15でアクセスしてから、
再び隣接する次のセクタに移ってアクセスする。このよ
うな代替セクタ方式の場合は、代替セクタ15が回転し
てくるまでの待ち時間Xと、代替セクタから欠陥セクタ
に隣接する次のセクタが回転してくるまでの待ち時間Y
が余計にかかり、また通常代替セクタ15は隣接セクタ
よりも離れている場合が多いから正常時よりも余分な時
間がかかるという欠点があった。FIG. 3(b) is a diagram showing the operating principle of the alternative sector method. As shown in the figure, in the case of the alternative sector method, when the cylinder rotates and the defective sector comes to the head, the head becomes defective. It reads that it is sector 14, rotates the cylinder, accesses it once in alternative sector 15, and then
The next adjacent sector is accessed again. In the case of such a replacement sector method, the waiting time X until the replacement sector 15 rotates, and the waiting time Y until the next sector adjacent to the defective sector rotates from the replacement sector.
However, since the alternative sector 15 is usually located further away than the adjacent sector, it takes more time than normal.
さらにこれらの方式の場合、代替領域をあらかじめ用意
する必要があるため、ドライブの利用効率が悪くなると
いう欠点があった。Furthermore, in the case of these methods, since it is necessary to prepare an alternative area in advance, there is a drawback that the use efficiency of the drive becomes poor.
本発明は前記事情に鑑みてなされたものであり、磁気デ
ィスクに欠陥領域があっても、通常と同等の速度でデー
タの転送をするとともに、磁気ディスクのドライブの利
用効率の向上を図る磁気ディスク制御装置を提供するこ
とを目的とするものである。The present invention has been made in view of the above circumstances, and provides a magnetic disk that can transfer data at the same speed as normal even if there is a defective area on the magnetic disk, and that improves the utilization efficiency of the magnetic disk drive. The purpose of this invention is to provide a control device.
上記目的を達成するための本発明に係る磁気ディスク制
御装置の概要は、磁気ディスクの欠陥領域の位置を記憶
する記憶手段と、該記憶手段から欠陥領域の位置を読み
取るとともに、欠陥領域をとばして隣接する次の領域へ
アクセスするように磁気ディスクのドライブを制御する
ための制御手段とを有することを特徴とする。The outline of the magnetic disk control device according to the present invention for achieving the above object includes a storage means for storing the position of a defective area of a magnetic disk, a storage means for reading the position of the defective area from the storage means, and a system for skipping the defective area. The present invention is characterized in that it has a control means for controlling the drive of the magnetic disk so as to access the next adjacent area.
以下、この発明の一実施例を図面を参照して説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明である磁気ディスク制御装置のブロック
図であり、第2図は欠陥トラックのマツプ用メモリを示
す図である。第1図において、1は磁気ディスクの欠陥
領域の位置を記憶するマツプ用メモリであり、2はこの
マツプ用メモリが記憶する欠陥領域の位置を読みとり、
ドライブ・インターフェース3を制御して磁気ディスク
のドライブ4を制御するための制御手段であり、5は一
時的に入出力データを記憶するバッファ用メモリである
。FIG. 1 is a block diagram of a magnetic disk control device according to the present invention, and FIG. 2 is a diagram showing a memory for mapping defective tracks. In FIG. 1, 1 is a map memory that stores the position of a defective area on a magnetic disk, and 2 reads the position of the defective area stored in this map memory.
It is a control means for controlling the drive interface 3 to control the magnetic disk drive 4, and 5 is a buffer memory for temporarily storing input/output data.
また、前記マツプ用メモリ1は、たとえば第2図に示す
ように、十分なビット幅を持ったメモリのビットを同一
シリンダー内の全ての各トラックに対応して、正常トラ
ックの場合は0、欠陥トラックの場合は1として記憶す
る。尚、図のX方向はトラック番号であり、Y方向はシ
リンダ一番号である。Furthermore, as shown in FIG. 2, for example, the map memory 1 stores bits of a memory having a sufficient bit width for all tracks in the same cylinder, 0 for a normal track and 0 for a defective track. If it is a track, it is stored as 1. Note that the X direction in the figure is the track number, and the Y direction is the cylinder number.
本装置の制御手段2としては、シーケンサ又はマイクロ
・プロセッサ、WO2等が用いられ、マイクロ・プログ
ラムによってソフトウェア制御されている。As the control means 2 of this apparatus, a sequencer, a microprocessor, WO2, etc. is used, and it is software controlled by a microprogram.
以上のように構成された装置の作用について説明する0
本装置は上位のプロセッサからディスクの論理アドレス
と転送セクタ数をパラメータとして受けとり、制御手段
2により物理アドレスを計算する。また転送する情報は
一旦バツファ用メモリに記憶され、ドライブ・インター
フェースを介して磁気ディスクをドライブして磁気ディ
スクに転送される。この際通常はシーケンシャルにアク
セスするが、欠陥領域があると、制御手段2はマツブ用
メモリ2から、あらかじめアクセスするシリンダーが変
るごとに、それに対応するメモリのアドレスを読み、そ
のシリンダ内の欠陥トラックの位置を知っているので、
欠陥領域をアクセスすることなく、その領域を自動的に
とばして、隣接する次の領域をアクセスするよう磁気デ
ィスク・ドライブ4を制御する。つまり、制御手段2は
マツプ用メモリ1の1、又は0の信号を読みとり、1の
信号が入力されている欠陥領域があると、その領域を自
動的にとばして、これに隣接する次の領域に移動してア
クセスするよう磁気ディスク・ドライブ4を制御する。The operation of the device configured as described above will be explained below.
This device receives the logical address of the disk and the number of transfer sectors as parameters from the host processor, and uses the control means 2 to calculate the physical address. Further, the information to be transferred is temporarily stored in a buffer memory, and then transferred to the magnetic disk by driving the magnetic disk via the drive interface. At this time, access is normally performed sequentially, but if there is a defective area, the control means 2 reads the corresponding memory address from the Matsubu memory 2 in advance every time the cylinder to be accessed changes, and tracks the defective area in that cylinder. Since we know the location of
The magnetic disk drive 4 is controlled to automatically skip the defective area and access the next adjacent area without accessing the defective area. In other words, the control means 2 reads the 1 or 0 signal in the map memory 1, and if there is a defective area to which a 1 signal is input, it automatically skips that area and moves to the next area adjacent to it. The magnetic disk drive 4 is controlled to move and access.
したがって欠陥領域があっても、欠陥領域がない場合と
同様の速度で情報を転送することができ、しかも従来装
置のように余分の代替領域を用意することが不要となる
ので、ドライブの利用効率の向上を図ることができる。Therefore, even if there is a defective area, information can be transferred at the same speed as when there is no defective area, and there is no need to prepare an extra area as in conventional devices, making drive utilization more efficient. It is possible to improve the
本発明によれば、磁気ディスクに欠陥領域があっても、
通常と同等の速度でデータの転送をするとともに、磁気
ディスクのドライブの利用効率の向上を図ることができ
る磁気ディスク制御装置を提供することができる。According to the present invention, even if a magnetic disk has a defective area,
It is possible to provide a magnetic disk control device that can transfer data at the same speed as normal and improve the utilization efficiency of magnetic disk drives.
第1図は本発明である磁気ディスク制御装置のブロック
図であり、第2図は欠陥トラックのマツプ用メモリを示
す図であり、第3図(a)は代替トラック方式の動作原
理を示す図であり、同図(b)は代替セクタ方式の動作
原理を示す図である。
1・・・マツプ用メモリ、2・・・制御手段、3・・・
ドライブ・インターフェース、4・・・磁気ディスク・
ドライブ、
5・・・バッファ用メモリ、6・・・上位プロセッサー
。
代理人 弁理士 則 近 憲 佑(ほか1名)−X
第3図FIG. 1 is a block diagram of the magnetic disk control device according to the present invention, FIG. 2 is a diagram showing a memory for mapping defective tracks, and FIG. 3(a) is a diagram showing the operating principle of the alternative track system. FIG. 2B is a diagram showing the operating principle of the alternative sector method. 1...Map memory, 2...Control means, 3...
Drive interface, 4...magnetic disk
Drive, 5...Buffer memory, 6...Upper processor. Agent Patent attorney Noriyuki Chika (and 1 other person) -X Figure 3
Claims (2)
段と、該記憶手段から欠陥領域の位置を読み取るととも
に、欠陥領域をとばして隣接する次の領域へアクセスす
るように磁気ディスクのドライブを制御するための制御
手段とを有することを特徴とする磁気ディスク制御装置
。(1) A storage means for storing the position of a defective area on a magnetic disk, and a drive for the magnetic disk that reads the position of the defective area from the storage means and controls the magnetic disk drive to skip the defective area and access the next adjacent area. What is claimed is: 1. A magnetic disk control device comprising: control means for controlling a magnetic disk;
モリを用いたことを特徴とする特許請求の範囲第1項記
載の磁気ディスク制御装置。(2) The magnetic disk control device according to claim 1, wherein a map memory corresponding to the defective area is used as the storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12714785A JPS61287071A (en) | 1985-06-13 | 1985-06-13 | Magnetic disc controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12714785A JPS61287071A (en) | 1985-06-13 | 1985-06-13 | Magnetic disc controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61287071A true JPS61287071A (en) | 1986-12-17 |
Family
ID=14952778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12714785A Pending JPS61287071A (en) | 1985-06-13 | 1985-06-13 | Magnetic disc controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61287071A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017182267A (en) * | 2016-03-29 | 2017-10-05 | 東芝メモリ株式会社 | Object storage, controller, and program |
-
1985
- 1985-06-13 JP JP12714785A patent/JPS61287071A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017182267A (en) * | 2016-03-29 | 2017-10-05 | 東芝メモリ株式会社 | Object storage, controller, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06236241A (en) | Hard disk device using flash memory | |
JPH10149260A (en) | Reading cache system for disk drive | |
JPH08286837A (en) | Control method for external storage sub system and controller therefor | |
JPH04111113A (en) | Hard disk emulator | |
JPS61287071A (en) | Magnetic disc controller | |
JP3341094B2 (en) | Recording medium reading device | |
JP3080416B2 (en) | Method of executing internal operation in controller and controller | |
JPH0628779A (en) | Method for recording and controlling data in disk device | |
US5696640A (en) | Disk drive using virtual hands for continuous access and execution | |
JPS6325876A (en) | Optical disk controller | |
JPH0684283A (en) | Transfer method for magneto-optical disk data | |
JPS6095762A (en) | Magnetic disc controller | |
JPS6149229A (en) | Information processor | |
JPH0520791A (en) | Magnetic disk device | |
JPH1049312A (en) | Magnetic disk drive | |
JP3068811B2 (en) | Method of controlling storage device | |
JP2779329B2 (en) | Control method for storage control system, storage control system, and storage control device | |
JPH08286836A (en) | Information recording and reproducing device | |
JP2000181798A (en) | Cache control system for disk device | |
JPH06290547A (en) | High-speed data transferring method | |
JP2605588B2 (en) | CD-ROM device with high-speed access mechanism | |
JP2864751B2 (en) | Nonvolatile memory management method for disk controller | |
JPH04341977A (en) | Data reproducing control system | |
JPH0254584B2 (en) | ||
JPS61278083A (en) | Information recording device |