JPH0421974A - Method and device for controlling alternative sector - Google Patents
Method and device for controlling alternative sectorInfo
- Publication number
- JPH0421974A JPH0421974A JP12318990A JP12318990A JPH0421974A JP H0421974 A JPH0421974 A JP H0421974A JP 12318990 A JP12318990 A JP 12318990A JP 12318990 A JP12318990 A JP 12318990A JP H0421974 A JPH0421974 A JP H0421974A
- Authority
- JP
- Japan
- Prior art keywords
- data storage
- external data
- replacement area
- event
- sector
- 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.)
- Granted
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
例えば磁気ディスク装置等の外部データ記憶装置上のデ
ータ記憶媒体の管理方法および装置に関し、特に、デー
タ記憶媒体上の欠陥(不良)領域に対する交代領域の割
り付けの状態を管理する交代領域管理方法と装置に関し
、
ホストコンピュータ側で運用管理のためのソフトウェア
を特に用意することなく、交代領域の割り付は状態を管
理することの可能な交代領域管理方法および装置を提供
することを目的とし、ホストコンピュータと、外部デー
タ記憶制御装置と、外部データ記憶媒体とからなるシス
テムにおいて該外部データ記憶媒体内の欠陥領域の代替
として設けられる交代領域の割り付けを管理する交代領
域管理方法であって、交代領域の割り付けという事象を
該交代領域のアクセス時間の多少に応じて1種類以上に
分類し、該外部データ記憶制御装置内に該分類毎に閾値
を記憶し、システムの稼動中に該事象が発生する毎に該
分類毎にその回数を該外部データ記憶制御装置内でカウ
ントし、該外部データ記憶制御装置内で分類毎に該事象
の発生回数と該闇値とを比較し、発生回数が閾値より大
となったものがあれば通報する各段階を具備して構成す
る。[Detailed Description of the Invention] [Summary] A method and apparatus for managing a data storage medium on an external data storage device such as a magnetic disk device, in particular, allocation of a replacement area to a defective (defective) area on the data storage medium. The present invention relates to a replacement area management method and device that can manage the allocation and status of replacement areas without the need for special software for operation management on the host computer side. In a system comprising a host computer, an external data storage control device, and an external data storage medium, the replacement area is managed to replace a defective area in the external data storage medium. An area management method that classifies an event of allocation of a replacement area into one or more types depending on the access time of the replacement area, stores a threshold value for each classification in the external data storage control device, and Each time the event occurs during operation, the external data storage control device counts the number of times the event occurs for each classification, and the external data storage control device calculates the number of occurrences of the event and the darkness value for each classification. The system is configured to include each step of comparing the numbers of occurrences and notifying the user if there is one whose number of occurrences is greater than a threshold value.
本発明は、例えば磁気ディスク装置等の外部データ記憶
装置上のデータ記憶媒体の管理方法および装置に関し、
特に、データ記憶媒体上の欠陥(不良)領域に対する交
代領域の割り付けの状態を管理する交代領域管理方法と
装置に関するものである。The present invention relates to a method and apparatus for managing data storage media on external data storage devices such as magnetic disk devices, and
In particular, the present invention relates to a replacement area management method and apparatus for managing the state of allocation of replacement areas to defective areas on a data storage medium.
近年、コンピュータシステムの高性能化と大容量化に伴
い、磁気ディスク装置を中心とした外部データ記憶装置
は、記憶容量の拡大と高性能化が求められている。一般
に、磁気ディスク装置に使用される磁気記録媒体の様な
外部データ記憶媒体では、その材料や製造プロセス上の
特質により、いくつかの微小欠陥部分が含まれることは
、安価な大容量データ記憶手段を安定的に供給する上で
、許容しなければならない条件となっている。このため
、記憶媒体へのデータの記録および再生を制御する制御
装置には、前記データ記憶媒体上の欠陥部分を回避する
ための方策が不可欠である。また、長時間の運用中にデ
ータ記憶媒体の経時的特性変化等によって発生する欠陥
に対しても、前記制御装置は、その欠陥部分を回避して
データ記憶装置の継続的使用を可能とする手段を具備し
なければならない。本発明は、この様な欠陥部分を回避
するために自動的に割り付けられる交代領域の割り付は
状態の管理に言及する。2. Description of the Related Art In recent years, with the increase in performance and capacity of computer systems, external data storage devices, mainly magnetic disk drives, are required to have increased storage capacity and performance. In general, external data storage media such as magnetic recording media used in magnetic disk drives contain some minute defects due to the characteristics of their materials and manufacturing processes. This is a condition that must be tolerated in order to provide a stable supply of For this reason, it is essential for a control device that controls recording and reproduction of data on a storage medium to take measures to avoid defective portions on the data storage medium. Furthermore, even for defects that occur due to changes in characteristics of the data storage medium over time during long-term operation, the control device provides means to avoid the defective portion and enable continuous use of the data storage device. must be equipped. The present invention refers to the management of the state of allocation of replacement areas that are automatically allocated to avoid such defective parts.
データ記憶媒体上の欠陥部分を回避する手法としては、
媒体上でのデータ記録の特質により種々の方法が考案さ
れているが、一般には、データ記憶媒体上での記録単位
毎に、その単位内に欠陥が存在するか否かを調べ、欠陥
が存在する時は、その記録単位に対して、あらかじめ用
意しておいた予備の記憶領域の一部を交代領域として割
り付けることが行われる。例えば、セクタ記録方式の磁
気ディスク装置では、トラック内またはシリンダ内の数
セクタ、あるいは特定の数シリンダを交代領域用の予備
として確保しておき、媒体欠陥の存在するセクタに対し
ては、これらの予備の記憶領域の中から正常なセクタを
交代セクタとして割り付ける。Techniques for avoiding defective parts on data storage media include:
Various methods have been devised depending on the characteristics of data recording on a medium, but in general, each recording unit on a data storage medium is checked to see if a defect exists within that unit. When this happens, a part of a spare storage area prepared in advance is allocated as a replacement area for the recording unit. For example, in a sector recording type magnetic disk drive, several sectors within a track or cylinder, or a specific number of cylinders are reserved as spare areas for replacement areas, and these sectors are reserved for sectors with media defects. Allocate a normal sector from the spare storage area as a replacement sector.
一方、磁気ディスク装置では、その物理的構造の性格上
、データのアクセスは、同一トラック上をディスク媒体
の回転に従って連続的に処理していくことが最も効率的
である。しかし、前記交代セクタ処理によって、一般に
、欠陥の存在するセクタに対して、物理的に非連続な位
置に設けられた予備の記憶領域に交代セクタを割り付け
ることが多いため、欠陥の回避処理により、交代セクタ
への位置づけのために回転待ちやシーク動作等を必要と
し、データアクセスの性能が著しく低下する。On the other hand, in a magnetic disk device, due to its physical structure, it is most efficient for data access to be processed continuously on the same track as the disk medium rotates. However, the replacement sector processing generally involves allocating the replacement sector to a spare storage area that is physically discontinuous with respect to the defective sector. Positioning to a replacement sector requires a rotational wait, a seek operation, etc., which significantly degrades data access performance.
交代セクタの割り付けは、一般に、(1)デー夕記憶媒
体の全面初期化時、(2〉運用中に特定セクタのみの交
代処理を実施する時、に行うことができる。前者の場合
には、データ記憶媒体上の既存データは保存の必要がな
く、従って、制御装置は、可能な限りデータアクセスの
連続性を維持できるように、交代セクタとの物理的な位
置関係を考慮して比較的自由に交代セクタの再割り当て
を実行することが許される。しかし、後者の場合は、デ
ータ記憶媒体上の既存データは、交代セクタ処理を行う
対象セクタを除いて、その保全を第一優先とする必要が
あるため、一般に、アクセスの連続性維持は犠牲にされ
データ保全が確実な方法で交代セクタの割り当てが行わ
れる。結果として、交代セクタは元のセクタからは物理
的に非連続な位置に割り付けられ、以降のアクセス性能
の低下は余儀無くされる。In general, replacement sectors can be allocated when (1) the data storage medium is fully initialized, or (2) when only a specific sector is replaced during operation. In the former case, Existing data on the data storage medium does not need to be saved, and the control unit is therefore relatively free to take into account its physical location with the replacement sector in order to maintain continuity of data access as much as possible. However, in the latter case, the preservation of the existing data on the data storage medium, except for the sector subject to replacement sector processing, must be preserved as the first priority. Therefore, in general, replacement sectors are allocated in a way that ensures data integrity at the expense of maintaining access continuity.As a result, replacement sectors are allocated in locations that are physically discontinuous from the original sector. access performance is inevitably degraded.
交代セクタの割り付は処理により、その磁気ディスク装
置は見かけ上は無欠陥の状態となり、その磁気ディスク
装置を使用するホストコンピュータはデータの記録保存
に対して特別な考慮を払う必要がなくなる。しかし、特
に交代セクタの逐次追加により、前記したようにデータ
アクセスの性能低下が徐々に進行していることに注意し
なければならない。Through the process of allocating alternate sectors, the magnetic disk device appears to be defect-free, and the host computer using the magnetic disk device does not need to pay special consideration to data storage. However, it must be noted that data access performance is gradually decreasing as described above, especially due to the sequential addition of replacement sectors.
コンピュータシステムの性能向上に伴い、この性能低下
を回避する必要が生じ、このため、ホストコンピュータ
では磁気ディスク媒体の運用状況を監視・解析するため
の特別なソフトウェアを用意する必要があった。このソ
フトウェアは記憶媒体の物理アドレスを直接指定してそ
の内容を読み出す命令を含むプログラムからなり、これ
を定期的にあるいは随時にホストコンピュータのコンソ
ールからの指令により実行することによって、交代セク
タの割り付は状態をオペレータが知ることができるとい
うものである。その結果として交代セクタの増加が判明
した記憶媒体については、その記憶内容を他の媒体に移
した後、全面の再初期化処理を行うことで、交代セクタ
を物理的に最適な位置に再割り当てし、本来のアクセス
性能に近づけることができる。また、異常に交代セクタ
の増加した装置については、装置そのものに何らかの異
常があるものとしてその予防交換を行うことで致命的な
障害の発生を事前に回避することも可能となる。As the performance of computer systems has improved, it has become necessary to avoid this performance degradation, and for this reason, it has become necessary for host computers to prepare special software for monitoring and analyzing the operational status of magnetic disk media. This software consists of a program that includes instructions to directly specify the physical address of a storage medium and read its contents, and by executing this program periodically or at any time based on commands from the host computer's console, it allocates alternate sectors. This allows the operator to know the status. For storage media that are found to have an increased number of replacement sectors as a result, the storage contents are transferred to another medium, and then a full reinitialization process is performed to reallocate the replacement sectors to physically optimal positions. The access performance can be brought closer to the original access performance. Further, for a device in which the number of replacement sectors has increased abnormally, it is possible to prevent a fatal failure from occurring by assuming that there is some kind of abnormality in the device itself and performing preventive replacement.
何れにしても、従来は、データ記憶媒体の運用管理のた
めの特別なソフトウェアを用意する必要があり、また、
欠陥回避処理は個々の外部データ記憶装置の機種毎にそ
の手法が異なるため、ホストコンピュータ側にはそれに
接続される外部データ記憶装置の機種特性に応じた何種
類もの運用管理プログラムを準備する必要があった。In any case, conventionally, it was necessary to prepare special software for operational management of data storage media, and
Since the defect avoidance processing method differs for each model of external data storage device, it is necessary to prepare several types of operation management programs on the host computer side depending on the model characteristics of the external data storage device connected to it. there were.
したがって本発明の目的は、ホストコンピュータ側で運
用管理のためのソフトウェアを特に用意することなく、
交代領域の割り付は状態を管理することの可能な交代領
域管理方法および装置を提供することにある。Therefore, it is an object of the present invention to enable the host computer to operate without the need for special software for operation management.
The object of the present invention is to provide a replacement area management method and apparatus that can manage the allocation of replacement areas.
第1図は本発明の交代領域管理装置の原理構成図であり
、第2図は本発明の交代領域管理方法のフローチャート
である。FIG. 1 is a diagram illustrating the basic configuration of a replacement area management device according to the present invention, and FIG. 2 is a flowchart of a replacement area management method according to the present invention.
本発明の交代領域管理方法は、ホストコンピュータ1と
、外部データ記憶制御装置2と、外部データ記憶媒体3
とからなるシステムにおいて該外部データ記憶媒体3内
の欠陥領域の代替として設けられる交代領域の割り付け
を管理する交代領域管理方法であって、交代領域の割り
付けという事象を該交代領域のアクセス時間の多少に応
じて1種類以上に分類し、該外部データ記憶制御装置2
内に該分類毎に閾値を記憶しくステップa)、システム
の稼動中に該事象が発生する毎に該分類毎に(ステップ
b)・その回数を該外部データ記憶制御装置2内でカウ
ントしくステップC)、該外部データ記憶制御装置2内
で分類毎に該事象の発生回数と該閾値とを比較しくステ
ップd)、発生回数が閾値より大となったものがあれば
通報する(ステップe)各段階を具備することを特徴と
する特許
るものである。The replacement area management method of the present invention includes a host computer 1, an external data storage control device 2, and an external data storage medium 3.
A replacement area management method for managing the allocation of a replacement area provided as a substitute for a defective area in the external data storage medium 3 in a system comprising: The external data storage control device 2 is classified into one or more types according to
Step a) to store a threshold value for each category within the system, and count the number of occurrences in the external data storage control device 2 for each category each time the event occurs during system operation (Step b). C) Compare the number of occurrences of the event for each category in the external data storage control device 2 with the threshold value Step d) If there is an event whose number of occurrences is greater than the threshold value, report it (Step e) This patent is characterized by comprising each step.
また、本発明の交代領域管理装置は、ホストコンピュー
タ1と、外部データ記憶媒体3と、該外部データ記憶媒
体3への書込み読出しを制御する記憶制御手段24を具
備する外部データ記憶制御装置2とからなるシステムに
おいて該外部データ記憶媒体3内の欠陥領域の代替とし
て設けられる交代領域の割り付けを管理する交代領域管
理装置であって、該外部データ記憶制御装置2内に具備
され、該交代領域のアクセス時間の多少に応じた分類毎
の閾値を1つ以上記憶する閾値記憶手段21と、該記憶
制御手段24が交代領域を割り付けた回数を該分類毎に
カウントする計数手段22と、該分類毎に該計数手段2
2の計数値と該閾値記憶手段21が記憶する閾値とを比
較する比較手段23とを具備することを特徴とするもの
である。The alternate area management device of the present invention also includes a host computer 1, an external data storage medium 3, and an external data storage control device 2 comprising a storage control means 24 for controlling reading and writing to the external data storage medium 3. A replacement area management device that manages the allocation of a replacement area provided as a substitute for a defective area in the external data storage medium 3 in a system comprising: threshold storage means 21 for storing one or more threshold values for each classification depending on the access time; a counting means 22 for counting the number of times the storage control means 24 has allocated a replacement area for each classification; The counting means 2
The present invention is characterized by comprising a comparison means 23 for comparing the count value of 2 and the threshold value stored in the threshold value storage means 21.
外部データ記憶媒体3を直接制御する外部データ記憶制
御装置2内で交代セクタの割り付は回数をカウントする
のであるから、装置の機種毎に異なる欠陥回避処理に外
部データ記憶制御装置2内で個別に対応することができ
る。Since the external data storage control device 2 that directly controls the external data storage medium 3 counts the number of times replacement sectors are allocated, the external data storage control device 2 individually performs defect avoidance processing that differs depending on the device model. can correspond to
磁気ディスク装置を例にとって本発明を具体的に説明す
る。The present invention will be specifically explained by taking a magnetic disk device as an example.
通常の磁気ディスク装置の場合、同一のシリンダ番号に
属する各セクタを同一のトラック番号のものについて順
次アクセスし、他のトラック番号へ移行するときは移行
前のトラックで次に読み出される順番にあったセクタ番
号と同一のセクタ番号のセクタをアクセスし、以下同一
のトラック内で順次性のセクタをアクセスするといった
順番にアクセスしていけば、最小の待ち時間でアクセス
することができる。同一のシリンダ内で前記の順番から
外れた位置のセクタをアクセスする場合には、対象とす
るセクタをシークする動作が必要となり、通常、最大で
ディスク1回転分の時間が必要になる。他のシリンダを
アクセスする場合には、ヘッドをディスクの半径方向へ
動かす動作のための時間がさらに必要となる。In the case of a normal magnetic disk drive, each sector belonging to the same cylinder number is accessed sequentially for the same track number, and when moving to another track number, the sector is accessed in the order in which it will be read next on the previous track. Access can be achieved with the minimum waiting time by accessing in order such as accessing the sector with the same sector number and then accessing sequential sectors within the same track. When accessing a sector at a position outside the above order within the same cylinder, a seek operation for the target sector is required, which usually requires a maximum of one rotation of the disk. When accessing another cylinder, additional time is required to move the head in the radial direction of the disk.
すなわち、通常の磁気ディスク装置のアクセス時間は、
■ 所定の順番でアクセスする場合、
■ 同一のシリンダ内で所定の順番からはずれてアクセ
スする場合
■ 他のシリンダをアクセスする場合
の3通りに分類される。In other words, the access time of a normal magnetic disk device can be classified into three types: ■ When accessing in a predetermined order; ■ When accessing out of the predetermined order within the same cylinder; ■ When accessing another cylinder. Ru.
したがって磁気ディスクを全面初期化する場合には、物
理アドレスに対してできるだけ■の順番に近くなる様に
論理アドレスが割り当てられる。Therefore, when a magnetic disk is completely initialized, logical addresses are assigned as close to the order of (2) as possible to physical addresses.
第4図は全面初期化において磁気ディスクに全く欠陥が
ない場合の論理アドレスの割り当ての一例を概念的に示
すもので、各折目が1つのセクタを、TO〜T3は各ト
ラックを、CYLO〜CYL、、。FIG. 4 conceptually shows an example of logical address assignment when there are no defects on the magnetic disk during full-scale initialization. Each fold represents one sector, TO~T3 represents each track, and CYLO~T3 represents one sector. CYL...
CYL、、+1 は各シリンダを示す。各シリンダ内で
は枡目内に示す数字の順番で論理アドレスが割り当てら
れ、数セクタ(枡目内にSで示す)が予備として確保さ
れ、さらに特定の数シリンダ(CYシh+1で示す)が
予備として確保される。同一シリンダ内で付された番号
の順にアクセスする限り、最小アクセス時間が達成され
る。CYL,,+1 indicates each cylinder. Within each cylinder, logical addresses are assigned in the order of the numbers shown in the squares, several sectors (indicated by S in the squares) are reserved as spares, and a specific number of cylinders (indicated by CY cylinder h+1) are reserved as spares. will be secured as As long as the accesses are made in the order of numbering within the same cylinder, the minimum access time is achieved.
第5図は欠陥セクタが発生したときの交代セクタの割り
当てを説明する図である。(A)欄は記憶媒体の全面初
期化の際に図中のX印で示した個所に欠陥セクタがあっ
たときの割り付は方式を示す。図に示す様に、欠陥セク
タをスキップする形で論理アドレスが割り当てられる。FIG. 5 is a diagram illustrating allocation of replacement sectors when a defective sector occurs. Column (A) shows the allocation method when there is a defective sector at the location indicated by the X mark in the figure during full initialization of the storage medium. As shown in the figure, logical addresses are assigned in a manner that skips defective sectors.
この場合、欠陥セクタの数がそのシリンダ内の予備セク
タの数より少ないので、同一シリンダ内にすべてのセク
タが割り当てられ、しかも、出来るだけ物理的連続性を
維持する形で割り当てられる。したがってこの場合、欠
陥セクタがあってもそのためのアクセス時間の増加はわ
ずかである。In this case, since the number of defective sectors is less than the number of spare sectors in the cylinder, all sectors are allocated within the same cylinder, and in a manner that maintains as much physical continuity as possible. Therefore, in this case, even if there is a defective sector, the access time increases only slightly.
(B)欄は(A)欄の状態で稼動中に、さらに番号“1
4”で示された位置のセクタに欠陥が発生したときの交
代セクタの割り当てを示す。稼動中であるので番号“1
5”〜“28”のセクタにすでにデータが書き込まれて
いる可能性があり、(A)の様に交代セクタを割り当て
る操作を行うことは危険であるので、交代セクタは予備
セクタの位置に割り当てられる。この場合には、番号“
13″パ14 ” ” 15″′のセクタを連続的にア
クセスする際には、ディスクの回転待ちの時間が必要と
なり、アクセス時間が増大する。Column (B) shows the number “1” while operating in the state of column (A).
Indicates the allocation of a replacement sector when a defect occurs in the sector at the position indicated by "4".Since it is in operation, the number "1"
There is a possibility that data has already been written in sectors 5" to 28, and it is dangerous to allocate a replacement sector as in (A). Therefore, the replacement sector should be allocated to the spare sector position. In this case, the number “
When continuously accessing sectors 13'', 14'', and 15''', it is necessary to wait for the rotation of the disk, which increases the access time.
(C)欄はさらに、番号“25”の位置のセクタに欠陥
が発生したときの交代シリンダの割り当て方式を示す。Column (C) further shows a replacement cylinder allocation method when a defect occurs in the sector at number "25".
同一シリンダ内の予備セクタは、すでに使い尽くされて
いるので、交代セクタは予備シリンダCYL、、+、内
の1つのセクタに割り当てられる。この場合に番号″2
4”25″“26″のセクタを連続的にアクセスする際
には、ディスクの回転待ちの時間に加えて、ヘッドを機
械的に動かし位置決めするための時間を必要とするので
、アクセス時間は著しく増大する。Since the spare sectors in the same cylinder have already been used up, the replacement sector is assigned to one sector in the spare cylinders CYL,,+. In this case the number "2"
When continuously accessing 4"25" and "26" sectors, in addition to waiting for the disk to rotate, it also requires time to mechanically move and position the head, so the access time is significantly reduced. increase
以上説明したように、この方式の磁気ディスク装置にお
いては、交代シリンダの割り当てにあたって、アクセス
時間がほとんど変わらない場合とアクセス時間が増大す
る場合とがあり、さらに後者はヘッドの動きを必要とし
ない場合と必要とする場合との2通りに分類される。As explained above, in this type of magnetic disk drive, when allocating alternate cylinders, there are cases where the access time remains almost the same and cases where the access time increases, and the latter case does not require head movement. It is classified into two types: and cases where it is necessary.
第3図は本発明の一実施例を示すもので、前述した磁気
ディスク装置に適用した例を示す。FIG. 3 shows an embodiment of the present invention, in which it is applied to the above-mentioned magnetic disk device.
図示のシステムは、磁気ディスク装置30を外部データ
記憶として用いるホストコンピュータ10、ホストコン
ピュータ10と磁気ディスク装置30の間に接続される
磁気ディスク制御装置20、および磁気ディスク装置3
0から構成される。The illustrated system includes a host computer 10 that uses a magnetic disk device 30 as external data storage, a magnetic disk controller 20 connected between the host computer 10 and the magnetic disk device 30, and a magnetic disk device 3.
Consists of 0.
磁気ディスク制御装置20はコントローラ部240を備
えており、これはホストコンピュータ10からのコマン
ドを制御部241を介して受けとり、それに応じた各種
の制御を行うもので、マイクロプロセッサ等を用いたプ
ログラム制御の構造をとっている。241はホストコン
ピュータ10との入出力を制御する制御部であり、24
2は磁気ディスク装置30との入出力を制御する制御部
である。243は磁気ディスク装置30からの読み出し
データおよび磁気ディスク装置30への書込みデータを
一時的に格納してホストコンビ二−タ10との間でのデ
ータの転送を効率良く実行するためのデータバッファで
ある。The magnetic disk control device 20 includes a controller unit 240, which receives commands from the host computer 10 via a control unit 241 and performs various controls in accordance with the commands, including program control using a microprocessor or the like. It has the structure of 241 is a control unit that controls input/output with the host computer 10;
2 is a control unit that controls input/output with the magnetic disk device 30; 243 is a data buffer for temporarily storing data read from the magnetic disk device 30 and data written to the magnetic disk device 30, and for efficiently transferring data to and from the host combiner 10. be.
カウンタ220は第5図(B)欄で説明した事象の発生
回数、すなわち、コントローラ部240が同一シリンダ
内の予備セクタを交代セクタとして使用した回数をカウ
ントするもので、コントローラ部240からの制御信号
により+1される。レジスタ210にはホストコンピュ
ータ10から送られてきた定数がコントローラ部240
を経由して書込まれる。この定数はカウンタ220でカ
ウントされる事象の許容値に相当する。比較器230は
カウンタ220の計数値とレジスタ210内の定数とを
比較し、“計数値≧定数”の条件のときに信号232を
発生する。信号232を受けとったコントローラ部24
0はその信号をホストコンピュータ10へ伝達し、ホス
トコンピュータ10のコンソール上に警告のメツセージ
が表示される。The counter 220 counts the number of occurrences of the event described in the section (B) in FIG. +1 is added. The register 210 contains constants sent from the host computer 10 to the controller section 240.
written via. This constant corresponds to the allowed value of events counted by counter 220. Comparator 230 compares the count value of counter 220 and a constant in register 210, and generates signal 232 when the condition of "count value≧constant" is satisfied. The controller unit 24 receives the signal 232
0 transmits the signal to the host computer 10, and a warning message is displayed on the console of the host computer 10.
カウンタ2211 レジスタ2111および比較器23
1も同様な構成を有し、第5図(B)欄で説明した事象
の発生回数、または(C)欄で説明した事象の発生回数
、すなわち、コントローラ部240が予備シリンダ内の
予備セクタを交代セクタとして使用した回数についての
処理を同様に行う。Counter 2211 Register 2111 and comparator 23
1 has a similar configuration, and the controller unit 240 determines the number of occurrences of the event explained in column (B) of FIG. 5 or the number of occurrence of the event explained in column (C) of FIG. Processing regarding the number of times used as a replacement sector is performed in the same way.
なお、カウンタ220.22L レジスタ210,21
1、および比較器230. 231の機能はコントロー
ラ部240のソフトウェア処理によっても実現が可能で
あり、むしろその方が好適である。In addition, counter 220.22L register 210, 21
1, and comparator 230. The function of 231 can also be realized by software processing of the controller unit 240, and this is rather preferable.
またこの例では、閾値の設定はホストコンピュータから
の指令によるものとしている。したがってホストシステ
ム側で要求される要件に応じて閾値を設定することが可
能であり、闇値の与え方によっては制御装置側で監視さ
れる事象の一部を選択的に禁止することも可能である。Further, in this example, the threshold value is set based on a command from the host computer. Therefore, it is possible to set a threshold value according to the requirements required on the host system side, and depending on how the dark value is given, it is also possible to selectively prohibit some of the events monitored on the control device side. be.
以上説明した様に、本発明によれば、交代セクタ処理を
実際に実行する制御装置が、アクセス性能を阻害するよ
うな交代セクタ割り当ての事象を累積し、その発生回数
2=より、所定の閾値を超えたことをホストコンピュー
タに報告することがでぐ1B)
きるので、ホストコンピュータは、使用する外部記憶装
置の属性によって異なる事象を個別に管理するような手
段を用意する必要がなくなり、また、意図しないアクセ
ス性能の低下や予防保守のための情報を的確に得ること
が可能となる。As explained above, according to the present invention, a control device that actually executes alternate sector processing accumulates alternate sector allocation events that impede access performance, and determines a predetermined threshold based on the number of occurrences 2 = 1B), the host computer does not need to prepare a means to separately manage events that differ depending on the attributes of the external storage device used, and It becomes possible to accurately obtain information for preventing unintended deterioration in access performance and for preventive maintenance.
第1図は本発明の交代領域管理装置の原理構成図、
第2図は本発明の交代領域管理方法のフローチャート、
第3図は本発明の一実施例を表わす図、第4図および第
5図は交代領域の割り当ての例を説明するための図。
図において、
1・・・ホストコンピュータ、
2・・・外部データ記憶制御装置、
3・・・外部データ記憶媒体、
21・・・閾値記憶手段、 22・・・計数手段、2
3・・・比較手段、 24・・・記憶制御手段。FIG. 1 is a diagram showing the principle configuration of the replacement area management device of the present invention, FIG. 2 is a flowchart of the replacement area management method of the invention, FIG. 3 is a diagram showing an embodiment of the invention, and FIGS. The figure is a diagram for explaining an example of allocation of replacement areas. In the figure, 1... host computer, 2... external data storage control device, 3... external data storage medium, 21... threshold storage means, 22... counting means, 2
3... Comparison means, 24... Memory control means.
Claims (1)
装置(2)と、外部データ記憶媒体(3)とからなるシ
ステムにおいて該外部データ記憶媒体(3)内の欠陥領
域の代替として設けられる交代領域の割り付けを管理す
る交代領域管理方法であって、 交代領域の割り付けという事象を該交代領域のアクセス
時間の多少に応じて1種類以上に分類し、該外部データ
記憶制御装置(2)内に該分類毎に閾値を記憶し、 システムの稼動中に該事象が発生する毎に該分類毎にそ
の回数を該外部データ記憶制御装置(2)内でカウント
し、 該外部データ記憶制御装置(2)内で分類毎に該事象の
発生回数と該閾値とを比較し、 発生回数が閾値より大となったものがあれば通報する各
段階を具備することを特徴とする交代領域管理方法。 2、ホストコンピュータ(1)と、外部データ記憶媒体
(3)と、該外部データ記憶媒体(3)への書込み読出
しを制御する記憶制御手段(24)を具備する外部デー
タ記憶制御装置(2)とからなるシステムにおいて該外
部データ記憶媒体(3)内の欠陥領域の代替として設け
られる交代領域の割り付けを管理する交代領域管理装置
であって、該外部データ記憶制御装置(2)内に具備さ
れ、該交代領域のアクセス時間の多少に応じた分類毎の
閾値を1つ以上記憶する閾値記憶手段(21)と、 該記憶制御手段(24)が交代領域を割り付けた回数を
該分類毎にカウントする計数手段(22)と、該分類毎
に該計数手段(22)の計数値と該閾値記憶手段(21
)が記憶する閾値とを比較する比較手段(23)とを具
備することを特徴とする交代領域管理装置。[Claims] 1. In a system consisting of a host computer (1), an external data storage control device (2), and an external data storage medium (3), defective areas in the external data storage medium (3) can be fixed. A replacement area management method for managing the allocation of a replacement area provided as an alternative, which classifies the event of allocation of the replacement area into one or more types depending on the access time of the replacement area, and the external data storage control device (2) stores a threshold value for each category, and counts the number of times the event occurs for each category in the external data storage control device (2) each time the event occurs during system operation; A switching system characterized by comprising steps in which the number of occurrences of the event is compared with the threshold value for each category in the storage control device (2), and if there is an event whose number of occurrences is greater than the threshold value, a notification is provided. Space management method. 2. An external data storage control device (2) comprising a host computer (1), an external data storage medium (3), and a storage control means (24) for controlling reading and writing to the external data storage medium (3). A replacement area management device that manages the allocation of a replacement area provided as a substitute for a defective area in the external data storage medium (3) in a system comprising: , a threshold storage means (21) for storing one or more threshold values for each classification depending on the access time of the replacement area; and a threshold storage means (21) for counting the number of times the replacement area is allocated by the storage control means (24) for each classification. a counting means (22) for each category, and a count value of the counting means (22) and a threshold storage means (21) for each category.
) Comparison means (23) for comparing the comparison means (23) with a threshold value stored in the replacement area management device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2123189A JP2699984B2 (en) | 1990-05-15 | 1990-05-15 | Alternation area management method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2123189A JP2699984B2 (en) | 1990-05-15 | 1990-05-15 | Alternation area management method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0421974A true JPH0421974A (en) | 1992-01-24 |
| JP2699984B2 JP2699984B2 (en) | 1998-01-19 |
Family
ID=14854396
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2123189A Expired - Lifetime JP2699984B2 (en) | 1990-05-15 | 1990-05-15 | Alternation area management method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2699984B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6363166A (en) * | 1986-09-02 | 1988-03-19 | Canon Inc | Information recording system |
| JPH0322265A (en) * | 1989-06-19 | 1991-01-30 | Nec Gumma Ltd | Magneto-optical disk processor |
-
1990
- 1990-05-15 JP JP2123189A patent/JP2699984B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6363166A (en) * | 1986-09-02 | 1988-03-19 | Canon Inc | Information recording system |
| JPH0322265A (en) * | 1989-06-19 | 1991-01-30 | Nec Gumma Ltd | Magneto-optical disk processor |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2699984B2 (en) | 1998-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8015433B2 (en) | Disk drive with nonvolatile memory for storage of failure-related data | |
| JP3699166B2 (en) | Method for monitoring data loss in hierarchical data storage | |
| KR100699062B1 (en) | How to skip disk drive controllers and defective and / or unwanted sectors | |
| US8068390B2 (en) | Information recording device | |
| US7415636B2 (en) | Method and apparatus for replacement processing | |
| JP2002207620A (en) | File system and data caching method in the system | |
| US7359134B2 (en) | Data save processing method for disk storage device and disk storage system | |
| JP2004013313A (en) | Storage device, information processing system equipped with the storage device, formatting method for the storage device, recording method for data, and program for realizing recording of format and data. | |
| JP3860967B2 (en) | Method for automatically changing leads and magnetic disk device using the same | |
| JPH0421974A (en) | Method and device for controlling alternative sector | |
| JPH07182792A (en) | Information sector defect handling method | |
| JP5621801B2 (en) | Magnetic disk control device, magnetic disk device, and magnetic disk control method | |
| EP0316867A2 (en) | Semiconductor file apparatus | |
| US8015350B2 (en) | Block level quality of service data in a data storage device | |
| JP3615274B2 (en) | File control unit | |
| JP2002278705A (en) | Computer system | |
| JPS6348662A (en) | Information recording and reproducing method for optical disk device | |
| JPH076513A (en) | High performance recording / reproducing apparatus and array system using the same | |
| JPH07254229A (en) | Disk device | |
| JP3136207B2 (en) | Method of using information recording medium in information recording device | |
| JP4131953B2 (en) | File control unit | |
| JPS63113979A (en) | Defect control system for optical disk device | |
| JPH04137032A (en) | Alternate sector allocating system | |
| JP2006351137A (en) | Access control device, magnetic disk device, and access control method | |
| JPH02113467A (en) | Disk control method |