JP3056038B2 - Volume management table failure recovery method - Google Patents

Volume management table failure recovery method

Info

Publication number
JP3056038B2
JP3056038B2 JP6059697A JP5969794A JP3056038B2 JP 3056038 B2 JP3056038 B2 JP 3056038B2 JP 6059697 A JP6059697 A JP 6059697A JP 5969794 A JP5969794 A JP 5969794A JP 3056038 B2 JP3056038 B2 JP 3056038B2
Authority
JP
Japan
Prior art keywords
management label
label
area
file
information
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 - Fee Related
Application number
JP6059697A
Other languages
Japanese (ja)
Other versions
JPH07271646A (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 JP6059697A priority Critical patent/JP3056038B2/en
Publication of JPH07271646A publication Critical patent/JPH07271646A/en
Application granted granted Critical
Publication of JP3056038B2 publication Critical patent/JP3056038B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ボリューム管理テーブ
ル障害復旧方式に関し、特に多数のファイルを記憶する
ボリュームに対するファイル領域の確保,拡張,解放,
縮小の処理中に障害が発生した場合にVTOC内の検査
および修復の処理を行い、VTOCの障害を復旧するボ
リューム管理テーブル障害復旧方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a volume management table failure recovery method, and more particularly to securing, expanding, releasing a file area for a volume storing a large number of files.
The present invention relates to a volume management table failure recovery method that performs inspection and repair processing in a VTOC when a failure occurs during reduction processing, and recovers the VTOC failure.

【0002】[0002]

【従来の技術】従来のボリューム管理テーブル障害復旧
方式は、ファイル領域の確保,拡張,解放,縮小の処理
中に、ボリューム障害等が発生して処理が中断した場合
には、直ちに当該のボリュームに対するファイル領域の
確保,拡張,解放,縮小の処理を閉塞し、当該のボリュ
ームに対するアクセスを中断した上で、ユーティリティ
プログラムによりVTOC全体の整合性を検査して修復
の処理を行っている。
2. Description of the Related Art In a conventional volume management table failure recovery method, when a volume failure or the like occurs during a process of securing, expanding, releasing, or reducing a file area and the processing is interrupted, the relevant volume is immediately restored. The process of securing, expanding, releasing, and reducing the file area is blocked, access to the volume is interrupted, and the utility program checks the consistency of the entire VTOC and performs a repair process.

【0003】このような従来のボリューム管理テーブル
障害復旧方式の例としては、例えば“特開平2−626
24磁気ディスク装置のVTOC復旧装置”,“特開昭
59−3661DASDデータセット管理テーブルの障
害回復処理方式”,“特開昭58−107976ボリユ
ウム管理情報の保護方法”などがある。
An example of such a conventional volume management table failure recovery method is disclosed in, for example, Japanese Patent Application Laid-Open No. 2-626.
24 VTOC recovery device for magnetic disk drive, "JP-A-59-3661 Failure recovery processing method of DASD data set management table," JP-A-58-107976 Volume management information protection method. "

【0004】[0004]

【発明が解決しようとする課題】上述した従来のボリュ
ーム管理テーブル障害復旧方式は、ボリュームに対する
障害が発生したときには、障害が発生したボリュームに
対するすべてのアクセスを中断した上で、ユーティリテ
ィプログラムによりVTOC全体の整合性を検査して修
復の作業を行わなければならなかったために、修復に時
間がかかることにより実行中の業務処理が大幅に遅延し
てしまうという欠点を有している。
In the conventional volume management table failure recovery method described above, when a failure occurs in a volume, all accesses to the failed volume are interrupted, and a utility program is used to execute the entire VTOC. Since it is necessary to check the consistency and perform the repair work, there is a disadvantage that the time required for the repair is long and the business process being executed is greatly delayed.

【0005】本発明の目的は、ボリューム内でのファイ
ル領域の確保,拡張,解放,縮小を行うVTOCの更新
処理を実行中に障害が発生して、VTOCの更新処理が
中断した場合にも、業務処理の再開始時に当該のファイ
ル領域の確保,拡張,解放,縮小の処理を完結してVT
OCの修復処理を行えるボリューム管理テーブル障害復
旧方式を提供することにある。
[0005] An object of the present invention is to solve the problem that even if a failure occurs during the VTOC update processing for securing, expanding, releasing, and reducing a file area in a volume and the VTOC update processing is interrupted, When the business process is restarted, the process of securing, expanding, releasing, and reducing the file area is completed and VT is completed.
An object of the present invention is to provide a volume management table failure recovery method capable of performing an OC repair process.

【0006】[0006]

【課題を解決するための手段】第1の発明のボリューム
管理テーブル障害復旧方式は、多数のファイルを格納す
ることができる大容量のデータ領域と、前記データ領域
の内容を管理するための情報を持つVTOCとを有する
各々のボリュームを備えた情報処理システムのボリュー
ム管理テーブル障害復旧方式において、(A)前記デー
タ領域内のそれぞれのファイルに対する領域情報および
属性情報を持つファイル管理ラベルと、(B)前記デー
タ領域内の空き領域情報を持つ空き領域管理ラベルと、
(C)前記ファイル管理ラベル,前記空き領域管理ラベ
ルの何れかにつき更新中であることを示すVTOC更新
フラグおよび更新中の前記ファイル管理ラベルの更新ラ
ベルアドレスを記憶する更新ラベルフィールドを持つボ
リューム情報管理ラベルと、(D)前記ファイル管理ラ
ベル,前記空き領域管理ラベル,前記ボリューム情報管
理ラベルの何れとしても使用されていない各々の未使用
ラベルと、を前記VTOCに備えるとともに、(E)前
記データ領域内のファイル領域に対する確保,拡張,解
放,縮小の処理に伴い、前記ファイル管理ラベルの作
成,削除,更新の処理を行うファイル管理ラベル更新手
段と、(F)前記データ領域内のファイル領域に対する
確保,拡張,解放,縮小の処理に伴い、前記空き領域管
理ラベル上の空き領域の削除および追加を行う空き領域
管理ラベル更新手段と、(G)前記データ領域内のファ
イル領域の確保,拡張の際には前記ファイル管理ラベル
更新手段により前記ファイル管理ラベルを更新した後、
前記空き領域管理ラベル更新手段により前記空き領域管
理ラベルを更新し、ファイル領域の解放,縮小の際には
前記ファイル管理ラベル更新手段により前記ファイル管
理ラベルを更新した後、前記空き領域管理ラベル更新手
段により前記空き領域管理ラベルの更新を行うVTOC
更新手段と、(H)前記データ領域内のファイル領域に
対する確保,拡張,解放,縮小の処理に伴う前記VTO
C更新手段の処理に先立ち、前記ボリューム情報管理ラ
ベルのVTOC更新中フラグをオンとして、前記ファイ
ル管理ラベル更新手段にて更新する前記ファイル管理ラ
ベルを示した更新ラベルアドレスを前記ボリューム情報
管理ラベルの更新ラベルフィールドに書込むボリューム
情報管理ラベル情報設定手段と、(I)前記VTOC更
新手段の処理の終了後に前記ボリューム情報管理ラベル
上のVTOC更新中フラグおよび更新ラベルアドレスを
クリアするボリューム情報管理ラベル情報解除手段と、
(J)前記データ領域内のファイル領域に対する確保,
拡張,解放,縮小の処理の実行時には、前記VTOC更
新手段および前記ボリューム情報管理ラベル情報設定手
段の処理に先立って、前記ボリューム情報管理ラベル上
のVTOC更新中フラグがオンであれば、前記ボリュー
ム情報管理ラベル上の更新ラベルアドレスが示す前記フ
ァイル管理ラベル上の領域情報および前記空き領域管理
ラベル上の領域情報を比較し、領域情報に重複がある場
合には前記空き領域管理ラベル上の領域情報から重複す
る領域情報を削除することにより、前記VTOCの修復
処理を終えるVTOC検査修復手段と、を備えて構成さ
れている。
According to a first aspect of the present invention, there is provided a volume management table failure recovery system comprising: a large-capacity data area capable of storing a large number of files; and information for managing the contents of the data area. In the volume management table failure recovery method of the information processing system having each volume having the VTOC, (A) a file management label having area information and attribute information for each file in the data area, and (B) A free space management label having free space information in the data area,
(C) Volume information management having a VTOC update flag indicating that any one of the file management label and the free space management label is being updated and an update label field for storing an update label address of the file management label being updated. A label and (D) each unused label not used as any of the file management label, the free space management label, and the volume information management label in the VTOC, and (E) the data area. File management label updating means for creating, deleting, and updating the file management label in accordance with the processing of securing, expanding, releasing, and reducing the file area in the data area; and (F) securing the file area in the data area. With the processing of expansion, release, and reduction, the free space on the free space management label And space bitmap management label updating means for performing the deletion and addition, (G) securing the file area of the data area, after updating the file management label by the during expansion file management label updating means,
The free space management label updating means updates the free space management label, and when releasing or reducing a file area, the file management label updating means updates the file management label. VTOC that updates the free space management label according to
An updating unit; and (H) the VTO associated with processing for securing, expanding, releasing, and reducing a file area in the data area.
Prior to the processing of the C updating means, the VTOC updating flag of the volume information management label is turned on, and the update label address indicating the file management label to be updated by the file management label updating means is updated to the volume information management label. Volume information management label information setting means for writing in a label field; and (I) volume information management label information release for clearing a VTOC updating flag and an update label address on the volume information management label after the processing of the VTOC update means is completed. Means,
(J) reservation for a file area in the data area,
At the time of execution of expansion, release, and reduction processing, prior to the processing of the VTOC updating means and the volume information management label information setting means, if the VTOC updating flag on the volume information management label is ON, the volume information The area information on the file management label indicated by the update label address on the management label and the area information on the free area management label are compared, and if there is an overlap in the area information, the area information on the free area management label is used. VTOC inspection and restoration means for ending the VTOC restoration process by deleting overlapping area information.

【0007】また、第2の発明のボリューム管理テーブ
ル障害復旧方式は、多数のファイルを格納することがで
きる大容量のデータ領域と前記データ領域の内容を管理
する情報を持つVTOCとを有するそれぞれのボリュー
ムを備えた情報処理システムのボリューム管理テーブル
障害復旧方式において、(A)前記データ領域内のそれ
ぞれのファイルに対する領域情報および属性情報を持つ
ファイル管理ラベルと、(B)前記データ領域内の空き
領域情報を持つ空き領域管理ラベルと、(C)前記ファ
イル管理ラベル,前記空き領域管理ラベルの何れかにつ
き更新中であることを示すVTOC更新フラグおよび更
新中の前記ファイル管理ラベルの更新ラベルアドレスを
記憶する更新ラベルフィールドを持つボリューム情報管
理ラベルと、(D)前記ファイル管理ラベル,前記空き
領域管理ラベル,前記ボリューム情報管理ラベルの何れ
としても使用されていない各々の未使用ラベルと、を前
記VTOCに備えるとともに、(E)前記データ領域内
のファイル領域に対する確保,拡張,解放,縮小の処理
に伴い、前記ファイル管理ラベルの作成,削除,更新の
処理を行うファイル管理ラベル更新手段と、(F)前記
データ領域内のファイル領域に対する確保,拡張,解
放,縮小の処理に伴い、前記空き領域管理ラベル上の空
き領域の削除および追加を行う空き領域管理ラベル更新
手段と、(G)前記データ領域内のファイル領域の確
保,拡張の際には前記ファイル管理ラベル更新手段によ
り前記ファイル管理ラベルを更新した後、前記空き領域
管理ラベル更新手段により前記空き領域管理ラベルを更
新し、ファイル領域の解放,縮小の際には前記ファイル
管理ラベル更新手段により前記ファイル管理ラベルを更
新した後、前記空き領域管理ラベル更新手段により前記
空き領域管理ラベルの更新を行うVTOC更新手段と、
(H)前記データ領域内のファイル領域に対する確保,
拡張,解放,縮小の処理に伴う前記VTOC更新手段の
処理に先立ち、前記ボリューム情報管理ラベルのVTO
C更新中フラグをオンとし、前記VTOC更新手段の処
理がファイル領域の確保,拡張,解放,縮小の処理の何
れかを示したVTOC更新種類および前記ファイル管理
ラベル更新手段にて更新する前記ファイル管理ラベルの
更新ラベルアドレスを前記ボリューム情報管理ラベル上
の更新ラベルフィールド内に書込むボリューム情報管理
ラベル情報設定手段と、(I)前記VTOC更新手段の
処理の終了後に、前記ボリューム情報管理ラベル上のV
TOC更新中フラグおよびVTOC更新種類並びに更新
ラベルアドレスのクリアを行うボリューム情報管理ラベ
ル情報解除手段と、(J)前記データ領域内のファイル
領域に対する確保,拡張,解放,縮小の処理の実行時に
は、前記VTOC更新手段および前記ボリューム情報管
理ラベル情報設定手段の処理に先立って、前記ボリュー
ム情報管理ラベル上のVTOC更新中フラグがオンなら
ば、前記ボリューム情報管理ラベルのVTOC更新種類
を参照して、ファイルの確保,拡張の処理の場合には、
前記ボリューム情報管理ラベル上の更新ラベルアドレス
が示した前記ファイル管理ラベルの領域情報および前記
空き領域管理ラベルの領域情報を比較して、領域情報に
重複があれば、前記空き領域管理ラベルの領域情報から
重複する領域情報を削除して、ファイルの解放の処理の
場合には、前記ボリューム情報管理ラベル上の更新ラベ
ルアドレスが示す前記ファイル管理ラベルの領域情報を
前記空き領域管理ラベルに移行して、前記ファイル管理
ラベルを前記未使用ラベルに書戻すことによって中断さ
れた処理を完結して前記VTOCの修復処理を終えるV
TOC検査修復手段と、を備えて構成されている。
[0007] The volume management table failure recovery method according to the second invention has a large-capacity data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. In the volume management table failure recovery method of an information processing system having a volume, (A) a file management label having area information and attribute information for each file in the data area, and (B) a free area in the data area A free space management label having information, (C) a VTOC update flag indicating that any of the file management label and the free space management label is being updated, and an update label address of the file management label being updated are stored. A volume information management label having an update label field Each of the VTOCs is provided with an unused label that is not used as any of the file management label, the free space management label, and the volume information management label, and (E) secures a file area in the data area. File management label updating means for creating, deleting, and updating the file management label in accordance with the processing of expansion, release, and reduction; and (F) securing, expanding, releasing, and reducing the file area in the data area. (G) securing and expanding a file area in the data area, the file area management label updating means for deleting and adding an empty area on the empty area management label, After the file management label is updated by the updating unit, the free space management label updating unit updates the free space. VTOC that updates the logical label and updates the file management label by the file management label updating means when releasing and reducing the file area, and then updates the free area management label by the free area management label updating means. Updating means;
(H) securing a file area in the data area,
Prior to the processing of the VTOC updating means accompanying the expansion, release, and reduction processing, the VTO of the volume information management label is
The C file updating flag is turned on, and the VTOC updating means indicates a VTOC update type indicating any one of file area securing, expansion, release, and reduction processing and the file management label updating means. Volume information management label information setting means for writing an update label address of a label into an update label field on the volume information management label; and (I) after the processing of the VTOC updating means, the V
Volume information management label information release means for clearing the TOC updating flag, the VTOC update type, and the update label address; and (J) when executing the processing of securing, expanding, releasing, and reducing the file area in the data area, Prior to the processing of the VTOC updating means and the volume information management label information setting means, if the VTOC updating flag on the volume information management label is on, the VTOC update type of the volume information management label is referred to, and the file In the case of allocation and expansion processing,
The area information of the file management label and the area information of the free area management label indicated by the update label address on the volume information management label are compared, and if there is an overlap in the area information, the area information of the free area management label In the case of file release processing, the area information of the file management label indicated by the update label address on the volume information management label is transferred to the free space management label, The V process completes the interrupted process by rewriting the file management label to the unused label and ends the VTOC repair process.
And TOC inspection and repair means.

【0008】一方、第3の発明のボリューム管理テーブ
ル障害復旧方式は、多数のファイルを格納することがで
きる大容量のデータ領域と前記データ領域の内容を管理
する情報を持つVTOCとを有するそれぞれのボリュー
ムを備えた情報処理システムのボリューム管理テーブル
障害復旧方式において、(A)前記データ領域内のそれ
ぞれのファイルに対する領域情報および属性情報を持つ
ファイル管理ラベルと、(B)前記ファイル管理ラベル
に格納することができない領域情報がある場合に前記フ
ァイル管理ラベルに接続される拡張ファイル管理ラベル
と、(C)前記データ領域内の空き領域情報を持つ空き
領域管理ラベルと、(D)前記ファイル管理ラベル,前
記拡張ファイル管理ラベル,前記空き領域管理ラベルの
何れかが更新中であることを示すVTOC更新中フラグ
および更新中の前記ファイル管理ラベル,前記拡張ファ
イル管理ラベルの更新ラベルアドレス並びに前記VTO
C更新手段の処理が前記データ領域内のファイル領域の
確保,拡張,解放,縮小の処理の何れであるかを示すV
TOC更新種類を記憶する更新ラベルフィールドを持つ
ボリューム情報管理ラベルと、(E)前記ファイル管理
ラベル,前記拡張ファイル管理ラベル,前記空き領域管
理ラベル,前記ボリューム情報管理ラベルの何れとして
も使用されていない各々の未使用ラベルと、を前記VT
OCに備えるとともに、(F)前記データ領域内のファ
イル領域に対する確保,拡張,解放,縮小の処理に伴
い、前記ファイル管理ラベル,前記拡張ファイル管理ラ
ベルの作成,削除,更新の処理を行うファイル管理ラベ
ル更新手段と、(G)前記データ領域内のファイル領域
に対する確保,拡張,解放,縮小の処理に伴って、前記
空き領域管理ラベル上の空き領域に対する削除および追
加を行う空き領域管理ラベル更新手段と、(H)前記デ
ータ領域内のファイル領域の確保,拡張の際には前記フ
ァイル管理ラベル更新手段により前記拡張ファイル管理
ラベル,前記ファイル管理ラベルを更新した後に、前記
空き領域管理ラベル更新手段により前記空き領域管理ラ
ベルを更新して、ファイル領域の解放,縮小の際には、
前記ファイル管理ラベル更新手段により前記ファイル管
理ラベル,前記拡張ファイル管理ラベルを更新した後
に、前記空き領域管理ラベル更新手段によって前記空き
領域管理ラベルの更新を行うVTOC更新手段と、
(I)前記データ領域内のファイル領域に対する確保,
拡張,解放,縮小の処理に伴う前記VTOC更新手段の
処理に先立ち、前記ボリューム情報管理ラベルのVTO
C更新中フラグをオンとし、前記VTOC更新手段の処
理がファイル領域の確保,拡張,解放,縮小の処理の何
れかを示したVTOC更新種類および前記ファイル管理
ラベル更新手段により更新する前記ファイル管理ラベ
ル,前記拡張ファイル管理ラベルの更新ラベルアドレス
を前記ボリューム情報管理ラベル上の更新ラベルフィー
ルド内に書込むボリューム情報管理ラベル情報設定手段
と、(J)前記VTOC更新手段の処理の終了後に、前
記ボリューム情報管理ラベル上のVTOC更新中フラグ
およびVTOC更新種類並びに更新ラベルアドレスのク
リアを行うボリューム情報管理ラベル情報解除手段と、
(K)前記データ領域内のファイル領域に対する確保,
拡張,解放,縮小の処理の実行時には、前記VTOC更
新手段および前記ボリューム情報管理ラベル情報設定手
段の処理に先立ち、前記ボリューム情報管理ラベルのV
TOC更新フラグがオンであれば、前記ボリューム情報
管理ラベルのVTOC更新種類を参照し、ファイル領域
の確保,拡張の処理の場合には、前記ボリューム情報管
理ラベル上の更新ラベルアドレスが示した前記ファイル
管理ラベル,前記拡張ファイル管理ラベル上の領域情報
および前記空き領域管理ラベル上の領域情報を比較し、
領域情報に重複があったり前記拡張ファイル管理ラベル
が前記ファイル管理ラベルに接続されていなければ、前
記拡張ファイル管理ラベルの前記ファイル管理ラベルへ
の接続を行い、前記空き領域管理ラベル上の領域情報か
ら重複する領域情報を削除するとともに、ファイル領域
に対する解放の処理の場合に、前記ボリューム情報管理
ラベル上の更新ラベルアドレスが示した前記ファイル管
理ラベル,前記拡張ファイル管理ラベルの領域情報を前
記空き領域管理ラベルに移行して、前記ファイル管理ラ
ベル,前記拡張ファイル管理ラベルを前記未使用ラベル
に書戻すことにより中断された処理を完結して前記VT
OCの修復処理を終えるVTOC検査修復手段と、を備
えて構成されている。
On the other hand, the volume management table failure recovery method according to the third invention has a large-capacity data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. In the volume management table failure recovery method of an information processing system having a volume, (A) a file management label having area information and attribute information for each file in the data area and (B) a file management label are stored in the file management label. An extended file management label connected to the file management label when there is area information that cannot be stored, (C) a free area management label having free area information in the data area, (D) the file management label, Either the extended file management label or the free space management label is being updated The file management label VTOC updating flag and updating shows a Rukoto, the updated label address and the VTO of the extended file management label
V indicating whether the processing of the C updating means is the processing of securing, expanding, releasing, or reducing the file area in the data area.
It is not used as any of the volume information management label having an update label field for storing the TOC update type, and (E) the file management label, the extended file management label, the free space management label, and the volume information management label. Each unused label and the VT
(F) File management for creating, deleting, and updating the file management label and the extended file management label in accordance with the processing of securing, expanding, releasing, and reducing the file area in the data area. Label updating means, and (G) a free area management label updating means for deleting and adding to the free area on the free area management label in accordance with the processing of securing, expanding, releasing, and reducing the file area in the data area. (H) updating the extended file management label and the file management label by the file management label updating means when securing and expanding the file area in the data area, and then updating the file management label by the free area management label updating means. When the free space management label is updated and the file area is released or reduced,
VTOC updating means for updating the free space management label by the free space management label updating means after updating the file management label and the extended file management label by the file management label updating means;
(I) securing a file area in the data area,
Prior to the processing of the VTOC updating means accompanying the expansion, release, and reduction processing, the VTO of the volume information management label is
A C update flag is turned on, and the VTOC update means indicates any one of file area reservation, expansion, release, and reduction processing. The VTOC update type and the file management label to be updated by the file management label update means. A volume information management label information setting unit for writing an update label address of the extended file management label into an update label field on the volume information management label; and (J) the volume information management label information after completion of the VTOC update process. Volume information management label information release means for clearing the VTOC update flag, VTOC update type, and update label address on the management label;
(K) securing a file area in the data area,
At the time of executing expansion, release, and reduction processing, prior to the processing of the VTOC updating means and the volume information management label information setting means, the V of the volume information management label is
If the TOC update flag is on, the VTOC update type of the volume information management label is referred to. If the file area is secured or expanded, the file indicated by the update label address on the volume information management label is referred to. Comparing the management label, the area information on the extended file management label, and the area information on the free space management label,
If there is an overlap in the area information or the extended file management label is not connected to the file management label, a connection is made between the extended file management label and the file management label, and from the area information on the free space management label, In the case of deleting overlapping area information and releasing the file area, the area information of the file management label and the extended file management label indicated by the update label address on the volume information management label is stored in the free area management. Then, the file management label and the extended file management label are written back to the unused label to complete the interrupted processing and complete the VT.
And a VTOC inspection / recovery unit that completes the OC recovery process.

【0009】他方、第4の発明のボリューム管理テーブ
ル障害復旧方式は、多数のファイルを格納することがで
きる大容量のデータ領域と前記データ領域の内容を管理
する情報を持つVTOCとを有するそれぞれのボリュー
ムを備えた情報処理システムのボリューム管理テーブル
障害復旧方式において、(A)前記データ領域内のそれ
ぞれのファイルに対する領域情報および属性情報を持つ
ファイル管理ラベルと、(B)前記ファイル管理ラベル
に格納することができない領域情報がある場合に前記フ
ァイル管理ラベルに接続される拡張ファイル管理ラベル
と、(C)前記データ領域内の空き領域情報を持つ空き
領域管理ラベルと、(D)前記ファイル管理ラベル,前
記拡張ファイル管理ラベル,前記空き領域管理ラベルの
何れかが更新中であることを示すVTOC更新中フラグ
および更新中の前記ファイル管理ラベル,前記拡張ファ
イル管理ラベルの更新ラベルアドレス並びに前記VTO
C更新手段の処理が前記データ領域内のファイル領域の
拡張,縮小の処理の何れかを示すVTOC更新種類を記
憶する更新ラベルフィールドを持つボリューム情報管理
ラベルと、(E)前記ファイル管理ラベル,前記拡張フ
ァイル管理ラベル,前記空き領域管理ラベル,前記ボリ
ューム情報管理ラベルの何れとしても使用されていない
各々の未使用ラベルと、を前記VTOCに備えるととも
に、(F)前記データ領域内のファイル領域に対する拡
張,縮小の処理に伴い、前記ファイル管理ラベル,前記
拡張ファイル管理ラベルの作成,削除,更新の処理を行
うとともに、ファイル領域の拡張の処理によって前記拡
張ファイル管理ラベルを新規に接続する場合、拡張の処
理中であることを示すために前記拡張ファイル管理ラベ
ル上に設けた拡張フラグをオンとし、ファイル領域の縮
小の処理により前記拡張ファイル管理ラベルを削除する
場合、前記ファイル管理ラベルの更新に先立って縮小の
処理中であることを示すために前記拡張ファイル管理ラ
ベル上に設けた縮小フラグをオンとして、ファイル領域
の拡張,縮小の処理が正常に終了した場合にはこれらの
拡張フラグ,縮小フラグをオフとするファイル管理ラベ
ル更新手段と、(G)前記データ領域内のファイル領域
に対する拡張,縮小の処理に伴い、前記空き領域管理ラ
ベル上の空き領域に対する削除,追加を行う空き領域管
理ラベル更新手段と、(H)前記データ領域のファイル
領域の拡張の際には、前記ファイル管理ラベル更新手段
により拡張フラグをオンにすることを含む前記拡張ファ
イル管理ラベルの更新,前記ファイル管理ラベルの更
新,拡張フラグをオフにすることを含む前記拡張ファイ
ル管理ラベルの更新の順番で処理した後、前記空き領域
管理ラベル更新手段により前記空き領域管理ラベルを更
新し、ファイル領域の縮小の際には前記ファイル管理ラ
ベル更新手段により縮小フラグをオンにすることを含む
前記拡張ファイル管理ラベルの更新,前記ファイル管理
ラベルの更新,縮小フラグをオフにすることを含む前記
拡張ファイル管理ラベルの更新の順番で処理した後、前
記空き領域管理ラベル更新手段によって前記空き領域管
理ラベルの更新を行うVTOC更新手段と、(I)前記
データ領域内のファイル領域の拡張,縮小の処理に伴う
前記VTOC更新手段の処理に先立って、前記ボリュー
ム情報管理ラベル上のVTOC更新中フラグをオンと
し、前記VTOC更新手段の処理がファイル領域の拡
張,縮小の処理の何れかを示したVTOC更新種類およ
び前記ファイル管理ラベル更新手段によって更新する前
記ファイル管理ラベル,前記拡張ファイル管理ラベルの
更新ラベルアドレスを前記ボリューム情報管理ラベル上
の更新ラベルフィールド内に書込むボリューム情報管理
ラベル情報設定手段と、(J)前記VTOC更新手段の
処理の終了後に、前記ボリューム情報管理ラベル上のV
TOC更新中フラグおよびVTOC更新種類並びに更新
ラベルアドレスのクリアを行うボリューム情報管理ラベ
ル情報解除手段と、(K)前記データ領域内のファイル
領域に対する拡張,縮小の処理の実行時に、前記VTO
C更新手段および前記ボリューム情報管理ラベル情報設
定手段の処理に先立ち前記ボリューム情報管理ラベルの
VTOC更新フラグがオンであれば、前記VTOC内に
拡張フラグや縮小フラグがオンの前記拡張ファイル管理
ラベルが存在するか否かを検査して、拡張フラグがオン
の前記拡張ファイル管理ラベルがあれば、前記ボリュー
ム情報管理ラベル上の更新ラベルアドレスが示した前記
ファイル管理ラベルとの接続関係の整合性を検査し、接
続されていない場合には前記拡張ファイル管理ラベルの
ラベルアドレスを前記ファイル管理ラベルに設定した後
に、前記拡張ファイル管理ラベルの拡張フラグをオフと
して、接続されている場合には前記拡張ファイル管理ラ
ベルの拡張フラグをオフとし、縮小フラグがオンの前記
拡張ファイル管理ラベルがあれば、前記ボリューム情報
管理ラベル上の更新ラベルアドレスが示す前記ファイル
管理ラベルとの接続関係の整合性を検査し、接続されて
いる場合には前記ファイル管理ラベルから前記拡張ファ
イル管理ラベルの接続アドレスをクリアした後、前記拡
張ファイル管理ラベルを前記未使用ラベルに書戻し、前
記拡張ファイル管理ラベルの領域情報を前記空き領域管
理ラベルの領域情報に追加して、接続されていない場合
には前記拡張ファイル管理ラベルを前記未使用ラベルに
書戻して、前記拡張ファイル管理ラベルの領域情報を前
記空き領域管理ラベルの領域情報に追加することにより
中断された処理を完結して前記VTOCの修復処理を終
えるVTOC検査修復手段と、を備えて構成されてい
る。
On the other hand, the volume management table failure recovery system of the fourth invention has a large data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. In the volume management table failure recovery method of an information processing system having a volume, (A) a file management label having area information and attribute information for each file in the data area and (B) a file management label are stored in the file management label. An extended file management label connected to the file management label when there is area information that cannot be stored, (C) a free area management label having free area information in the data area, (D) the file management label, Either the extended file management label or the free space management label is being updated The file management label VTOC updating flag and updating shows a Rukoto, the updated label address and the VTO of the extended file management label
C: a volume information management label having an update label field for storing a VTOC update type indicating that the processing of the C update means is expansion or reduction of a file area in the data area; and (E) the file management label, Each unused label not used as any of the extended file management label, the free space management label, and the volume information management label is provided in the VTOC, and (F) expansion of the file area in the data area When the file management label and the extended file management label are created, deleted, and updated with the reduction processing, and when the extended file management label is newly connected by the file area extension processing, the extension Extension provided on the extension file management label to indicate that processing is in progress When the lag is turned on and the extended file management label is deleted by the process of reducing the file area, it is provided on the extended file management label to indicate that the reduction process is being performed prior to updating the file management label. File management label updating means for turning on the reduced flag and turning off the extended flag and the reduced flag when the process of expanding and reducing the file area ends normally, and (G) a file in the data area. Free space management label updating means for deleting and adding to the free space on the free space management label in accordance with the processing for expanding and reducing the area, and (H) when expanding the file area of the data area, Updating the extended file management label including turning on the extension flag by file management label updating means; After processing in the order of updating the extended file management label including updating the management label and turning off the extension flag, the empty area management label is updated by the empty area management label updating means, and the file area is reduced. The updating of the extended file management label including turning on a reduction flag by the file management label updating means, the updating of the file management label, and the updating of the expansion file management label including turning off the reduction flag. VTOC updating means for updating the vacant area management label by the vacant area management label updating means after the processing in the order of (1), and (I) the VTOC updating accompanying expansion and reduction processing of the file area in the data area Prior to the processing of the means, the VTOC updating flag on the volume information management label is turned on, The VTOC updating means indicates a VTOC update type indicating either a file area expansion or reduction processing, the file management label to be updated by the file management label updating means, and an update label address of the extended file management label. A volume information management label information setting means for writing into an update label field on the volume information management label; and (J) the VTOC updating means,
Volume information management label information release means for clearing the TOC updating flag, the VTOC update type, and the update label address; and (K) the VTO when the process of expanding or reducing the file area in the data area is executed.
If the VTOC update flag of the volume information management label is on prior to the processing of the C update unit and the volume information management label information setting unit, the extended file management label with the extension flag or reduction flag on in the VTOC exists It is checked whether or not there is an extended file management label with an extension flag turned on, and the consistency of the connection relationship with the file management label indicated by the update label address on the volume information management label is checked. If not connected, after setting the label address of the extended file management label to the file management label, the extension flag of the extension file management label is turned off, and if connected, the extension file management label The extended file management with the extension flag turned off and the reduction flag turned on If there is a label, the consistency of the connection relationship with the file management label indicated by the update label address on the volume information management label is checked. After clearing the connection address, the extended file management label is written back to the unused label, and the area information of the extended file management label is added to the area information of the free area management label. The extended file management label is written back to the unused label, and the area information of the extended file management label is added to the area information of the free area management label to complete the interrupted processing and restore the VTOC And a VTOC inspection / repair means for finishing the operation.

【0010】[0010]

【実施例】次に、本発明の実施例について、図面を参照
して説明する。図1は第1の発明のボリューム管理テー
ブル障害復旧方式の一実施例を示したブロック図であ
る。また、図2は第1および第2の発明で使用されるボ
リュームの内容の一例を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the volume management table failure recovery method according to the first invention. FIG. 2 is a block diagram showing an example of the contents of a volume used in the first and second inventions.

【0011】図1および図2に示すように、ボリューム
1は、多数のファイルを格納できる大容量のデータ領域
1−2と、データ領域1−2の内容を管理するための情
報を持つVTOC1−1とを有している。
As shown in FIGS. 1 and 2, the volume 1 has a large-capacity data area 1-2 capable of storing a large number of files, and a VTOC 1 having information for managing the contents of the data area 1-2. And 1.

【0012】また、図2に示すように、VTOC1−1
は、データ領域1−2のそれぞれのファイルに対する領
域情報および属性情報を持つファイル管理ラベル13−
1,13−2,13−3,…と、データ領域1−2内の
空き領域情報を持つ空き領域管理ラベル12と、ファイ
ル管理ラベル13−1,13−2,13−3,……,空
き領域管理ラベル12の何れかが更新中であることを示
すVTOC更新フラグおよび更新中のファイル管理ラベ
ル13−i(iは、1,2,3,……)の更新ラベルア
ドレス等を記憶する更新ラベルフィールドを有するボリ
ューム情報管理ラベル11と、ファイル管理ラベル13
−1,13−2,13−3,……,空き領域管理ラベル
12,ボリューム情報管理ラベル11の何れとしても使
用されていない各未使用ラベル14−1,14−2,1
4−3,……とを備えている。
As shown in FIG. 2, VTOC1-1
Is a file management label 13- having area information and attribute information for each file in the data area 1-2.
, A free area management label 12 having free area information in the data area 1-2, and file management labels 13-1, 13-2, 13-3,. A VTOC update flag indicating that any of the free area management labels 12 is being updated, an update label address of the file management label 13-i (i is 1, 2, 3,...) Being updated, and the like are stored. A volume information management label 11 having an update label field and a file management label 13
.., 13-2, 13-3,..., Each unused label 14-1, 14-2, 1 which is not used as any of the free space management label 12 and the volume information management label 11.
4-3,....

【0013】そして、図1に示すファイル管理ラベル更
新手段6は、データ領域1−2内のファイル領域に対す
る確保,拡張,解放,縮小の処理に伴い、関係するファ
イル管理ラベル13−iの作成,削除,更新の処理を行
っている。
The file management label updating means 6 shown in FIG. 1 creates and manages the related file management label 13-i in accordance with the processing of securing, expanding, releasing, and reducing the file area in the data area 1-2. Deletion and update processing is being performed.

【0014】また、空き領域管理ラベル更新手段5は、
データ領域1−2内のファイル領域の確保,拡張,解
放,縮小の処理に伴い、空き領域管理ラベル12上の空
き領域の削除および追加を行っている。
Further, the free area management label updating means 5 comprises:
With the processing of securing, expanding, releasing, and reducing the file area in the data area 1-2, the free area on the free area management label 12 is deleted and added.

【0015】そこで、VTOC更新手段7は、データ領
域1−2内のファイル領域の確保,拡張の際にはファイ
ル管理ラベル更新手段6によりファイル管理ラベル13
−iを更新した後に、空き領域管理ラベル更新手段5に
より空き領域管理ラベル12を更新し、ファイル領域の
解放,縮小の際にはファイル管理ラベル更新手段6によ
りファイル管理ラベル13−iを更新した後に、空き領
域管理ラベル更新手段5により空き領域管理ラベル12
の更新を行っている。
Therefore, the VTOC updating means 7 secures and expands the file area in the data area 1-2 by the file management label updating means 6 by the file management label updating means 6.
After updating -i, the free space management label updating means 5 updates the free space management label 12, and when releasing or reducing the file area, the file management label updating means 6 updates the file management label 13-i. Later, the free space management label 12 is updated by the free space management label updating means 5.
Has been updated.

【0016】一方で、ボリューム情報管理ラベル情報設
定手段3は、データ領域1−2内のファイル領域に対す
る確保,拡張,解放,縮小の処理に伴うVTOC更新手
段7の処理に先立ち、ボリューム情報管理ラベル11の
VTOC更新中フラグをオンとし、ファイル管理ラベル
更新手段6にて更新するファイル管理ラベル13−iを
指している更新ラベルアドレスをボリューム情報管理ラ
ベル11の更新ラベルフィールドに書込んでいる。
On the other hand, the volume information management label information setting means 3 executes the volume information management label prior to the processing of the VTOC updating means 7 accompanying the processing of securing, expanding, releasing and reducing the file area in the data area 1-2. Then, the VTOC update flag 11 is turned on, and the update label address pointing to the file management label 13-i to be updated by the file management label updating means 6 is written in the update label field of the volume information management label 11.

【0017】そして、ボリューム情報管理ラベル情報解
除手段4は、VTOC更新手段7の処理の終了後にボリ
ューム情報管理ラベル11上のVTOC更新中フラグお
よび更新ラベルアドレスをクリアしている。
The volume information management label information canceling means 4 clears the VTOC updating flag and the update label address on the volume information management label 11 after the processing of the VTOC updating means 7 ends.

【0018】さらには、VTOC検査修復手段2は、デ
ータ領域1−2内のファイル領域に対する確保,拡張,
解放,縮小の処理の実行時には、VTOC更新手段7お
よびボリューム情報管理ラベル情報設定手段3の処理に
先立ち、ボリューム情報管理ラベル11のVTOC更新
中フラグがオンであれば、ボリューム情報管理ラベル1
1の更新ラベルアドレスが示すファイル管理ラベル13
−iの領域情報および空き領域管理ラベル12上の領域
情報を比較して、領域情報に重複がある場合には、空き
領域管理ラベル12の領域情報から重複する領域情報を
削除することによりVTOC1−1の修復処理を終って
いる。
Further, the VTOC inspection and restoration means 2 secures, expands, and secures a file area in the data area 1-2.
When the release / reduction processing is executed, prior to the processing of the VTOC updating means 7 and the volume information management label information setting means 3, if the VTOC updating flag of the volume information management label 11 is ON, the volume information management label 1
File management label 13 indicated by update label address 1
-I and the area information on the free area management label 12 are compared, and if there is an overlap in the area information, the overlapping area information is deleted from the area information of the free area management label 12 so that VTOC1- 1 has been repaired.

【0019】図3は第2の発明のボリューム管理テーブ
ル障害復旧方式の一実施例を示したブロック図である。
図3および図2に示しているように、ボリューム1は、
多数のファイルを格納できる大容量のデータ領域1−2
と、データ領域1−2の内容を管理するための情報を持
つVTOC1−1とを有している。
FIG. 3 is a block diagram showing an embodiment of the volume management table failure recovery method according to the second invention.
As shown in FIG. 3 and FIG.
Large-capacity data area 1-2 capable of storing a large number of files
And a VTOC 1-1 having information for managing the contents of the data area 1-2.

【0020】そして、図3に示すファイル管理ラベル更
新手段6Aは、データ領域1−2のファイル領域に対す
る確保,拡張,解放,縮小の処理に伴い、関係するファ
イル管理ラベル13−iの作成,削除,更新の処理を行
っている。
The file management label updating means 6A shown in FIG. 3 creates and deletes the related file management label 13-i in accordance with the processing of securing, expanding, releasing, and reducing the file area of the data area 1-2. , Update processing is being performed.

【0021】また、空き領域管理ラベル更新手段5A
は、データ領域1−2のファイル領域の確保,拡張,解
放,縮小の処理に伴い、空き領域管理ラベル12上の空
き領域の削除および追加を行っている。
The free area management label updating means 5A
Performs deletion and addition of a free area on the free area management label 12 with the processing of securing, expanding, releasing, and reducing the file area of the data area 1-2.

【0022】そこで、VTOC更新手段7Aは、データ
領域1−2のファイル領域の確保,拡張の際には、ファ
イル管理ラベル更新手段6Aによって、ファイル管理ラ
ベル13−iを更新した後に、空き領域管理ラベル更新
手段5Aにより空き領域管理ラベル12を更新し、ファ
イル領域の解放,縮小の際には、ファイル管理ラベル更
新手段6Aによりファイル管理ラベル13−iを更新し
た後に、空き領域管理ラベル更新手段5Aにより空き領
域管理ラベル12の更新を行っている。
Therefore, the VTOC updating means 7A updates the file management label 13-i by the file management label updating means 6A when securing and expanding the file area of the data area 1-2, and then updates the free area management. The free space management label 12 is updated by the label updating means 5A, and when releasing or reducing the file area, the free space management label updating means 5A is updated after the file management label 13-i is updated by the file management label updating means 6A. To update the free space management label 12.

【0023】そして、ボリューム情報管理ラベル情報設
定手段3Aは、データ領域1−2内のファイル領域に対
する確保,拡張,解放,縮小の処理に伴うVTOC更新
手段7Aの処理に先立ち、ボリューム情報管理ラベル1
1のVTOC更新中フラグをオンとして、VTOC更新
手段7Aの処理がファイル領域の確保,拡張,解放,縮
小の処理の何れかを示すVTOC更新種類およびファイ
ル管理ラベル更新手段6Aにて更新するファイル管理ラ
ベル13−iを指している更新ラベルアドレスをボリュ
ーム情報管理ラベル11の更新ラベルフィールドに書込
んでいる。
The volume information management label information setting means 3A performs the volume information management label 1 prior to the processing of the VTOC updating means 7A accompanying the processing of securing, expanding, releasing, and reducing the file area in the data area 1-2.
1, the VTOC updating flag is turned on, and the VTOC updating means 7A performs file processing for updating the VTOC updating type and file management label updating means 6A indicating any one of file area securing, expansion, release, and reduction processing. The update label address pointing to the label 13-i is written in the update label field of the volume information management label 11.

【0024】また、ボリューム情報管理ラベル情報解除
手段4Aは、VTOC更新手段7Aの処理の終了後にボ
リューム情報管理ラベル11のVTOC更新中フラグお
よびVTOC更新種類並びに更新ラベルアドレスをクリ
アしている。
The volume information management label information canceling means 4A clears the VTOC updating flag, the VTOC update type, and the update label address of the volume information management label 11 after the processing of the VTOC updating means 7A ends.

【0025】さらに、VTOC検査修復手段2Aは、デ
ータ領域1−2内のファイル領域に対する確保,拡張,
解放,縮小の処理の実行時に、VTOC更新手段7Aお
よびボリューム情報管理ラベル情報設定手段3Aの処理
に先立って、ボリューム情報管理ラベル11上のVTO
C更新中フラグがオンであれば、ボリューム情報管理ラ
ベル11のVTOC更新種類を参照して、ファイル領域
の確保,拡張の処理の場合には、ボリューム情報管理ラ
ベル11の更新ラベルアドレスが示すファイル管理ラベ
ル13−i上の領域情報および空き領域管理ラベル12
上の領域情報を比較し、領域情報に重複があれば、空き
領域管理ラベル12の領域情報から重複する領域情報を
削除し、ファイル領域の解放の処理の場合には、ボリュ
ーム情報管理ラベル11上の更新ラベルアドレスが示す
ファイル管理ラベル13−i上の領域情報を空き領域管
理ラベル12に移行して、ファイル管理ラベル13−i
を未使用ラベル14−j(jは、1,2,3,……)に
書戻して中断された処理を完結してVTOC1−1の修
復処理を終っている。
Further, the VTOC inspection / recovery means 2A secures, expands, and secures a file area in the data area 1-2.
At the time of execution of the release and reduction processing, prior to the processing of the VTOC updating means 7A and the volume information management label information setting means 3A, the VTO on the volume information management label 11 is
If the C updating flag is on, the VTOC update type of the volume information management label 11 is referred to, and in the case of file area reservation and expansion processing, the file management indicated by the update label address of the volume information management label 11 Area information on label 13-i and free area management label 12
The above area information is compared, and if there is an overlap in the area information, the overlapping area information is deleted from the area information of the free area management label 12, and in the case of the file area release processing, the area information on the volume information management label 11 is deleted. The area information on the file management label 13-i indicated by the updated label address is transferred to the free area management label 12, and the file management label 13-i
Is written back to the unused label 14-j (j is 1, 2, 3,...), The interrupted process is completed, and the VTOC 1-1 repair process is completed.

【0026】図4は第2の発明におけるファイルの確
保,拡張,解放,縮小の処理の各々に伴うVTOC1−
1のラベルとデータ領域1−2のエクステントとの関係
の変化の一例を示す説明図である。
FIG. 4 shows VTOC1 associated with each of the process of securing, expanding, releasing, and reducing a file in the second invention.
FIG. 9 is an explanatory diagram showing an example of a change in the relationship between the label of No. 1 and the extent of the data area 1-2.

【0027】まず、ファイルの確保の処理の場合には、
図4(a)に示したように、左側の状態からVTOC1
−1の未使用ラベルをファイル管理ラベルに更新してデ
ータ領域1−2のエクステントに接続した中央の状態に
してから空き領域管理ラベルを更新して右側の状態にし
ている。従って、中央の状態にあるときに障害が発生し
た場合に、再開始の際に空き領域管理ラベルから重複し
た領域情報を削除している。なお、左側の状態にあると
きに障害が発生した場合には、VTOC1−1に不整合
がないので、再開始の際に無動作となる。
First, in the case of file securing processing,
As shown in FIG. 4A, VTOC1 is changed from the left state.
The unused label of -1 is updated to the file management label to be in the center state connected to the extent of the data area 1-2, and then the free area management label is updated to the right state. Therefore, when a failure occurs in the central state, duplicate area information is deleted from the free area management label at the time of restart. If a failure occurs in the state on the left side, there is no inconsistency in the VTOC 1-1, so that there is no operation when restarting.

【0028】また、ファイルの拡張の処理の場合には、
図4(b)に示したように、左側の状態からVTOC1
−1のファイル管理ラベルを更新してデータ領域1−2
上のエクステント(1)に接続した中央の状態にしてか
ら空き領域管理ラベルを更新して右側の状態にしてい
る。このため、中央の状態にあるときに障害が発生した
場合には、再開始の際に空き領域管理ラベル内から重複
した領域情報を削除している。なお、左側の状態にある
ときに障害が発生した場合には、VTOC1−1に不整
合がないので、再開始の際に無動作となる。
In the case of a file expansion process,
As shown in FIG. 4B, VTOC1 is changed from the left state.
-1 file management label is updated to data area 1-2.
After the center is connected to the upper extent (1), the free space management label is updated to the right side. For this reason, if a failure occurs in the central state, duplicate area information is deleted from the free area management label at the time of restart. If a failure occurs in the state on the left side, there is no inconsistency in the VTOC 1-1, so that there is no operation when restarting.

【0029】一方、ファイルの解放の処理の場合には、
図4(c)に示したように、左側の状態からVTOC1
−1のファイル管理ラベルを未使用ラベルに更新してデ
ータ領域1−2上のエクステントから切断した中央の状
態にしてから、空き領域管理ラベルを更新して右側の状
態にしている。従って、ボリューム情報管理ラベルを更
新した左側の状態にあるときに障害が発生した場合に
は、更新ラベルアドレスが示すファイル管理ラベルを未
使用ラベルに更新してから、空き領域管理ラベルを更新
して右側の状態にしている。なお、中央の状態にあると
きに、障害が発生した場合には、空き領域が小さくなる
かもしれないけれども、VTOC1−1に不整合がない
ので、再開始の際に無動作となる。
On the other hand, in the process of releasing a file,
As shown in FIG. 4C, VTOC1 is changed from the left state.
The file management label of -1 is updated to an unused label to be in the center state disconnected from the extent on the data area 1-2, and then the free area management label is updated to the right state. Therefore, if a failure occurs while the volume information management label is in the left state, the file management label indicated by the update label address is updated to an unused label, and then the free space management label is updated. It is on the right side. When a failure occurs in the central state, the free area may be reduced, but there is no inconsistency in the VTOC 1-1, so that there is no operation when restarting.

【0030】また、ファイルの縮小の処理の場合には、
図4(d)に示したように、左側の状態からVTOC1
−1のファイル管理ラベルを更新してデータ領域1−2
上のエクステント(1)から切断した中央の状態にして
から、空き領域管理ラベルを更新して右側の状態にして
いる。しかし、この処理の途中に障害が発生した場合に
は、空き領域が小さくなるかもしれないけれども、VT
OC1−1に不整合がないので、再開始の際に無動作と
なる。
In the case of file reduction processing,
As shown in FIG. 4D, VTOC1 is changed from the left state.
-1 file management label is updated to data area 1-2.
After the center is disconnected from the upper extent (1), the free space management label is updated to the right side. However, if a failure occurs in the middle of this processing, the VT may be reduced even though the free space may be reduced.
Since there is no inconsistency in OC1-1, there is no operation when restarting.

【0031】図5は第3の発明のボリューム管理テーブ
ル障害復旧方式の一実施例を示したブロック図である。
また、図6は第3および第4の発明で使用されるボリュ
ームの内容の一例を示すブロック図である。
FIG. 5 is a block diagram showing an embodiment of the volume management table failure recovery method according to the third invention.
FIG. 6 is a block diagram showing an example of the contents of a volume used in the third and fourth inventions.

【0032】図5および図6に示すボリューム1Bは、
多数のファイルを格納できる大容量のデータ領域1B−
2と、そのデータ領域1B−2の内容を管理する情報を
持つVTOC1B−1とを有している。
The volume 1B shown in FIG. 5 and FIG.
Large data area 1B that can store many files
2 and a VTOC 1B-1 having information for managing the contents of the data area 1B-2.

【0033】また、図6に示すように、VTOC1B−
1は、データ領域1B−2の各々のファイルの領域情報
およびその属性情報を持つファイル管理ラベル13B−
1,13B−2,……と、ファイル管理ラベル13B−
1,……内に格納することができない領域情報がある場
合には、ファイル管理ラベル13B−1,……に接続さ
れる拡張ファイル管理ラベル15B−1,……と、デー
タ領域1B−2の空き領域情報を持つ空き領域管理ラベ
ル12Bと、ファイル管理ラベル13B−1,13B−
2,……,拡張ファイル管理ラベル15B−1,……,
空き領域管理ラベル12Bの何れかが更新中であること
を示すVTOC更新中フラグおよび更新中のファイル管
理ラベル13B−i(iは1,2,3,…),拡張ファ
イル管理ラベル15B−1,……の更新ラベルアドレス
並びにVTOC更新手段の処理がデータ領域1B−2内
のファイル領域の確保,拡張,解放,縮小の処理の何れ
であるかを示しているVTOC更新種類を記憶する更新
ラベルフィールドを有するボリューム情報管理ラベル1
1Bと、それらのファイル管理ラベル13B−1,13
B−2,……,空き領域管理ラベル12,ボリューム情
報管理ラベル11Bの何れとしても使用されていない各
未使用ラベル14B−1,14B−2,……とを備えて
いる。
As shown in FIG. 6, VTOC1B-
Reference numeral 1 denotes a file management label 13B- which has area information of each file in the data area 1B-2 and attribute information thereof.
1, 13B-2,..., And the file management label 13B-
If there is area information that cannot be stored in the data area 1B-2, the extended file management labels 15B-1 connected to the file management labels 13B-1,. A free area management label 12B having free area information, and file management labels 13B-1, 13B-
2,..., Extended file management label 15B-1,.
A VTOC updating flag indicating that any of the free space management labels 12B is being updated, a file management label 13B-i (i is 1, 2, 3,...) Being updated, an extended file management label 15B-1, An update label field for storing an update label address of... And a VTOC update type indicating whether the processing of the VTOC updating means is processing of securing, expanding, releasing, or reducing the file area in the data area 1B-2. Information management label 1 having
1B and their file management labels 13B-1, 13B
,..., Unused space labels 12B, 14B-2,... Which are not used as any of the free space management label 12 and the volume information management label 11B.

【0034】一方、図5に示すファイル管理ラベル更新
手段6Bは、データ領域1B−2内のファイル領域に対
する確保,拡張,解放,縮小の処理に伴って、そのファ
イル管理ラベル13B−iおよび拡張ファイル管理ラベ
ル15B−iの作成,削除,更新の処理を行っている。
On the other hand, the file management label updating means 6B shown in FIG. 5 executes the file management label 13B-i and the expanded file with the processing of securing, expanding, releasing, and reducing the file area in the data area 1B-2. The management label 15B-i is created, deleted, and updated.

【0035】また、空き領域管理ラベル更新手段5B
は、データ領域1B−2内のファイル領域の確保,拡
張,解放,縮小の処理に伴って、空き領域管理ラベル1
2B上の空き領域の削除および追加を行っている。
The free area management label updating means 5B
Is a free space management label 1 associated with the processing of securing, expanding, releasing, and reducing the file area in the data area 1B-2.
The empty area on 2B is deleted and added.

【0036】他方、VTOC更新手段7Bは、データ領
域1B−2のファイル領域の確保,拡張の際には、ファ
イル管理ラベル更新手段6Bにより拡張ファイル管理ラ
ベル15B−i,ファイル管理ラベル13B−iの順番
で更新した後、空き領域管理ラベル更新手段5Bにて空
き領域管理ラベル12Bを更新して、ファイル領域の解
放,縮小の際に、ファイル管理ラベル更新手段6Bによ
りファイル管理ラベル13B−i,拡張ファイル管理ラ
ベル15B−iの順番で更新をした後に、空き領域管理
ラベル更新手段5Bによって空き領域管理ラベル12B
の更新を行っている。
On the other hand, when securing and expanding the file area of the data area 1B-2, the VTOC updating means 7B uses the file management label updating means 6B to update the extended file management label 15B-i and the file management label 13B-i. After updating in order, the free area management label updating means 5B updates the free area management label 12B, and when releasing or reducing the file area, the file management label updating means 6B uses the file management label 13B-i to extend the file management label. After updating in the order of the file management labels 15B-i, the free area management label 12B is updated by the free area management label updating means 5B.
Has been updated.

【0037】他方、ボリューム情報管理ラベル情報設定
手段3Bは、データ領域1B−2内のファイル領域に対
する確保,拡張,解放,縮小の処理に伴うVTOC更新
手段7Bの処理に先立ち、ボリューム情報管理ラベル1
1BのVTOC更新中フラグをオンとし、VTOC更新
手段7Bの処理がファイル領域の確保,拡張,解放,縮
小の処理の何れかを示すVTOC更新種類およびファイ
ル管理ラベル更新手段6Bにより更新するファイル管理
ラベル13B−iを指す更新ラベルアドレスをボリュー
ム情報管理ラベル11Bの更新ラベルフィールドに書込
んでいる。
On the other hand, the volume information management label information setting means 3B stores the volume information management label 1 prior to the processing of the VTOC updating means 7B accompanying the processing of securing, expanding, releasing, and reducing the file area in the data area 1B-2.
The VTOC updating flag of the VTOC updating unit 7B is turned on, and the VTOC updating unit 7B processes the VTOC updating type indicating any of the file area securing, expanding, releasing, and reducing processes, and the file management label updated by the file management label updating unit 6B. The update label address indicating 13B-i is written in the update label field of the volume information management label 11B.

【0038】また、ボリューム情報管理ラベル情報解除
手段4Bは、VTOC更新手段7Bの処理の終了後には
ボリューム情報管理ラベル11B上のVTOC更新中フ
ラグおよびVTOC更新種類並びに更新ラベルアドレス
をクリアしている。
Further, the volume information management label information canceling means 4B clears the VTOC updating flag, the VTOC update type, and the update label address on the volume information management label 11B after the processing of the VTOC updating means 7B ends.

【0039】さらに、VTOC検査修復手段2Bは、デ
ータ領域1B−2内のファイル領域に対する確保,拡
張,解放,縮小の処理の実行時にVTOC更新手段7B
およびボリューム情報管理ラベル情報設定手段3Bの処
理に先立ち、ボリューム情報管理ラベル11BのVTO
C更新フラグがオンならば、ボリューム情報管理ラベル
11BのVTOC更新種類を参照し、ファイル領域の確
保,拡張の処理の場合には、ボリューム情報管理ラベル
11Bの更新ラベルアドレスが示すファイル管理ラベル
13B−i,拡張ファイル管理ラベル15B−i上の領
域情報および空き領域管理ラベル12Bの領域情報を比
較し、領域情報が重複したり拡張ファイル管理ラベル1
5B−iがファイル管理ラベル13B−iに接続されて
いないときには、拡張ファイル管理ラベル15B−iの
ファイル管理ラベル13B−iへの接続を行い、空き領
域管理ラベル12Bの領域情報から重複する領域情報を
削除するとともに、ファイル領域に対する解放の処理の
場合に、ボリューム情報管理ラベル11Bの更新ラベル
アドレスが示すファイル管理ラベル13B−i,拡張フ
ァイル管理ラベル15B−iの領域情報を空き領域管理
ラベル12B上に移行して、ファイル管理ラベル13B
−i,拡張ファイル管理ラベル15B−iを未使用ラベ
ル14B−j(jは、1,2,3,……)に書戻して中
断された処理を完結してVTOC1B−1の修復処理を
終っている。
Further, the VTOC inspection and restoration unit 2B performs the VTOC updating unit 7B when executing the processing of securing, expanding, releasing, and reducing the file area in the data area 1B-2.
And the VTO of the volume information management label 11B prior to the processing of the volume information management label information setting means 3B.
If the C update flag is ON, the VTOC update type of the volume information management label 11B is referred to, and in the case of securing and expanding the file area, the file management label 13B- indicated by the update label address of the volume information management label 11B- i, the area information on the extended file management label 15B-i and the area information on the free area management label 12B are compared, and if the area information overlaps or the extended file management label 1
When the file management label 5B-i is not connected to the file management label 13B-i, the extension file management label 15B-i is connected to the file management label 13B-i, and the overlapping area information is obtained from the area information of the free area management label 12B. Is deleted, and in the case of the release processing for the file area, the area information of the file management label 13B-i and the extended file management label 15B-i indicated by the update label address of the volume information management label 11B is displayed on the free area management label 12B. To the file management label 13B
-I, the extended file management label 15B-i is written back to the unused label 14B-j (j is 1, 2, 3,...) To complete the interrupted processing and end the VTOC 1B-1 repair processing. ing.

【0040】図7は第4の発明のボリューム管理テーブ
ル障害復旧方式の一実施例を示したブロック図である。
図7および図6に示したように、ボリューム1Bは、多
数のファイルを格納できる大容量のデータ領域1B−2
と、そのデータ領域1B−2の内容を管理するための情
報を持つVTOC1B−1とを有している。
FIG. 7 is a block diagram showing an embodiment of the volume management table failure recovery method according to the fourth invention.
As shown in FIGS. 7 and 6, the volume 1B has a large capacity data area 1B-2 capable of storing a large number of files.
And a VTOC 1B-1 having information for managing the contents of the data area 1B-2.

【0041】そして、図7に示すファイル管理ラベル更
新手段6Cは、データ領域1B−2内のファイル領域に
対する拡張,縮小の処理に伴って、そのファイル管理ラ
ベル13B−iおよび拡張ファイル管理ラベル15B−
iの作成,削除,更新の処理を行うとともに、ファイル
領域の拡張の処理によって、拡張ファイル管理ラベル1
5B−iを新規に接続する場合に、拡張の処理中である
ことを示すために拡張ファイル管理ラベル15B−i上
に設けた拡張フラグをオンとし、ファイル領域の縮小の
処理によって、拡張ファイル管理ラベル15B−iを削
除する場合に、ファイル管理ラベル13B−iの更新に
先立って縮小の処理中であることを示すために拡張ファ
イル管理ラベル15B−i上に設けた縮小フラグをオン
として、ファイル領域の拡張,縮小の処理が正常に終了
した場合にこれらの拡張フラグ,縮小フラグをオフとし
ている。
The file management label updating means 6C shown in FIG. 7 performs the file management label 13B-i and the extended file management label 15B-
i, creating, deleting, and updating the file, and expanding the file area to execute the extended file management label 1
When newly connecting the 5B-i, the extension flag provided on the extension file management label 15B-i is turned on to indicate that the extension process is being performed, and the extension file management is performed by the process of reducing the file area. When the label 15B-i is deleted, the reduction flag provided on the extended file management label 15B-i is turned on to indicate that the reduction processing is being performed prior to the update of the file management label 13B-i, and the file When the process of expanding and reducing the area is completed normally, these expansion flag and reduction flag are turned off.

【0042】また、空き領域管理ラベル更新手段5C
は、データ領域1B−2内のファイル領域の確保,拡
張,解放,縮小の処理に伴い、空き領域管理ラベル12
Bの空き領域の削除および追加を行っている。
The free area management label updating means 5C
Indicates a free area management label 12 associated with the process of securing, expanding, releasing, and reducing the file area in the data area 1B-2.
B free area is deleted and added.

【0043】一方、VTOC更新手段7Cは、データ領
域1B−2のファイル領域の拡張の際には、ファイル管
理ラベル更新手段6Cにより拡張フラグをオンにするこ
とを含む拡張ファイル管理ラベル15B−iの更新,フ
ァイル管理ラベル13B−iの更新,拡張フラグをオフ
にすることを含む拡張ファイル管理ラベル15B−iの
更新の順番で処理した後に、空き領域管理ラベル更新手
段5Cにより空き領域管理ラベル12Bを更新し、ファ
イル領域の縮小の際には、ファイル管理ラベル更新手段
6Cにより縮小フラグをオンにすることを含む拡張ファ
イル管理ラベル15B−iの更新,ファイル管理ラベル
13B−iの更新,縮小フラグをオフにすることを含む
拡張ファイル管理ラベル15B−iの更新の順番で処理
した後、空き領域管理ラベル更新手段5Cにより空き領
域管理ラベル12Cの更新を行っている。
On the other hand, when the file area of the data area 1B-2 is extended, the VTOC updating means 7C transmits the extended file management label 15B-i including turning on the extension flag by the file management label updating means 6C. After processing in the order of updating, updating of the file management label 13B-i, and updating of the extension file management label 15B-i including turning off the extension flag, the free area management label updating means 5C updates the free area management label 12B. When the file area is updated and the file area is reduced, the file management label updating means 6C updates the extended file management label 15B-i including turning on the reduction flag, updates the file management label 13B-i, and updates the file management label 13B-i. After processing in the order of updating the extended file management label 15B-i including turning off the It is performed to update the free area management label 12C by physical label updating unit 5C.

【0044】他方、ボリューム情報管理ラベル情報設定
手段3Cは、データ領域1B−2内のファイル領域に対
する拡張,縮小の処理に伴うVTOC更新手段7Cの処
理に先立ち、ボリューム情報管理ラベル11BのVTO
C更新中フラグをオンとし、VTOC更新手段7Cの処
理がファイル領域の拡張,縮小の処理の何れかを示すV
TOC更新種類およびファイル管理ラベル更新手段6C
により更新するためのファイル管理ラベル13B−i,
拡張ファイル管理ラベル15B−iを指す更新ラベルア
ドレスをボリューム情報管理ラベル11B上の更新ラベ
ルフィールドに書込んでいる。
On the other hand, the volume information management label information setting means 3C performs the VTOC update of the volume information management label 11B prior to the processing of the VTOC updating means 7C accompanying the expansion and reduction processing for the file area in the data area 1B-2.
The C updating flag is turned on, and the VTOC updating means 7C determines whether the VTOC updating means 7C has expanded or reduced the file area.
TOC update type and file management label update means 6C
File management label 13B-i,
The update label address indicating the extended file management label 15B-i is written in the update label field on the volume information management label 11B.

【0045】また、ボリューム情報管理ラベル情報解除
手段4Cは、VTOC更新手段7Cの処理の終了時には
ボリューム情報管理ラベル11B上のVTOC更新中フ
ラグおよびVTOC更新種類並びに更新ラベルアドレス
をクリアしている。
The volume information management label information canceling means 4C clears the VTOC updating flag, the VTOC update type, and the update label address on the volume information management label 11B at the end of the processing of the VTOC updating means 7C.

【0046】さらに、VTOC検査修復手段2Cは、デ
ータ領域1B−2内のファイル領域に対する拡張,縮小
の処理の実行時にはVTOC更新手段7Cおよびボリュ
ーム情報管理ラベル情報設定手段3Cの処理に先立っ
て、ボリューム情報管理ラベル11BのVTOC更新フ
ラグがオンならば、VTO1B−1C内に拡張フラグや
縮小フラグがオンの拡張ファイル管理ラベル15B−i
が存在するか否かを検査して、拡張フラグがオンの拡張
ファイル管理ラベル15B−iがあるときには、ボリュ
ーム情報管理ラベル11B上の更新ラベルアドレスが示
しているファイル管理ラベル13B−iとの接続関係の
整合性を検査し、接続されていない場合には、拡張ファ
イル管理ラベル15B−iのラベルアドレスをファイル
管理ラベル13B−iに設定した後に、拡張ファイル管
理ラベル15B−iの拡張フラグをオフとして、接続さ
れている場合には拡張ファイル管理ラベル15B−iの
拡張フラグをオフとして、縮小フラグがオンの拡張ファ
イル管理ラベル15B−iがあるときには、ボリューム
情報管理ラベル11Bの更新ラベルアドレスが示した前
記ファイル管理ラベルとの接続関係の整合性を検査し
て、接続されている場合にはファイル管理ラベル13B
−iから拡張ファイル管理ラベル15B−iへの接続ア
ドレスをクリアした後には、拡張ファイル管理ラベル1
5B−iを未使用ラベル14B−iに書戻して、拡張フ
ァイル管理ラベル15B−iの領域情報を空き領域管理
ラベル12Bの領域情報に追加して、接続されていない
場合には、拡張ファイル管理ラベル15B−iを未使用
ラベル14B−iに書戻して、拡張ファイル管理ラベル
15B−iの領域情報を空き領域管理ラベル12B上の
領域情報に追加することによって中断された処理を完結
してVTOC1B−1の修復処理を終っている。
Further, the VTOC inspection and restoration means 2C performs volume expansion and reduction processing on the file area in the data area 1B-2 prior to the processing of the VTOC update means 7C and the volume information management label information setting means 3C. If the VTOC update flag of the information management label 11B is ON, the extension file management label 15B-i in which the extension flag or the reduction flag is ON in the VTO 1B-1C.
Is checked, and if there is an extended file management label 15B-i whose extension flag is ON, connection with the file management label 13B-i indicated by the update label address on the volume information management label 11B is made. The consistency of the relationship is checked. If the connection is not established, the label address of the extended file management label 15B-i is set to the file management label 13B-i, and then the extension flag of the extended file management label 15B-i is turned off. When the connection is established, the extension flag of the extension file management label 15B-i is turned off, and when there is the extension file management label 15B-i whose reduction flag is on, the update label address of the volume information management label 11B indicates. Check the consistency of the connection relationship with the file management label File management label 13B is the case
After clearing the connection address from -i to the extension file management label 15B-i, the extension file management label 1
5B-i is written back to the unused label 14B-i, and the area information of the extended file management label 15B-i is added to the area information of the free area management label 12B. The label 15B-i is written back to the unused label 14B-i and the area information of the extended file management label 15B-i is added to the area information on the free area management label 12B to complete the interrupted processing and complete the VTOC 1B. -1 has been repaired.

【0047】図8は第4の発明におけるファイルの拡張
処理の一例を示した流れ図である。第4の発明を使用し
てファイルの拡張処理を行うときには、図8に示すよう
に、まず、ステップ81では、ボリューム情報管理ラベ
ル11B上にVTOC更新中フラグをオンとし、更新ラ
ベルアドレスをセットして、VTOC更新種類である拡
張処理中ビットをオンにしている。
FIG. 8 is a flowchart showing an example of a file extension process according to the fourth invention. When performing the file extension process using the fourth invention, as shown in FIG. 8, first, in step 81, the VTOC updating flag is turned on on the volume information management label 11B, and the update label address is set. Thus, the extension processing bit, which is the VTOC update type, is turned on.

【0048】そして、ステップ82で、拡張ファイル管
理ラベル15B−iを作成して拡張フラグをオンとし、
ステップ83で、ファイル管理ラベル13B−iを更新
して拡張ファイル管理ラベル15B−iへの接続を行っ
て、ステップ84では、拡張ファイル管理ラベル15B
−iの拡張フラグをオフにしている。
Then, in step 82, the extension file management label 15B-i is created and the extension flag is turned on.
At step 83, the file management label 13B-i is updated to connect to the extended file management label 15B-i. At step 84, the extended file management label 15B-i is connected.
The -i extension flag is turned off.

【0049】その後、ステップ85で、拡張ファイル管
理ラベル15B−iに使用した領域を空き領域管理ラベ
ル12B上の空き領域から削除してから、ステップ86
で、ボリューム情報管理ラベル11B上のVTOC更新
中フラグをオフとして、更新ラベルアドレスをクリア
し、拡張処理中ビットをオフにしている。
Thereafter, in step 85, the area used for the extended file management label 15B-i is deleted from the free area on the free area management label 12B, and then in step 86
Then, the VTOC updating flag on the volume information management label 11B is turned off, the updated label address is cleared, and the extension processing bit is turned off.

【0050】そこで、ステップ83の前の時点で、障害
X1が発生したときには、復旧処理では、VTOC更新
中フラグがオン,更新ラベルアドレスがセット,拡張処
理中ビットがオンの状態でファイル管理ラベル13B−
iと拡張ファイル管理ラベル15B−iとの接続が行わ
れていないので、上記のステップ83,〜86の処理を
実行している。また、ステップ84の前の時点で、障害
X2が発生したときには、復旧処理は、VTOC更新中
フラグがオン,更新ラベルアドレスがセット,拡張処理
中ビットがオンの状態でファイル管理ラベル13B−i
と拡張ファイル管理ラベル15B−iとの接続が正常で
あるので、上記のステップ84,〜86の処理を実行し
ている。
Therefore, before the step 83, when the failure X1 occurs, in the recovery processing, the VTOC updating flag is set to ON, the update label address is set, and the extension processing bit is set to ON. −
Since the connection between i and the extended file management label 15B-i has not been made, the processing of steps 83 and 86 described above is executed. Further, when the failure X2 occurs before the step 84, the recovery processing is performed in a state where the VTOC updating flag is ON, the update label address is set, and the extension processing bit is ON, and the file management label 13B-i is set.
Since the connection between the extension file management label 15B-i and the extension file management label 15B-i is normal, the processes of steps 84 and 86 are executed.

【0051】図9は第4の発明におけるファイルの縮小
処理の一例を示した流れ図である。第4の発明を使用し
てファイルの縮小処理を行うときには、図9に示すよう
に、まず、ステップ91では、ボリューム情報管理ラベ
ル11B上にVTOC更新中フラグをオンとし、更新ラ
ベルアドレスをセットして、VTOC更新種類である縮
小処理中ビットをオンにしている。
FIG. 9 is a flowchart showing an example of a file reduction process according to the fourth invention. When performing file reduction processing using the fourth invention, as shown in FIG. 9, first, in step 91, the VTOC updating flag is turned on on the volume information management label 11B, and the update label address is set. Thus, the VTOC update type reduction process in progress bit is turned on.

【0052】そして、ステップ92で、拡張ファイル管
理ラベル15B−iを作成して縮小フラグをオンとし、
ステップ93で、ファイル管理ラベル13B−iを更新
して拡張ファイル管理ラベル15B−iへのリンクの切
断を行って、ステップ94では、拡張ファイル管理ラベ
ル15B−iの縮小フラグをオフにしている。
Then, in step 92, the extended file management label 15B-i is created and the reduction flag is turned on.
In step 93, the file management label 13B-i is updated to disconnect the link to the extended file management label 15B-i. In step 94, the reduction flag of the extended file management label 15B-i is turned off.

【0053】その後、ステップ95で、拡張ファイル管
理ラベル15B−iとして使用していた領域を空き領域
管理ラベル12Bの空き領域に追加してから、ステップ
96で、ボリューム情報管理ラベル11BのVTOC更
新中フラグをオフとし、更新ラベルアドレスをクリア
し、縮小処理中ビットをオフにしている。
Thereafter, at step 95, the area used as the extended file management label 15B-i is added to the free area of the free area management label 12B, and then at step 96, the VTOC of the volume information management label 11B is being updated. The flag is turned off, the update label address is cleared, and the reduction processing bit is turned off.

【0054】そこで、ステップ93の前の時点で、障害
Y1が発生したときには、復旧処理では、VTOC更新
中フラグがオン,更新ラベルアドレスがセット,縮小処
理中ビットがオンの状態でファイル管理ラベル13B−
iと拡張ファイル管理ラベル15B−iとの接続が行わ
れているので、上記のステップ93,〜96の処理を実
行している。また、ステップ94の前の時点で障害Y2
が発生したときには、復旧処理は、VTOC更新中フラ
グがオン,更新ラベルアドレスがセット,縮小処理中ビ
ットがオンの状態でファイル管理ラベル13B−iと拡
張ファイル管理ラベル15B−iとの接続が行われてい
ないので、上記のステップ94,〜96の処理を実行し
ている。
Therefore, when the failure Y1 occurs before the step 93, in the recovery processing, the file management label 13B is set in a state where the VTOC updating flag is ON, the update label address is set, and the reduction processing bit is ON. −
Since the connection between i and the extended file management label 15B-i has been established, the processing of steps 93 and 96 is executed. Also, at the time before step 94, the failure Y2
Occurs, the connection between the file management label 13B-i and the extended file management label 15B-i is performed with the VTOC updating flag set to ON, the update label address set, and the reduction processing bit set to ON. Since it has not been performed, the processing of the above steps 94 and 96 is executed.

【0055】[0055]

【発明の効果】以上説明しているように、本発明のボリ
ューム管理テーブル障害復旧方式は、VTOCの更新時
に、VTOCのボリューム情報管理ラベル内にVTOC
更新中フラグおよび更新するファイル管理ラベルのアド
レス等の情報を記録することにより、ボリューム内での
ファイル領域の確保,拡張,解放,縮小の処理を実行中
に障害が発生してVTOCの更新の処理が中断した場合
にも、業務処理の再開始に先立って、VTOCに対する
当該のファイル領域の確保,拡張,解放,縮小の処理を
完結してVTOCの修復処理を行えるという効果を有し
ている。
As described above, according to the volume management table failure recovery method of the present invention, when the VTOC is updated, the VTOC is included in the volume information management label of the VTOC.
By recording information such as the updating flag and the address of the file management label to be updated, a failure occurs during the processing of securing, expanding, releasing, and reducing the file area in the volume, and the VTOC is updated. Even if is interrupted, prior to the restart of the business process, the process of securing, expanding, releasing, and reducing the file area for the VTOC is completed, and the VTOC can be repaired.

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

【図1】第1の発明のボリューム管理テーブル障害復旧
方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a volume management table failure recovery method according to the first invention.

【図2】第1および第2の発明で使用されるボリューム
の内容の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of the contents of a volume used in the first and second inventions.

【図3】第2の発明のボリューム管理テーブル障害復旧
方式の一実施例を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment of a volume management table failure recovery method according to the second invention.

【図4】第2の発明のファイルの確保,拡張,解放,縮
小の処理の各々に伴うVTOC1−1のラベルとデータ
領域1−2のエクステントとの関係の変化の一例を示す
説明図である。
FIG. 4 is an explanatory diagram showing an example of a change in the relationship between the label of the VTOC 1-1 and the extent of the data area 1-2 in each of the processing of securing, expanding, releasing, and reducing the file according to the second invention. .

【図5】第3の発明のボリューム管理テーブル障害復旧
方式の一実施例を示すブロック図である。
FIG. 5 is a block diagram showing an embodiment of a volume management table failure recovery method according to the third invention.

【図6】第3および第4の発明で使用されるボリューム
の内容の一例を示すブロック図である。
FIG. 6 is a block diagram showing an example of the contents of a volume used in the third and fourth inventions.

【図7】第4の発明のボリューム管理テーブル障害復旧
方式の一実施例を示すブロック図である。
FIG. 7 is a block diagram showing an embodiment of a volume management table failure recovery method according to the fourth invention.

【図8】第4の発明におけるファイルの拡張処理の一例
を示した流れ図である。
FIG. 8 is a flowchart showing an example of a file extension process according to the fourth invention.

【図9】第4の発明におけるファイルの縮小処理の一例
を示した流れ図である。
FIG. 9 is a flowchart showing an example of a file reduction process according to the fourth invention.

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

1,1B ボリューム 1−1,1B−1 VTOC 1−2,1B−2 データ領域 2,2A,2B,2C VTOC検査修復手段 3,3A,3B,3C ボリューム情報管理ラベル情
報設定手段 4,4A,4B,4C ボリューム情報管理ラベル情
報解除手段 5,5A,5B,5C 空き領域管理ラベル更新手段 6,6A,6B,6C ファイル管理ラベル更新手段 7,7A,7B,7C VTOC更新手段 11,11B ボリューム情報管理ラベル 12,12B 空き領域管理ラベル 13−1,13−2,13−3,13B−1,13B−
2,13B−3 ファイル管理ラベル 14−1,14−2,14−3,14B−1,14B−
2 未使用ラベル 15B−1 拡張ファイル管理ラベル
1, 1B volume 1-1, 1B-1 VTOC 1-2, 1B-2 data area 2, 2A, 2B, 2C VTOC inspection / recovery means 3, 3A, 3B, 3C volume information management label information setting means 4, 4A, 4B, 4C Volume information management label information release means 5, 5A, 5B, 5C Free area management label update means 6, 6A, 6B, 6C File management label update means 7, 7A, 7B, 7C VTOC update means 11, 11B Volume information Management label 12, 12B Free space management label 13-1, 13-2, 13-3, 13B-1, 13B-
2, 13B-3 File management label 14-1, 14-2, 14-3, 14B-1, 14B-
2 Unused label 15B-1 Extended file management label

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−154560(JP,A) 特開 昭62−296250(JP,A) 特開 昭62−278649(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-59-154560 (JP, A) JP-A-62-296250 (JP, A) JP-A-62-278649 (JP, A) (58) Field (Int.Cl. 7 , DB name) G06F 12/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多数のファイルを格納することができる
大容量のデータ領域と、前記データ領域の内容を管理す
るための情報を持つボリューム管理テーブル(Volu
me Table Of Contentsであり、以
下にVTOCという。)とを有する各ボリュームを備え
た情報処理システムのボリューム管理テーブル障害復旧
方式において、(A)前記データ領域内のそれぞれのフ
ァイルに対する領域情報および属性情報を持つファイル
管理ラベルと、(B)前記データ領域内の空き領域情報
を持つ空き領域管理ラベルと、(C)前記ファイル管理
ラベル,前記空き領域管理ラベルの何れかにつき更新中
であることを示すVTOC更新フラグおよび更新中の前
記ファイル管理ラベルの更新ラベルアドレスを記憶する
更新ラベルフィールドを持つボリューム情報管理ラベル
と、(D)前記ファイル管理ラベル,前記空き領域管理
ラベル,前記ボリューム情報管理ラベルの何れとしても
使用されていない各々の未使用ラベルと、を前記VTO
Cに備えるとともに、(E)前記データ領域内のファイ
ル領域に対する確保,拡張,解放,縮小の処理に伴い、
前記ファイル管理ラベルの作成,削除,更新の処理を行
うファイル管理ラベル更新手段と、(F)前記データ領
域内のファイル領域に対する確保,拡張,解放,縮小の
処理に伴い、前記空き領域管理ラベル上の空き領域の削
除および追加を行う空き領域管理ラベル更新手段と、
(G)前記データ領域内のファイル領域の確保,拡張の
際には前記ファイル管理ラベル更新手段により前記ファ
イル管理ラベルを更新した後、前記空き領域管理ラベル
更新手段により前記空き領域管理ラベルを更新し、ファ
イル領域の解放,縮小の際には前記ファイル管理ラベル
更新手段により前記ファイル管理ラベルを更新した後、
前記空き領域管理ラベル更新手段により前記空き領域管
理ラベルの更新を行うVTOC更新手段と、(H)前記
データ領域内のファイル領域に対する確保,拡張,解
放,縮小の処理に伴う前記VTOC更新手段の処理に先
立ち、前記ボリューム情報管理ラベルのVTOC更新中
フラグをオンとして、前記ファイル管理ラベル更新手段
にて更新する前記ファイル管理ラベルを示した更新ラベ
ルアドレスを前記ボリューム情報管理ラベルの更新ラベ
ルフィールドに書込むボリューム情報管理ラベル情報設
定手段と、(I)前記VTOC更新手段の処理の終了後
に前記ボリューム情報管理ラベル上のVTOC更新中フ
ラグおよび更新ラベルアドレスをクリアするボリューム
情報管理ラベル情報解除手段と、(J)前記データ領域
内のファイル領域に対する確保,拡張,解放,縮小の処
理の実行時には、前記VTOC更新手段および前記ボリ
ューム情報管理ラベル情報設定手段の処理に先立って、
前記ボリューム情報管理ラベル上のVTOC更新中フラ
グがオンであれば、前記ボリューム情報管理ラベル上の
更新ラベルアドレスが示す前記ファイル管理ラベル上の
領域情報および前記空き領域管理ラベル上の領域情報を
比較し、領域情報に重複がある場合には前記空き領域管
理ラベル上の領域情報から重複する領域情報を削除する
ことにより、前記VTOCの修復処理を終えるVTOC
検査修復手段と、を備えることを特徴とするボリューム
管理テーブル障害復旧方式。
1. A volume management table (Volu) having a large-capacity data area capable of storing a large number of files and information for managing the contents of the data area.
me Table Of Contents, hereinafter referred to as VTOC. (A) a file management label having area information and attribute information for each file in the data area; and (B) a data management label for each file in the data area. (C) a VTOC update flag indicating that any one of the file management label and the free area management label is being updated, and A volume information management label having an update label field for storing an update label address; and (D) each unused label not used as any of the file management label, the free space management label, and the volume information management label. , The VTO
C, and (E) With the processing of securing, expanding, releasing, and reducing the file area in the data area,
File management label updating means for creating, deleting, and updating the file management label; and (F) storing, expanding, releasing, and reducing the file area in the data area. Free space management label updating means for deleting and adding free space of
(G) When securing or expanding a file area in the data area, the file management label is updated by the file management label updating means, and then the free area management label is updated by the free area management label updating means. When the file area is released or reduced, the file management label is updated by the file management label updating unit.
VTOC updating means for updating the vacant area management label by the vacant area management label updating means, and (H) processing of the VTOC updating means accompanying the processing of securing, expanding, releasing, and reducing the file area in the data area Prior to this, the VTOC updating flag of the volume information management label is turned on, and an update label address indicating the file management label to be updated by the file management label updating means is written in the update label field of the volume information management label. Volume information management label information setting means; (I) volume information management label information release means for clearing a VTOC updating flag and an update label address on the volume information management label after the processing of the VTOC update means is completed; ) In the file area in the data area Secured to, extended, release, during the process of reduction run, prior to treatment of the VTOC updating means and the volume information management label information setting means,
If the VTOC updating flag on the volume information management label is ON, the area information on the file management label indicated by the update label address on the volume information management label and the area information on the free area management label are compared. When there is an overlap in the area information, the overlapping area information is deleted from the area information on the free area management label, thereby completing the VTOC repair processing.
A volume management table failure recovery method, comprising:
【請求項2】 多数のファイルを格納することができる
大容量のデータ領域と前記データ領域の内容を管理する
情報を持つVTOCとを有する各ボリュームを備えた情
報処理システムのボリューム管理テーブル障害復旧方式
において、(A)前記データ領域内のそれぞれのファイ
ルに対する領域情報および属性情報を持つファイル管理
ラベルと、(B)前記データ領域内の空き領域情報を持
つ空き領域管理ラベルと、(C)前記ファイル管理ラベ
ル,前記空き領域管理ラベルの何れかにつき更新中であ
ることを示すVTOC更新フラグおよび更新中の前記フ
ァイル管理ラベルの更新ラベルアドレスを記憶する更新
ラベルフィールドを持つボリューム情報管理ラベルと、
(D)前記ファイル管理ラベル,前記空き領域管理ラベ
ル,前記ボリューム情報管理ラベルの何れとしても使用
されていない各々の未使用ラベルと、を前記VTOCに
備えるとともに、(E)前記データ領域内のファイル領
域に対する確保,拡張,解放,縮小の処理に伴い、前記
ファイル管理ラベルの作成,削除,更新の処理を行うフ
ァイル管理ラベル更新手段と、(F)前記データ領域内
のファイル領域に対する確保,拡張,解放,縮小の処理
に伴い、前記空き領域管理ラベル上の空き領域の削除お
よび追加を行う空き領域管理ラベル更新手段と、(G)
前記データ領域内のファイル領域の確保,拡張の際には
前記ファイル管理ラベル更新手段により前記ファイル管
理ラベルを更新した後、前記空き領域管理ラベル更新手
段により前記空き領域管理ラベルを更新し、ファイル領
域の解放,縮小の際には前記ファイル管理ラベル更新手
段により前記ファイル管理ラベルを更新した後、前記空
き領域管理ラベル更新手段により前記空き領域管理ラベ
ルの更新を行うVTOC更新手段と、(H)前記データ
領域内のファイル領域に対する確保,拡張,解放,縮小
の処理に伴う前記VTOC更新手段の処理に先立ち、前
記ボリューム情報管理ラベルのVTOC更新中フラグを
オンとし、前記VTOC更新手段の処理がファイル領域
の確保,拡張,解放,縮小の処理の何れかを示したVT
OC更新種類および前記ファイル管理ラベル更新手段に
て更新する前記ファイル管理ラベルの更新ラベルアドレ
スを前記ボリューム情報管理ラベル上の更新ラベルフィ
ールド内に書込むボリューム情報管理ラベル情報設定手
段と、(I)前記VTOC更新手段の処理の終了後に、
前記ボリューム情報管理ラベル上のVTOC更新中フラ
グおよびVTOC更新種類並びに更新ラベルアドレスの
クリアを行うボリューム情報管理ラベル情報解除手段
と、(J)前記データ領域内のファイル領域に対する確
保,拡張,解放,縮小の処理の実行時には、前記VTO
C更新手段および前記ボリューム情報管理ラベル情報設
定手段の処理に先立って、前記ボリューム情報管理ラベ
ル上のVTOC更新中フラグがオンならば、前記ボリュ
ーム情報管理ラベルのVTOC更新種類を参照して、フ
ァイルの確保,拡張の処理の場合には、前記ボリューム
情報管理ラベル上の更新ラベルアドレスが示した前記フ
ァイル管理ラベルの領域情報および前記空き領域管理ラ
ベルの領域情報を比較して、領域情報に重複があれば、
前記空き領域管理ラベルの領域情報から重複する領域情
報を削除して、ファイルの解放の処理の場合には、前記
ボリューム情報管理ラベル上の更新ラベルアドレスが示
す前記ファイル管理ラベルの領域情報を前記空き領域管
理ラベルに移行して、前記ファイル管理ラベルを前記未
使用ラベルに書戻すことによって中断された処理を完結
して前記VTOCの修復処理を終えるVTOC検査修復
手段と、を備えることを特徴とするボリューム管理テー
ブル障害復旧方式。
2. A volume management table failure recovery method for an information processing system including a volume having a large-capacity data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. (A) a file management label having area information and attribute information for each file in the data area, (B) a free area management label having free area information in the data area, and (C) the file A volume information management label having a VTOC update flag indicating that any one of the management label and the free space management label is being updated, and an update label field for storing an update label address of the file management label being updated;
(D) Each unused label not used as any of the file management label, the free space management label, and the volume information management label is provided in the VTOC, and (E) a file in the data area is provided. File management label updating means for creating, deleting, and updating the file management label in accordance with the processing of securing, expanding, releasing, and reducing the area; and (F) securing, expanding, and deleting the file area in the data area. (G) a free space management label updating means for deleting and adding a free space on the free space management label in accordance with the processing of release and reduction.
When securing and expanding a file area in the data area, the file management label is updated by the file management label updating means, and then the free area management label is updated by the free area management label updating means. VTOC updating means for updating the file management label by the file management label updating means and updating the free area management label by the free area management label updating means at the time of releasing and reducing the file management label; Prior to the processing of the VTOC updating means accompanying the processing of securing, expanding, releasing, and reducing the file area in the data area, the VTOC updating flag of the volume information management label is turned on, and the processing of the VTOC updating means performs the processing of the file area. That indicates any of the following processes of securing, expanding, releasing, and reducing
Volume information management label information setting means for writing an OC update type and an update label address of the file management label to be updated by the file management label update means into an update label field on the volume information management label; After the processing of the VTOC updating means,
Volume information management label information release means for clearing the VTOC update flag, VTOC update type and update label address on the volume information management label; and (J) securing, expanding, releasing, and reducing the file area in the data area When executing the processing of the above, the VTO
Prior to the processing of the C updating means and the volume information management label information setting means, if the VTOC updating flag on the volume information management label is on, the VTOC update type of the volume information management label is referred to In the case of the process of securing and expanding, the area information of the file management label and the area information of the free area management label indicated by the update label address on the volume information management label are compared, and if there is any overlap in the area information, If
In the case of a file release process, overlapping area information is deleted from the area information of the free area management label, and the area information of the file management label indicated by the update label address on the volume information management label is replaced with the free area information. VTOC inspection / recovery means for shifting to an area management label, rewriting the file management label to the unused label, completing the interrupted processing, and ending the VTOC recovery processing. Volume management table failure recovery method.
【請求項3】 多数のファイルを格納することができる
大容量のデータ領域と前記データ領域の内容を管理する
情報を持つVTOCとを有する各ボリュームを備えた情
報処理システムのボリューム管理テーブル障害復旧方式
において、(A)前記データ領域内のそれぞれのファイ
ルに対する領域情報および属性情報を持つファイル管理
ラベルと、(B)前記ファイル管理ラベルに格納するこ
とができない領域情報がある場合に前記ファイル管理ラ
ベルに接続される拡張ファイル管理ラベルと、(C)前
記データ領域内の空き領域情報を持つ空き領域管理ラベ
ルと、(D)前記ファイル管理ラベル,前記拡張ファイ
ル管理ラベル,前記空き領域管理ラベルの何れかが更新
中であることを示すVTOC更新中フラグおよび更新中
の前記ファイル管理ラベル,前記拡張ファイル管理ラベ
ルの更新ラベルアドレス並びに前記VTOC更新手段の
処理が前記データ領域内のファイル領域の確保,拡張,
解放,縮小の処理の何れであるかを示すVTOC更新種
類を記憶する更新ラベルフィールドを持つボリューム情
報管理ラベルと、(E)前記ファイル管理ラベル,前記
拡張ファイル管理ラベル,前記空き領域管理ラベル,前
記ボリューム情報管理ラベルの何れとしても使用されて
いない各々の未使用ラベルと、を前記VTOCに備える
とともに、(F)前記データ領域内のファイル領域に対
する確保,拡張,解放,縮小の処理に伴い、前記ファイ
ル管理ラベル,前記拡張ファイル管理ラベルの作成,削
除,更新の処理を行うファイル管理ラベル更新手段と、
(G)前記データ領域内のファイル領域に対する確保,
拡張,解放,縮小の処理に伴って、前記空き領域管理ラ
ベル上の空き領域に対する削除および追加を行う空き領
域管理ラベル更新手段と、(H)前記データ領域内のフ
ァイル領域の確保,拡張の際には前記ファイル管理ラベ
ル更新手段により前記拡張ファイル管理ラベル,前記フ
ァイル管理ラベルを更新した後に、前記空き領域管理ラ
ベル更新手段により前記空き領域管理ラベルを更新し
て、ファイル領域の解放,縮小の際には、前記ファイル
管理ラベル更新手段により前記ファイル管理ラベル,前
記拡張ファイル管理ラベルを更新した後に、前記空き領
域管理ラベル更新手段によって前記空き領域管理ラベル
の更新を行うVTOC更新手段と、(I)前記データ領
域内のファイル領域に対する確保,拡張,解放,縮小の
処理に伴う前記VTOC更新手段の処理に先立ち、前記
ボリューム情報管理ラベルのVTOC更新中フラグをオ
ンとし、前記VTOC更新手段の処理がファイル領域の
確保,拡張,解放,縮小の処理の何れかを示したVTO
C更新種類および前記ファイル管理ラベル更新手段によ
り更新する前記ファイル管理ラベル,前記拡張ファイル
管理ラベルの更新ラベルアドレスを前記ボリューム情報
管理ラベル上の更新ラベルフィールド内に書込むボリュ
ーム情報管理ラベル情報設定手段と、(J)前記VTO
C更新手段の処理の終了後に、前記ボリューム情報管理
ラベル上のVTOC更新中フラグおよびVTOC更新種
類並びに更新ラベルアドレスのクリアを行うボリューム
情報管理ラベル情報解除手段と、(K)前記データ領域
内のファイル領域に対する確保,拡張,解放,縮小の処
理の実行時には、前記VTOC更新手段および前記ボリ
ューム情報管理ラベル情報設定手段の処理に先立ち、前
記ボリューム情報管理ラベルのVTOC更新フラグがオ
ンであれば、前記ボリューム情報管理ラベルのVTOC
更新種類を参照し、ファイル領域の確保,拡張の処理の
場合には、前記ボリューム情報管理ラベル上の更新ラベ
ルアドレスが示した前記ファイル管理ラベル,前記拡張
ファイル管理ラベル上の領域情報および前記空き領域管
理ラベル上の領域情報を比較し、領域情報に重複があっ
たり前記拡張ファイル管理ラベルが前記ファイル管理ラ
ベルに接続されていなければ、前記拡張ファイル管理ラ
ベルの前記ファイル管理ラベルへの接続を行い、前記空
き領域管理ラベル上の領域情報から重複する領域情報を
削除するとともに、ファイル領域に対する解放の処理の
場合に、前記ボリューム情報管理ラベル上の更新ラベル
アドレスが示した前記ファイル管理ラベル,前記拡張フ
ァイル管理ラベルの領域情報を前記空き領域管理ラベル
に移行して、前記ファイル管理ラベル,前記拡張ファイ
ル管理ラベルを前記未使用ラベルに書戻すことにより中
断された処理を完結して前記VTOCの修復処理を終え
るVTOC検査修復手段と、を備えることを特徴とする
ボリューム管理テーブル障害復旧方式。
3. A volume management table failure recovery method for an information processing system including each volume having a large-capacity data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. Wherein (A) a file management label having area information and attribute information for each file in the data area, and (B) the file management label when there is area information that cannot be stored in the file management label. An extended file management label to be connected; (C) an empty area management label having empty area information in the data area; and (D) one of the file management label, the extended file management label, and the empty area management label. Updating flag indicating that the file is being updated and the file management being updated The label, the update label address of the extended file management label, and the processing of the VTOC updating means secure, extend, and secure a file area in the data area.
(E) the file management label, the extended file management label, the free space management label, and the volume information management label having an update label field for storing a VTOC update type indicating whether the processing is release or reduction processing. Each unused label that is not used as any of the volume information management labels is provided in the VTOC, and (F) the allocation, expansion, release, and reduction of the file area in the data area is performed, File management label updating means for creating, deleting, and updating the file management label and the extended file management label;
(G) securing a file area in the data area,
Free space management label updating means for deleting and adding to the free space on the free space management label in accordance with expansion, release, and reduction processing; and (H) securing and expanding a file area in the data area. After updating the extended file management label and the file management label by the file management label updating means, the free area management label is updated by the free area management label updating means to release and reduce the file area. VTOC updating means for updating the free space management label by the free space management label updating means after updating the file management label and the extended file management label by the file management label updating means; (I) The VT associated with securing, expanding, releasing, and reducing the file area in the data area Prior to the processing of C updating means, the VTOC updating flag of the volume information management label is turned on, the processing of the VTOC updating means to secure the file area, extended release, showed one of the processing of the reduced VTO
Volume information management label information setting means for writing an update label address of the file management label and the extended file management label to be updated by the C update type and the file management label update means into an update label field on the volume information management label; , (J) the VTO
A volume information management label information release unit that clears the VTOC update flag, the VTOC update type, and the update label address on the volume information management label after the processing of the C update unit is completed; and (K) a file in the data area. When executing the processing of securing, expanding, releasing, and reducing the area, prior to the processing by the VTOC updating means and the volume information management label information setting means, if the VTOC update flag of the volume information management label is on, the volume VTOC of information management label
In the case of referring to the update type and securing or expanding the file area, the file management label indicated by the update label address on the volume information management label, the area information on the extended file management label, and the free area Compare the area information on the management label, if there is overlap in the area information or the extended file management label is not connected to the file management label, perform the connection of the extended file management label to the file management label, In the case of deleting overlapping area information from the area information on the free area management label and releasing the file area, the file management label indicated by the update label address on the volume information management label and the extension file The area information of the management label is transferred to the free area management label, A volume management table comprising: a file management label; and a VTOC inspection and repair unit that completes the interrupted process by rewriting the extended file management label to the unused label to complete the VTOC repair process. Disaster recovery method.
【請求項4】 多数のファイルを格納することができる
大容量のデータ領域と前記データ領域の内容を管理する
情報を持つVTOCとを有する各ボリュームを備えた情
報処理システムのボリューム管理テーブル障害復旧方式
において、(A)前記データ領域内のそれぞれのファイ
ルに対する領域情報および属性情報を持つファイル管理
ラベルと、(B)前記ファイル管理ラベルに格納するこ
とができない領域情報がある場合に前記ファイル管理ラ
ベルに接続される拡張ファイル管理ラベルと、(C)前
記データ領域内の空き領域情報を持つ空き領域管理ラベ
ルと、(D)前記ファイル管理ラベル,前記拡張ファイ
ル管理ラベル,前記空き領域管理ラベルの何れかが更新
中であることを示すVTOC更新中フラグおよび更新中
の前記ファイル管理ラベル,前記拡張ファイル管理ラベ
ルの更新ラベルアドレス並びに前記VTOC更新手段の
処理が前記データ領域内のファイル領域の拡張,縮小の
処理の何れかを示すVTOC更新種類を記憶する更新ラ
ベルフィールドを持つボリューム情報管理ラベルと、
(E)前記ファイル管理ラベル,前記拡張ファイル管理
ラベル,前記空き領域管理ラベル,前記ボリューム情報
管理ラベルの何れとしても使用されていない各々の未使
用ラベルと、を前記VTOCに備えるとともに、(F)
前記データ領域内のファイル領域に対する拡張,縮小の
処理に伴い、前記ファイル管理ラベル,前記拡張ファイ
ル管理ラベルの作成,削除,更新の処理を行うととも
に、ファイル領域の拡張の処理によって前記拡張ファイ
ル管理ラベルを新規に接続する場合、拡張の処理中であ
ることを示すために前記拡張ファイル管理ラベル上に設
けた拡張フラグをオンとし、ファイル領域の縮小の処理
により前記拡張ファイル管理ラベルを削除する場合、前
記ファイル管理ラベルの更新に先立って縮小の処理中で
あることを示すために前記拡張ファイル管理ラベル上に
設けた縮小フラグをオンとして、ファイル領域の拡張,
縮小の処理が正常に終了した場合にはこれらの拡張フラ
グ,縮小フラグをオフとするファイル管理ラベル更新手
段と、(G)前記データ領域内のファイル領域に対する
拡張,縮小の処理に伴い、前記空き領域管理ラベル上の
空き領域に対する削除,追加を行う空き領域管理ラベル
更新手段と、(H)前記データ領域のファイル領域の拡
張の際には、前記ファイル管理ラベル更新手段により拡
張フラグをオンにすることを含む前記拡張ファイル管理
ラベルの更新,前記ファイル管理ラベルの更新,拡張フ
ラグをオフにすることを含む前記拡張ファイル管理ラベ
ルの更新の順番で処理した後、前記空き領域管理ラベル
更新手段により前記空き領域管理ラベルを更新し、ファ
イル領域の縮小の際には前記ファイル管理ラベル更新手
段により縮小フラグをオンにすることを含む前記拡張フ
ァイル管理ラベルの更新,前記ファイル管理ラベルの更
新,縮小フラグをオフにすることを含む前記拡張ファイ
ル管理ラベルの更新の順番で処理した後、前記空き領域
管理ラベル更新手段によって前記空き領域管理ラベルの
更新を行うVTOC更新手段と、(I)前記データ領域
内のファイル領域の拡張,縮小の処理に伴う前記VTO
C更新手段の処理に先立って、前記ボリューム情報管理
ラベル上のVTOC更新中フラグをオンとし、前記VT
OC更新手段の処理がファイル領域の拡張,縮小の処理
の何れかを示したVTOC更新種類および前記ファイル
管理ラベル更新手段によって更新する前記ファイル管理
ラベル,前記拡張ファイル管理ラベルの更新ラベルアド
レスを前記ボリューム情報管理ラベル上の更新ラベルフ
ィールド内に書込むボリューム情報管理ラベル情報設定
手段と、(J)前記VTOC更新手段の処理の終了後
に、前記ボリューム情報管理ラベル上のVTOC更新中
フラグおよびVTOC更新種類並びに更新ラベルアドレ
スのクリアを行うボリューム情報管理ラベル情報解除手
段と、(K)前記データ領域内のファイル領域に対する
拡張,縮小の処理の実行時に、前記VTOC更新手段お
よび前記ボリューム情報管理ラベル情報設定手段の処理
に先立ち前記ボリューム情報管理ラベルのVTOC更新
フラグがオンであれば、前記VTOC内に拡張フラグや
縮小フラグがオンの前記拡張ファイル管理ラベルが存在
するか否かを検査して、拡張フラグがオンの前記拡張フ
ァイル管理ラベルがあれば、前記ボリューム情報管理ラ
ベル上の更新ラベルアドレスが示した前記ファイル管理
ラベルとの接続関係の整合性を検査し、接続されていな
い場合には前記拡張ファイル管理ラベルのラベルアドレ
スを前記ファイル管理ラベルに設定した後に、前記拡張
ファイル管理ラベルの拡張フラグをオフとして、接続さ
れている場合には前記拡張ファイル管理ラベルの拡張フ
ラグをオフとし、縮小フラグがオンの前記拡張ファイル
管理ラベルがあれば、前記ボリューム情報管理ラベル上
の更新ラベルアドレスが示す前記ファイル管理ラベルと
の接続関係の整合性を検査し、接続されている場合には
前記ファイル管理ラベルから前記拡張ファイル管理ラベ
ルの接続アドレスをクリアした後、前記拡張ファイル管
理ラベルを前記未使用ラベルに書戻し、前記拡張ファイ
ル管理ラベルの領域情報を前記空き領域管理ラベルの領
域情報に追加して、接続されていない場合には前記拡張
ファイル管理ラベルを前記未使用ラベルに書戻して、前
記拡張ファイル管理ラベルの領域情報を前記空き領域管
理ラベルの領域情報に追加することにより中断された処
理を完結して前記VTOCの修復処理を終えるVTOC
検査修復手段と、を備えることを特徴とするボリューム
管理テーブル障害復旧方式。
4. A volume management table failure recovery method for an information processing system including a volume having a large-capacity data area capable of storing a large number of files and a VTOC having information for managing the contents of the data area. Wherein (A) a file management label having area information and attribute information for each file in the data area, and (B) the file management label when there is area information that cannot be stored in the file management label. An extended file management label to be connected; (C) an empty area management label having empty area information in the data area; and (D) one of the file management label, the extended file management label, and the empty area management label. Updating flag indicating that the file is being updated and the file management being updated Volume information having an update label field for storing a label, an update label address of the extended file management label, and a VTOC update type indicating whether the processing of the VTOC updating means is expansion or reduction of a file area in the data area. Management labels,
(E) each unused label not used as any of the file management label, the extended file management label, the free space management label, and the volume information management label is provided in the VTOC;
The file management label and the extended file management label are created, deleted, and updated with the extension and reduction of the file area in the data area, and the extended file management label is created by the extension of the file area. When a new connection is made, the extension flag provided on the extension file management label is turned on to indicate that the extension process is being performed, and the extension file management label is deleted by the process of reducing the file area, Prior to updating the file management label, a reduction flag provided on the extended file management label is turned on to indicate that a reduction process is being performed, and file area expansion and
File management label updating means for turning off the expansion flag and the reduction flag when the reduction processing is completed normally; and (G) the free space associated with the expansion and reduction processing for the file area in the data area. A free area management label updating means for deleting and adding to the free area on the area management label; and (H) turning on an extension flag by the file management label updating means when the file area of the data area is expanded. After updating the extended file management label, updating the file management label, and updating the extended file management label including turning off the extension flag, the free space management label updating unit updates the extended file management label. The free space management label is updated, and when the file area is reduced, the file management label updating means updates the reduction flag. After the processing of updating the extended file management label including turning on the file management label, updating the file management label, and updating the extension file management label including turning off the reduction flag, and then processing the empty space management label. VTOC updating means for updating the free space management label by an updating means, and (I) the VTO associated with expansion and reduction of a file area in the data area.
Prior to the processing by the C updating means, the VTOC updating flag on the volume information management label is turned on, and the VT
The VTOC update type indicating that the processing of the OC updating means indicates expansion or reduction processing of the file area, the file management label updated by the file management label updating means, and the update label address of the extended file management label are described in the volume. Volume information management label information setting means for writing into the update label field on the information management label; and (J) a VTOC updating flag and a VTOC update type on the volume information management label after the processing of the VTOC update means is completed. Volume information management label information release means for clearing an update label address; and (K) the VTOC update means and the volume information management label information setting means for executing expansion and reduction processing on a file area in the data area. Prior to processing If the VTOC update flag of the system information management label is on, it is checked whether or not the VTOC includes the extension file management label with the extension flag or the reduction flag on. If there is a management label, the consistency of the connection relationship with the file management label indicated by the update label address on the volume information management label is checked, and if not connected, the label address of the extended file management label is changed. After setting the file management label, the extension flag of the extension file management label is turned off, and if connected, the extension flag of the extension file management label is turned off, and the extension flag of the extension file management label is turned on. If there is, the file indicated by the update label address on the volume information management label Inspect the consistency of the connection relationship with the file management label, and if connected, clear the connection address of the extended file management label from the file management label, and then change the extended file management label to the unused label. Rewriting, adding the area information of the extended file management label to the area information of the free area management label, and if not connected, rewriting the extended file management label to the unused label, VTOC that completes the interrupted process and ends the VTOC repair process by adding the management label area information to the free area management label area information
A volume management table failure recovery method, comprising:
JP6059697A 1994-03-30 1994-03-30 Volume management table failure recovery method Expired - Fee Related JP3056038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6059697A JP3056038B2 (en) 1994-03-30 1994-03-30 Volume management table failure recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6059697A JP3056038B2 (en) 1994-03-30 1994-03-30 Volume management table failure recovery method

Publications (2)

Publication Number Publication Date
JPH07271646A JPH07271646A (en) 1995-10-20
JP3056038B2 true JP3056038B2 (en) 2000-06-26

Family

ID=13120665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6059697A Expired - Fee Related JP3056038B2 (en) 1994-03-30 1994-03-30 Volume management table failure recovery method

Country Status (1)

Country Link
JP (1) JP3056038B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5077665B2 (en) * 2007-10-04 2012-11-21 Necインフロンティア株式会社 Information processing apparatus, file system monitoring method, file system monitoring program, and program recording medium
JP5227604B2 (en) * 2008-02-14 2013-07-03 株式会社日立製作所 Information processing system, file exclusive control method, and exclusive control program

Also Published As

Publication number Publication date
JPH07271646A (en) 1995-10-20

Similar Documents

Publication Publication Date Title
JP4422016B2 (en) Method and apparatus for creating a virtual data copy
US8285679B2 (en) Creating a buffer point-in-time copy relationship for a point-in-time copy function executed to create a point-in-time copy relationship
US9940067B2 (en) Performing a data write on a storage device
US7861047B2 (en) Storage device and information management system
US7552296B1 (en) Symmetrical data change tracking
US7620666B1 (en) Maintaining persistent data change maps for fast data synchronization and restoration
US7103796B1 (en) Parallel data change tracking for maintaining mirrored data consistency
JPH06214853A (en) Method and system for backup and restoration of database
US8131958B2 (en) Storage system, storage device, and data updating method using a journal volume
JP3056038B2 (en) Volume management table failure recovery method
JP5644795B2 (en) Storage device, data recovery method and program
JP4131583B2 (en) Redundant computer system
JP2001312421A (en) Backup method and recording medium
JPH04141751A (en) Fault recovery system for mass storage medium
JPH05158625A (en) Trouble countermeasure system for array type storage device
JPS63262737A (en) Data base updating and recording processing method
JP2000339183A (en) Data set management system for work area
JPH04307643A (en) Highly reliable file system
JP2959467B2 (en) Fault recovery system, fault recovery method, and medium for storing fault recovery program in loosely coupled multi-computer system
JPH09212400A (en) File system provided with fault resistance
JP2001014225A (en) System and method for data backup
JPH10254787A (en) Guarantee processor for equivalence of duplex volume
JPH10260852A (en) Method for holding and reproducing display screen in computer terminal, and computer system realizing the same
JPH08161211A (en) Method and device for restoring file by logging
JP2003248604A (en) File updating program and file updating method

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: 20000314

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

LAPS Cancellation because of no payment of annual fees