JPH0580950A - Defective disk block substitution system for exchange system - Google Patents

Defective disk block substitution system for exchange system

Info

Publication number
JPH0580950A
JPH0580950A JP24533191A JP24533191A JPH0580950A JP H0580950 A JPH0580950 A JP H0580950A JP 24533191 A JP24533191 A JP 24533191A JP 24533191 A JP24533191 A JP 24533191A JP H0580950 A JPH0580950 A JP H0580950A
Authority
JP
Japan
Prior art keywords
disk
block
defective
replacement
disk block
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
JP24533191A
Other languages
Japanese (ja)
Inventor
Mitsuyoshi Ozaki
光義 小▲崎▼
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP24533191A priority Critical patent/JPH0580950A/en
Publication of JPH0580950A publication Critical patent/JPH0580950A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To substitute a defective block without interrupting the use of a disk device if the defective block is generated on the disk device under the control of the maintenance operation device of the exchange system. CONSTITUTION:If the defective block is generated during the writing to the disk device 3A by the maintenance operation device 1, a defective block substitution controller 4 substitutes the block through a defective block substitution device 5A, after the defective block is substituted, rewriting is performed. When the defective block is generated, after the defective block is substituted, the contents of the block in the same address of the disk device of an opposite system are also read in by the defective substitution controller 4 and written in the substitution block of the disk device of the system where the defective disk block is generated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は保守運用装置が0系,1
系の二重化したディスク装置を有する交換システムにお
ける不良ディスクブロック代替方式に関する。
BACKGROUND OF THE INVENTION The present invention has a maintenance operation device of 0 series, 1 series.
The present invention relates to a defective disk block replacement method in a replacement system having a redundant disk device.

【0002】[0002]

【従来の技術】図3は従来の不良ディスクブロック代替
方式の一例を示すブロック図、図4は図3における動作
を説明するためのフローチャートである。
2. Description of the Related Art FIG. 3 is a block diagram showing an example of a conventional defective disk block replacement method, and FIG. 4 is a flow chart for explaining the operation in FIG.

【0003】保守運用装置1が入出力制御装置2を介し
て例えばディスク装置3Aへアクセス時に不良ブロック
が発生した場合にこれを検出し(ステップ41)、その
ディスク装置3Aの使用を中止して(ステップ43)、
その状態で端末装置8からコマンドを投入し、不良ディ
スクブロックエリア6を不良ブロック代替装置5Aで代
替を行い(ステップ43)、反対系のディスク装置3B
から全ブロックのコピーを行う(ステップ44)ことに
よりディスクの復旧を行ってからディスク装置3Aの使
用を再開していた(ステップ45)。
When the maintenance operation device 1 accesses the disk device 3A via the input / output control device 2, for example, when a bad block occurs, it is detected (step 41) and the use of the disk device 3A is stopped (step 41). Step 43),
In that state, a command is input from the terminal device 8, the defective disk block area 6 is replaced by the defective block replacement device 5A (step 43), and the disk device 3B of the opposite system is used.
Then, all the blocks are copied (step 44) to restore the disk, and then the use of the disk device 3A is restarted (step 45).

【0004】[0004]

【発明が解決しようとする課題】上述した従来の不良デ
ィスクブロック代替方式では、保守運用装置1がディス
ク装置3Aへ入出力制御装置2を介してアクセス中に不
良ブロックが発生すると、反対系のディスク装置3Bか
らの全ディスクブロックのコピーを行ってから使用して
いたため、全ディスクブロックのコピーが終了するまで
は片系のディスク装置3Bのみしか使用できないという
欠点があり、また不良ディスクブロックの発生した系の
ディスク装置の復旧時間がかかるという欠点があった。
In the conventional defective disk block replacement method described above, if a defective block occurs while the maintenance and operation device 1 is accessing the disk device 3A via the input / output control device 2, the disk of the opposite system will be used. Since it is used after copying all disk blocks from the device 3B, there is a drawback that only one disk device 3B can be used until the copying of all disk blocks is completed, and a defective disk block occurs. There was a drawback that it took a long time to restore the system disk unit.

【0005】[0005]

【課題を解決するための手段】本発明の不良ディスクブ
ロック代替方式は、保守運用装置の外部記憶装置として
0系,1系の二重化したディスク装置と、前記ディスク
へのアクセスを行うための入出力制御装置と、前記各デ
ィスク装置の不良ブロックを代替するディスクブロック
代替装置とを有する交換システムにおける不良ディスク
ブロック代替方式において、前記保守運用装置と前記入
出力制御装置との間に不良ディスクブロック代替制御装
置を設け、前記保守運用装置からの片系の前記ディスク
装置への書込み時に不良ディスクブロックへアクセスし
た場合はこの不良ディスクブロックを即座に代替して再
書込みを行い、読込み時に不良ディスクブロックへアク
セスした場合は反対の系の前記ディスク装置の同一のア
ドレスのブロックから読み込んだ内容を前記不良ディス
クブロックの代替後に書き込むことを特徴とする。
DISCLOSURE OF THE INVENTION A defective disk block replacement method according to the present invention is a dual disk device of 0 system and 1 system as an external storage device of a maintenance operation device, and an input / output for accessing the disk. In a defective disk block replacement method in a switching system having a control device and a disk block replacement device that replaces a defective block of each disk device, a defective disk block replacement control between the maintenance operation device and the input / output control device If a defective disk block is accessed when writing data to one of the disk devices from the maintenance operation device, this defective disk block is immediately replaced and rewritten, and the defective disk block is accessed when reading. If it is done, the block of the same address of the disk device of the opposite system And writes the al read contents after substitute the bad disk blocks.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の不良ディスクブロック代替方式の一
実施例を示すブロック図、図2は図1における動作を説
明するためのフローチャートである。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a defective disk block replacement method of the present invention, and FIG. 2 is a flow chart for explaining the operation in FIG.

