JP3016971B2 - File system - Google Patents

File system

Info

Publication number
JP3016971B2
JP3016971B2 JP4259173A JP25917392A JP3016971B2 JP 3016971 B2 JP3016971 B2 JP 3016971B2 JP 4259173 A JP4259173 A JP 4259173A JP 25917392 A JP25917392 A JP 25917392A JP 3016971 B2 JP3016971 B2 JP 3016971B2
Authority
JP
Japan
Prior art keywords
disk device
file
access
management means
failure
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.)
Expired - Lifetime
Application number
JP4259173A
Other languages
Japanese (ja)
Other versions
JPH06110618A (en
Inventor
秀樹 那須
尚子 佐藤
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 JP4259173A priority Critical patent/JP3016971B2/en
Publication of JPH06110618A publication Critical patent/JPH06110618A/en
Application granted granted Critical
Publication of JP3016971B2 publication Critical patent/JP3016971B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、計算機のファイルシス
テムに関し、特にディスク装置の障害時にユーザプログ
ラムの処理を中断せずに障害ディスク装置の復旧を可能
にする自動バックアップ/リカバリ手段を有するファイ
ルシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file system of a computer, and more particularly to a file system having an automatic backup / recovery means for recovering a failed disk device without interrupting the processing of a user program when the disk device fails. About.

【0002】[0002]

【従来の技術】従来のファイルシステムでは、ユーザプ
ログラムにおける指定ディスク装置障害発生時には、処
理を一時中断しディスク装置障害復旧後に再実行する
か、ユーザプログラムで指定していたディスク装置を別
ディスク装置に修正し、その別ディスク装置を用いて処
理を再実行していた。
2. Description of the Related Art In a conventional file system, when a specified disk device failure occurs in a user program, processing is temporarily interrupted and re-executed after recovery from the disk device failure, or the disk device specified by the user program is transferred to another disk device. This was corrected and the process was re-executed using the other disk device.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のファイ
ルシステムでは、ユーザプログラムにおける指定ディス
ク装置障害発生時には、上記いずれの方法においても処
理の一時停止が避けられないという欠点があった。
In the above-mentioned conventional file system, there is a drawback that in the event of a designated disk device failure in the user program, the suspension of processing is unavoidable in any of the above methods.

【0004】[0004]

【課題を解決するための手段】第1の発明は、少なくと
も第1のディスク装置とバックアップ用の第2のディス
ク装置を備えたファイルシステムにおいて、前記第1の
ディスク装置の障害状況を管理している装置状態管理手
段と、前記第1のディスク装置が正常動作中は予め定め
られた周期で前記第1のディスク装置の内容を予め備え
たセーブファイルにセーブするとともにジャーナルを予
め備えたジャーナルファイルにセーブし、前記第1のデ
ィスク装置に障害が発生すると前記装置状態管理手段か
らのバックアップ/リカバリ要求を受け前記セーブファ
イルおよび前記ジャーナルファイルを参照して前記第1
のディスク装置の内容を疑似ファイルとして前記第2の
ディスク装置に作成し前記第1のディスク装置に対する
アクセスを前記第2のディスク装置上に作成された疑似
ファイルに切換え、前記第1のディスク装置に対する障
害復旧処理が完了すると前記装置状態管理手段からの終
了通知を受け前記第2のディスク装置上に作成された前
記疑似ファイルを前記第1のディスク装置に複写し前記
第2のディスク装置に対するアクセスを前記第1のディ
スク装置に切換えるアクセス管理手段を備える。
According to a first aspect of the present invention, in a file system including at least a first disk device and a second disk device for backup, a failure state of the first disk device is managed. Device status management means for saving the contents of the first disk device to a save file provided in advance at a predetermined period while the first disk device is operating normally, and to a journal file having a journal in advance. When a failure occurs in the first disk device, a backup / recovery request is received from the device status management unit, and the first disk device is referred to by referring to the save file and the journal file.
The content of the disk device is created as a pseudo file in the second disk device, and the access to the first disk device is switched to the pseudo file created on the second disk device. When the failure recovery processing is completed, the pseudo file created on the second disk device is copied to the first disk device upon receiving a termination notification from the device state management means, and access to the second disk device is performed. An access management unit for switching to the first disk device is provided.

【0005】[0005]

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

【0006】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【0007】本発明のファイルシステムは、ユーザプロ
グラム1−1で指定した指定ディスク装置A1−5の障
害発生時、ディスク装置の障害状況を管理している装置
状態管理手段1−4からのバックアップ/リカバリ要求
により起動される。
In the file system of the present invention, when a failure occurs in the designated disk device A1-5 specified by the user program 1-1, a backup / restore from the device status management means 1-4 which manages the failure status of the disk device is performed. Triggered by a recovery request.

【0008】装置状態管理手段1−4によるディスク装
置A1−5の障害未検出の間は、アクセス要求を管理し
ているアクセス管理手段1−2は、内容退避・復元・複
写手段1−6を介して、定期的にディスク装置A1−5
の内容をセーブファイル1−8にセーブするとともに、
ジャーナルをジャーナルファイル1−9に採取し続け
る。
While the failure of the disk device A1-5 is not detected by the device state management means 1-4, the access management means 1-2 managing the access request controls the contents saving / restoring / copying means 1-6. Via the disk device A1-5
Is saved in save file 1-8,
The journal is continuously collected in the journal file 1-9.

【0009】ディスク装置A1−5に障害が発生する
と、装置状態管理手段1−4はアクセス管理手段1−2
に対しバックアップ/リカバリ要求を出す。アクセス管
理手段1−2は内容退避・復元・複写手段1−6に対し
内容復元要求を出す。内容退避・復元・複写手段1−6
は、内容復元要求を受けるとセーブファイル1−8およ
びジャーナルファイル1−9を参照してディスク装置A
1−5の内容を疑似ファイルとしてディスク装置B1−
7に作成する。内容退避・復元・複写手段1−6から復
元終了通知を受け取ったアクセス管理手段1−2は、デ
ィスク装置A1−5に対するアクセスをディスク装置B
1−7上に作成された疑似ファイルに変換するために、
アクセス変換手段1−3に対し変換要求を出力する。ア
クセス変換手段1−3は、ディスク装置A1−5に対す
るアクセスをディスク装置B1−7に対するアクセスに
変換し、ユーザプログラム処理を継続する。
When a failure occurs in the disk device A1-5, the device status management means 1-4 changes the access management means 1-2.
Issues a backup / recovery request. The access management means 1-2 issues a content restoration request to the content saving / restoring / copying means 1-6. Content save / restore / copy means 1-6
Receives the content restoration request, refers to the save file 1-8 and the journal file 1-9, and reads the disk device A
1-5 as a pseudo file in the disk drive B1-
Create in 7. Upon receiving the restoration end notification from the contents saving / restoring / copying means 1-6, the access management means 1-2 changes the access to the disk device A1-5 to the disk device B.
In order to convert to the pseudo file created on 1-7,
A conversion request is output to the access conversion means 1-3. The access conversion means 1-3 converts the access to the disk device A1-5 to the access to the disk device B1-7, and continues the user program processing.

【0010】ディスク装置A1−5に対する障害復旧処
理が完了すると、装置状態管理手段1−4からアクセス
管理手段1−2に終了通知が出力される。終了通知を受
けとったアクセス管理手段1−2は、内容退避・復元・
複写手段1−6によりディスク装置B1−7上に作成さ
れた疑似ファイルをディスク装置A1−5に複写する。
When the failure recovery processing for the disk device A1-5 is completed, an end notification is output from the device status management means 1-4 to the access management means 1-2. Upon receiving the end notification, the access management unit 1-2 saves / restores the content.
The pseudo file created on the disk device B1-7 by the copying means 1-6 is copied to the disk device A1-5.

【0011】複写が完了するまでの間、アクセス管理手
段1−2はディスク装置A1−5とディスク装置B1−
7上に作成された疑似ファイルに対し、同時にアクセス
要求を出す。アクセス管理手段1−2は内容退避・復元
・複写手段1−6からの複写終了通知を受けとって時点
でディスク装置B1−7に対するアクセス要求を打ち切
り、ディスク装置A1−5に対するアクセス要求のみに
変更する。変更終了時点で、自動バックアップ/リカバ
リ処理が終了する。
Until the copying is completed, the access management means 1-2 controls the disk units A1-5 and B1-
The access request is simultaneously issued to the pseudo file created on step 7. Upon receiving the copy completion notification from the content saving / restoring / copying unit 1-6, the access management unit 1-2 terminates the access request to the disk device B1-7 at the time, and changes to only the access request to the disk device A1-5. . At the end of the change, the automatic backup / recovery processing ends.

【0012】[0012]

【発明の効果】以上説明したように、本発明は、ユーザ
プログラムで指定した指定ディスク装置に障害が発生し
ても、別ディスク装置上に疑似ファイルを作成して処理
を継続し、指定ディスク装置障害復旧後は元のディスク
装置で処理を継続するようにしたことにより、実行中の
処理を中断せずにバックアップ/リカバリを行うことが
可能になり、システムの信頼性が向上する効果がある。
As described above, according to the present invention, even if a failure occurs in a designated disk device specified by a user program, a pseudo file is created on another disk device to continue processing, and the designated disk device is processed. After the recovery from the failure, the processing is continued on the original disk device, so that backup / recovery can be performed without interrupting the processing being executed, which has the effect of improving the reliability of the system.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

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

1−1 ユーザプログラム 1−2 アクセス管理手段 1−3 アクセス変換手段 1−4 装置状態管理手段 1−5 ディスク装置A 1−6 内容退避・復元・複写手段 1−7 ディスク装置B 1−8 セーブファイル 1−9 ジャーナルファイル 1-1 User program 1-2 Access management means 1-3 Access conversion means 1-4 Device status management means 1-5 Disk device A 1-6 Contents save / restore / copy means 1-7 Disk device B 1-8 Save File 1-9 Journal file

フロントページの続き (56)参考文献 特開 平3−252809(JP,A) 特開 昭58−166472(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 Continuation of the front page (56) References JP-A-3-252809 (JP, A) JP-A-58-166472 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3 / 06

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも第1のディスク装置とバックア
ップ用の第2のディスク装置を備えたファイルシステム
において、前記第1のディスク装置の障害状況を管理し
ている装置状態管理手段と、前記第1のディスク装置が
正常動作中は予め定められた周期で前記第1のディスク
装置の内容を予め備えたセーブファイルにセーブすると
ともにジャーナルを予め備えたジャーナルファイルにセ
ーブし、前記第1のディスク装置に障害が発生すると前
記装置状態管理手段からのバックアップ/リカバリ要求
を受け前記セーブファイルおよび前記ジャーナルファイ
ルを参照して前記第1のディスク装置の内容を疑似ファ
イルとして前記第2のディスク装置に作成し前記第1の
ディスク装置に対するアクセスを前記第2のディスク装
置上に作成された疑似ファイルに切換え、前記第1のデ
ィスク装置に対する障害復旧処理が完了すると前記装置
状態管理手段からの終了通知を受け前記第2のディスク
装置上に作成された前記疑似ファイルを前記第1のディ
スク装置に複写し前記第2のディスク装置に対するアク
セスを前記第1のディスク装置に切換えるアクセス管理
手段を備えたことを特徴とするファイルシステム。
1. A file system comprising at least a first disk device and a second disk device for backup, a device status management means for managing a failure status of the first disk device, During a normal operation of the disk device, the contents of the first disk device are saved in a save file provided in advance and a journal is saved in a journal file provided in advance at a predetermined period, and the contents are saved in the first disk device. When a failure occurs, a backup / recovery request from the device state management unit is received, and the contents of the first disk device are created as a pseudo file in the second disk device by referring to the save file and the journal file. An access to the first disk device is created on the second disk device. When the failure recovery processing for the first disk device is completed, the pseudo file created on the second disk device is received by the device status management means upon completion of the failure recovery process for the first disk device. A file system, comprising: access management means for copying to the first disk device and copying access to the second disk device to the first disk device.
JP4259173A 1992-09-29 1992-09-29 File system Expired - Lifetime JP3016971B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4259173A JP3016971B2 (en) 1992-09-29 1992-09-29 File system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4259173A JP3016971B2 (en) 1992-09-29 1992-09-29 File system

Publications (2)

Publication Number Publication Date
JPH06110618A JPH06110618A (en) 1994-04-22
JP3016971B2 true JP3016971B2 (en) 2000-03-06

Family

ID=17330378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4259173A Expired - Lifetime JP3016971B2 (en) 1992-09-29 1992-09-29 File system

Country Status (1)

Country Link
JP (1) JP3016971B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4704660B2 (en) 2002-12-18 2011-06-15 株式会社日立製作所 Storage device control device control method, storage device control device, and program
JP4165747B2 (en) 2003-03-20 2008-10-15 株式会社日立製作所 Storage system, control device, and control device program
CA2954888C (en) * 2005-06-24 2019-06-04 Catalogic Software, Inc. System and method for high performance enterprise data protection
JP4339843B2 (en) 2005-11-21 2009-10-07 シャープ株式会社 Data processing device
JP4620134B2 (en) * 2008-01-30 2011-01-26 株式会社日立製作所 Storage device control apparatus control method and storage device control apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58166472A (en) * 1982-03-27 1983-10-01 Fujitsu Ltd Doubling system of journal collecting magnetic tape device
JPH03252809A (en) * 1990-03-02 1991-11-12 Toshiba Corp File compiler

Also Published As

Publication number Publication date
JPH06110618A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
EP0827079B1 (en) Checkpoint computer system
JP3016971B2 (en) File system
JPH10133927A (en) Computer system and file managing method
JP2953639B2 (en) Backup device and method thereof
JP3022768B2 (en) Virtual computer system
JPH0879246A (en) Distributed communication system and fault recovery method therefor
JPS58175198A (en) Data processing device
JPH0594356A (en) On-memory table data fault restoration system
JP2943173B2 (en) Duplex file storage
JP2000020335A (en) Method for restoring redundant system
JP3065740U (en) Server with twin hard disks
JPH03296150A (en) Memory pump system
JPS597982B2 (en) Restart method in case of system failure of computer system
JP2806779B2 (en) Journal block recovery method and journal block recovery method
JPH0713792A (en) Error control system in hot standby system
JPH02205933A (en) Data processing system
JP2795246B2 (en) Failure recovery device at the time of interrupt processing in redundant memory system
JPH10260853A (en) Computer system, and failure recovery controlling method in the system
JPH06266478A (en) Computer system
JPH0432938A (en) Computer operation controller
JP2000348006A (en) System and method for recovering application process
JPH0452944A (en) Fault restoring method for information processor and communication controller
JPS63249229A (en) Restoration processing method for data set
JPH04129364A (en) Processing decentralizing method in electronic exchange system
JPH03276351A (en) Restoration system for contents of shared memory

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991207

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071224

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081224

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111224

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111224

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121224

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121224

Year of fee payment: 13