JPH08315547A - Block replacement position identification method - Google Patents
Block replacement position identification methodInfo
- Publication number
- JPH08315547A JPH08315547A JP11814395A JP11814395A JPH08315547A JP H08315547 A JPH08315547 A JP H08315547A JP 11814395 A JP11814395 A JP 11814395A JP 11814395 A JP11814395 A JP 11814395A JP H08315547 A JPH08315547 A JP H08315547A
- Authority
- JP
- Japan
- Prior art keywords
- block
- replacement
- host
- detected
- address
- 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)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
(57)【要約】
【目的】固定長ブロック記録方式を採用した記憶制御装
置のブロック交代処理において、交代目的ブロックのブ
ロック識別子が検出できないような不良トラックでもブ
ロック交代すべき位置を特定してブロック交代ができる
ようにする。
【構成】欠陥リストの各エントリ対応に交代履歴を新た
に追加し、記憶制御装置内に登録しておく。ホストから
のブロック交代要求に対応した目的の交代論理ブロック
が検出できないような不良トラックでは、欠陥リストを
参照することにより論理ブロックの並びを推測し、ホス
トが指定した目的ブロックの物理位置を検出できるよう
にし、交代処理を実行できるようにする。ブロック交代
処理の終了報告として交代目的以外のブロックでも識別
子の検出ができないブロックがある場合、その旨とアド
レスをホストに警告として報告する。
(57) [Abstract] [Purpose] In the block alternation process of the storage controller that employs the fixed-length block recording method, the position of the block to be alternated is specified even in the defective track where the block identifier of the alternate target block cannot be detected Allow them to take turns. [Structure] A replacement history is newly added for each entry of the defect list and registered in the storage controller. In a defective track where the target replacement logical block corresponding to the block replacement request from the host cannot be detected, the logical block arrangement can be estimated by referring to the defect list, and the physical position of the target block specified by the host can be detected. So that the replacement process can be executed. If there is a block for which the identifier cannot be detected even for blocks other than the purpose of the block replacement as a completion report of the block replacement process, the fact and address are reported as a warning to the host.
Description
【0001】[0001]
【産業上の利用分野】本発明はブロック交代方法に関
し、特に交代対象のブロック識別子が検出できない場合
の交代目的ブロック位置を特定する方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a block replacement method, and more particularly to a method for specifying a replacement target block position when a block identifier to be replaced cannot be detected.
【0002】[0002]
【従来の技術】固定長ブロック記録方式を採用した外部
記憶装置とホストとのインタフェースの代表例としてA
NSI委員会(American National Standerd Ins
titute)が制定したSCSI規格(Small Computer
System Interface)があるが、SCSI規格では
記録媒体上の欠陥により読出し・書込みができなくなっ
た不良ブロックを正常なブロックに割当てるコマンドと
して、ブロック交代コマンド(Reassign Blocks C
ommend)を規定している。2. Description of the Related Art A is a typical example of an interface between an external storage device adopting a fixed block recording method and a host.
NSI Committee (American National Standed Ins
SCSI standard established by titute) (Small Computer)
There is a System Interface, but in the SCSI standard, a block replacement command (Reassign Blocks C) is used as a command for assigning a defective block that cannot be read / written due to a defect on the recording medium to a normal block.
ommend) is specified.
【0003】ブロックのアドレスを示すものとして、論
理ブロックアドレスと物理ブロックアドレスがある。論
理ブロックアドレスは、記録媒体上のブロック識別子と
一対一対応しており、ホストからの通常の読出し・書込
み時に指定するアドレスとして用いられる。物理ブロッ
クアドレスは、1トラックの開始位置であるインデック
スから昇順に各ブロックに割当てられた順番号であり、
不良ブロックの位置を管理するアドレスとして用いる。There are a logical block address and a physical block address as the address of the block. The logical block address has a one-to-one correspondence with the block identifier on the recording medium, and is used as an address specified during normal reading / writing from the host. The physical block address is a sequential number assigned to each block in ascending order from the index that is the start position of one track,
It is used as an address for managing the position of the bad block.
【0004】ブロック交代コマンドでは、ホストが交代
したい不良ブロックの論理ブロックアドレスをコマンド
のパラメータとして記憶制御装置に送出する。In the block replacement command, the host sends the logical block address of the defective block to be replaced to the storage controller as a command parameter.
【0005】ブロック交代コマンドの処理方式は、例え
ば特開平1−105069号公報に記載されているよう
に、ユーザー出荷前に検出した不良ブロックのアドレス
を記録した一次欠陥リストとユーザー出荷後に発生した
不良ブロックのアドレスを記録した2次欠陥リストを備
え、交代したブロックの管理を行う方法がある。A block replacement command processing method is, for example, as described in Japanese Patent Laid-Open No. 1-105069, a primary defect list in which addresses of defective blocks detected before user shipment are recorded and defects generated after user shipment. There is a method of managing a replaced block by providing a secondary defect list in which the address of the block is recorded.
【0006】各欠陥リストには不良ブロックの物理ブロ
ックアドレスを格納する。The physical block address of the defective block is stored in each defect list.
【0007】記憶制御装置の制御プログラムは、記録媒
体のフォーマット書込み時に欠陥リストを参照し、不良
ブロックを使用しないものとしてフォーマットを行う。
交代を解消する単位(例えば1トラック)の末尾には、
予め定めた予備ブロックを設けることにしているため、
欠陥リストに登録されている不良ブロックは、直接予備
ブロックに割当てるのではなく、そのブロックを使用し
ないことにして、不良ブロック以降の全体のブロック識
別子を予備ブロックまで一つずつ後ろにずらしてフォー
マット書込みする。The control program of the storage control device refers to the defect list at the time of format writing on the recording medium, and performs formatting assuming that the defective block is not used.
At the end of the unit (for example, one track) that eliminates the change,
Since it is decided to provide a predetermined spare block,
The bad blocks registered in the defect list are not directly assigned to the spare blocks, but the blocks are not used, and the entire block identifiers after the bad blocks are shifted backward to the spare blocks one by one, and format writing is performed. To do.
【0008】フォーマット書込み後、フォーマット書込
みが正常に出来ているかのチェックであるベリファイ動
作で、新たな不良ブロックを検出した場合も、不良ブロ
ック以降のブロック全体を予備ブロックまでずらして再
度フォーマット書込みする。これは、フォーマット以後
に実施される連続的な読出し・書込み動作において、直
接的なブロックの交代による不当な回転待ちを発生させ
ないための技法である。フォーマット書込みとベリファ
イにおいて、交代を解消する単位(例えば1トラック)
内で、予備ブロック数以上の不良ブロックが欠陥リスト
に登録されている場合、予備ブロックを全て使い果すま
で不良ブロック以降をずらした交代を行い、ずらしきれ
ない不良ブロックは別トラックに設けた交代トラックに
直接割当てる。ベリファイにて検出した不良ブロックア
ドレスは、2次欠陥リストに追加される。After a format write, even if a new defective block is detected by the verify operation for checking whether the format write is normally performed, the entire block after the defective block is shifted to the spare block and the format is again written. This is a technique for preventing an undesired rotation wait due to a direct block change in a continuous read / write operation performed after formatting. A unit that eliminates alternation in format writing and verification (for example, one track)
If more than the number of spare blocks is registered in the defect list, the spare blocks are replaced until the spare blocks are exhausted, and the defective blocks that cannot be completely shifted are replaced by another track. Directly to. The defective block address detected by the verification is added to the secondary defect list.
【0009】ユーザー出荷後のブロック交代コマンドで
は、指定されたブロックを直接予備ブロックに割当て
る。不良ブロック以降を予備ブロックまでずらす交代処
理を実施するためには、当該トラックを再フォーマット
する必要がある。フォーマット動作では、フォーマット
したトラック上の全てのデータが消失してしまうため、
記憶制御装置がユーザー出荷後の交代処理をずらして実
施するためには、ユーザーが書込んだデータを一次的に
どこかの領域に退避し、フォーマット後に回復する必要
がある。ユーザーが書込んだデータの物理的格納場所を
移動することは、ユーザーのデータを消失してしまう危
険性を伴うため、ユーザー出荷後の交代処理では、直接
予備ブロック又は交代トラックに割当てる交代を行うよ
うにしている。ブロック交代コマンドで指定されたブロ
ックアドレスも2次欠陥リストに追加される。In the block replacement command after user shipment, the designated block is directly assigned to the spare block. In order to perform the alternation process of shifting the defective block and the subsequent blocks to the spare block, it is necessary to reformat the track. In the format operation, all data on the formatted track will be lost,
In order for the storage control device to shift the replacement process after shipment from the user, it is necessary to temporarily save the data written by the user to some area and restore it after formatting. Moving the physical storage location of the data written by the user involves the risk of losing the user's data. Therefore, in the replacement processing after the user is shipped, the replacement is performed by directly allocating it to a spare block or a replacement track. I am trying. The block address specified by the block replacement command is also added to the secondary defect list.
【0010】つまり欠陥リストには、ずらして交代した
ブロックアドレスと直接交代したブロックアドレスとが
混在して登録されていることになる。That is, in the defect list, the block address shifted and replaced and the block address directly replaced are mixed and registered.
【0011】[0011]
【発明が解決しようとする課題】上記に説明したような
ユーザー出荷後のブロック交代コマンド処理において、
特に磁気ディスク制御装置のブロック交代処理では、当
該不良ブロックを2度とアクセス出来ないブロックとす
るため、正常状態であるブロックの識別子に不良ブロッ
クである事を記録する。これを実行するために不良ブロ
ックが存在するトラック内の物理ブロックアドレスを検
出する必要がある。In the block replacement command processing after user shipment as described above,
In particular, in the block replacement process of the magnetic disk control device, since the defective block is a block that cannot be accessed again, the defective block is recorded in the identifier of the block in the normal state. To do this, it is necessary to detect the physical block address in the track where the bad block resides.
【0012】しかし、或るトラックにブロック識別子が
検出できない様な不良ブロックが集中している場合、デ
ィスク制御装置は、交代目的とするブロックを特定する
ことができずにブロック交代処理を異常終了していた。
異常終了の要因としては、ディスク制御装置がホストに
対し、ホスト指定以外のブロック識別子が検出できない
こととし、異常終了の付加情報として、ホストが指定し
たブロックアドレス以外でブロック識別子が検出できな
い論理ブロックのアドレスを報告する。ホストはディス
ク制御装置から報告された新たな不良ブロックアドレス
を交代ブロックコマンドのパラメタに追加して再度ブロ
ック交代コマンドの発行を試みる事としてSCSIの規
格に規定している。しかし、ホストによってはブロック
交代コマンドで、新たな不良ブロックを追加してブロッ
ク交代コマンドを再発行する機能をサポートしていない
ものもあり、不良ブロックを交代することができずにデ
ィスク記憶装置を交換しなければならない問題があっ
た。However, when defective blocks whose block identifiers cannot be detected are concentrated on a certain track, the disk control device cannot specify the block to be replaced and abnormally terminates the block replacement process. Was there.
The cause of the abnormal end is that the disk controller cannot detect a block identifier other than the host designation to the host, and the additional information of the abnormal end indicates that the block identifier other than the block address specified by the host cannot detect the block identifier. Report the address. The host stipulates in the SCSI standard that a new bad block address reported from the disk controller is added to the parameter of the alternate block command and the block alternate command is reissued. However, some hosts do not support the function of adding a new bad block and reissuing the block replacement command with a block replacement command, and the bad block cannot be replaced and the disk storage device is replaced. There was a problem I had to do.
【0013】本発明の目的は、ブロック交代すべき目的
のブロックの位置を特定する機能を新たに設けることに
より、ブロック識別子が検出できないような不良ブロッ
クが集中したトラックでもホストが指定した1ブロック
を推論により特定し、ブロックの交代を実施できるよう
にして、ブロック交代処理を実行することを目的とす
る。An object of the present invention is to newly provide a function of specifying the position of a target block to be replaced, so that one block designated by the host can be used even in a track in which defective blocks whose block identifiers cannot be detected are concentrated. The purpose of the present invention is to execute block replacement processing by specifying by inference and enabling block replacement.
【0014】[0014]
【課題を解決するための手段】上記目的を達成するた
め、本発明ではフォーマット書込み以後、ブロックを交
代する度に不良ブロックの交代履歴として、ずらして交
代したか、直接交代したかを不良物理ブロックアドレス
とともに欠陥リストに記録しておく。ホストからブロッ
ク交代コマンドを受領した時、当該不良ブロックの物理
ブロックアドレスを特定するため、不良ブロックが存在
するトラックのブロック識別子の列を全て読出す。読出
した全てのブロック識別子の列の中でホストが指定した
不良ブロックの識別子が検出できない場合、読込めた識
別子の1つを基準とし、欠陥リストの交代履歴をトレー
スしてブロック識別子の並びを作成していく。ここで欠
陥リストの交代履歴をトレースすることにより、全ての
ブロック識別子の並びを作成し、読出しができない部分
のブロック識別子を推測する論理を推論と定義する。In order to achieve the above object, according to the present invention, each time a block is replaced after a format write, the replacement history of a defective block is determined by whether the defective physical block is shifted or directly replaced. Record in the defect list together with the address. When a block alternation command is received from the host, in order to specify the physical block address of the defective block, all columns of the block identifier of the track in which the defective block exists are read. If the bad block identifier specified by the host cannot be detected in the sequence of all read block identifiers, one of the read identifiers is used as a reference and the replacement history of the defect list is traced to create an array of block identifiers. I will do it. Here, by tracing the alternation history of the defect list, a sequence of all block identifiers is created, and the logic of estimating the block identifier of the unreadable portion is defined as inference.
【0015】推論で作成したブロック識別子の並びと読
込めた全てのブロック識別子の並びの比較チェックを実
施し、推論で作成したブロック識別子の並びの妥当性を
検証する。比較チェックで不一致となったとき、基準の
ブロックを他に読込めたブロック識別子に切替えて、ブ
ロック識別子の並びの推論による作成と比較チェックを
繰返す。推論により作成したブロック識別子と読込みが
できた全てのブロック識別子の比較が一致するまでこの
操作を繰返して行う。これにより交代指定されたトラッ
クで、予備ブロック数より多くのブロック識別子を読込
むことができれば、交代目的とした不良ブロック識別子
の物理ブロックアドレスを特定し、交代処理を実行する
ことができる。A comparison check of the arrangement of block identifiers created by inference and the arrangement of all the read block identifiers is performed to verify the validity of the arrangement of block identifiers created by inference. When the comparison check results in disagreement, the reference block is switched to another readable block identifier, and the creation of the block identifier arrangement by inference and the comparison check are repeated. This operation is repeated until the comparison between the block identifier created by inference and all the block identifiers that can be read matches. As a result, if more block identifiers than the number of spare blocks can be read in the alternate-designated track, the physical block address of the defective block identifier for the alternate purpose can be specified and the alternate process can be executed.
【0016】[0016]
【作用】長時間の読出し・書込みを実施した磁気ディス
クドライブでは、不良ブロックが発生する確率も高くな
る。不良ブロックが発生する原因はいろいろあるが、同
一トラック内で複数のブロック識別子が完全に破壊さ
れ、当該ブロックに対する読み出し・書込みが全くでき
なくなる場合も考えられる。ホストは不良ブロックの交
代とデータの再書込みを試みるが、この試みに失敗した
場合、磁気ディスクドライブの交換をせざるを得ない。
ブロック交代コマンドでの推論によるブロック識別子の
特定方式では、同一トラックにホストが指定した不良ブ
ロック以外に識別子が検出できない不良ブロックが複数
存在してもホストが指定した不良ブロックを特定して交
代することができる。またこのような場合、コマンドの
終了報告で、ホストが交代指定したブロック以外の不良
ブロックのアドレスをホストに報告することにより、ホ
ストに警告を与えることができる。いかなる場合でもブ
ロック交代コマンドを実行できるようにしたことによ
り、長時間使用した磁気ディスクドライブでもドライブ
を交換する事なしに不良ブロックを回復することができ
る。In a magnetic disk drive that has been read / written for a long time, the probability of defective blocks increasing. There are various causes for the generation of a bad block, but it is also conceivable that a plurality of block identifiers may be completely destroyed in the same track, making it impossible to read or write the block. The host attempts to replace a bad block and rewrite data, but if this attempt fails, the magnetic disk drive must be replaced.
In the block identifier identification method based on inference using the block replacement command, even if there are multiple defective blocks whose identifiers cannot be detected in addition to the defective blocks designated by the host on the same track, the defective blocks designated by the host must be identified and replaced. You can In such a case, a warning can be given to the host by reporting the address of a defective block other than the block which the host has alternately designated by the command end report. Since the block alternation command can be executed in any case, a bad block can be recovered even if the magnetic disk drive has been used for a long time without replacing the drive.
【0017】[0017]
【実施例】以下、本発明の一実施例について図面により
詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.
【0018】図1は本発明を適用した磁気ディスクサブ
システムの一実施例のブロック図を示したものである。
図1において、10は磁気ディスク制御装置、20は磁
気ディスクドライブ、30は磁気ディスク制御装置と磁
気ディスクとを接続するインタフェースケーブルであ
る。FIG. 1 is a block diagram of an embodiment of a magnetic disk subsystem to which the present invention is applied.
In FIG. 1, 10 is a magnetic disk controller, 20 is a magnetic disk drive, and 30 is an interface cable for connecting the magnetic disk controller and the magnetic disk.
【0019】磁気ディスク制御装置10内の制御テーブ
ルとして欠陥リスト11を有している。欠陥リストには
不良物理ブロックアドレスと当該不良ブロックをずらし
て交代したか、直接交代したかの切り分けフラグとして
交代識別を設けてある。The magnetic disk controller 10 has a defect list 11 as a control table. In the defect list, a replacement physical identification is provided as a separation flag as to whether the defective physical block address and the defective block are shifted or replaced directly.
【0020】磁気ディスクドライブ20内の詳細を21
に示す。Details of the inside of the magnetic disk drive 20 are shown at 21.
Shown in
【0021】1トラックはブロック単位に等分割されて
おり、1ブロックにはブロック識別子とデータ部が分け
て記録されている。ブロック識別子には当該ブロックの
論理ブロックアドレスと当該ブロックが正常・不良・予
備のいずれかを示すフラグを有している。データ部には
ホストからの書込み要求時に受領したデータを記録す
る。交代を解消する単位を本例では1トラックとする
と、1トラックの論理ブロックアドレスの末尾にはいく
つかの予備ブロック(本例では2個)を設けている。One track is equally divided into blocks, and a block identifier and a data part are separately recorded in one block. The block identifier has a logical block address of the block and a flag indicating whether the block is normal, defective, or spare. The data section records the data received at the time of a write request from the host. In the present example, the unit for eliminating the alternation is one track, and several spare blocks (two in this example) are provided at the end of the logical block address of one track.
【0022】いま、フォーマット書込みまたはベリファ
イにより、論理ブロックアドレス3をずらして交代した
例を(1)に示す。予備ブロックの一つを使用し、論理
ブロックアドレス3以降のブロック識別子を一つずつ予
備ブロックまでずらしている。An example in which the logical block address 3 is shifted and replaced by the format write or verify is shown in (1). One of the spare blocks is used, and the block identifiers after the logical block address 3 are shifted one by one to the spare block.
【0023】さらに、(1)のトラックの状態に対しホ
ストから論理ブロックアドレス3に対しブロック交代コ
マンドが発行された場合を想定する。論理ブロックアド
レス3を直接予備ブロックに交代するため、(2)で示
すようなブロック識別子の配置となる。Further, it is assumed that the host issues a block alternation command to the logical block address 3 for the track state of (1). Since the logical block address 3 is directly changed to the spare block, the block identifier is arranged as shown in (2).
【0024】いま、ホストから論理ブロックアドレス3
をブロック交代コマンドで指定されたと想定し、交代目
的のトラックには論理ブロックアドレス3を含め、4個
のブロック識別子が検出できない場合を例にとって、ブ
ロック識別子を特定するまでの手順を図2と図3のフロ
ーチャートに従って説明する。ブロック識別子が検出で
きないブロックを×として示す。また、交代目的トラッ
クの不良物理ブロックアドレスとして、欠陥リストにα
とβが記録されていたとする。物理ブロックアドレスα
はずらして交代しており、βは直接交代していることが
わかる。Now, from the host, the logical block address 3
Assuming that the block identifier is specified by the block alternation command, and the four blocks of the identifier including the logical block address 3 in the track intended for alternation cannot be detected, the procedure until the block identifier is specified is shown in FIG. 2 and FIG. A description will be given according to the flowchart of FIG. A block whose block identifier cannot be detected is indicated by x. In addition, α is added to the defect list as the defective physical block address of the replacement target track.
And β have been recorded. Physical block address α
It can be seen that they are offset and alternate, and β is directly alternate.
【0025】ホストが交代指定した論理ブロックが存在
するトラックを求める(ステップ101)。The track in which the logical block alternately designated by the host exists is obtained (step 101).
【0026】ホストが指定した論理ブロックアドレスの
物理ブロックアドレスを求めるため、当該トラックの識
別子の全てを磁気ディスクドライブから読出す(ステッ
プ102)。読出したブロック識別子の中にホストが指
定した論理ブロックアドレスが存在するかをチェックす
る(ステップ103)。ホストが指定した論理ブロック
アドレスが存在した場合は当該ブロックの物理位置を求
めブロック交代処理を実行する(ステップ104)。In order to obtain the physical block address of the logical block address designated by the host, all the identifiers of the track are read from the magnetic disk drive (step 102). It is checked whether or not there is a logical block address designated by the host in the read block identifier (step 103). If the logical block address designated by the host exists, the physical position of the block is obtained and block replacement processing is executed (step 104).
【0027】磁気ディスクドライブから読出したブロッ
ク識別子の並びの状態を図2の(1)に示す。この場合
ではホストが指定した論理ブロックアドレス3に対応し
たブロック識別子が存在しないためステップ105へ進
む。The state of arrangement of block identifiers read from the magnetic disk drive is shown in (1) of FIG. In this case, since there is no block identifier corresponding to the logical block address 3 designated by the host, the process proceeds to step 105.
【0028】読出しができたブロック識別子が3個以上
あるかをチェックする(ステップ105)。3個以上な
いときは、ホスト指定の論理ブロックアドレスの特定が
できないものとし、ブロック交代処理を異常終了させる
(ステップ106)。It is checked whether there are three or more block identifiers that can be read (step 105). If there are not three or more, the logical block address designated by the host cannot be specified, and the block alternation process is abnormally terminated (step 106).
【0029】図2の(1)の状態では、検出できるブロ
ック識別子が6個あるためステップ107へ進む。In the state (1) of FIG. 2, since there are six block identifiers that can be detected, the process proceeds to step 107.
【0030】読出しができたブロック識別子の一つを基
準として、欠陥リストを参照してブロック識別子の並び
を推測で作成する(ステップ107)。Using one of the read block identifiers as a reference, an array of block identifiers is speculatively created by referring to the defect list (step 107).
【0031】図2の(2)で示すように、論理ブロック
アドレス0を基準としてブロック識別子の並びを作成す
る。物理ブロックアドレスα以降はずらし交代のため、
ブロック識別子を予備ブロックまでずらしてブロック識
別子の並びを作成する。次に(3)では、物理ブロック
アドレスβを直接予備ブロックに割当てるため、論理ブ
ロックアドレス3のブロック識別子を予備ブロックに直
接割当てる。As shown in (2) of FIG. 2, a block identifier array is created based on the logical block address 0. Since the physical block address α and subsequent shifts occur,
A block identifier sequence is created by shifting the block identifier to the spare block. Next, in (3), since the physical block address β is directly assigned to the spare block, the block identifier of the logical block address 3 is directly assigned to the spare block.
【0032】推測で作成したブロック識別子の並びと、
読出しができた全てのブロック識別子の並びで、各論理
ブロックアドレスの物理位置が全て合致しているかの比
較チェックを実施する(ステップ108)。比較結果の
判定を行う(ステップ109)。比較結果が一致しなか
った場合論理ブロックアドレスの基準を他のものに切替
えて(ステップ110)比較チェックが成立するまで推
論とチェックを繰返す。推論で作成したブロック識別子
と読出せた全てのブロック識別子の比較が全て一致した
とき、ホストが指定した論理ブロックの物理位置を求め
交代処理を実行する(ステップ111)。A sequence of block identifiers created by inference, and
A comparison check is performed to see if the physical positions of the respective logical block addresses match all in the array of all the block identifiers that could be read (step 108). The comparison result is judged (step 109). If the comparison result does not match, the reference of the logical block address is switched to another (step 110) and the inference and the check are repeated until the comparison check is established. When the comparison between the block identifier created by inference and all the read block identifiers is in agreement, the physical position of the logical block designated by the host is obtained and the alternation process is executed (step 111).
【0033】図2の(4)では、読出しができた論理ブ
ロックアドレスが6、0、1、2、4、5であるため、
推測で作成した論理ブロックアドレスの6、0、1、
2、4、5と比較を行う。推測で作成した各ブロック識
別子の物理位置と読出しができた各ブロック識別子の物
理位置が完全に一致しているため、推測は正しいものと
判定し、ステップ111に進む。図2の(6)では、ホ
ストが指定した論理ブロックアドレス3の物理位置は2
であることを特定することができたため、交代処理を実
行することができる。In (4) of FIG. 2, since the read logical block addresses are 6, 0, 1, 2, 4, and 5,
Logical block address 6, 0, 1, created by guessing
Compare with 2, 4, and 5. Since the physical position of each block identifier created by the estimation and the physical position of each block identifier that could be read completely match, the estimation is determined to be correct, and the process proceeds to step 111. In (6) of FIG. 2, the physical position of the logical block address 3 designated by the host is 2
Since it was possible to specify that, the replacement process can be executed.
【0034】交代処理の正常終了報告として、ホストが
指定したブロック以外にも当該トラックには不良ブロッ
クが存在することを報告する(ステップ112)。As a normal termination report of the alternation process, it is reported that there is a defective block on the track other than the block designated by the host (step 112).
【0035】図2の(5)ではブロック識別子の読込み
時に、検出できなかった論理ブロックアドレスが7であ
ったことを検出することができる。つまり、論理ブロッ
クアドレス7をホストが指定したブロックアドレス以外
の不良ブロックアドレスとして報告する。In (5) of FIG. 2, it is possible to detect that the logical block address that could not be detected was 7 when reading the block identifier. That is, the logical block address 7 is reported as a defective block address other than the block address designated by the host.
【0036】[0036]
【発明の効果】以上に説明したように、本発明によれ
ば、ブロック交代処理において、ホストが交代指定した
論理ブロックのブロック識別子が検出できないような不
良トラックでも、3個以上のブロック識別子が検出でき
れば、欠陥リストと推論により交代すべきブロックの物
理位置を特定することができるため、交代処理を異常終
了させる事なくホストが指定した論理ブロックのみのブ
ロック交代処理を実行することができる。またホストが
指定したブロック以外にもブロック識別子が検出できな
い不良ブロックがあることを警告することができる。As described above, according to the present invention, three or more block identifiers are detected even in a defective track in which the block identifier of the logical block alternate-designated by the host cannot be detected in the block alternation processing. If possible, the physical position of the block to be replaced can be specified by the defect list and the inference, so that the block replacement process of only the logical block designated by the host can be executed without abnormally terminating the replacement process. In addition to the block designated by the host, it is possible to warn that there is a defective block whose block identifier cannot be detected.
【図1】本発明の実施例を示すシステム構成ブロック図
である。FIG. 1 is a system configuration block diagram showing an embodiment of the present invention.
【図2】ブロック交代位置の特定までの経過を示すトラ
ック図である。FIG. 2 is a track diagram showing the process until the block replacement position is specified.
【図3】図2におけるブロック交代位置の特定手順を示
すフローチャートである。FIG. 3 is a flowchart showing a procedure for identifying a block alternation position in FIG.
10…磁気ディスク制御装置 20…磁気ディス
クドライブ 30…磁気ディスク制御装置と磁気ディスクドライブを
接続するインタフェースケーブル 11…欠陥リスト 21…磁気ディスクドライブ内のトラックフォーマット10 ... Magnetic disk controller 20 ... Magnetic disk drive 30 ... Interface cable connecting magnetic disk controller and magnetic disk drive 11 ... Defect list 21 ... Track format in magnetic disk drive
───────────────────────────────────────────────────── フロントページの続き (72)発明者 高安 厚志 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Atsushi Takayasu 2880 Kokufu, Odawara-shi, Kanagawa Stock company Hitachi Storage Systems Division
Claims (2)
憶装置のサブシステムで、欠陥ブロックを正常なブロッ
クに交代する交代機能の交代目的ブロック位置特定方法
において、欠陥ブロックのアドレスを記録した欠陥リス
トに交代履歴を登録しておくことにより、1つのトラッ
ク内で複数のブロック識別子が検出できなくても予備ブ
ロック数より多くのブロック識別子を検出する事ができ
れば、欠陥リストを参照した推論により交代目的ブロッ
クを特定してブロック交代ができるようにし、従来まで
交代目的ブロックを特定できずにブロック交代の異常終
了をホストに報告していた場合でもブロック交代処理の
実行を可能としたブロック交代位置の特定方法。1. A defect list in which an address of a defective block is recorded in a replacement target block position specifying method of a replacement function for replacing a defective block with a normal block in a subsystem of an external storage device adopting a fixed-length block recording method. By registering the replacement history in, if more block identifiers than the number of spare blocks can be detected even if a plurality of block identifiers cannot be detected in one track, the purpose of replacement is to infer by referring to the defect list. Identifies blocks so that block replacement can be performed, and even when the abnormal end of block replacement was not reported to the host until now, it was possible to execute block replacement processing even if the block replacement abnormal termination was reported to the host. Method.
トラックで複数のブロック識別子が検出できないとき、
欠陥リストを参照した推論により、交代目的ブロックを
特定してブロック交代した場合、ブロック交代コマンド
の終了報告で、ホストが交代指定したブロックの他にも
ブロック識別子が検出できない不良ブロックが存在する
ことを警告する方法。2. Including a block which is designated by the host in turn, 1
When multiple block identifiers cannot be detected in the track,
When the replacement target block is specified and the block replacement is performed by inference with reference to the defect list, the block replacement command completion report indicates that there is a bad block whose block identifier cannot be detected in addition to the block specified by the host replacement. How to warn.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11814395A JPH08315547A (en) | 1995-05-17 | 1995-05-17 | Block replacement position identification method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11814395A JPH08315547A (en) | 1995-05-17 | 1995-05-17 | Block replacement position identification method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08315547A true JPH08315547A (en) | 1996-11-29 |
Family
ID=14729144
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11814395A Pending JPH08315547A (en) | 1995-05-17 | 1995-05-17 | Block replacement position identification method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08315547A (en) |
-
1995
- 1995-05-17 JP JP11814395A patent/JPH08315547A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3206657B2 (en) | Replacement processing method and information recording / reproducing device | |
| US6223302B1 (en) | Information recording/reproducing unit and information recording/reproducing data | |
| US6766465B2 (en) | Automatic read reassignment method and a magnetic disk drive | |
| US20030191981A1 (en) | Method and apparatus of recording data in the optical recording medium | |
| JPH01231122A (en) | Data storage device | |
| JPH02281474A (en) | Auto changer device for storage medium | |
| JP3579001B2 (en) | Confirmation method of defect management area information of optical disk | |
| JPH0324691B2 (en) | ||
| US6539496B1 (en) | Method for preventing repeating non-recoverable read errors at same physical location on data storage media | |
| JP3132677B2 (en) | Information recording and playback method | |
| JPH0316712B2 (en) | ||
| JPH07182792A (en) | Information sector defect handling method | |
| JPH07182250A (en) | Automatic alternation processing method for magnetic disks | |
| US8984218B2 (en) | Drive indicating mechanism for removable media | |
| JPH08315547A (en) | Block replacement position identification method | |
| JP3841595B2 (en) | Storage device alternation processing time judgment test method | |
| RU2286610C2 (en) | Optical data carrier, recording/reproduction device, recording/reproduction device | |
| US5091909A (en) | Method for writing/reading of data in magnetic disk subsystem | |
| JPS60113361A (en) | Discrimination system of magnetic disk format | |
| JP4205364B2 (en) | Data integrity check method for external storage | |
| JPH0935418A (en) | Information storage device | |
| JP3128102B2 (en) | Information recording / reproducing method | |
| JP2001351340A (en) | Method and apparatus for checking defect management area information of optical disc during initialization without verification | |
| JP2005293685A (en) | I / O device and patrol method | |
| JPH03222154A (en) | Information recording and reproducing device |