JPH03271923A - Magnetic disk device with measures for fault control - Google Patents

Magnetic disk device with measures for fault control

Info

Publication number
JPH03271923A
JPH03271923A JP2072450A JP7245090A JPH03271923A JP H03271923 A JPH03271923 A JP H03271923A JP 2072450 A JP2072450 A JP 2072450A JP 7245090 A JP7245090 A JP 7245090A JP H03271923 A JPH03271923 A JP H03271923A
Authority
JP
Japan
Prior art keywords
failure
disk
fault
control unit
unit
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
JP2072450A
Other languages
Japanese (ja)
Inventor
Naomi Shirai
白井 直美
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 JP2072450A priority Critical patent/JPH03271923A/en
Publication of JPH03271923A publication Critical patent/JPH03271923A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To minimize the interruption of a system and the destruction of data at the time of the occurrence of a fault by providing two magnetic disks as recording mediums in a magnetic disk device and performing the automatic backup processing and the automatic switching processing in the case of the occurrence of the fault. CONSTITUTION:This device is provided with a recording part 1-1 including two magnetic disks of a master disk and a subdisk, a fault condition detecting part 1-2, and a switching control part 1-3 in fault which receives the fault information determining the access method for the recording part 1-1. Normally, the data is read out from the master disk and is equally written on the master disk and the subdisk. If I/O error occurs in the master disk, the automatic switching processing is performed by the switching control part 1-3 in fault so that the data is read out form and written in only the subdisk. Thus, the interruption of the system operation and the destruction of the data are minimized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本装置は、磁気ディスクを主要記録媒体として使用スる
コンピュータシステムにおいて、磁気ディスク装置の障
害発生に対し、磁気ディスク装置内に記録媒体として2
つの磁気ディスクを持つ磁気ディスク装置に関する。
Detailed Description of the Invention [Field of Industrial Application] In a computer system that uses a magnetic disk as the main recording medium, this device is designed to prevent the occurrence of a failure in the magnetic disk device by resetting the magnetic disk device as a recording medium.
The present invention relates to a magnetic disk device having two magnetic disks.

〔従来の技術〕[Conventional technology]

従来、この種の磁気ディスク装置は記録媒体として磁気
ディスクを1つ備えている。この磁気ディスク装置で記
録部分のエラーやヘッドクラッシュによってデータの破
壊が発生した場合、磁気ディスク装置に対し、障害対応
処置を行い、データの復元作業となる。データの復元は
通常、別記録装置または媒体に定期的にデータをコピー
してバックアップデータとして保存しておき、そのバッ
クアップからのコピーを行いデータの復元を行っていた
Conventionally, this type of magnetic disk device is equipped with one magnetic disk as a recording medium. If data is destroyed in this magnetic disk device due to an error in the recording section or a head crash, troubleshooting measures are taken for the magnetic disk device to restore the data. Normally, data is restored by periodically copying data to a separate recording device or medium and saving it as backup data, and then copying from the backup to restore the data.

