JPH08329625A - Alternate processing method in disk storage device and disk storage device - Google Patents

Alternate processing method in disk storage device and disk storage device

Info

Publication number
JPH08329625A
JPH08329625A JP13240495A JP13240495A JPH08329625A JP H08329625 A JPH08329625 A JP H08329625A JP 13240495 A JP13240495 A JP 13240495A JP 13240495 A JP13240495 A JP 13240495A JP H08329625 A JPH08329625 A JP H08329625A
Authority
JP
Japan
Prior art keywords
data
alternative
spare
data area
retries
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
Application number
JP13240495A
Other languages
Japanese (ja)
Inventor
Hiroyuki Matsumoto
裕行 松本
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP13240495A priority Critical patent/JPH08329625A/en
Publication of JPH08329625A publication Critical patent/JPH08329625A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: To maintain the data by automatically performing alternative processing even when the data are read out of a disk medium and informing a host program of that purpose. CONSTITUTION: The data are read in by a data read-in means 11, and when the fact that the necessity of alternation exists is decided by an alternate decision execution means 12, a standby data area is retrieved by a standby data area retrieval means 13. Then, when the standby data area exists, the read in data are alternated to the standby data area by an alternate execution means 14, and the fact that the alternate processing occurs or read-in re-try corresponding to the alternate process occurrence occurs is reported to a read-in request origin.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディスク型記憶装置に
おける代替処理方法およびディスク型記憶装置に関し、
特に、磁気ディスク装置等に形成された欠陥セクタの如
き記憶情報を予備データ領域に再登録し、代替処理実行
の旨を警告情報として通知する記憶情報の代替処理に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an alternative processing method for a disk type storage device and a disk type storage device,
In particular, the present invention relates to a storage information substitution process of re-registering storage information such as a defective sector formed in a magnetic disk device or the like in the spare data area and notifying the execution of the substitution process as warning information.

【0002】[0002]

【従来の技術】従来の公知例としては特開平4−266
117号公報(記憶装置)が知られている。
2. Description of the Related Art As a conventional known example, Japanese Patent Laid-Open No. 4-266 is known.
Japanese Patent Publication No. 117 (memory device) is known.

【0003】この従来の記憶装置のデータ読込み時の代
替処理方法は、あるセクタが予め設定されているリトラ
イ回数を超えて読込みが行われた場合に、そのセクタを
自動的に予備データ領域に代替し読込み要求元に対して
正常終了を通知していた。
In this conventional alternative processing method for reading data from a storage device, when a certain sector is read over a preset number of retries, the sector is automatically replaced with a spare data area. Then, the read request source was notified of the normal end.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の代替処
理方法では、予備データ領域を全て使いきってしまった
場合には、前述のようなデータ読込み時の代替処理は行
えない。この場合データ保護を考えると、装置交換を行
い、その交換した装置に新しいデータを移動することが
望ましい。
In the conventional alternative processing method described above, the alternative processing at the time of reading data as described above cannot be performed when the spare data area is completely used up. In this case, considering data protection, it is desirable to perform device replacement and move new data to the replaced device.

【0005】しかし、従来の特開平4−266117号
公報(記憶装置)では、読込み要求元は、要求したデー
タ読込み処理が、代替処理が発生して正常終了したの
か、代替処理なしで正常終了したのか判定できず、予備
データ領域の使用状況がわからないため、装置交換の時
期を判定できず、データを破壊し情報資産を損失する可
能性があるという問題点があった。
However, in the conventional Japanese Unexamined Patent Publication No. 4-266117 (storage device), the read request source normally terminates the requested data reading process with the replacement process or without the replacement process. Since it is not possible to determine whether the spare data area is used or not, the timing of device replacement cannot be determined, and there is a possibility that data may be destroyed and information assets may be lost.

【0006】[0006]

【課題を解決するための手段】本発明の目的は、データ
読込み処理において、代替処理が発生して正常終了した
際に、代替処理が発生し正常に終了したことを読込み要
求元に対して通知することにより、上記の問題点を解決
し、読込み要求元が予備データ領域の使用状況を把握で
きるようにし、最適な時期に装置交換を行い、データの
保全を図ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to notify a read request source that a substitute process has occurred and has ended normally when the substitute process has occurred and ended normally in the data read process. By doing so, it is possible to solve the above problems, allow the read request source to grasp the usage status of the spare data area, replace the device at an optimum time, and secure the data.