【0007】保守運用装置1は入出力制御装置2を介し
て0系,1系のディスク装置3A,3Bへのアクセスを
行い、コマンド投入のための端末装置8が設けられてい
る。不良ディスクブロック代替制御装置4は保守運用装
置1と入出力制御装置2に接続され、0系,1系のディ
スク装置3A,3Bは通常ディスクブロックエリア6と
代替用ディスクブロックエリア7を持ち、それぞれ不良
ブロック代替装置5A,5Bが設けられている。不良ブ
ロック代替装置5A,5Bはディスク装置3A,3Bの
通常ブロックエリア6の不良ブロックの代替を行う。
The maintenance operation device 1 accesses the 0-system and 1-system disk devices 3A and 3B through the input / output control device 2, and is provided with a terminal device 8 for inputting a command. The defective disk block replacement control device 4 is connected to the maintenance operation device 1 and the input / output control device 2, and the 0-system and 1-system disk devices 3A and 3B have a normal disk block area 6 and a replacement disk block area 7, respectively. Bad block replacement devices 5A and 5B are provided. The defective block replacement devices 5A and 5B replace the defective blocks in the normal block area 6 of the disk devices 3A and 3B.

【0008】保守運用装置1からの0系,1系のディス
ク装置3A,3Bへの書込みは両系に対して行い、両系
のディスク装置3A,3Bの内容は常に同一の内容とな
っている。また、保守運用装置1によるディスク装置3
A,3Bからの読込みは一方の系からのみ行う。
Writing from the maintenance operation device 1 to the 0-system and 1-system disk devices 3A and 3B is performed for both systems, and the contents of the disk devices 3A and 3B of both systems are always the same. .. In addition, the disk device 3 by the maintenance operation device 1
Reading from A and 3B is performed from only one system.

【0009】次に本実施例の動作について図1,図2を
用いて説明する。保守運用装置1が片系(例えば0系)
のディスク装置3Aへの書込み時に不良ブロックが発生
した場合にはこれを検出して(ステップ21)、不良デ
ィスクブロック代替制御装置4はそのブロックの代替処
理を不良ブロック代替装置5Aを介して行い(ステップ
22)、不良ブロック代替完了後は再書き込みを行う
(ステップ26)。保守運用装置1が片系(例えば1
系)のディスク装置3Bからの読込み時に不良ブロック
が発生した場合には(ステップ21)、不良ディスクブ
ロック代替制御装置4はそのブロックの代替処理を不良
ブロック代替装置5Bを介して行うが(ステップ2
2)、このとき代替後は代替された後のブロック内容は
正しいものでないため、反対系(0系)のディスク装置
3Aの通常ディスクブロックエリア6の同一アドレスか
ら不良ディスクブロック代替制御装置4が内容を読み込
み(ステップ23,24)、その後、不良ディスクブロ
ックが発生した1系のディスク装置3Bの代替後のブロ
ックへ書き込む(ステップ25)。従って代替後の内容
も正しいものとなる。
Next, the operation of this embodiment will be described with reference to FIGS. Maintenance operation device 1 is a single system (for example, 0 system)
If a defective block occurs during writing to the disk device 3A, the defective block is detected (step 21), and the defective disk block replacement control device 4 performs the replacement process for that block via the defective block replacement device 5A ( After the defective block replacement is completed in step 22), rewriting is performed (step 26). The maintenance operation device 1 is a single system (for example, 1
If a defective block occurs during reading from the disk device 3B (system) (step 21), the defective disk block replacement control device 4 performs replacement processing for that block via the defective block replacement device 5B (step 2).
2) At this time, since the contents of the block after being replaced are not correct after replacement, the contents of the defective disk block replacement controller 4 from the same address of the normal disk block area 6 of the disk device 3A of the opposite system (0 system) Is read (steps 23 and 24), and then written to the block after replacement of the disk drive 3B of the 1st system where the defective disk block has occurred (step 25). Therefore, the contents after substitution are also correct.

【0010】[0010]

