JP2006276965A - Defective block detecting method and defective block detecting device - Google Patents
Defective block detecting method and defective block detecting device Download PDFInfo
- Publication number
- JP2006276965A JP2006276965A JP2005091008A JP2005091008A JP2006276965A JP 2006276965 A JP2006276965 A JP 2006276965A JP 2005091008 A JP2005091008 A JP 2005091008A JP 2005091008 A JP2005091008 A JP 2005091008A JP 2006276965 A JP2006276965 A JP 2006276965A
- Authority
- JP
- Japan
- Prior art keywords
- block
- defective block
- disk
- defective
- group
- 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
- 230000002950 deficient Effects 0.000 title claims abstract description 112
- 238000000034 method Methods 0.000 title claims description 9
- 238000001514 detection method Methods 0.000 claims description 26
- 230000008439 repair process Effects 0.000 claims description 14
- 238000003745 diagnosis Methods 0.000 description 13
- 230000000737 periodic effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
Images
Abstract
Description
本発明は、ブロック単位でアクセス可能のディスクにおける不良ブロックの検出方法および不良ブロック検出装置に関するものである。 The present invention relates to a defective block detection method and a defective block detection apparatus in a disk accessible in block units.
記憶媒体としてのディスクはブロック単位でアクセス可能であり、SCSI(Small Computer System Interface)と称される規格に準拠してアクセスが行われる。SCSIに準拠したアクセスでは、例えば読出し時に、所望のブロックにアクセスが出来ない場合、すなわち所望ブロックが不良の場合、アクセス要求に対するステータスの結果、「good」なら正常、「check」ならRequest Senseコマンドにより、不良ブロックのアドレスを取得する機能がサポートされている。
従って、例えばディスクがミラーリングされている場合、特許文献1に開示されているように、取得したアドレスに基づいて、正常なディスクのブロックを特定し、当該正常なブロックを用いて不良ブロックの補修を行うことができる。
Therefore, for example, when the disk is mirrored, as disclosed in Patent Document 1, a normal disk block is identified based on the acquired address, and a defective block is repaired using the normal block. It can be carried out.
ところで、不良ブロックアドレスを取得する機能がサポートされていない場合、例えばSCSIバスによるSCSI−IDE変換ボードを介したIDEディスクへのアクセスを行う等の特殊な場合、不良ブロックのアドレスを取得して通知する機能がサポートされていない。従って、不良ブロックを特定することができず、当該不良ブロックの修復が困難であった。
従って、前記した課題に鑑みて、本発明の目的は、不良ブロックアドレスを取得する機能がサポートされてない場合でも、不良ブロックを特定し得る不良ブロック検出方法および不良ブロック検出装置を提供することにある。
By the way, when the function for acquiring the bad block address is not supported, for example, in a special case such as accessing the IDE disk via the SCSI-IDE conversion board by the SCSI bus, the address of the bad block is acquired and notified. The function to be supported is not supported. Therefore, the defective block cannot be specified, and it is difficult to repair the defective block.
Therefore, in view of the above-described problems, an object of the present invention is to provide a defective block detection method and a defective block detection device that can identify a defective block even when the function of acquiring a defective block address is not supported. is there.
本発明は、以上の点を解決するために、次の構成を採用する。
〈構成〉
ブロック単位でアクセス可能のディスクの不良ブロック検出方法において、連続する複数ブロックから成るブロック群単位でディスクへのアクセスを順に行って、不良ブロック群を特定する不良ブロック群特定工程と、アクセス不良のブロック群を検出すると、当該不良ブロック群における各ブロックに対し、順にアクセスを行い、不良ブロックを特定する不良ブロック特定工程と、を備えることを特徴とする。
The present invention adopts the following configuration in order to solve the above points.
<Constitution>
In the method of detecting a bad block of a disk that can be accessed in block units, a defective block group specifying step for sequentially identifying the defective block group by sequentially accessing the disk in a block group unit composed of a plurality of consecutive blocks, and a block having a defective access When a group is detected, each block in the defective block group is sequentially accessed, and a defective block specifying step for specifying a defective block is provided.
ブロック単位でアクセス可能のディスクの不良ブロック検出装置において、連続する複数ブロックから成るブロック群単位でディスクへのアクセスを順に行って、不良ブロック群を特定する不良ブロック群特定部と、アクセス不良のブロック群を検出すると、当該不良ブロック群における各ブロックに対し、順にアクセスを行い、不良ブロックを特定する不良ブロック特定部と、を備えることを特徴とする。 In a bad block detection device for a disk that can be accessed in units of blocks, a defective block group identification unit that identifies a defective block group by sequentially accessing a disk in units of a block group consisting of a plurality of consecutive blocks, and a block having a defective access When a group is detected, each block in the defective block group is sequentially accessed, and a defective block specifying unit that specifies a defective block is provided.
本発明によれば、連続する複数ブロックから成るブロック群単位で、ディスクへのアクセスを行って、不良ブロック群を特定すると、当該不良ブロック群における各ブロックに対し順にアクセスを行って、不良ブロックを特定することにより、不良ブロックのアドレスを特定することができる。 According to the present invention, when a defective block group is identified by accessing the disk in units of block groups composed of a plurality of consecutive blocks, the defective block is accessed by sequentially accessing each block in the defective block group. By specifying, the address of the defective block can be specified.
以下、本発明の実施形態について、図を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本発明の不良ブロック検出装置10は、図1に示されているように、一般的にハードディスクと称される不揮発性記憶媒体としての第1ディスク20と第2ディスク30とに、SCSI(Small Computer System Interface)又はIDE(Integrated Drive Electronics)と称されるインタフェースをそれぞれ介して接続されている。
As shown in FIG. 1, the bad
第1ディスク20および第2ディスク30は、ブロックと称される所定のアクセス単位で読出し書込みが行われており、換言すると第1ディスク20および第2ディスク30は、その記憶領域をブロック単位で分割管理しており、分割管理する各SCSIおよびIDEにおける記憶領域は、一般的にブロックと称されている。
The
不良ブロック検出装置10は、SCSI又はIDEインタフェースを介して第1ディスクを制御するための第1ディスク制御部40と、SCSI又はIDEインタフェースを介して第2ディスクを制御するための第2ディスク制御部50と、該各ディスク制御部を介してディスクのアクセス制御の管理を行うための制御管理部60とを備えている。
The bad
第1ディスク制御部40および第2ディスク制御部50は、SCSI又はIDEインタフェースを介して接続するディスクのアクセス制御を行い、その制御結果をステータスとして制御管理部60に通知する。
The first
制御管理部60は、第1ディスク20および第2ディスク30の記憶内容を相互に統一するためのミラーリング制御を行うミラーリング部61と、連続する複数ブロックから成るブロック群単位でディスクへのアクセスを行って不良ブロック群を特定する不良ブロック群特定部62と、特定した不良ブロック群における各ブロックに対し、順にアクセスを行って不良ブロックを特定する不良ブロック特定部63と、所定の時間間隔毎に、前記不良ブロックの検出を行うための時間管理を行うタイマ部64と、特定した不良ブロックを補修するための補修部65とを備える。
The
ミラーリング部61は、予め設定されている日時に、第1ディスク20の保持内容および第2ディスク30の保持内容を相互に統一を図るミラーリング制御を行う。このミラーリング制御により、第1ディスク20の保持内容が第2ディスク30にコピーされ、若しくは第2ディスク30の保持内容が第1ディスク20にコピーされ、相互に保持内容の統一を図ることができる。
The
不良ブロック群特定部62は、ディスクに対し、複数の連続するブロックから成るブロック群単位で順にアクセスを行い、アクセスしたブロック群が不良であるか否かを判定する。すなわち、不良ブロック群特定部62は、ディスクに対しブロック群単位で読出し処理を行ったとき、処理結果として異常ステータスを受けると、正常に読み出すことができない不良ブロックがブロック群に含まれており、当該ブロック群が不良であると特定する。
The defective block
不良ブロック特定部63は、不良ブロック群特定部62で特定した不良ブロック群に含まれる不良ブロックを特定すべく、不良ブロック群における各ブロックに対し、順にブロック単位でアクセスを行い、アクセスしたブロックが不良ブロックであるか否かを判定する。すなわち、不良ブロック特定部63は、ブロック単位で読出し処理を行ったとき、処理結果として異常ステータスを受けると、当該ブロックが不良であると特定する。尚、不良ブロック特定部63は、ブロック単位で順にアクセスを行うための管理番号(診断ブロック番号)に基づいて不良ブロックの検出処理を行う。
The defective
補修部65は、不良ブロック特定部63で特定した一方のディスクの不良ブロックを補修すべく、特定した不良ブロックのアドレスに基づいて、他方のディスクから良好なブロックを読出し、読出した良好なブロックの内容を不良ブロックの内容にコピーして不良ブロックを補修する。
The
タイマ部64は、不良ブロックの検出を開始するための時間管理を行っており、例えばディスクへのアクセス回数が低減する日または時間帯に不良ブロック群特定部62の起動指示を行うべく、時間管理のためのタイマを備えている。
The
次に、本発明の不良ブロック検出装置10の動作を、図2のフローチャートおよび図3のディスク処理の模式図を用いて説明を行う。尚、本実施例では、診断対象のディスクを第1ディスク20として説明を行う。
Next, the operation of the defective
不良ブロック検出装置10のミラーリング部61は、図3(a)に示すように、予め設定されている日時になると、ミラーリング制御を行って、第1ディスク20の記憶内容および第2ディスク30の記憶内容を相互に一致させる。
As shown in FIG. 3A, the
不良ブロック検出装置10は、予め設定されている定期診断日時になると、タイマ部64から不良ブロック群特定部62に対し、定期診断の開始が指示される。
指示を受けた不良ブロック群特定部62は、所定のブロック数から成るブロック群単位で第1ディスク20の定期診断を開始する(ステップS1)。
The defective
Receiving the instruction, the defective block
第1ディスク20に対し、ブロック群単位で診断を行って、該第1ディスク20における全てのブロック群において異常が無いとき、診断処理を終了する。
一方、第1ディスク20に対するブロック群単位での診断結果において(ステップ2)、図3(b)に示すように、不良ブロック群を検出すると、この検出で取得するステータス内容に基づいて障害種別を判定する(ステップS3)。
Diagnosis is performed on the
On the other hand, in the diagnosis result of the block group unit for the first disk 20 (step 2), as shown in FIG. 3B, when a defective block group is detected, the failure type is determined based on the status content acquired by this detection. Determine (step S3).
この判定でブロックに対するアクセス障害であると判断すると、不良ブロック特定部63は、不良ブロック群特定部62で特定した不良ブロック群に含まれる不良ブロックを特定すべく、図3(c)に示すように、不良ブロック群における各ブロックに対し、順にブロック単位でアクセスを行い(ステップS4)、アクセスしたブロックが不良ブロックであるか否かを判定する(ステップS5)。
If it is determined in this determination that there is an access failure to the block, the defective
尚、前記したステップS5において、異常が検出されないとき、当該不良ブロック群における各ブロックの診断が終了するまで(ステップS6)、該各ブロックを管理するための管理番号(診断ブロック番号)を次のブロックに更新し(ステップS7)、当該管理番号に示されるブロックの不良診断を行うべく、前記ステップS4からの処理を行う。 When no abnormality is detected in step S5, the management number (diagnostic block number) for managing each block is changed to the next until the diagnosis of each block in the defective block group is completed (step S6). The block is updated (step S7), and the processing from step S4 is performed in order to perform failure diagnosis of the block indicated by the management number.
一方、前記したステップS5において、不良ブロック群に対するブロック単位での診断で不良ブロックを検出すると、この検出で取得するステータス内容に基づいて障害種別を判定する(ステップS8)。この判定でブロックに対するアクセス障害であるとき、補修部65は、図3(d)に示すように、検出した不良ブロックのアドレスに基づいて、第2ディスク30から良好なブロックを読出し、読出した良好なブロックの内容を不良ブロックの内容にコピーして不良ブロックを補修する(ステップS9)。尚、補修部65は、補修結果の確認を行う(ステップS10)。
On the other hand, when a defective block is detected by the block-by-block diagnosis for the defective block group in step S5 described above, the failure type is determined based on the status content acquired by this detection (step S8). When it is determined that there is an access failure to the block in this determination, the
補修部65は、不良ブロックの診断ブロック番号を障害ブロック番号として結果レポートを作成し(ステップS11)、処理を終了する。
尚、不良ブロック特定部63は、不良ブロック群内に、更に他の不良ブロックが存在するか否か検出すべく、当該不良ブロック群における各ブロックの診断が終了するまで(ステップS6)、該各ブロックを管理するための管理番号(診断ブロック番号)を次のブロックに更新し(ステップS7)、当該管理番号に示されるブロックの不良診断を行うべく、前記ステップS4からの処理を行う。
The
The defective
前記したように、本発明の不良ブロック検出装置10によれば、所定の定期診断日時になると、連続する複数ブロックから成るブロック群単位で、第1ディスク20へのアクセスを行って、不良ブロック群を特定すると、当該不良ブロック群における各ブロックに対し順にアクセスを行って、不良ブロックを特定することにより、不良ブロックアドレスを取得する機能がサポートされてない場合でも、不良ブロックのアドレスを特定することができる。
As described above, according to the defective
実施例では、第1ディスク20の定期診断を行う例で説明したが、前記した不良ブロック検出方法を用いて、第1ディスク20のミラーリングが行われている第2ディスク30の定期診断を行ってもよい。
In the embodiment, the example of performing the periodic diagnosis of the
10 不良ブロック検出装置
20 第1ディスク
30 第2ディスク
40 第1ディスク制御部
50 第2ディスク制御部
60 制御管理部
61 ミラーリング部
62 不良ブロック群特定部
63 不良ブロック特定部
64 タイマ部
65 補修部
DESCRIPTION OF
Claims (6)
連続する複数ブロックから成るブロック群単位でディスクへのアクセスを順に行って、不良ブロック群を特定する不良ブロック群特定工程と、
アクセス不良のブロック群を検出すると、当該不良ブロック群における各ブロックに対し、順にアクセスを行い、不良ブロックを特定する不良ブロック特定工程と、を備えることを特徴とする不良ブロック検出方法。 In the bad block detection method of the disk that can be accessed in block units,
A defective block group identifying step for sequentially identifying the defective block group by performing sequential access to the disk in units of block groups composed of a plurality of continuous blocks;
A defective block detection method comprising: a defective block specifying step of detecting a defective block by sequentially accessing each block in the defective block group and detecting a defective block.
一方のディスクにおいて不良ブロックを検出すると、当該不良ブロックに該当する他方のディスクの良好ブロックに基づいて、前記不良ブロックの修正を行う補修工程を備えることを特徴とする請求項1記載の不良ブロック検出方法。 The disk is mirrored;
2. The defective block detection according to claim 1, further comprising a repairing step of correcting the defective block based on a good block of the other disk corresponding to the defective block when a defective block is detected in the one disk. Method.
連続する複数ブロックから成るブロック群単位でディスクへのアクセスを順に行って、不良ブロック群を特定する不良ブロック群特定部と、
アクセス不良のブロック群を検出すると、当該不良ブロック群における各ブロックに対し、順にアクセスを行い、不良ブロックを特定する不良ブロック特定部と、を備えることを特徴とする不良ブロック検出装置。 In a bad block detection device for a disk that can be accessed in block units,
A defective block group specifying unit for specifying a defective block group by sequentially accessing the disk in block group units composed of a plurality of continuous blocks;
A defective block detecting apparatus comprising: a defective block specifying unit that, when detecting a defective block group, accesses each block in the defective block group in order and specifies a defective block.
一方のディスクにおいて不良ブロックを検出すると、当該不良ブロックに該当する他方のディスクの良好ブロックに基づいて前記不良ブロックの補修を行う補修部を備えることを特徴とする請求項4記載の不良ブロック検出装置。
The disk is mirrored;
5. The defective block detection device according to claim 4, further comprising a repair unit that repairs the defective block based on the good block of the other disk corresponding to the defective block when a defective block is detected in the first disk. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005091008A JP2006276965A (en) | 2005-03-28 | 2005-03-28 | Defective block detecting method and defective block detecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005091008A JP2006276965A (en) | 2005-03-28 | 2005-03-28 | Defective block detecting method and defective block detecting device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006276965A true JP2006276965A (en) | 2006-10-12 |
Family
ID=37211709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005091008A Pending JP2006276965A (en) | 2005-03-28 | 2005-03-28 | Defective block detecting method and defective block detecting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006276965A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010181980A (en) * | 2009-02-03 | 2010-08-19 | Nec System Technologies Ltd | File-managing device and file-managing method |
JP2011053775A (en) * | 2009-08-31 | 2011-03-17 | Ricoh Co Ltd | Print system, automatic restoration method of initiation program, and control automatic restoration control program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0528663A (en) * | 1991-07-18 | 1993-02-05 | Sharp Corp | Data recording and inspecting method |
JPH09238238A (en) * | 1996-03-01 | 1997-09-09 | Ricoh Co Ltd | Image forming device |
JPH1083618A (en) * | 1996-09-04 | 1998-03-31 | Fujitsu Ltd | Magnetic disk control device |
JPH10222315A (en) * | 1997-02-12 | 1998-08-21 | Nec Corp | Method and device for error recovery of doubled hard disk drives |
-
2005
- 2005-03-28 JP JP2005091008A patent/JP2006276965A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0528663A (en) * | 1991-07-18 | 1993-02-05 | Sharp Corp | Data recording and inspecting method |
JPH09238238A (en) * | 1996-03-01 | 1997-09-09 | Ricoh Co Ltd | Image forming device |
JPH1083618A (en) * | 1996-09-04 | 1998-03-31 | Fujitsu Ltd | Magnetic disk control device |
JPH10222315A (en) * | 1997-02-12 | 1998-08-21 | Nec Corp | Method and device for error recovery of doubled hard disk drives |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010181980A (en) * | 2009-02-03 | 2010-08-19 | Nec System Technologies Ltd | File-managing device and file-managing method |
JP2011053775A (en) * | 2009-08-31 | 2011-03-17 | Ricoh Co Ltd | Print system, automatic restoration method of initiation program, and control automatic restoration control program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6360293B1 (en) | Solid state disk system having electrically erasable and programmable read only memory | |
US7506224B2 (en) | Failure recovering method and recording apparatus | |
JP2008257411A (en) | Disk control system | |
JP2006276965A (en) | Defective block detecting method and defective block detecting device | |
JP2010257340A (en) | Information processor, information processing method and program | |
JP5181795B2 (en) | RAID system and error sector repair method | |
JP5217452B2 (en) | Information processing apparatus and system, and storage area management method and program | |
JP4893746B2 (en) | Address line fault processing apparatus, address line fault processing method, address line fault processing program, information processing apparatus, and memory controller | |
JP5279981B2 (en) | Update control program, update control method, and update control apparatus | |
US20100169572A1 (en) | Data storage method, apparatus and system for interrupted write recovery | |
JPH07182250A (en) | Automatic substituting processing system for magnetic disk | |
US20060277431A1 (en) | Real time auto-backup memory system | |
US6229743B1 (en) | Method of a reassign block processing time determination test for storage device | |
JP2009211162A (en) | Information processor and start control method | |
KR100466142B1 (en) | Method and apparatus for performing drive-based updates to disk array controllers | |
JP2009003557A (en) | Device start time diagnostic method, diagnostic program, and start time diagnostic device | |
JP2009054221A (en) | Life managing system for magnetic disk device | |
JP2007148536A (en) | Ram-diagnosing device and method | |
JP2005346212A (en) | Disk array controller and information processor | |
JP2006227684A (en) | Data processor and its error information managing method | |
JP2008310846A (en) | Precheck device, method and program for hard disk drive failure of general-purpose server | |
JP2006099306A (en) | Management method for version of computer module using rfid tag | |
JP2006351134A (en) | Magnetic disk device and patrol diagnosing method | |
JPH03141421A (en) | Information processor | |
JP2000330733A (en) | Disk array device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071121 |
|
A977 | Report on retrieval |
Effective date: 20100830 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100907 |
|
A711 | Notification of change in applicant |
Effective date: 20110114 Free format text: JAPANESE INTERMEDIATE CODE: A712 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110315 |