【0007】そのため、本発明の代替処理方法は、ディ
スク媒体からのデータ読込み時発生したエラー修復のた
めのリトライ回数が代替処理が必要なリトライ回数を超
えた場合、そのリトライが発生した記憶領域を予め確保
してある予備記憶領域に代替し、代替処理が行われたこ
とを読込み要求元に通知することを特徴としている。
Therefore, according to the alternative processing method of the present invention, when the number of retries for error correction occurring when reading data from the disk medium exceeds the number of retries required for the alternative processing, the storage area in which the retry has occurred is deleted. It is characterized in that the read request source is notified that the replacement processing has been performed by replacing the reserved storage area that is secured in advance.

【0008】本発明のディスク型記憶装置は、ディスク
媒体からデータを読み込むデータ読込み手段と、代替処
理が必要なリトライ回数を予め設定する代替実行リトラ
イ回数設定手段と、データ読込み手段でデータ読込み時
発生したエラー修復のためのリトライ回数と代替実行リ
トライ回数設定手段で設定されたリトライ回数とから代
替処理を実行するかどうかを判定する代替実行判定手段
と、代替実行判定手段で代替処理が必要と判定された場
合予備データ領域の中からあいている予備データ領域を
探す予備データ領域検索手段と、予備データ領域検索手
段による予備データ領域検索の結果予備データ領域があ
る場合リトライが発生した領域を予備データ領域に割り
付ける代替実行手段と、代替実行手段により代替処理が
発生したことを読込み要求元に通知する終了通知決定手
段とを有することを特徴としている。
The disk type storage device of the present invention includes a data reading means for reading data from a disk medium, an alternative execution retry number setting means for presetting the number of retries for which an alternative process is required, and a data reading means for generating data. The alternative execution determination unit that determines whether to execute the alternative process from the retry count for error correction and the retry count set by the alternative execution retry count setting unit, and the alternative execution determination unit determines that the alternative process is necessary. If there is a spare data area, the spare data area searching means for searching for a spare spare data area and the spare data area search result by the spare data area searching means If there is a spare data area Read the alternative execution means to allocate to the area and the fact that the alternative processing has occurred. It is characterized by having a end notification determination means for notifying seen requester.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0010】図1は本発明のディスク型記憶装置の一実
施例のブロック図、図2は図1のディスク型記憶装置に
おけるデータ読込みエラー代替処理方法の処理を示すフ
ローチャートである。
FIG. 1 is a block diagram of an embodiment of the disk type storage device of the present invention, and FIG. 2 is a flow chart showing the processing of a data read error alternative processing method in the disk type storage device of FIG.

【0011】本実施例のディスク型記憶装置は、ディス
ク媒体からデータを読み込むデータ読込み手段11と、
データ読込み手段11でデータ読込み時のリトライ回数
から代替処理を実行するかどうかを判定する代替実行判
定手段12と、予備データ領域の中からあいている予備
データ領域を探す予備データ領域検索手段13と、予備
データ領域検索手段13による予備データ領域検索の結
果予備データ領域がある場合にリトライが発生した領域
を予備データ領域に割り付ける代替実行手段14と、代
替処理発生の有無により読込み要求元に通知する終了状
態を決定する終了通知決定手段15と、代替処理が必要
なリトライ回数を予め設定する代替実行リトライ回数設
定手段16とを有する。
The disk type storage device of this embodiment comprises a data reading means 11 for reading data from a disk medium,
An alternative execution determination unit 12 that determines whether or not to execute an alternative process based on the number of retries at the time of reading the data by the data reading unit 11, and a spare data area search unit 13 that searches for an empty spare data area from the spare data areas. As a result of the spare data area search by the spare data area search means 13, if there is a spare data area, the alternative execution means 14 for allocating the area in which a retry has occurred to the spare data area, and the read request source are notified by the presence or absence of alternative processing. It has an end notification determining means 15 for determining the end state and an alternative execution retry number setting means 16 for presetting the number of retries for which the alternative process is required.

【0012】次に、本実施例のディスク型記憶装置にお
けるデータ読込みエラー代替処理方法について図1,図
2を参照して説明する。
Next, a data read error alternative processing method in the disk type storage device of this embodiment will be described with reference to FIGS.

【0013】まず、代替が必要と思われる読込みエラー
リトライ回数を予め代替実行リトライ回数設定手段16
に設定する。
First, the number of read error retries for which substitution is considered necessary is set in advance by means 16 for setting the number of execution retries for substitution.
Set to.