【発明の効果】以上説明したように本発明は、保守運用
装置に不良ディスクブロック代替制御装置を設け、保守
運用装置がディスク装置へアクセス時に不良ブロックが
発生しても即座に不良ディスクブロックを代替し正しい
内容とするため、不良ブロックの発生したディスク装置
の使用を中止することなく、そのまま使用を継続できる
という効果を有する。
As described above, according to the present invention, the maintenance operation device is provided with the defective disk block replacement control device, and the defective disk block is immediately replaced even if a defective block occurs when the maintenance operation device accesses the disk device. Since the contents are correct, there is an effect that the disk device in which the defective block has occurred can be used as it is without being stopped.

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

【図1】本発明の不良ディスクブロック代替方式の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a defective disk block replacement method according to the present invention.

【図2】図1における動作を説明するためのフローチャ
ートである。
FIG. 2 is a flowchart for explaining the operation in FIG.

【図3】従来の不良ディスクブロック代替方式の一例を
示すブロック図である。
FIG. 3 is a block diagram showing an example of a conventional defective disk block replacement method.

【図4】図3における動作を説明するためのフローチャ
ートである。
FIG. 4 is a flowchart for explaining the operation in FIG.

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

1 保守運用装置 2 入出力制御装置 3A,3B ディスク装置 4 不良ディスクブロック代替制御装置 5A,5B 不良ブロック代替装置 6 通常ディスクブロックエリア 7 代替用ディスクブロックエリア 1 Maintenance operation device 2 Input / output control device 3A, 3B Disk device 4 Bad disk block replacement control device 5A, 5B Bad block replacement device 6 Normal disk block area 7 Replacement disk block area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 保守運用装置の外部記憶装置として0
系,1系の二重化したディスク装置と、前記ディスクへ
のアクセスを行うための入出力制御装置と、前記各ディ
スク装置の不良ブロックを代替するディスクブロック代
替装置とを有する交換システムにおける不良ディスクブ
ロック代替方式において、前記保守運用装置と前記入出
力制御装置との間に不良ディスクブロック代替制御装置
を設け、前記保守運用装置からの片系の前記ディスク装
置への書込み時に不良ディスクブロックへアクセスした
場合はこの不良ディスクブロックを即座に代替して再書
込みを行い、読込み時に不良ディスクブロックへアクセ
スした場合は反対の系の前記ディスク装置の同一のアド
レスのブロックから読み込んだ内容を前記不良ディスク
ブロックの代替後に書き込むことを特徴とする交換シス
テムにおける不良ディスクブロック代替方式。
1. An external storage device of a maintenance operation device is set to 0.
Disk block replacement in a switching system having dual system 1 and 2 system disk devices, an input / output control device for accessing the disk, and a disk block replacement device that replaces the defective block of each disk device In the method, if a defective disk block alternative control device is provided between the maintenance operation device and the input / output control device, and a defective disk block is accessed during writing from the maintenance operation device to one of the disk devices, This defective disk block is immediately replaced and rewritten, and if the defective disk block is accessed during reading, the contents read from the block of the same address of the disk device of the opposite system are replaced after replacement of the defective disk block. Defective switching system characterized by writing I disk block alternative method.
JP24533191A 1991-09-25 1991-09-25 Defective disk block substitution system for exchange system Pending JPH0580950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24533191A JPH0580950A (en) 1991-09-25 1991-09-25 Defective disk block substitution system for exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24533191A JPH0580950A (en) 1991-09-25 1991-09-25 Defective disk block substitution system for exchange system

Publications (1)

Publication Number Publication Date
JPH0580950A true JPH0580950A (en) 1993-04-02

Family

ID=17132077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24533191A Pending JPH0580950A (en) 1991-09-25 1991-09-25 Defective disk block substitution system for exchange system

Country Status (1)

Country Link
JP (1) JPH0580950A (en)

Similar Documents

Publication Publication Date Title
JP4422016B2 (en) Method and apparatus for creating a virtual data copy
JPH04205519A (en) Writing method of data under restoration
JPH1031610A (en) Data recovery device and method for database
JP2001134487A (en) Disk array device
JPH0580950A (en) Defective disk block substitution system for exchange system
JPH03111928A (en) Substitutive system for storage device
JP3090182B2 (en) Alternative sector registration method
JPH0293721A (en) Copying and transferring system for magnetic disk device
JPH02278572A (en) Alternative block processing system
JPH07319637A (en) Controller and control method for disk device
JPH1166693A (en) Array disk processing device
JP2001175422A (en) Disk array device
JPH0235537A (en) Multiple volume update control system
JPH07239759A (en) Backup device and method for disk array device
JPH0442462A (en) Magnetic disk subsystem
JPS6326406B2 (en)
JPS61127026A (en) Optical disk controller
JPH02197938A (en) Restoring system for draw type optical disk directory
JP2861846B2 (en) Magnetic disk control system
JPS6374170A (en) Control system for magnetic disk
JPH05204560A (en) Magnetic disk device and its data restoring method
JPH0588988A (en) Disk array device and method for restoring data
JP2000235458A (en) Auxiliary storage device and information processor mounted with the auxiliary storage device
JPH05181613A (en) Information processor
JPH0619532A (en) Data backup system