〔発明が解決しようとする課題」 上述した従来の磁気ディスク装置では、記録部分のエラ
ーやベツドクラッシュが発生した場合、システム運用の
中断が発生し、障害対応処置が終了しなければシステム
の運用を展開をするのが困難であり、また障害対応処置
は、装置交換及びバックアップからのデータ復元が必要
なため、対応に時間がかかってしまい、システム運用の
中断時間が長くなるという欠点がある。
[Problem to be Solved by the Invention] In the conventional magnetic disk drive described above, when an error in the recording section or a bed crash occurs, system operation is interrupted, and system operation cannot be continued unless troubleshooting measures are completed. It is difficult to deploy, and troubleshooting requires replacing equipment and restoring data from backups, so it takes time to deal with failures, resulting in longer system operation interruptions.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の障害対応処理付き磁気ディスク装置は、マスタ
ディスクとサブディスクとの2つの磁気ディスクを含ん
だ記録部と、前記記録部の入出力エラー及びハードウェ
ア障害発生時の情報を受け取り情報の解析を行う障害状
況検出部と、前記障害状況検出部からの情報を受け取り
前記記録部へのアクセス方法を決定する障害時切換制御
部と、前記障害状況検出部から情報を受け取り、外部の
操作指示入力装置からの情報とシステム立ち上げ時の情
報とから前記記録部のマスタディスクとサブディスクと
の間のコピーが必要かどうかを決定するコピー制御部と
、CPUからの入出力命令と前記障害時切換制御部から
の情報と前記コピー制御部からの情報とを受け取り、前
記記録部へのアクセスを行う入出力制御部と、障害状況
の出力及び操作指示の出力が行われる障害状況出力装置
とを備えて構成されている。
A magnetic disk device with failure handling processing according to the present invention includes a recording unit including two magnetic disks, a master disk and a sub disk, and receives information on input/output errors and hardware failures of the recording unit and analyzes the information. a failure situation detection unit that receives information from the failure situation detection unit and determines an access method to the recording unit; and a failure switching control unit that receives information from the failure situation detection unit and inputs an external operation instruction. a copy control unit that determines whether copying between the master disk and sub disk of the recording unit is necessary based on information from the device and information at the time of system startup; and an input/output command from the CPU and switching at the time of failure. An input/output control unit that receives information from a control unit and information from the copy control unit and accesses the recording unit, and a failure status output device that outputs failure status and operation instructions. It is composed of

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図に示すように、本装置は、実データの記録が行わ
れる記録部1−3と、記録部での障害を検出する障害状
況検出部1−2と、その障害状況から記録部へのアクセ
ス方法の指示を行う障害時切換制御部1−3と、コピー
処理の指示を行うコピー制御部1−4と、記録部に対し
実際のデータ入出力を実行する入出力制御部1−5およ
び障害状況出力装置1−6と、操作指示入力装置1−7
とから構成される。
As shown in FIG. 1, this device includes a recording section 1-3 in which actual data is recorded, a fault condition detection section 1-2 that detects a fault in the recording section, and a fault state detecting section 1-2 that detects a fault in the recording section. a failure switching control unit 1-3 that instructs the access method of the data storage unit, a copy control unit 1-4 that instructs copy processing, and an input/output control unit 1-5 that executes actual data input/output to the recording unit. and a failure status output device 1-6, and an operation instruction input device 1-7.
It consists of

入出力制御部1−5は、CPUからの入出力命令を受け
取り、記録部1−1に対して、入力命令であればマスタ
ディスクのみ、出力命令であればマスタディスク、サブ
ディスク両方にアクセスを行う。このアクセスを行った
際に入出力エラーが発生した場合、障害状況検出部1−
2でエラー状況の解析を行い、その結果を障害状況出力
装置1−6に出力すると同時に、記録部1−1へのアク
セス方法の切り換えが必要であれば障害時切換制御部1
−3に指示を出し、マスタディスクとサブディスクの内
容に相違がある場合は、コピー制御部1−4に指示を出
す。障害状況検出部1−2から各ディスクの情報を受け
取った障害切換制御部1−3は、ディスク2台への入出
力を行うか、または、マスタディスクのみ、サブディス
クのみの入出力とするかどうかの指示を入出力制御部1
−5に通知する。
The input/output control unit 1-5 receives input/output commands from the CPU, and instructs the recording unit 1-1 to access only the master disk if the command is an input command, or to both the master disk and sub disks if the command is an output command. conduct. If an input/output error occurs when performing this access, the failure status detection unit 1-
2 analyzes the error situation and outputs the result to the failure status output device 1-6. At the same time, if it is necessary to switch the access method to the recording unit 1-1, the failure switching control unit 1
-3, and if there is a difference between the contents of the master disk and the sub disk, an instruction is issued to the copy control unit 1-4. The failure switching control unit 1-3, which has received information about each disk from the failure status detection unit 1-2, determines whether to perform input/output to two disks, or only to the master disk or only to the sub disk. Input/output control unit 1
-Notify 5.

また、障害状況検出部1−2からマスタディスクとサブ
ディスクの内容に相違があるという情報を受け取ったコ
ピー制御部1−4は、マスタディスクからサブディスク
へのコピーと、サブディスクからマスタディスクへのコ
ピーのどちらを行うか決定し、システム立ち上げ直後ま
たは操作指示入力装置1−7からの指示により、入出力
制御部1−5にコピー指示を出し、コピー処理の制御を
行う。
In addition, the copy control unit 1-4 receives information from the failure status detection unit 1-2 that there is a difference between the contents of the master disk and the subdisk, and performs copying from the master disk to the subdisk and copying from the subdisk to the master disk. Immediately after the system is started up or by an instruction from the operation instruction input device 1-7, a copy instruction is issued to the input/output control section 1-5 to control the copy processing.