【0014】データ読込み手段11でデータの読込み
(ステップ21)が正常に終了した場合、代替実行判定
手段12でデータ読込みのリトライ回数をチェックする
(ステップ22)。リトライ回数が代替実行リトライ回
数設定手段16に設定されている代替実行リトライ回数
以上である場合には、予備データ領域検索手段13で予
備データ領域を検索し(ステップ23)、予備データ領
域の有無をチェックする(ステップ24)。予備データ
領域があれば、代替実行手段14で読み込んだデータを
その予備領域に代替する(ステップ25)。
When the data reading means 11 completes the data reading normally (step 21), the alternative execution judging means 12 checks the number of times of data reading retry (step 22). When the number of retries is equal to or greater than the number of alternative execution retries set in the alternative execution retry number setting means 16, the auxiliary data area searching means 13 searches the auxiliary data area (step 23) and determines whether or not the auxiliary data area exists. Check (step 24). If there is a spare data area, the data read by the substitution executing means 14 is replaced with the spare area (step 25).

【0015】終了通知手段15はリトライ回数をチェッ
クし(ステップ26)、リトライ回数が代替実行リトラ
イ回数未満であれば、読込み要求元に正常終了を通知し
(ステップ27)、リトライ回数が代替実行リトライ回
数以上であれば、条件付き正常終了とし、代替処理が行
われた、または代替処理が必要なリトライ回数が発生し
たことを読込み要求元に通知する(ステップ28)。
The end notifying means 15 checks the number of retries (step 26), and if the number of retries is less than the number of alternative execution retries, it notifies the read request source of normal end (step 27), and the number of retries is alternative execution retry. If the number of times is equal to or greater than the number of times, the processing is normally terminated with a condition, and the reading request source is notified that the alternative processing has been performed or the number of retries for which the alternative processing is required has occurred (step 28).

【0016】[0016]

【発明の効果】以上説明したように、本発明のディスク
型記憶装置における代替処理方法およびディスク型記憶
装置は、リトライ回数による欠陥領域の判定を正常終了
時にも行い予め代替処理を行うことにより、また、代替
処理が発生したことを読込み要求元に通知することによ
り、ディスクの交換時期を的確に把握することができ、
データの破壊による情報資産の損失を未然に防ぐことが
できるという効果がある。
As described above, the alternative processing method and disk-type storage device in the disk-type storage device of the present invention perform determination of defective areas based on the number of retries even at normal termination and perform the alternative process in advance. Also, by notifying the read request source that alternative processing has occurred, it is possible to accurately grasp the disc replacement time,
This has the effect of preventing loss of information assets due to data destruction.

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

【図1】本発明のディスク型記憶装置の一実施例のブロ
ック図である。
FIG. 1 is a block diagram of an embodiment of a disk type storage device of the present invention.

【図2】図1のディスク型記憶装置におけるデータ読込
みエラー代替処理方法の処理を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a process of a data read error alternative processing method in the disk type storage device of FIG.

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

11 データ読込み手段 12 代替実行判定手段 13 予備データ領域検索手段 14 代替実行手段 15 終了通知決定手段 16 代替実行リトライ回数設定手段 11 Data Reading Means 12 Alternative Execution Determining Means 13 Spare Data Area Searching Means 14 Alternative Executing Means 15 End Notification Determining Means 16 Alternative Execution Retry Count Setting Means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ディスク媒体からのデータ読込み時発生
したエラー修復のためのリトライ回数が代替処理が必要
なリトライ回数を超えた場合、そのリトライが発生した
記憶領域を予め確保してある予備記憶領域に代替し、代
替処理が行われたことを読込み要求元に通知することを
特徴とするディスク型記憶装置における代替処理方法。
1. A spare storage area in which a storage area in which a retry has occurred is reserved in advance when the number of retries for error correction that occurs when reading data from a disk medium exceeds the number of retries for which alternative processing is required. And a method of notifying the read request source that the alternative processing has been performed.
【請求項2】 ディスク媒体からデータを読み込むデー
タ読込み手段と、代替処理が必要なリトライ回数を予め
設定する代替実行リトライ回数設定手段と、前記データ
読込み手段でデータ読込み時発生したエラー修復のため
のリトライ回数と前記代替実行リトライ回数設定手段で
設定されたリトライ回数とから代替処理を実行するかど
うかを判定する代替実行判定手段と、前記代替実行判定
手段で代替処理が必要と判定された場合予備データ領域
の中からあいている予備データ領域を探す予備データ領
域検索手段と、前記予備データ領域検索手段による予備
データ領域検索の結果予備データ領域がある場合前記リ
トライが発生した領域を前記予備データ領域に割り付け
る代替実行手段と、前記代替実行手段により代替処理が
発生したことを読込み要求元に通知する終了通知決定手
段とを有することを特徴とするディスク型記憶装置。
2. A data reading unit for reading data from a disk medium, an alternative execution retry number setting unit for presetting the number of retries for which an alternative process is required, and an error recovery unit for recovering an error that occurs when the data reading unit reads the data. An alternative execution determining unit that determines whether to execute an alternative process based on the number of retries and the number of retries set by the alternative execution retry number setting unit, and a spare when the alternative process determining unit determines that the alternative process is necessary If there is a spare data area as a result of the spare data area search means by the spare data area searching means for searching for a spare spare data area among the data areas, the area where the retry occurs is the spare data area Read the alternative execution means to be assigned to and the occurrence of the alternative processing by the alternative execution means. A disk-type storage device, comprising: an end notification determining means for notifying only a request source.
JP13240495A 1995-05-30 1995-05-30 Alternate processing method in disk storage device and disk storage device Pending JPH08329625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13240495A JPH08329625A (en) 1995-05-30 1995-05-30 Alternate processing method in disk storage device and disk storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13240495A JPH08329625A (en) 1995-05-30 1995-05-30 Alternate processing method in disk storage device and disk storage device

