JP2735071B2 - Defective block management method - Google Patents

Defective block management method

Info

Publication number
JP2735071B2
JP2735071B2 JP11125096A JP11125096A JP2735071B2 JP 2735071 B2 JP2735071 B2 JP 2735071B2 JP 11125096 A JP11125096 A JP 11125096A JP 11125096 A JP11125096 A JP 11125096A JP 2735071 B2 JP2735071 B2 JP 2735071B2
Authority
JP
Japan
Prior art keywords
disk
block
defective block
defective
request
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.)
Expired - Lifetime
Application number
JP11125096A
Other languages
Japanese (ja)
Other versions
JPH09282107A (en
Inventor
嘉英 松村
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11125096A priority Critical patent/JP2735071B2/en
Publication of JPH09282107A publication Critical patent/JPH09282107A/en
Application granted granted Critical
Publication of JP2735071B2 publication Critical patent/JP2735071B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記録媒体上に欠陥
ブロックの代替領域(欠陥ブロックの検出時にその欠陥
ブロックの代替として使用される領域)を備えるディス
ク装置(磁気ディスク装置等)を複数台含むコンピュー
タシステムにおいて欠陥ブロックの管理を行う欠陥ブロ
ック管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of disk devices (magnetic disk devices, etc.) provided with a replacement area for a defective block (an area used as a replacement for the defective block when a defective block is detected) on a recording medium. The present invention relates to a defective block management method for managing defective blocks in a computer system including the same.

【0002】[0002]

【従来の技術】本発明に対する従来技術に関する特許公
報としては、以下のおよびがある。 特開昭60−171677号公報 特開平3−194774号公報
2. Description of the Related Art The following publications relate to the prior art relating to the present invention. JP-A-60-171677 JP-A-3-194774

【0003】上述の特開昭60−171677号公報に
記載された技術(記憶媒体の欠陥処理方法)は、記録媒
体中にその使用状況をブロック単位で記憶するマップテ
ーブルを備え、前記記録媒体に欠陥ブロックが検出され
ると欠陥ブロック情報を前記マップテーブルに記憶した
後に不使用ブロックをサーチし、この不使用ブロックが
検出されればそのブロック(不使用ブロック)からI/
O(Input/Output)処理を再開する。これ
によって、磁気ディスク装置の使用開始後に発生する欠
陥ブロックに対応している。しかし、この技術では、不
使用ブロックが検出されない場合には、I/O処理は中
断され、以降欠陥ブロックの確保を必要とするI/O要
求は全てエラーとなる。
The technique described in Japanese Patent Application Laid-Open No. Sho 60-171677 (a method of processing defects in a storage medium) includes a map table for storing the use state of the storage medium in block units. When a defective block is detected, defective block information is stored in the map table, and then an unused block is searched. If this unused block is detected, I / O is performed from that block (unused block).
The O (Input / Output) processing is restarted. This corresponds to a defective block that occurs after the start of use of the magnetic disk device. However, in this technique, if an unused block is not detected, I / O processing is interrupted, and all I / O requests that need to secure a defective block thereafter become errors.

【0004】また、上述の特開平3−194774号公
報に記載された技術(外部記憶装置の不良ブロック交替
処理方式)は、欠陥ブロックの代替領域の残りブロック
数が予め定められた値まで減ったときに、上位システム
にその旨を報告することで、上記代替領域を使い尽くし
た場合の無駄な「REASSIGN BLOCKコマン
ド」の発行を回避している。しかし、この技術でも、該
当ディスク装置に対するI/O要求で欠陥ブロックの確
保を必要とするものは全てエラーとなる。
Further, in the technique described in the above-mentioned Japanese Patent Application Laid-Open No. 3-194774 (the defective block replacement processing method of the external storage device), the number of remaining blocks in the replacement area of the defective block is reduced to a predetermined value. At times, the fact is reported to the host system, thereby avoiding issuing a useless "REASSIGN BLOCK command" when the alternative area is used up. However, even with this technique, any I / O request to the corresponding disk device that needs to secure a defective block results in an error.

【0005】なお、図8に、従来技術(従来の欠陥ブロ
ック管理方式)の一例の構成を示している。
[0005] FIG. 8 shows an example of the configuration of a conventional technique (conventional defective block management system).

【0006】[0006]

【発明が解決しようとする課題】上述した従来の技術に
おける問題点は、ディスク装置中の欠陥ブロックの代替
領域を使い尽くした場合に、それ以降発生した当該欠陥
ブロックの確保を必要とするI/O要求は全てエラーと
なることである。
The problem with the prior art described above is that, when the replacement area of the defective block in the disk device is exhausted, the I / O which needs to secure the defective block generated thereafter is needed. O requests are all errors.

【0007】その理由は、代替領域が使い尽くされてい
るため、記録媒体上にデータ記録用の領域(ブロック)
を確保することができず、データの記録が不可能となる
からである。
[0007] The reason is that, since the alternative area is exhausted, an area (block) for data recording is recorded on the recording medium.
Cannot be secured, and data recording becomes impossible.

【0008】本発明の目的は、上述の点に鑑み、記録媒
体上に欠陥ブロックの代替領域を備えるディスク装置を
複数台含むコンピュータシステムにおいて、あるディス
ク装置が自身の欠陥ブロックの代替領域を使い尽くした
場合に、当該コンピュータシムテム中の他のディスク装
置の欠陥ブロックの代替領域を使用することで、I/O
要求のエラー完了を回避することができる欠陥ブロック
管理方式を提供することにある。
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to provide a computer system including a plurality of disk devices each having a defective block alternative area on a recording medium, wherein one disk apparatus runs out of its own defective block alternative area. In this case, the I / O can be performed by using the replacement area of the defective block of another disk device in the computer system.
An object of the present invention is to provide a defective block management method capable of avoiding error completion of a request.

【0009】[0009]

【課題を解決するための手段】本発明の欠陥ブロック管
理方式は、記録媒体上に欠陥ブロックの代替領域を備え
るディスク装置を複数台含むコンピュータシステムにお
いて、上位ソフトウェアから発行されたI/O要求をI
/O対象であるディスク装置に対応するディスク制御装
置に発行し、あるディスク制御装置から発行された代替
ブロック割当て要求を当該ディスク制御装置以外のディ
スク制御装置に発行し、あるディスク装置内の欠陥ブロ
ックの代替として他のディスク装置内の代替領域のブロ
ックが使用されていた場合に当該欠陥ブロックを有する
ディスク装置が交換されたときに代替領域を提供してい
たディスク装置に対応するディスク制御装置に対して代
替ブロック解放要求を発行するディスク上位制御部と、
自ディスク装置について、欠陥ブロック位置,欠陥ブロ
ックリマップ先情報,および「自ディスク装置の代替領
域の使用状態を示す情報」を保持しているディスク制御
装置内の欠陥ブロック管理テーブルと、未使用代替ブロ
ック割当て処理時に自ディスク装置内の代替領域の未使
用のブロックを使用中として割り当てるように前記欠陥
ブロック管理テーブルを更新し、代替ブロック解放処理
時に自ディスク装置内の代替領域の使用中のブロックを
解放して未使用とするように前記欠陥ブロック管理テー
ブルを更新し、自ディスク内I/O処理時に代替ブロッ
クの変更が行われていた場合にはその変更に基づいて前
記欠陥ブロック管理テーブルを更新するディスク制御装
置内の管理テーブル更新部と、自ディスク内I/O処理
時に、自ディスク装置にI/O要求を発行し自ディスク
装置からのI/O完了割込みの完了ステータスを判定す
るディスク制御装置内のディスク装置入出力制御部と、
正常完了およびエラー完了の通知を含むディスク制御装
置における全般的な制御を行い、ディスク上位制御部か
らのI/O要求の要求ブロックが欠陥ブロックとして前
記欠陥ブロック管理テーブルに登録されている場合に当
該要求ブロックをリマップ先ブロックに変換した上でそ
のリマップ先が自ディスク装置内の代替領域のブロック
であるか否かを判定し当該判定に基づいてI/O要求の
発行対象を認識するディスク制御装置内の制御部とを有
する。
According to the defective block management method of the present invention, an I / O request issued from a higher-level software is used in a computer system including a plurality of disk devices each having a defective block replacement area on a recording medium. I
Issue a replacement block allocation request issued from a certain disk controller to a disk controller other than the disk controller, and issue a defective block in the certain disk device. When a block in the replacement area in another disk device is used as an alternative to the disk control device corresponding to the disk device that provided the replacement area when the disk device having the defective block was replaced. A disk higher-level control unit that issues a substitute block release request
A defective block management table in the disk control device that holds the defective block position, defective block remapping destination information, and “information indicating the use state of the replacement area of the own disk device” for the own disk device; The defective block management table is updated so that unused blocks in the replacement area in the own disk device are allocated as being used during the block allocation processing, and the used blocks of the replacement area in the own disk apparatus are replaced during the replacement block release processing. The defective block management table is updated so as to be released and unused, and if a replacement block has been changed during I / O processing within the own disk, the defective block management table is updated based on the change. The management table updating unit in the disk control device that performs the A disk device output control unit issues an I / O request in determining the disk controller of the completion status of the I / O completion interrupt from the own disk device location,
Performs general control in the disk control device including notification of normal completion and error completion. When a request block of an I / O request from the disk higher-level control unit is registered in the defective block management table as a defective block, A disk control device that converts a request block into a remapping destination block, determines whether the remapping destination is a block in an alternative area in the disk device, and recognizes an I / O request issue target based on the determination. And a control unit.

【0010】[0010]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0011】図1は、本発明の欠陥ブロック管理方式の
一実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a defective block management system according to the present invention.

【0012】本実施例の欠陥ブロック管理方式は、上位
ソフトウェア10と、ディスク上位制御部20と、ディ
スク制御装置31(#1で識別されるディスク制御装
置)およびディスク制御装置32(#2で識別されるデ
ィスク制御装置)と、代替領域(欠陥ブロックの代替領
域)411を有するディスク装置41(#1で識別され
るディスク装置)および代替領域421を有するディス
ク装置42(#2で識別されるディスク装置)とを含ん
で構成されている。なお、ディスク制御装置は、ハード
ウェアとして実現することもソフトウェアとして実現す
ることも可能である。
The defective block management system according to the present embodiment includes a host software 10, a disk host controller 20, a disk controller 31 (disk controller identified by # 1), and a disk controller 32 (identified by # 2). Disk device 41 (a disk device identified by # 1) having a replacement area (substitution area for defective blocks) 411 and a disk device 42 (a disk identified by # 2) having a replacement area 421 Device). The disk control device can be realized as hardware or software.

【0013】ディスク上位制御部20は、以下の〜
に示す制御を行う。
The disk host control unit 20 has the following:
The following control is performed.

【0014】 上位ソフトウェア10から発行された
I/O要求をI/O対象であるディスク装置(ディスク
装置41またはディスク装置42)に対応するディスク
制御装置(ディスク制御装置31またはディスク制御装
置32)に発行する。
The I / O request issued from the host software 10 is sent to a disk controller (disk controller 31 or disk controller 32) corresponding to the disk device (disk device 41 or disk device 42) to be I / O. Issue.

【0015】 あるディスク制御装置(例えば、ディ
スク制御装置31)から発行された代替ブロック割当て
要求を当該ディスク制御装置以外のディスク制御装置
(上例では、ディスク制御装置32)に発行する。
A substitute block allocation request issued from a certain disk controller (for example, disk controller 31) is issued to a disk controller other than the disk controller (in the above example, disk controller 32).

【0016】 あるディスク装置(ディスク装置41
または42)内の欠陥ブロックの代替として他のディス
ク装置(ディスク装置42または41)内の代替領域4
21または411のブロックが使用されていた場合に当
該欠陥ブロックを有するディスク装置41または42が
交換されたときに、代替領域421または411を提供
していたディスク装置42または41に対応するディス
ク制御装置32または31に対して代替ブロック解放要
求を発行する。
A certain disk device (disk device 41)
Or 42) as a replacement for the defective block in another disk device (disk device 42 or 41).
When the disk unit 41 or 42 having the defective block is replaced when the block 21 or 411 is used, the disk control unit corresponding to the disk unit 42 or 41 that provided the replacement area 421 or 411 An alternative block release request is issued to 32 or 31.

【0017】ディスク制御装置31(32)は、制御部
310(320)と、欠陥ブロック管理テーブル311
(321)と、管理テーブル更新部312(322)
と、ディスク装置入出力制御部313(323)とを含
んで構成されている。
The disk controller 31 (32) includes a controller 310 (320) and a defective block management table 311.
(321) and the management table update unit 312 (322)
And a disk device input / output control unit 313 (323).

【0018】制御部310(320)は、ディスク制御
装置31(32)における全般的な制御を行う(本発明
に関する具体的な制御内容については後述する)。
The control section 310 (320) performs overall control in the disk control device 31 (32) (specific control contents relating to the present invention will be described later).

【0019】欠陥ブロック管理テーブル311(32
1)は、自ディスク装置(対応するディスク装置41
(42))の欠陥ブロックに関する管理情報を有してい
る。すなわち、自ディスク装置における各欠陥ブロック
についての「欠陥ブロック位置」(その欠陥ブロックの
位置を示す情報)および「欠陥ブロックリマップ先情
報」(その欠陥ブロックの代替ブロックのリマップ先
(その代替ブロックが存在するディスク装置および当該
ディスク装置内における代替ブロックの位置)を示す情
報)と、「自ディスク装置の代替領域411(421)
の使用状態を示す情報」とを保持している。なお、ここ
では、「自ディスク装置の代替領域411(421)の
使用状態を示す情報」は、代替領域411(421)内
の各ブロックの位置を示す情報および各ブロックが使用
中であるか未使用であるかを示す情報であるものとす
る。
The defective block management table 311 (32
1) is its own disk device (corresponding disk device 41)
(42)) has management information on the defective block. That is, the “defective block position” (information indicating the position of the defective block) and the “defective block remapping destination information” (remapping destination of the replacement block of the defective block (the replacement block is Indicating the existing disk device and the position of the replacement block in the disk device), and “the replacement area 411 (421) of the own disk device”.
"Information indicating the use state of". " Here, the “information indicating the use state of the replacement area 411 (421) of the own disk device” is the information indicating the position of each block in the replacement area 411 (421) and whether each block is in use or not. It is assumed that the information indicates whether the information is used.

【0020】管理テーブル更新部312(322)は、
欠陥ブロック管理テーブル311(321)の更新(欠
陥ブロックに対する代替ブロックの割当ておよび解放を
実現するための更新等)を行う。
The management table update unit 312 (322)
The defective block management table 311 (321) is updated (update for realizing assignment and release of a substitute block to a defective block).

【0021】ディスク装置入出力制御部313(32
3)は、ディスク装置41(42)にI/O要求を発行
し、ディスク装置41(42)からの割込みに関する処
理を行う。
The disk device input / output control unit 313 (32
3) issues an I / O request to the disk device 41 (42) and performs a process related to an interrupt from the disk device 41 (42).

【0022】図2は、本実施例の欠陥ブロック管理方式
のI/O要求発行時における全体的な処理(上位ソフト
ウェア10からディスク装置41(#1で識別されるデ
ィスク装置)に対するI/O要求が発行された場合の処
理)の処理フローを示す流れ図である。この処理は、上
位ソフトウェアI/O要求発行ステップ2−1と、ディ
スク上位制御部I/O要求発行ステップ2−2と、要求
ブロック欠陥ブロック該当判定ステップ2−3と、「自
ディスク内I/O処理」成否判定ステップ2−4と、
「正常完了処理」実行ステップ2−5と、代替ブロック
割当て要求発行ステップ2−6と、「未使用代替ブロッ
ク割当て処理」成否判定ステップ2−7と、「エラー完
了処理」実行ステップ2−8と、「自ディスク内I/O
処理」成否判定ステップ2−9と、「エラー完了処理」
実行ステップ2−10と、代替ブロック変更有無判定ス
テップ2−11と、「正常完了処理」実行ステップ2−
12と、テーブル更新要求発行ステップ2−13と、
「正常完了処理」実行ステップ2−14と、要求ブロッ
クリマップ先ブロック変換ステップ2−15と、自ディ
スク装置内リマップ判定ステップ2−16と、I/O要
求発行ステップ2−17とからなる。
FIG. 2 shows the overall processing (I / O request from the host software 10 to the disk device 41 (disk device identified by # 1) when the I / O request is issued in the defective block management system of this embodiment. 9 is a flowchart showing a processing flow of (a process in which is issued). This processing includes an upper software I / O request issuance step 2-1, an upper disk controller I / O request issuance step 2-2, a request block defective block determination step 2-3, O processing ”success / failure determination step 2-4;
"Normal completion processing" execution step 2-5, alternative block allocation request issuing step 2-6, "unused alternative block allocation processing" success / failure determination step 2-7, and "error completion processing" execution step 2-8. "I / O in own disk"
Processing ”success / failure determination step 2-9 and“ error completion processing ”
Execution step 2-10, alternative block change presence / absence determination step 2-11, and "normal completion processing" execution step 2-
12, a table update request issuing step 2-13,
It comprises a "normal completion processing" execution step 2-14, a request block remapping destination block conversion step 2-15, a remapping determination step 2-16 in the own disk device, and an I / O request issuing step 2-17.

【0023】図3は、「自ディスク内I/O処理」の処
理フローを示す流れ図である。この処理は、I/O要求
発行ステップ3−1と、完了ステータス受取りステップ
3−2と、I/O対象ブロック欠陥ブロック該当判定ス
テップ3−3と、成功認識ステップ3−4と、「未使用
代替ブロック割当て処理」成否判定ステップ3−5と、
失敗認識ステップ3−6とからなる。
FIG. 3 is a flowchart showing the processing flow of "I / O processing in own disk". This processing includes an I / O request issuance step 3-1, a completion status receiving step 3-2, an I / O target block defective block corresponding determination step 3-3, a success recognition step 3-4, and "unused". "Alternate block allocation process" success / failure determination step 3-5;
It comprises a failure recognition step 3-6.

【0024】図4は、「未使用代替ブロック割当て処
理」の処理フローを示す流れ図である。この処理は、未
使用ブロック残存判定ステップ4−1と、失敗認識ステ
ップ4−2と、未使用ブロック使用中更新ステップ4−
3と、I/O対象ブロック変更ステップ4−4と、成功
認識ステップ4−5とからなる。
FIG. 4 is a flowchart showing the processing flow of the “unused alternative block allocation processing”. This process includes an unused block remaining determination step 4-1, a failure recognition step 4-2, and an unused block in use update step 4-4.
3, an I / O target block changing step 4-4, and a success recognition step 4-5.

【0025】図5は、「正常完了処理」の処理フローを
示す流れ図である。この処理は、ディスク上位制御部正
常完了通知ステップ5−1と、上位ソフトウェア正常完
了通知ステップ5−2と、I/O処理終了ステップ5−
3とからなる。
FIG. 5 is a flowchart showing the processing flow of the "normal completion processing". This processing includes a disk upper control unit normal completion notification step 5-1, a higher software normal completion notification step 5-2, and an I / O processing end step 5-
3

【0026】図6は、「エラー完了処理」の処理フロー
を示す流れ図である。この処理は、ディスク上位制御部
エラー完了通知ステップ6−1と、上位ソフトウェアエ
ラー完了通知ステップ6−2と、I/O処理終了ステッ
プ6−3とからなる。
FIG. 6 is a flowchart showing the processing flow of the "error completion processing". This processing includes a disk upper-level control unit error completion notification step 6-1, a higher-level software error completion notification step 6-2, and an I / O processing end step 6-3.

【0027】図7は、「代替ブロック解放処理」の処理
フローを示す流れ図である。この処理は、ディスク装置
交換ステップ7−1と、ディスク上位制御部感知ステッ
プ7−2と、代替ブロック解放要求発行ステップ7−3
と、欠陥ブロック管理テーブルチェックステップ7−4
と、代替ブロック未使用状態復帰ステップ7−5とから
なる。
FIG. 7 is a flowchart showing the processing flow of the "alternate block release processing". This processing includes a disk device exchange step 7-1, a disk upper control unit sensing step 7-2, and an alternative block release request issuing step 7-3.
, Defective block management table check step 7-4
And an alternative block unused state return step 7-5.

【0028】次に、図1〜図7を用いて、本実施例の欠
陥ブロック管理方式の動作について説明する。
Next, the operation of the defective block management system of this embodiment will be described with reference to FIGS.

【0029】(1) I/O要求発行時における全体的
な動作
(1) Overall operation when I / O request is issued

【0030】ここでは、上位ソフトウェア10からディ
スク装置41(#1で識別されるディスク装置)に対す
るI/O要求が発行された場合における本実施例の欠陥
ブロック管理方式の全体的な動作を説明する(図2参
照)。
Here, the overall operation of the defective block management system of this embodiment when an I / O request to the disk device 41 (disk device identified by # 1) is issued from the upper software 10 will be described. (See FIG. 2).

【0031】上位ソフトウェア10は、ディスク上位制
御部20にI/O要求(要求の対象装置(I/O対象)
がディスク装置41であるI/O要求)を発行する(ス
テップ2−1)。
The host software 10 sends an I / O request to the disk host control unit 20 (the target device of the request (I / O target)).
Issues an I / O request which is the disk device 41 (step 2-1).

【0032】当該I/O要求を受けたディスク上位制御
部20は、要求の対象装置がディスク装置41であるこ
とを見極め、ディスク制御装置31(ディスク装置41
に対応するディスク制御装置)に当該I/O要求を発行
する(ステップ2−2)。
Upon receiving the I / O request, the disk higher-level control unit 20 determines that the target device of the request is the disk device 41, and checks the disk controller 31 (disk device 41).
The I / O request is issued to the corresponding disk controller (step 2-2).

【0033】当該I/O要求を受けたディスク制御装置
31は、以下のステップ2−3〜2−6に示す処理を行
う。
Upon receiving the I / O request, the disk controller 31 performs the following steps 2-3 to 2-6.

【0034】まず、制御部310によって、欠陥ブロッ
ク管理テーブル311を参照し、要求ブロックが欠陥ブ
ロックとして欠陥ブロック管理テーブル311に登録さ
れているか否かを判定する(ステップ2−3)。すなわ
ち、要求ブロックの位置と同一の「欠陥ブロック位置」
が欠陥ブロック管理テーブル311に存在するか否かを
判定する。
First, the control unit 310 refers to the defective block management table 311 and determines whether or not the requested block is registered as a defective block in the defective block management table 311 (step 2-3). In other words, the same “defective block position” as the position of the request block
Is determined in the defective block management table 311.

【0035】ステップ2−3で「要求ブロックが欠陥ブ
ロックとして欠陥ブロック管理テーブル311に登録さ
れてはいない(要求ブロックが欠陥ブロックではな
い)」と判定した場合には、「自ディスク内I/O処
理」を行い、制御部310によってその「自ディスク内
I/O処理」が成功したか失敗したかを判定する(ステ
ップ2−4)。なお、あるディスク制御装置についての
「自ディスク内I/O処理」の内容に関しては後述す
る。
If it is determined in step 2-3 that "the required block is not registered as a defective block in the defective block management table 311 (the required block is not a defective block)", then "I / O in own disk" The control unit 310 determines whether the “in-disk I / O process” has succeeded or failed (step 2-4). The contents of the “in-disk I / O processing” for a certain disk controller will be described later.

【0036】ステップ2−4の「自ディスク内I/O処
理」が成功した場合には、「正常完了処理」を行う(ス
テップ2−5)。なお、あるディスク制御装置について
の「正常完了処理」の内容に関しては後述する。
If the "I / O processing in own disk" in step 2-4 succeeds, "normal completion processing" is performed (step 2-5). The contents of the "normal completion process" for a certain disk control device will be described later.

【0037】一方、ステップ2−4の「自ディスク内I
/O処理」が失敗した場合には、制御部310によって
ディスク上位制御部20を介してディスク制御装置32
(#2で識別されるディスク制御装置)に代替ブロック
割当て要求を発行する(ステップ2−6)。
On the other hand, in step 2-4, "I
If the “/ O process” fails, the control unit 310 controls the disk control device 32 via the disk host control unit 20.
A substitute block allocation request is issued to (the disk control device identified by # 2) (step 2-6).

【0038】代替ブロック割当て要求を受けたディスク
制御装置32は、以下のステップ2−7〜2−14に示
す処理を行う。
The disk controller 32 which has received the substitute block allocation request performs the processing shown in the following steps 2-7 to 2-14.

【0039】まず、「未使用代替ブロック割当て処理」
を行い、制御部320によってその「未使用代替ブロッ
ク割当て処理」が成功したか失敗したかを判定する(ス
テップ2−7)。なお、あるディスク制御装置について
の「未使用代替ブロック割当て処理」の内容に関しては
後述する。
First, "unused alternative block allocation processing"
The control unit 320 determines whether the “unused alternative block allocation process” has succeeded or failed (step 2-7). The contents of the “unused alternative block allocation process” for a certain disk control device will be described later.

【0040】ステップ2−7の「未使用代替ブロック割
当て処理」が失敗した場合には、「エラー完了処理」を
行う(ステップ2−8)。なお、あるディスク制御装置
についての「エラー完了処理」の内容に関しては後述す
る。
If the "unused substitute block allocation process" in step 2-7 has failed, "error completion process" is performed (step 2-8). The content of the “error completion process” for a certain disk control device will be described later.

【0041】一方、ステップ2−7の「未使用代替ブロ
ック割当て処理」が成功した場合には、「自ディスク内
I/O処理」を行い、制御部320によってその「自デ
ィスク内I/O処理」が成功したか失敗したかを判定す
る(ステップ2−9)。
On the other hand, if the “unused alternative block allocation processing” in step 2-7 is successful, the “in-disk I / O processing” is performed, and the “in-disk I / O processing” is performed by the control unit 320. Is successful or unsuccessful (step 2-9).

【0042】ステップ2−9の「自ディスク内I/O処
理」が失敗した場合には、「エラー完了処理」を行う
(ステップ2−10)。
If the "I / O processing in own disk" in step 2-9 fails, "error completion processing" is performed (step 2-10).

【0043】一方、ステップ2−9の「自ディスク内I
/O処理」が成功した場合には、その「自ディスク内I
/O処理」中に代替ブロックの変更が行われたか否かを
制御部320によって判定する(ステップ2−11)。
すなわち、「その「自ディスク内I/O処理」において
「未使用代替ブロック割当て処理」が実行され(ステッ
プ3−5参照)、その「未使用代替ブロック割当て処
理」においてI/O対象ブロックの変更(ステップ4−
4参照)が行われた」か否かを判定する。
On the other hand, in step 2-9, "I
If the "/ O process" succeeds, the "I
The control unit 320 determines whether or not the replacement block has been changed during the "/ O process" (step 2-11).
That is, "unused alternative block allocation processing" is executed in the "own disk I / O processing" (see step 3-5), and the I / O target block is changed in the "unused alternative block allocation processing". (Step 4-
4) has been performed. "

【0044】ステップ2−11で「代替ブロックの変更
が行われていない」と判定した場合には、即座に「正常
完了処理」を行う(ステップ2−12)。
If it is determined in step 2-11 that "alternative block has not been changed", "normal completion processing" is immediately performed (step 2-12).

【0045】一方、ステップ2−11で「代替ブロック
の変更が行われていた」と判定した場合には、制御部3
20によってディスク上位制御部20を介してディスク
制御装置31(ステップ2−6における代替ブロック割
当て要求の発行元のディスク制御装置)にテーブル更新
要求(上記の「代替ブロックの変更」を反映させてディ
スク制御装置31内の欠陥ブロック管理テーブル311
を更新させる旨の要求)を発行し(ステップ2−1
3)、その後に「正常完了処理」を行う(ステップ2−
14)。
On the other hand, if it is determined in step 2-11 that "alternative block has been changed",
20 to the disk controller 31 (the disk controller that issued the alternative block allocation request in step 2-6) via the disk higher-level control unit 20 to update the table update request Defective block management table 311 in control device 31
Is issued (step 2-1).
3) Then, "normal completion processing" is performed (step 2-).
14).

【0046】ディスク制御装置31は、ステップ2−3
で「要求ブロックが欠陥ブロックとして欠陥ブロック管
理テーブル311に登録されている(要求ブロックが欠
陥ブロックである)」と判定した場合には、以下のステ
ップ2−15〜2−17に示す処理を行う。
The disk controller 31 determines in step 2-3
If it is determined that "the required block is registered as a defective block in the defective block management table 311 (the required block is a defective block)", the processing shown in the following steps 2-15 to 2-17 is performed. .

【0047】まず、制御部310によって、要求ブロッ
クをリマップ先ブロック(欠陥ブロック管理テーブル3
11内の当該欠陥ブロック(すなわち、要求ブロック)
の「欠陥ブロック位置」に対応する「欠陥ブロックリマ
ップ先情報」で特定されるブロック)に変換する(リマ
ップ先ブロックを新たな要求ブロックとする)(ステッ
プ2−15)。
First, the control block 310 assigns the requested block to the remapping destination block (defective block management table 3).
The defective block in 11 (that is, the requested block)
(The block specified by the “defective block remapping destination information” corresponding to the “defective block position”) (the remapping destination block is set as a new request block) (step 2-15).

【0048】さらに、制御部310によって、このリマ
ップ先ブロックがディスク装置41(自己に対応するデ
ィスク装置、すなわち自ディスク装置)内の代替領域4
11に存在するか否か(ディスク装置41内の代替領域
411にリマップされているか否か)を判定する(ステ
ップ2−16)。
Further, the remapping destination block is controlled by the control unit 310 so that the replacement area 4 in the disk device 41 (the disk device corresponding to itself, that is, the own disk device).
11 (whether it is remapped to the replacement area 411 in the disk device 41) (step 2-16).

【0049】ステップ2−16で「リマップ先ブロック
がディスク装置41内の代替領域411に存在する」と
判定した場合には、ステップ2−4の処理に移る。ステ
ップ2−4以降の処理内容は、前述の通りである。
If it is determined in step 2-16 that "the remapping destination block exists in the replacement area 411 in the disk device 41", the process proceeds to step 2-4. The processing contents after step 2-4 are as described above.

【0050】一方、ステップ2−16で「リマップ先ブ
ロックが他ディスク装置(自ディスク装置以外のディス
ク装置、すなわちディスク装置42)内の代替領域42
1に存在する」と判定した場合には、制御部310によ
ってディスク上位制御部20を介してディスク制御装置
32(ディスク装置42に対応するディスク制御装置)
に対してI/O要求を発行する(ステップ2−17)。
On the other hand, in step 2-16, "the remapping destination block is set to the alternate area 42 in another disk device (a disk device other than the own disk device, ie, disk device 42)
1, the disk controller 32 (a disk controller corresponding to the disk device 42) via the disk higher-level controller 20 by the controller 310.
Issue an I / O request (step 2-17).

【0051】このI/O要求を受けたディスク制御装置
32は、この後に、ステップ2−9の処理に移る。ステ
ップ2−9以降の処理内容は、前述の通りである。
After receiving the I / O request, the disk controller 32 proceeds to the process of step 2-9. The processing contents after step 2-9 are as described above.

【0052】(2) 「自ディスク内I/O処理」にお
ける動作
(2) Operation in “I / O processing in own disk”

【0053】以下に、図3を参照して、あるディスク制
御装置(ここでは、ディスク制御装置31とする)につ
いての「自ディスク内I/O処理」における動作を説明
する。
The operation of the "I / O processing in own disk" for a certain disk controller (here, the disk controller 31) will be described below with reference to FIG.

【0054】I/O要求を受けたディスク制御装置31
は、まず、ディスク装置入出力制御部313によって、
ディスク装置41(自ディスク装置)のI/O対象ブロ
ックに対するI/O要求を発行する(ステップ3−
1)。
Disk control unit 31 receiving I / O request
First, by the disk device input / output control unit 313,
Issue an I / O request for the I / O target block of the disk device 41 (own disk device) (step 3-
1).

【0055】次に、ディスク装置入出力制御部313に
よって、ディスク装置41での実I/O処理の完了後に
ハードウェア割込みの1つとして返されるI/O完了割
込みによって示される完了ステータスを受け取る(ステ
ップ3−2)。
Next, the disk device input / output control unit 313 receives a completion status indicated by an I / O completion interrupt returned as one of the hardware interrupts after completion of the actual I / O processing in the disk device 41 ( Step 3-2).

【0056】さらに、ディスク装置入出力制御部313
によって、この完了ステータスをチェックしてI/O対
象ブロックが欠陥ブロックになっていたか否かを判定す
る(ステップ3−3)。
Further, the disk device input / output control unit 313
The completion status is checked to determine whether the I / O target block has become a defective block (step 3-3).

【0057】ステップ3−3で「I/O対象ブロックが
欠陥ブロックになっていなかった」と判定した場合に
は、制御部310によってこの「自ディスク内I/O処
理」が成功であると認識する(ステップ3−4)。な
お、ここでは、I/O対象ブロックが欠陥ブロックにな
っていたこと以外によるエラー完了は生じないものとす
る(実際には、そのようなエラー完了も生じうるがその
場合には本発明の範囲による以外の制御によって従来技
術と同様に処理される)。
If it is determined in step 3-3 that "the I / O target block is not a defective block", the control unit 310 recognizes that the "in-disk I / O processing" is successful. (Step 3-4). Note that here, it is assumed that error completion does not occur except for the fact that the I / O target block has become a defective block (in practice, such error completion may occur, but in that case, the scope of the present invention) Is processed in the same manner as in the prior art by control other than the above.)

【0058】ステップ3−3で「I/O対象ブロックが
欠陥ブロックになっていた」と判定した場合には、後述
する「未使用代替ブロック割当て処理」を行い、その
「未使用代替ブロック割当て処理」が成功したか失敗し
たかを制御部310によって判定する(ステップ3−
5)。
If it is determined in step 3-3 that "the I / O target block has become a defective block", "unused alternative block allocation processing" described later is performed, and "unused alternative block allocation processing" is performed. Is determined by the control unit 310 (step 3-
5).

【0059】ステップ3−5で「「未使用代替ブロック
割当て処理」が成功した」と判定した場合には、再びス
テップ3−1の処理に戻る(新たなI/O対象ブロック
に関するI/O要求をディスク装置41に発行する)。
If it is determined in step 3-5 that "the unused block allocation process has succeeded", the process returns to step 3-1 again (an I / O request for a new I / O target block). Is issued to the disk device 41).

【0060】ステップ3−5で「「未使用代替ブロック
割当て処理」が失敗した」と判定した場合には、制御部
310によって「自ディスク内I/O処理」が失敗であ
ると認識する(ステップ3−6)。
When it is determined in step 3-5 that "unused substitute block allocation processing has failed", the control unit 310 recognizes that "internal disk I / O processing" has failed (step S5). 3-6).

【0061】(3) 「未使用代替ブロック割当て処
理」における動作
(3) Operation in “unused alternative block allocation processing”

【0062】以下に、図4を参照して、あるディスク制
御装置(ここでは、ディスク制御装置31とする)につ
いての「未使用代替ブロック割当て処理」における動作
を説明する。
The operation of the "unused alternative block allocation process" for a certain disk controller (here, the disk controller 31) will be described with reference to FIG.

【0063】ディスク制御装置31は、制御部310に
よって、欠陥ブロック管理テーブル311中の「自ディ
スク装置の代替領域411の使用状態を示す情報」を参
照し、ディスク装置41(自ディスク装置)内の代替領
域411に未使用のブロックが残っているか否かを判定
する(ステップ4−1)。
The disk control unit 31 refers to “information indicating the use state of the substitute area 411 of the own disk device” in the defective block management table 311 by the control unit 310, and reads the information in the disk device 41 (own disk device). It is determined whether an unused block remains in the substitute area 411 (step 4-1).

【0064】ステップ4−1で「代替領域411に未使
用のブロックが残っていない」と判定した場合には、制
御部310によって「未使用代替ブロック割当て処理」
が失敗したことを認識する(ステップ4−2)。
If it is determined in step 4-1 that “unused blocks remain in the substitute area 411”, the control unit 310 executes “unused substitute block allocation processing”.
(Step 4-2).

【0065】一方、ステップ4−1で「代替領域411
に未使用のブロックが残っている」と判定した場合に
は、管理テーブル更新部312によって未使用のブロッ
クの1つを使用中とするように欠陥ブロック管理テーブ
ル311を更新する(ステップ4−3)。
On the other hand, in step 4-1, the "alternative area 411"
Is determined, the management table updating unit 312 updates the defective block management table 311 so that one of the unused blocks is being used (step 4-3). ).

【0066】さらに、制御部310によって、I/O対
象ブロックをステップ4−3で使用中としたブロックに
変更する(ステップ4−4)。
Further, the control unit 310 changes the I / O target block to the block used in step 4-3 (step 4-4).

【0067】ステップ4−4の処理が完了した時点で、
制御部310によって「未使用代替ブロック割当て処
理」が成功したことを認識する(ステップ4−5)。
When the processing of step 4-4 is completed,
The control unit 310 recognizes that the “unused alternative block allocation process” has succeeded (step 4-5).

【0068】(4) 「正常完了処理」における動作(4) Operation in "normal completion processing"

【0069】以下に、図5を参照して、あるディスク制
御装置(ここでは、ディスク制御装置31とする)につ
いての「正常完了処理」における動作を説明する。
The operation of the "normal completion process" for a certain disk controller (here, the disk controller 31) will be described with reference to FIG.

【0070】ディスク制御装置31は、制御部310に
よって、ディスク上位制御部20に「正常完了」を通知
する(ステップ5−1)。
The disk controller 31 notifies the disk higher-level controller 20 of "normal completion" by the controller 310 (step 5-1).

【0071】ステップ5−1の通知を受けたディスク上
位制御部20は、上位ソフトウェア10にその「正常完
了」を通知する(ステップ5−2)。これによって、上
位ソフトウェアから発行されたI/O要求に対するI/
O処理は終了となる(ステップ5−3)。
The disk higher-level control unit 20 that has received the notification of step 5-1 notifies the "normal completion" to the higher-level software 10 (step 5-2). As a result, I / O requests for I / O requests issued from higher
The O processing ends (step 5-3).

【0072】(5) 「エラー完了処理」における動作(5) Operation in “Error Completion Processing”

【0073】以下に、図6を参照して、あるディスク制
御装置(ここでは、ディスク制御装置31とする)につ
いての「エラー完了処理」における動作を説明する。
The operation of the "error completion process" for a certain disk controller (here, the disk controller 31) will be described with reference to FIG.

【0074】ディスク制御装置31は、制御部310に
よって、ディスク上位制御部20に「エラー完了」を通
知する(ステップ6−1)。
The disk controller 31 notifies the disk host controller 20 of "error completion" by the controller 310 (step 6-1).

【0075】ステップ6−1の通知を受けたディスク上
位制御部20は、上位ソフトウェア10にその「エラー
完了」を通知する(ステップ6−2)。これによって、
上位ソフトウェアから発行されたI/O要求に対するI
/O処理は終了となる(ステップ6−3)。
Upon receiving the notification of step 6-1, the disk host controller 20 notifies the host software 10 of the "error completion" (step 6-2). by this,
I for I / O request issued from upper software
The / O processing ends (step 6-3).

【0076】(6) 「代替ブロック解放処理」におけ
る動作
(6) Operation in "alternative block release processing"

【0077】ディスク装置41が、自己の代替領域41
1内のブロックを使い尽くしたためにディスク装置42
内の代替領域421内のブロックを代替ブロックとして
使用していた場合には、ディスク装置41を交換したタ
イミングでディスク装置41のために使用されていたデ
ィスク装置42内の代替領域421における代替ブロッ
クを解放する必要がある。
The disk device 41 has its own substitute area 41
Disk unit 42 because the blocks in 1 have been used up.
If the block in the replacement area 421 in the disk device 41 is used as a replacement block, the replacement block in the replacement area 421 in the disk device 42 used for the disk device 41 at the timing when the disk device 41 is replaced is replaced. Need to be released.

【0078】以下に、図7を参照して、このような場合
の本実施例の欠陥ブロック管理方式による「代替ブロッ
ク解放処理」における動作を説明する。
The operation in the "alternate block release processing" according to the defective block management method of this embodiment in such a case will be described below with reference to FIG.

【0079】ディスク上位制御部20は、ディスク装置
41(#1で識別されるディスク装置)が交換されると
(ステップ7−1)、その旨を感知し(ステップ7−
2)、ディスク制御装置32に代替ブロック解放要求を
発行する(ステップ7−3)。
When the disk device 41 (the disk device identified by # 1) is replaced (step 7-1), the disk higher-level control section 20 senses that fact (step 7-1).
2) Issue a substitute block release request to the disk controller 32 (step 7-3).

【0080】代替ブロック解放要求を受けたディスク制
御装置32は、管理テーブル更新部322によって、欠
陥ブロック管理テーブル321をチェックし(ステップ
7−4)、ディスク装置41のために使用されていた代
替ブロック(代替領域421内のブロック)を未使用状
態に戻すように欠陥ブロック管理テーブル321を更新
する(ステップ7−5)。
Upon receiving the substitute block release request, the disk control unit 32 checks the defective block management table 321 by the management table updating unit 322 (step 7-4), and substitutes the substitute block used for the disk unit 41. The defective block management table 321 is updated so that (the block in the replacement area 421) is returned to the unused state (step 7-5).

【0081】なお、本実施例では、図1に示すように、
ディスク装置やディスク制御装置の数が2であるものと
して説明した。しかし、ディスク装置やディスク制御装
置の数は複数であればよく2に限られるものでない。こ
こで、この数が3以上の場合には、ディスク上位制御部
20は、あるディスク制御装置から代替ブロック割当て
要求が発行されたときに、そのディスク制御装置以外の
ディスク制御装置を1つ選択してそのディスク制御装置
(選択したディスク制御装置)に当該代替ブロック割当
て要求を発行する。
In this embodiment, as shown in FIG.
The description has been made on the assumption that the number of disk devices and disk control devices is two. However, the number of disk devices and disk control devices need only be plural, and is not limited to two. If the number is 3 or more, the disk host controller 20 selects one disk controller other than the disk controller when a certain disk controller issues an alternative block allocation request. Issue the substitute block allocation request to the disk controller (the selected disk controller).

【0082】この場合の選択アルゴリズムとしては、例
えば、「各ディスク装置内の代替領域の未使用のブロッ
ク数を各ディスク制御装置に問い合わせ、その応答とし
て取得した未使用のブロック数が最も大きいディスク装
置に対応するディスク制御装置を選択対象とする」とい
うアルゴリズムが考えられる。このような選択アルゴリ
ズムを採用すると、各ディスク装置の代替領域をコンピ
ュータシステム全体として効率的に使用することができ
るようになる。
As a selection algorithm in this case, for example, “a disk controller having the largest number of unused blocks obtained as a response to the inquiry to each disk controller about the number of unused blocks in an alternate area in each disk device” Is selected as a disk control device corresponding to "." When such a selection algorithm is employed, the alternative area of each disk device can be efficiently used as the entire computer system.

【0083】[0083]

【発明の効果】以上説明したように、本発明によると、
記録媒体上に欠陥ブロックの代替領域を備えるディスク
装置を複数台含むコンピュータシステムにおいて、各デ
ィスク制御装置の上位に全ディスク装置を管理するため
のディスク上位制御部を備えることや、他ディスク装置
内の代替領域の位置を示しうる欠陥ブロックリマップ先
情報を有する欠陥ブロック管理テーブルを設けること等
により、あるディスク制御装置から他のディスク制御装
置に対して代替ブロック割当て要求を発行することがで
き、あるディスク装置が自己の代替領域を使い尽くした
場合でも当該ディスク装置に対するI/O要求をエラー
で返却することを回避できるという効果が生じる。これ
は、自己の代替領域を使い尽くしたディスク装置に対し
て発行されたI/O要求のI/O対象ブロックを、その
ディスク装置が交換されるまでの間においても、当該コ
ンピュータシステム中の他のディスク装置内の代替領域
におけるブロックで代替させることが可能になるからで
ある。
As described above, according to the present invention,
In a computer system including a plurality of disk devices having a defective block replacement area on a recording medium, a disk higher-level control unit for managing all disk devices may be provided above each disk control device, By providing a defective block management table having defective block remapping destination information capable of indicating the position of the alternative area, for example, a certain disk controller can issue an alternative block allocation request to another disk controller. Even when the disk device runs out of its own substitute area, it is possible to avoid returning an I / O request to the disk device with an error. This means that an I / O target block of an I / O request issued to a disk device that has used up its own substitute area can be replaced with another block in the computer system until the disk device is replaced. This is because it is possible to substitute a block in a replacement area in the disk device.

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

【図1】本発明の欠陥ブロック管理方式の一実施例の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a defective block management system according to the present invention.

【図2】図1に示す欠陥ブロック管理方式のI/O要求
発行時における全体的な処理の処理フローを示す流れ図
である。
FIG. 2 is a flowchart showing a processing flow of an overall process when an I / O request of the defective block management method shown in FIG. 1 is issued.

【図3】図1に示す欠陥ブロック管理方式における「自
ディスク内I/O処理」の処理フローを示す流れ図であ
る。
FIG. 3 is a flowchart showing a processing flow of “I / O processing in own disk” in the defective block management method shown in FIG. 1;

【図4】図1に示す欠陥ブロック管理方式における「未
使用代替ブロック割当て処理」の処理フローを示す流れ
図である。
FIG. 4 is a flowchart showing a processing flow of “unused alternative block allocation processing” in the defective block management method shown in FIG. 1;

【図5】図1に示す欠陥ブロック管理方式における「正
常完了処理」の処理フローを示す流れ図である。
FIG. 5 is a flowchart showing a processing flow of “normal completion processing” in the defective block management method shown in FIG. 1;

【図6】図1に示す欠陥ブロック管理方式における「エ
ラー完了処理」の処理フローを示す流れ図である。
FIG. 6 is a flowchart showing a processing flow of “error completion processing” in the defective block management method shown in FIG. 1;

【図7】図1に示す欠陥ブロック管理方式における「代
替ブロック解放処理」の処理フローを示す流れ図であ
る。
FIG. 7 is a flowchart showing a processing flow of “alternate block release processing” in the defective block management method shown in FIG. 1;

【図8】従来の欠陥ブロック管理方式の一例の構成を示
すブロック図である。
FIG. 8 is a block diagram showing a configuration of an example of a conventional defective block management method.

【符号の説明】[Explanation of symbols]

10 上位ソフトウェア 20 ディスク上位制御部 31,32 ディスク制御装置 41,42 ディスク装置 310,320 制御部 311,321 欠陥ブロック管理テーブル 312,322 管理テーブル更新部 313,323 ディスク装置入出力制御部 411,421 代替領域 DESCRIPTION OF SYMBOLS 10 Upper software 20 Disk upper control part 31, 32 Disk control device 41, 42 Disk device 310, 320 Control part 311, 321 Defective block management table 312, 322 Management table update part 313, 323 Disk device input / output control part 411, 421 Alternative area

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 記録媒体上に欠陥ブロックの代替領域を
備えるディスク装置を複数台含むコンピュータシステム
において、 上位ソフトウェアから発行されたI/O要求をI/O対
象であるディスク装置に対応するディスク制御装置に発
行し、あるディスク制御装置から発行された代替ブロッ
ク割当て要求を当該ディスク制御装置以外のディスク制
御装置に発行し、あるディスク装置内の欠陥ブロックの
代替として他のディスク装置内の代替領域のブロックが
使用されていた場合に当該欠陥ブロックを有するディス
ク装置が交換されたときに代替領域を提供していたディ
スク装置に対応するディスク制御装置に対して代替ブロ
ック解放要求を発行するディスク上位制御部と、 自ディスク装置について、欠陥ブロック位置,欠陥ブロ
ックリマップ先情報,および「自ディスク装置の代替領
域の使用状態を示す情報」を保持しているディスク制御
装置内の欠陥ブロック管理テーブルと、 未使用代替ブロック割当て処理時に自ディスク装置内の
代替領域の未使用のブロックを使用中として割り当てる
ように前記欠陥ブロック管理テーブルを更新し、代替ブ
ロック解放処理時に自ディスク装置内の代替領域の使用
中のブロックを解放して未使用とするように前記欠陥ブ
ロック管理テーブルを更新し、自ディスク内I/O処理
時に代替ブロックの変更が行われていた場合にはその変
更に基づいて前記欠陥ブロック管理テーブルを更新する
ディスク制御装置内の管理テーブル更新部と、 自ディスク内I/O処理時に、自ディスク装置にI/O
要求を発行し自ディスク装置からのI/O完了割込みの
完了ステータスを判定するディスク制御装置内のディス
ク装置入出力制御部と、 正常完了およびエラー完了の通知を含むディスク制御装
置における全般的な制御を行い、ディスク上位制御部か
らのI/O要求の要求ブロックが欠陥ブロックとして前
記欠陥ブロック管理テーブルに登録されている場合に当
該要求ブロックをリマップ先ブロックに変換した上でそ
のリマップ先が自ディスク装置内の代替領域のブロック
であるか否かを判定し当該判定に基づいてI/O要求の
発行対象を認識するディスク制御装置内の制御部とを有
することを特徴とする欠陥ブロック管理方式。
In a computer system including a plurality of disk devices provided with a replacement area for a defective block on a recording medium, a disk control corresponding to a disk device to which an I / O request issued from higher-level software is subjected to I / O. Issue a replacement block allocation request issued from a certain disk control device to a disk control device other than the disk control device, and as a replacement for a defective block in a certain disk device, a replacement area in another disk device. A disk higher-level control unit that issues a substitute block release request to a disk control device corresponding to a disk device that provided an alternative area when a disk device having the defective block was replaced when a block was used. And defective block position and defective block remapping for own disk device Block management table in the disk controller that holds the information and "information indicating the use status of the replacement area of the own disk device", and the unused area of the replacement area in the own disk device when the unused replacement block is allocated The defective block management table is updated so as to allocate the block as being used, and the defective block management table is released so that the used block of the substitute area in the own disk device is released and used when the substitute block is released. And a management table updating unit in the disk control device for updating the defective block management table based on the change if the replacement block has been changed during the I / O processing in the own disk; At the time of internal I / O processing, I / O
A disk device input / output control unit in the disk control device that issues a request and determines the completion status of an I / O completion interrupt from the own disk device, and general control in the disk control device including notification of normal completion and error completion If the requested block of the I / O request from the disk higher-level control unit is registered as a defective block in the defective block management table, the request block is converted into a remapping destination block, and the remapping destination is changed to the local disk. A control unit in a disk control device for determining whether or not the block is a block in an alternative area in the device and recognizing an I / O request issuance target based on the determination.
【請求項2】 あるディスク制御装置から発行された代
替ブロック割当て要求を当該ディスク制御装置以外のデ
ィスク制御装置に発行する際の発行先のディスク制御装
置の選択アルゴリズムが「各ディスク装置内の代替領域
の未使用のブロック数を各ディスク制御装置に問い合わ
せ、その応答として取得した未使用のブロック数が最も
大きいディスク装置に対応するディスク制御装置を選択
対象とする」というアルゴリズムであるディスク上位制
御部を有することを特徴とする請求項1記載の欠陥ブロ
ック管理方式。
2. An algorithm for selecting an issue destination disk control device when issuing a substitute block allocation request issued from a certain disk control device to a disk control device other than the disk control device is based on a “replacement area in each disk device”. Query the disk controller for the number of unused blocks of the disk controller, and select the disk controller corresponding to the disk device with the largest number of unused blocks obtained as a response. The defective block management system according to claim 1, wherein
【請求項3】 「自ディスク装置の代替領域の使用状態
を示す情報」が当該代替領域内の各ブロックの位置を示
す情報および各ブロックが使用中であるか未使用である
かを示す情報である欠陥ブロック管理テーブルを有する
ことを特徴とする請求項1または請求項2記載の欠陥ブ
ロック管理方式。
3. The “information indicating the use state of the replacement area of the own disk device” is information indicating the position of each block in the replacement area and information indicating whether each block is in use or unused. 3. The defective block management system according to claim 1, further comprising a certain defective block management table.
JP11125096A 1996-04-08 1996-04-08 Defective block management method Expired - Lifetime JP2735071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11125096A JP2735071B2 (en) 1996-04-08 1996-04-08 Defective block management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11125096A JP2735071B2 (en) 1996-04-08 1996-04-08 Defective block management method

Publications (2)

Publication Number Publication Date
JPH09282107A JPH09282107A (en) 1997-10-31
JP2735071B2 true JP2735071B2 (en) 1998-04-02

Family

ID=14556420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11125096A Expired - Lifetime JP2735071B2 (en) 1996-04-08 1996-04-08 Defective block management method

Country Status (1)

Country Link
JP (1) JP2735071B2 (en)

Also Published As

Publication number Publication date
JPH09282107A (en) 1997-10-31

Similar Documents

Publication Publication Date Title
US7447832B2 (en) Automated on-line capacity expansion method for storage device
US7213165B2 (en) Host I/O performance and availability of a storage array during rebuild by prioritizing I/O requests
US5802345A (en) Computer system with a reduced number of command end interrupts from auxiliary memory unit and method of reducing the number of command end interrupts
US7840838B2 (en) Rapid regeneration of failed disk sector in a distributed database system
JP3160149B2 (en) Non-stop program change method of disk controller and disk controller
US7962712B2 (en) Method for controlling storage device controller, storage device controller, and program
JPH1063437A (en) Method for integrating storage array control function, and program storag device
US7380093B2 (en) Storage system including a device, data management unit, control unit and/or primary computer, and method, for allocating storage area
JP2007066259A (en) Computer system, storage system and volume capacity expansion method
US7032069B2 (en) RAID apparatus and access control method therefor which balances the use of the disk units
US5542064A (en) Data read/write method by suitably selecting storage units in which multiple copies of identical data are stored and apparatus therefor
JP3617631B2 (en) Storage control apparatus and control method thereof
US6697866B1 (en) Access control method for data stored in fixed-block length format in computer configurations utilizing variable length data format interfaces
US20050283651A1 (en) Disk controller, disk patrol method, and computer product
JP2006146302A (en) Information processing system, storage device, storage control program and computer-readable recording medium with storage control program recorded
JP2735071B2 (en) Defective block management method
JP4180291B2 (en) Storage device system control method, storage device, management device, and program
US20030177367A1 (en) Controlling access to a disk drive in a computer system running multiple operating systems
JP3425355B2 (en) Multiple write storage
JP4814983B2 (en) Data storage control device, data storage control method, and data storage control program
JPH02280222A (en) Electronic computer system
JP2001229042A (en) Disk controller
US20060112223A1 (en) Method of grouping logical units, method of processing a received request, apparatus for grouping logical units, and apparatus for processing a received request
JPH0561615A (en) Disk control system
JP2001067239A (en) Method for changing non-stop program of multi-processor system and multi-processor system, and method for changing non-stop program of disk controller and disk controller