JPS62182955A - I/O failure recovery processing method - Google Patents
I/O failure recovery processing methodInfo
- Publication number
- JPS62182955A JPS62182955A JP61023783A JP2378386A JPS62182955A JP S62182955 A JPS62182955 A JP S62182955A JP 61023783 A JP61023783 A JP 61023783A JP 2378386 A JP2378386 A JP 2378386A JP S62182955 A JPS62182955 A JP S62182955A
- Authority
- JP
- Japan
- Prior art keywords
- recovery
- failure
- data
- direct access
- access device
- 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
Landscapes
- Debugging And Monitoring (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、入出力障害回復装置式に関し、特に電子計算
機システムにおける直接アクセス装置の媒体系障害発生
時の回復を確実かつ迅速に処理する入出力障害回復処理
方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an input/output failure recovery system, and in particular to an input/output failure recovery system for reliably and quickly recovering when a media failure occurs in a direct access device in a computer system. This relates to a recovery processing method.
近時は磁気ディスクに代表される直接アクセス装置の大
容量化に伴ない、障害発生時の切分け、回復時間の増大
が問題となってきた。In recent years, with the increase in the capacity of direct access devices such as magnetic disks, problems have arisen in terms of isolation and recovery time when failures occur.
従来、大容量の直接アクセス装置の障害発生時には、障
害の切分けを行なわず、無条件に装置を交換することが
一般的であった。このため従来は装置交換後にデータチ
ェックを行なうことになり、かえって障害回復時間の増
大を招いていた。Conventionally, when a failure occurs in a large-capacity direct access device, it has been common to unconditionally replace the device without attempting to isolate the failure. For this reason, in the past, data had to be checked after replacing the device, which resulted in an increase in failure recovery time.
この問題に関しては、例えば特開昭60−10328号
公報に記載されたものがある。Regarding this problem, there is a method described in, for example, Japanese Patent Laid-Open No. 10328/1983.
すなわち、この方式は、磁気ディスク等の直接アクセス
装置に障害が発生した場合に装置系か媒体系の障害かを
切分けることによって、診断のための時間を節減する優
秀な発明である。That is, this method is an excellent invention that, when a failure occurs in a direct access device such as a magnetic disk, saves time for diagnosis by determining whether the failure is in the device system or the media system.
しかし、この方式はあくまでも、障害部位の切分は時間
と労力節減の処理方式に関するものであリ、切分は後の
データ回復時間と労力節減に配慮るものではなかった。However, this method is only concerned with a processing method that saves time and effort in isolating the faulty part, and does not take into account later data recovery time and effort.
本発明の目的は、このような従来の問題を改善し、直接
アクセス装置の障害発生時に媒体系障害を検出した後は
、当該障害に係わる部分のデータのみを回復して、当該
直接アクセス装置の障害回復時間の短縮をするに好適な
入出力障害回復処理方式を提供することにある。An object of the present invention is to improve such conventional problems, and after detecting a media system failure when a failure occurs in a direct access device, to recover only the data related to the failure, and to recover from the failure of the direct access device. An object of the present invention is to provide an input/output failure recovery processing method suitable for reducing time.
以上の目的を達成するため1本発明の入出力障害回復処
理方式は、処理装置と磁気ディスク等の直接アクセス装
置と該直接アクセス装置の媒体系障害時のデータ回復用
装置とを具備した電子計算機システムにおいて、前記直
接アクセス装置の媒体系障害発生時にアドレス情報を記
録する障害アドレス情報ファイルと、回復データを直接
アクセス装置のどのエリアに格納すべきかを示したイン
デックスファイルを設け、前記直接アクセス装置の媒体
系障害発生後のデータ回復時には、前記障害アドレス情
報ファイルと前記インデックスファイルトの内容を比較
して、当該障害に係わるデータのみ転送・回復すること
に特徴がある。In order to achieve the above objects, the input/output failure recovery processing method of the present invention is applied to an electronic computer system comprising a processing unit, a direct access device such as a magnetic disk, and a data recovery device in the event of a media system failure of the direct access device. , a failure address information file for recording address information when a media system failure occurs in the direct access device, and an index file indicating in which area of the direct access device the recovery data should be stored, are provided; At the time of data recovery, the contents of the fault address information file and the index file are compared, and only the data related to the fault is transferred and recovered.
以下、本発明の実施例を図面により詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示す入出力障害回復処理方
式のシステム構成図である。FIG. 1 is a system configuration diagram of an input/output failure recovery processing method showing an embodiment of the present invention.
同図において、10は処理装置、20は磁気ディスク装
置(以下、DKという)、25は磁気ディスク制御装置
、30はDK20上の障害アドレスを記録する障害アド
レス情報ファイル、40は回復用データを格納したフレ
キシブルディスク装置(以下、FDという)、45はフ
レキシブルディスク制御装置、50は回復データ51を
DK20のどのエリアに格納すべきかを記録したインデ
ックスファイル、60は障害発生時に媒体系障害か装置
系障害かを検出するDK障害処理部、7oはFDに格納
されている回復用データ51をDK2に転送してDK2
のデータを回復するFD/DK回復処理部である。In the figure, 10 is a processing unit, 20 is a magnetic disk device (hereinafter referred to as DK), 25 is a magnetic disk control device, 30 is a failure address information file that records failure addresses on the DK 20, and 40 is a storage for recovery data. a flexible disk device (hereinafter referred to as FD), 45 is a flexible disk control device, 50 is an index file that records in which area of the DK 20 the recovery data 51 should be stored, and 60 is a media system failure or device system failure when a failure occurs. The DK failure processing unit 7o, which detects the problem, transfers recovery data 51 stored in the FD to the DK2.
This is an FD/DK recovery processing unit that recovers data.
すなわち、本発明が適用されるシステムは、処理装置1
0が磁気ディスク制御装置25を介して磁気ディスク装
置20にアクセスする計算機システムであるが、内部に
媒体系障害に備えて、DK障害処理部60とFD/DK
回復処理部70を具備した電子計算機システムである。That is, the system to which the present invention is applied includes a processing device 1
0 is a computer system that accesses the magnetic disk device 20 via the magnetic disk control device 25, but in preparation for a media system failure, there is a DK failure processing unit 60 and an FD/DK internally installed.
This is an electronic computer system equipped with a recovery processing section 70.
次に、本発明による障害回復処理について第1図により
概観しておく。Next, the failure recovery process according to the present invention will be overviewed with reference to FIG.
直接アクセス装置たるDK20内に障害アドレス記録す
る障害アドレス情報ファイル30を設け、障害部位切分
けの結果媒体系の障害と判断した場合は、DK障害処理
部60により第2図に示すように、この障害アドレス情
報ファイル30に障害アドレスを記録しておく。A fault address information file 30 for recording fault addresses is provided in the DK 20, which is a direct access device, and if it is determined that the fault is in the media system as a result of fault isolation, the DK fault processing unit 60 will detect the fault as shown in FIG. The faulty address is recorded in the address information file 30.
他方、回復用装置たるFD40には回復データをDK2
0のどのエリアに格納すべきかが示されているインデッ
クスファイルを具備しておく。On the other hand, the recovery data is stored on the FD40, which is a recovery device, on the DK2.
An index file indicating which area of 0 should be stored is provided.
障害回復処理の段階では、FD/DK回復処理部70は
、回復用装置たるFD40から回復データ51を読込む
前に障害アドレス情報を読込んでおく。At the stage of failure recovery processing, the FD/DK recovery processing unit 70 reads failure address information before reading recovery data 51 from the FD 40, which is a recovery device.
次に、F D/D K回復処理部70は、インデックス
ファイル50の内容と、障害アドレス情報ファイル30
の内容とを比較し、回復の必要なデータのみを回復用装
置たるFD40から直接アクセス装置たるDK20に転
送する。Next, the FD/DK recovery processing unit 70 stores the contents of the index file 50 and the failed address information file 30.
, and only the data that needs to be recovered is transferred from the FD 40, which is a recovery device, to the DK 20, which is a direct access device.
本発明はこのようにして不必要なリード/ライト回数を
減少させ回復時間の短縮を図るものである。In this way, the present invention aims to reduce the number of unnecessary reads/writes and shorten the recovery time.
第3図はFDのインデックスエリア50の内容とDKデ
ータエリア32との対応関係を示す図である。FIG. 3 is a diagram showing the correspondence between the contents of the index area 50 of the FD and the DK data area 32.
当該FDに書込まれている回復データ51がDKデータ
エリア32のどのアドレスに格納されるべきかがインデ
クスエリア50に書込まれる。The address in the DK data area 32 at which the recovery data 51 written on the FD should be stored is written in the index area 50.
すなわち、インデックスエリア50は、当該FD2内の
回復用データ51をDK2のデータエリア32のどのエ
リアに格納すべきかを示すため。That is, the index area 50 is used to indicate in which area of the data area 32 of the DK 2 the recovery data 51 in the FD 2 should be stored.
DK2のデータエリア32中の先頭アドレスと最終アド
レスがFD内のインデックスファイル40に記録したも
のであり、DKデータエリア32と同一フォーマットで
回復データが書込まれているものとする。It is assumed that the first address and the last address in the data area 32 of the DK2 are those recorded in the index file 40 in the FD, and that the recovery data is written in the same format as the DK data area 32.
なお、FDからの回復が不必要なエリアについては、イ
ンデックスファイルに、DKデータエリア32のアドレ
スのみで回復データエリア51のアドレスの書込み省略
してもよい(同図のエリアC)。Note that for areas that do not require recovery from the FD, writing of the address of the recovery data area 51 may be omitted in the index file with only the address of the DK data area 32 (area C in the figure).
第4図はF D/D K回復処理部70の処理の流れを
PAD記法で示した図である。FIG. 4 is a diagram showing the processing flow of the F D/D K recovery processing unit 70 in PAD notation.
以下、同図により処理動作を説明する。The processing operation will be explained below with reference to the same figure.
DK20に障害が発生すると、DK障害処理部60で、
媒体系障害か、装置系障害かの切分けを行なう。このD
K障害処理部60による障害の切分けは、前述した特開
昭60−10328号広報記載の入出力障害切分は処理
方式を利用したものである。すなわち、障害発生時には
他の配下磁気ディスクにアクセスして、正常にアクセス
できる場合には、媒体系障害とし、アクセス不能の場合
には、装置系障害と判断する方式ある。When a failure occurs in the DK 20, the DK failure processing unit 60
Isolate whether it is a media-related failure or a device-related failure. This D
Fault isolation by the K fault processing section 60 utilizes the input/output fault isolation processing method described in the aforementioned Japanese Patent Laid-Open Publication No. 10328/1983. That is, when a failure occurs, there is a method in which other subordinate magnetic disks are accessed, and if access is possible normally, it is determined to be a media system failure, and if access is not possible, it is determined to be a device system failure.
切分けの結果、装置系障害であれば、DK障害処理部6
0により制御装置の交換要求を表示する。If the result of isolation is a device-related failure, the DK failure processing unit 6
0 indicates a control device replacement request.
この場合誤って、DKドライブの交換までを行なわない
ようにすれば、回復時間は特に問題とはならない。In this case, if you do not accidentally replace the DK drive, the recovery time will not be a problem.
他方、媒体系障害であれば、DK障害処理部60は第2
図に示すように、障害アドレス情報ファイル30に障害
アドレスを書込み、上位プロゲラ後、または即時システ
ムを停止させ、DKデータファイル32の回復をオペレ
ータに要求する。On the other hand, if it is a media-related failure, the DK failure processing unit 60
As shown in the figure, the faulty address is written in the faulty address information file 30, the system is stopped after the upper programmer or immediately, and the operator is requested to recover the DK data file 32.
オペレータが、回復用FD40を計算機システムにセッ
トすると、F D/D K回復処理部70が第4図に示
す順で回復処理を行なう。When the operator sets the recovery FD 40 in the computer system, the FD/DK recovery processing unit 70 performs recovery processing in the order shown in FIG.
先ず、F D/D K回復処理部70は、DK内の障害
アドレス情報ファイル30を読込み、回復の必要なアド
レスを記憶する(ステップ4o1)。First, the FD/DK recovery processing unit 70 reads the failed address information file 30 in the DK and stores addresses that require recovery (step 4o1).
次に、F D/D K回復処理部70は、セットされた
回復用FD40に書込まれている回復データ51による
回復処理の必要性をインデックスファイル50の示すD
Kアドレスがステップ401で記憶した障害アドレスを
含むかによりチェックする(ステップ403,405)
。Next, the FD/DK recovery processing unit 70 determines the necessity of recovery processing based on the recovery data 51 written in the set recovery FD 40 based on the D data indicated by the index file 50.
Check whether the K address includes the faulty address stored in step 401 (steps 403, 405).
.
障害アドレスが含まれており回復が必要な場合。If it contains a failed address and requires recovery.
F D/D K回復処理部70は、インデックスファイ
ルの内容に従ってFDの回復データ51を読込み、つい
でDKに書込む(ステップ406)。The FD/DK recovery processing unit 70 reads the FD recovery data 51 according to the contents of the index file, and then writes it to the DK (step 406).
正常に香込めた場合には、F D/D K回復処理部7
0は、障害アドレス情報ファイル30上の回復されたア
ドレスを消去する(ステップ407)。If the fragrance is infused normally, the FD/DK recovery processing section 7
0 erases the recovered address on the failed address information file 30 (step 407).
回復の必要がなければ、インデックスファイル1つ進め
て次のファイルについて同一処理を繰返す(ステップ4
08)。以上の動作を回復用の全FDの処理が終了する
まで、繰返す(ステップ402.409)。If recovery is not necessary, advance one index file and repeat the same process for the next file (step 4).
08). The above operations are repeated until the processing of all recovery FDs is completed (steps 402 and 409).
このようにして、本実施例によれば、不必要なFD読込
みやFD書込みを回避でき回復時間の短縮が実現できる
。In this way, according to this embodiment, unnecessary FD reading and FD writing can be avoided and recovery time can be shortened.
なお、本実施例においては、ファイル単位で回復の要否
判定を行なったが、これをセクタ単位で判定すれば、さ
らに回復時間を短縮できる。In this embodiment, the necessity of recovery is determined on a file-by-file basis, but if this is determined on a sector-by-sector basis, the recovery time can be further shortened.
また、回復用FDのインデクスフアイル50をDK20
内に記憶しておくことにより、障害発生時上位プロゲラ
で回復要求を行なうだけではなく、障害アドレスとイン
デックスファイルの内容から、どの回復用FDを準備す
べきかを表示させることができ、更に回復時間の短縮化
が可能である。Also, copy the index file 50 of the recovery FD to DK20.
By storing this information in the memory, not only can the upper programmer make a recovery request when a failure occurs, but it can also display which recovery floppy disk to prepare based on the failure address and the contents of the index file, and further reduce the recovery time. can be shortened.
以上説明したように、本発明によれば、直接アクセス装
置の媒体系障害回復処理において、不必要なデータの転
送を行なうことなく、必要部位のみの回復を行なうこと
ができ障害回復時間の短縮化が実現できる。As explained above, according to the present invention, in the media failure recovery process of a direct access device, only the necessary parts can be recovered without transferring unnecessary data, and the failure recovery time can be shortened. realizable.
第1図は本発明の一実施例を示す入出力障害処理のシス
テム構成図、第2図は第1図の障害アドレス情報ファイ
ルの構造図、第3図は第1図のFD/DK回復処理部の
処理手順をPAD記法で示し10:処理装置、20二磁
気デイスク装置(DK)、25:磁気ディスク制御装置
、3o:障害アドレス情報ファイル、31:保守エリア
、32:DKデータエリア、40:フレキシブルディス
ク装置(F D)、45:フレキシブルディスク制御装
置、50:インデックスファイル、51:回復データ、
60:DK障害処理部、70 : FD/DK回復処理
部。
第 1 図
第 2 図
第3図
第 牛 図Figure 1 is a system configuration diagram of input/output failure processing showing an embodiment of the present invention, Figure 2 is a structural diagram of the failure address information file of Figure 1, and Figure 3 is the FD/DK recovery process of Figure 1. The processing procedure of the section is shown in PAD notation. 10: Processing device, 20 2 Magnetic disk device (DK), 25: Magnetic disk control device, 3o: Fault address information file, 31: Maintenance area, 32: DK data area, 40: Flexible disk device (FD), 45: Flexible disk control device, 50: Index file, 51: Recovery data,
60: DK failure processing section; 70: FD/DK recovery processing section. Figure 1 Figure 2 Figure 3 Cow Figure
Claims (1)
該直接アクセス装置の媒体系障害時のデータ回復用装置
とを具備した電子計算機システムにおいて、前記直接ア
クセス装置の媒体系障害発生時に障害アドレスを記録す
る障害アドレス情報ファイルと、回復データを前記直接
アクセス装置のどのエリアに格納すべきかを示したイン
デックスファイルを設け、前記直接アクセス装置の媒体
系障害発生後のデータ回復時には、前記障害アドレス情
報ファイルと前記インデックスファイルとの内容を比較
して、当該障害に係わる部分のデータのみ転送・回復す
ることを特徴とする入出力障害回復装置。(1) In a computer system equipped with a processing unit, a direct access device such as a magnetic disk, and a data recovery device in the event of a media system failure of the direct access device, a fault is recorded in which a failure address is recorded when a media system failure occurs in the direct access device. An address information file and an index file indicating in which area of the direct access device the recovery data should be stored are provided, and when data is recovered after a media failure occurs in the direct access device, the failed address information file and the index file are stored. 1. An input/output failure recovery device that compares the contents of the data and transfers and recovers only the data related to the failure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61023783A JPS62182955A (en) | 1986-02-07 | 1986-02-07 | I/O failure recovery processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61023783A JPS62182955A (en) | 1986-02-07 | 1986-02-07 | I/O failure recovery processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62182955A true JPS62182955A (en) | 1987-08-11 |
Family
ID=12119921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61023783A Pending JPS62182955A (en) | 1986-02-07 | 1986-02-07 | I/O failure recovery processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62182955A (en) |
-
1986
- 1986-02-07 JP JP61023783A patent/JPS62182955A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7120768B2 (en) | Snapshot acquisition method, storage system and disk apparatus | |
JP3561002B2 (en) | Disk unit | |
JP2679715B2 (en) | Data transfer method | |
JPH06250906A (en) | Backup/recovery system for data developed in main storage device | |
JP4225378B2 (en) | Replication apparatus, replication method, replication program, block identification information acquisition program, and recording medium | |
US7441091B2 (en) | Storage control device and storage control method | |
JPH06139027A (en) | Disk driver, disk array device, data storage system, and data backup method for disk array system | |
JP2001125815A (en) | Backup data management system | |
US6754680B1 (en) | Data control equipment, method to control data and recording medium to record data control procedure | |
JPS62182955A (en) | I/O failure recovery processing method | |
JP3845239B2 (en) | Disk array device and failure recovery method in disk array device | |
JP3043662B2 (en) | Data backup method | |
JPH06309209A (en) | File backup system | |
JP3794322B2 (en) | Data copy system | |
JPH02278572A (en) | Alternative block processing system | |
JPH01130243A (en) | Fault recovering system for storage device | |
JP3428482B2 (en) | File save system, apparatus and method, and recording medium | |
JPH06242888A (en) | Disk array device, computer system and data storage device | |
JPS62194557A (en) | File trouble recovery system | |
JPH07239759A (en) | Backup device and method for disk array device | |
JP2004213684A (en) | Semiconductor disk drive | |
US20070260816A1 (en) | RAID management apparatus, RAID management method, and computer product | |
JPH03241441A (en) | Local file duplex device | |
JPS63262737A (en) | Database update record processing method | |
JP2656499B2 (en) | Computer system |