Publications (1)

Publication Number Publication Date
JPH08329625A true JPH08329625A (en) 1996-12-13

Family

ID=15080608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13240495A Pending JPH08329625A (en) 1995-05-30 1995-05-30 Alternate processing method in disk storage device and disk storage device

Country Status (1)

Country Link
JP (1) JPH08329625A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542108A (en) * 1977-06-07 1979-01-09 Toshiba Corp Error corrector of magnetic media
JPS5794913A (en) * 1980-12-03 1982-06-12 Fujitsu Ltd Data relieving method for error track
JPS6361467A (en) * 1986-08-29 1988-03-17 Canon Inc Alternate processor for recording medium
JPH01251372A (en) * 1988-03-30 1989-10-06 Toshiba Corp Magnetic disk control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542108A (en) * 1977-06-07 1979-01-09 Toshiba Corp Error corrector of magnetic media
JPS5794913A (en) * 1980-12-03 1982-06-12 Fujitsu Ltd Data relieving method for error track
JPS6361467A (en) * 1986-08-29 1988-03-17 Canon Inc Alternate processor for recording medium
JPH01251372A (en) * 1988-03-30 1989-10-06 Toshiba Corp Magnetic disk control device

Similar Documents

Publication Publication Date Title
JP3869365B2 (en) Disk recording apparatus and recording disk sector replacement method
US6233108B1 (en) Storage device with the ability to check for defects in same
US20030070109A1 (en) Automatic read reassignment method and a magnetic disk drive
JPH08297928A (en) Magnetic disk device with recording medium inspecting function
JP3865586B2 (en) Disk unit
US7633695B2 (en) Medium scan method for use in disk device
US5379276A (en) Data information recording/reproducing apparatus which minimizes record failures
US6169710B1 (en) Optical disc recording/reproducing method and apparatus
JP3860967B2 (en) Method for automatically changing leads and magnetic disk device using the same
JP2005038570A (en) Information recording device, information recording method, and program
JPH07182250A (en) Automatic substituting processing system for magnetic disk
JPS60129976A (en) Substituting system of storage information
KR20110039416A (en) Data storage method, apparatus and system for interrupted write recovery
JPH08329625A (en) Alternate processing method in disk storage device and disk storage device
US6229743B1 (en) Method of a reassign block processing time determination test for storage device
US6684344B1 (en) Control unit of external storage, method for substituting defective block, and storage medium wherein control program for substituting defective block has been stored
JPH10275060A (en) Array disk controller
JP3498651B2 (en) Disk control device, disk device, disk control system, retry frequency control method, and recording medium
JP3356106B2 (en) Magnetic disk device and retry processing method thereof
JPH0581789A (en) Optical disk device
JP3257707B2 (en) Synchronization error judgment method in optical disk device
JPH06266573A (en) Fault recovery information managing system
JP3870024B2 (en) Information recording apparatus and information recording method
JPH07141120A (en) Processing method for fault in information storage medium
JPH08161121A (en) Format processor for storage medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980317