次に、具体例を以下に示す。Next, a specific example will be shown below.

磁気ディスク装置に対するIloは、磁気ディスク装置
に何も異常がない場合、データの読出しはマスタディス
クのみから行い、データの書込みはマスタディスク、サ
ブディスクに同じように書き込みをする。
Ilo for a magnetic disk device is that if there is no abnormality in the magnetic disk device, data is read only from the master disk, and data is written to the master disk and sub disks in the same way.

上記の状態において、マスタディスク上のデータと、サ
ブディスク上のデータは全く同一のものとなっている。
In the above state, the data on the master disk and the data on the sub disk are exactly the same.

業務処理中、マスタディスクに■10′エラーが発生し
た場合、エラーの状態が障害状況検出部で検出され、障
害状況出力装置にマスタディスク異常の表示を行う。ま
た、この時、障害時切換制御部により、読出し、書込み
ともにサブディスクのみの運用に自動的に切換えが行わ
れ、処理を続行することができる。
If a (10') error occurs in the master disk during business processing, the error state is detected by the failure status detection unit, and a master disk abnormality is displayed on the failure status output device. Furthermore, at this time, the fault switching control unit automatically switches to operating only the subdisk for both reading and writing, allowing processing to continue.

業務終了後、磁気ディスク装置内のマスタディスクを交
換し、再度電源を投入すると操作指示入力装置にサブデ
ィスクからマスタディスクにコピー中という表示が行わ
れ、サブディスクのデータがマスタディスクに強制的に
コピーされる。そして、コピー処理終了後、正常時動作
となる。サブディスク上にI10エラーが発生した場合
も同様の動作となる。
When the master disk in the magnetic disk unit is replaced after the work is completed and the power is turned on again, a message indicating that the subdisk is being copied to the master disk is displayed on the operation instruction input device, and the data on the subdisk is forcibly transferred to the master disk. Copied. After the copy processing is completed, normal operation resumes. A similar operation occurs when an I10 error occurs on a subdisk.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、磁気ディスク装置内に
記録媒体として磁気ディスクを2つ備え、自動的なバッ
クアップ処理及び障害発生時の自動的な切り換え処理を
行うことによって、障害発生時のシステムの中断及びデ
ータの破壊を最少限にし、また障害対応処置を業務時間
外に行うことができ、データの復元も容易とするという
効果がある。
As explained above, the present invention provides two magnetic disks as recording media in a magnetic disk device, and performs automatic backup processing and automatic switching processing when a failure occurs, thereby improving the system in the event of a failure. This has the effect of minimizing interruptions and data destruction, allowing troubleshooting to be carried out outside business hours, and facilitating data restoration.

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

第1図は本発明の一実施例のブロック図である。 1−1・・・・・・記録部、1−2・・・・・・障害状
況検出部、1−3・・・・・・障害時切換制御部、1−
4・・・・・・障害状況検出部、1−5・・・・・・入
出力制御部、1−6・・・・・・障害状況出力装置、1
−7・・・・・・障害状況入力装置。
FIG. 1 is a block diagram of one embodiment of the present invention. 1-1...Recording unit, 1-2...Failure situation detection unit, 1-3...Failure switching control unit, 1-
4...fault status detection unit, 1-5...input/output control unit, 1-6...fault status output device, 1
-7...Fault situation input device.

Claims (1)

【特許請求の範囲】[Claims] マスタディスクとサブディスクとの2つの磁気ディスク
を含んだ記録部と、前記記録部の入出力エラー及びハー
ドウェア障害発生時の情報を受け取り情報の解析を行う
障害状況検出部と、前記障害状況検出部からの情報を受
け取り前記記録部へのアクセス方法を決定する障害時切
換制御部と、前記障害状況検出部から情報を受け取り、
外部の操作指示入力装置からの情報とシステム立ち上げ
時の情報とから前記記録部のマスタディスクとサブディ
スクとの間のコピーが必要かどうかを決定するコピー制
御部と、CPUからの入出力命令と前記障害時切換制御
部からの情報と前記コピー制御部からの情報とを受け取
り、前記記録部へのアクセスを行う入出力制御部と、障
害状況の出力及び操作指示の出力が行われる障害状況出
力装置とを備えたことを特徴とする障害対応処理付き磁
気ディスク装置。
a recording unit including two magnetic disks, a master disk and a sub-disk; a failure status detection unit that receives information on input/output errors and hardware failures of the recording unit and analyzes the information; and the failure status detection unit. a failure switching control unit that receives information from the storage unit and determines an access method to the recording unit; and a failure state detection unit that receives information from the failure status detection unit;
a copy control unit that determines whether copying between the master disk and sub disk of the recording unit is necessary based on information from an external operation instruction input device and information at system startup; and input/output commands from the CPU. an input/output control unit that receives information from the failure switching control unit and information from the copy control unit and accesses the recording unit; and a failure status that outputs a failure status and an operation instruction. What is claimed is: 1. A magnetic disk device with failure handling processing, characterized by comprising an output device.
JP2072450A 1990-03-20 1990-03-20 Magnetic disk device with measures for fault control Pending JPH03271923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2072450A JPH03271923A (en) 1990-03-20 1990-03-20 Magnetic disk device with measures for fault control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2072450A JPH03271923A (en) 1990-03-20 1990-03-20 Magnetic disk device with measures for fault control

Publications (1)

Publication Number Publication Date
JPH03271923A true JPH03271923A (en) 1991-12-03

Family

ID=13489648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2072450A Pending JPH03271923A (en) 1990-03-20 1990-03-20 Magnetic disk device with measures for fault control

Country Status (1)

Country Link
JP (1) JPH03271923A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619032U (en) * 1992-08-18 1994-03-11 横河電機株式会社 Redundant magnetic disk unit
JPH06208438A (en) * 1992-09-02 1994-07-26 Man Roland Druckmas Ag Computer for control station of machine
US5611069A (en) * 1993-11-05 1997-03-11 Fujitsu Limited Disk array apparatus which predicts errors using mirror disks that can be accessed in parallel

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619032U (en) * 1992-08-18 1994-03-11 横河電機株式会社 Redundant magnetic disk unit
JPH06208438A (en) * 1992-09-02 1994-07-26 Man Roland Druckmas Ag Computer for control station of machine
US5611069A (en) * 1993-11-05 1997-03-11 Fujitsu Limited Disk array apparatus which predicts errors using mirror disks that can be accessed in parallel

Similar Documents

Publication Publication Date Title
JP4415610B2 (en) System switching method, replica creation method, and disk device
WO1992005495A1 (en) Input/output controller
JPH03271923A (en) Magnetic disk device with measures for fault control
JPH03294942A (en) File backup system and information copying system
JP3120769B2 (en) Disk array device and control method therefor
JPH06124169A (en) Duplex systematized optical disk device and automatic i/o error restoring method
JP4358943B2 (en) Automatic backup system and recording medium recording automatic backup program
JPH1040022A (en) Magnetic disk controller
JPH04291618A (en) Duplexed disk control system
JP2830840B2 (en) Disk array repair processing method and method
JPS6160154A (en) Control system for access to memory
JP3139545B2 (en) Duplex recording / reproducing apparatus, method for solving the problem and medium recording the program for solving the problem
JPH05108277A (en) Data restoring means for disk array subsystem
JP2624106B2 (en) Automatic verification method of backup file in exchange system
JPH0588988A (en) Disk array device and method for restoring data
JPH07141240A (en) Fault recovery system for doubled media
JPH07281965A (en) Input/output controller
JPH07281966A (en) Array type storage system
JP2000020249A (en) Data protecting method of disk device, disk device, and recording medium
JPH113289A (en) Automatic disk fault restoration device and restoration method
JPH10289065A (en) Disk array controller
JPH0395634A (en) Restart control system for computer system
JPH04310671A (en) Disk controller
JPS63193381A (en) File storage controlling system
JPH08234930A (en) Magnetic disk array maintenance system