JPH04273546A - File management system - Google Patents

File management system

Info

Publication number
JPH04273546A
JPH04273546A JP3033861A JP3386191A JPH04273546A JP H04273546 A JPH04273546 A JP H04273546A JP 3033861 A JP3033861 A JP 3033861A JP 3386191 A JP3386191 A JP 3386191A JP H04273546 A JPH04273546 A JP H04273546A
Authority
JP
Japan
Prior art keywords
file
extent
management information
data
control part
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3033861A
Other languages
Japanese (ja)
Inventor
Hidehiro Tamura
田村 英寛
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido Ltd
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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP3033861A priority Critical patent/JPH04273546A/en
Publication of JPH04273546A publication Critical patent/JPH04273546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To enable the restoration of a file by reconnecting an extent cut by a fault by obtaining the assignment of entire areas on an auxiliary storage device. CONSTITUTION:A data writing control part 12 operates a writing control to a file 10 on the auxiliary storage device, and a data reading control part 13 operates a reading control to the file 10. A file assignment managing part 11 manages the assignment of the file 10 by obtaining and updating the assignment of the file 10 from a label by using the data writing control part 12 and the data reading control part 13. A management information pad control part 15 embeds management information at the top of the extent at the time of ensuring the extent and a management information reading control part 16 reads the embedded control information. An extent managing part 14 manages the assignment of each extent of the file 10 by using the management information pad control part 15 and the management information reading control part 16.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はファイル管理方式に関し
、特に情報処理システムの補助記憶装置上におけるファ
イル管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management system, and more particularly to a file management system on an auxiliary storage device of an information processing system.

【0002】0002

【従来の技術】一般的なファイル管理方式はファイルの
所属性に関する情報をファイル管理ラベル(以下ラベル
と略す)によって一括管理しており、対象となるファイ
ルに対する最初のアクセス時にラベルよりファイル管理
テーブル(以下テーブルと略す)を作成する。以降、1
つのファイル領域(以下エクステントと略す)にデータ
を書き込むことでエクステントが満杯となったが、さら
にデータを追加しようとした場合に次のエクステントを
確保する。しかし新たに確保されたエクステントに関す
る情報はテーブルのみを更新し、ファイルに対しての最
後のアクセス時にテーブル上のエクステントに関する情
報を基にラベル上の情報を更新することでファイルのエ
クステントを管理していた。
[Prior Art] In a general file management system, information regarding file affiliation is collectively managed using a file management label (hereinafter referred to as a label), and when the target file is accessed for the first time, the file management table ( (hereinafter abbreviated as table). From then on, 1
If an extent becomes full by writing data to one file area (hereinafter referred to as an extent), and you try to add more data, the next extent is secured. However, information about newly allocated extents is updated only in the table, and file extents are managed by updating the information on the label based on the information about the extents on the table at the time of the last access to the file. Ta.

【0003】従来のファイル管理方式は図4に示すよう
にラベル42およびエクステント43を持つ補助記憶装
置41とテーブル44とを有している。45はファイル
に対する最初のアクセス時におけるラベルからのテーブ
ルの作成を、46,47はデータの追加によってエクス
テントが満杯になり新たなエクステントが確保された時
点でのテーブルの更新を、48はファイルに対する最後
のアクセス時におけるテーブルからのラベルの更新を示
す。
The conventional file management system has an auxiliary storage device 41 having labels 42 and extents 43, and a table 44, as shown in FIG. 45 creates a table from the label when the file is accessed for the first time, 46 and 47 update the table when the extent becomes full due to data addition and a new extent is secured, and 48 creates the table after the last access to the file. Shows the update of the label from the table when accessing.

【0004】このように従来のファイル管理方式では、
ファイルアクセス時においてファイルのエクステントに
関する正しい情報はテーブル上にしか存在せず、ラベル
上にもファイルのエクステント上にも各エクステントの
所属性を示す情報は保存されていなかった。
[0004] As described above, in the conventional file management system,
At the time of file access, correct information regarding file extents exists only on the table, and information indicating the affiliation of each extent is not stored on the label or on the file extent.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のファイ
ル管理方式では、不慮の電源断等の障害が発生しエクス
テントに関する情報を管理するテーブルが消失してしま
った場合、またラベルそのものが破壊されてしまった場
合、どこにもそのエクステントの所属性を示す情報が保
存されていないため、切断されたエクステントのつなが
りを復旧させる手段がないという欠点がある。
[Problems to be Solved by the Invention] In the conventional file management method described above, if a failure such as an unexpected power cut occurs and the table for managing information about extents is lost, or the label itself is destroyed. If the extent is deleted, there is no information indicating the belongingness of the extent stored anywhere, so there is no way to restore the connection between the severed extents.

【0006】本発明の目的は以上の欠点を解消し、補助
記憶装置上の全ての領域の所属性を把握することを可能
とし、障害によって切断されたエクステントを再接続す
ることによるファイルの復旧を可能とするファイル管理
方式を提供することにある。
The purpose of the present invention is to eliminate the above-mentioned drawbacks, make it possible to grasp the affiliation of all areas on an auxiliary storage device, and recover files by reconnecting extents that have been disconnected due to failure. The objective is to provide a file management method that makes it possible.

【0007】[0007]

【課題を解決するための手段】本発明のファイル管理方
式は、ファイルにデータを書き込むための手段と、前記
ファイルよりデータを読み込むための手段と、前記デー
タを書き込む手段およびデータを読み込む手段を利用し
てファイルの所属性を管理するための手段と、ファイル
領域の先頭位置ごとに識別子とファイル名とファイル領
域番号と最終アドレスを要素とする管理情報を埋め込む
ための手段と、埋め込まれた管理情報を読み出すための
手段と、前記管理情報を埋め込む手段と前記管理情報を
読み出す手段を利用して各ファイル領域の所属性を管理
するための手段とを有する。
[Means for Solving the Problems] The file management method of the present invention utilizes means for writing data to a file, means for reading data from the file, and means for writing the data and means for reading the data. a means for managing file belongingness, a means for embedding management information whose elements are an identifier, a file name, a file area number, and a final address for each starting position of a file area, and embedded management information. and means for managing the affiliation of each file area using the means for embedding the management information and the means for reading the management information.

【0008】[0008]

【実施例】以下本発明の実施例について図面を参照して
詳細に説明する。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0009】図1は本発明の一実施例を示すブロック図
である。図1において、本発明の一実施例は情報処理シ
ステムの補助記憶装置上におけるファイル管理方式で、
補助記憶装置上のファイル10にデータを書き込むデー
タ書き込み制御部12と、ファイルよりデータを読み込
むデータ読み込み制御13と、両制御部12,13を利
用してファイルの所属性を管理するファイル所属性管理
部11と、ファイル領域の先頭位置ごとに識別子とファ
イル名とファイル領域番号と最終アドレスを要素とする
管理情報を埋め込む管理情報埋め込み制御部15と、埋
め込まれた管理情報を読み出す管理情報読み込み制御部
16と、両制御部15,16を利用して各ファイル領域
の所属性を管理するエクステント管理部とを含む。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, one embodiment of the present invention is a file management method on an auxiliary storage device of an information processing system,
A data write control section 12 that writes data to the file 10 on the auxiliary storage device, a data read control section 13 that reads data from the file, and a file affiliation management that manages file affiliation using both control sections 12 and 13. 11, a management information embedding control unit 15 that embeds management information whose elements are an identifier, a file name, a file area number, and a final address for each starting position of a file area, and a management information read control unit that reads the embedded management information. 16, and an extent management section that uses both control sections 15 and 16 to manage the affiliation of each file area.

【0010】データ書き込み制御部12は補助記憶装置
上のファイルに対しての書き込み制御を行う機能を持ち
、データ読み込み制御部13はファイルに対しての読み
込み制御を行う機能を持つ。ファイル所属性管理部11
はデータ書き込み制御部12とデータ読み込み制御部1
3を利用してファイルの所属性をラベルより獲得・更新
することでファイルの所属性を管理する機能を持つ。 管理情報埋め込み制御部15はエクステント確保時にエ
クステントの先頭に管理情報を埋め込むための機能を持
ち、管理情報読み込み制御部16は埋め込まれた管理情
報を読み込むための機能を持つ。エクステント管理部1
4は管理情報埋め込み制御部15と管理情報読み込み制
御部16を利用してファイルの各エクステント所属性を
管理する機能を持つ。
The data write control section 12 has a function of controlling writing to files on the auxiliary storage device, and the data reading control section 13 has a function of controlling reading of files. File affiliation management section 11
are the data write control section 12 and the data read control section 1
It has a function to manage the file affiliation by acquiring and updating the file affiliation from the label using 3. The management information embedding control unit 15 has a function of embedding management information at the beginning of an extent when securing an extent, and the management information reading control unit 16 has a function of reading the embedded management information. Extent management section 1
4 has a function of managing each extent affiliation of a file by using a management information embedding control section 15 and a management information reading control section 16.

【0011】次に動きの流れを述べる。Next, the flow of movement will be described.

【0012】図2は本発明の動きの流れを示す図である
。図2において、補助記憶装置21上にファイルAが存
在するとする。ファイルAの利用はエクステント#12
4でありエクステント#1が確保された時点でラベル2
2と管理情報23によってその所属性が管理されている
。ファイルAへの最初のアクセス時にラベル22よりフ
ァイルを制御するテーブル25を作成する26。ファイ
ルAへのデータの書き込みでエクステントが満杯になっ
た時点で次のエクステントを確保するが、新たなエクス
テントの確保時にはテーブルを更新するとともにエクス
テントの先頭に管理情報を埋め込む27,28。ファイ
ルへの最後のアクセス時にはテーブル25を参照してラ
ベル22を更新する。
FIG. 2 is a diagram showing the flow of operation of the present invention. In FIG. 2, it is assumed that file A exists on the auxiliary storage device 21. Use of file A is extent #12
4 and when extent #1 is secured, label 2
2 and management information 23, its affiliation is managed. A table 25 for controlling the file based on the label 22 is created 26 when the file A is accessed for the first time. When the extent becomes full by writing data to file A, the next extent is secured, but when a new extent is secured, the table is updated and management information is embedded at the beginning of the extent 27, 28. When the file is last accessed, the table 25 is referred to and the label 22 is updated.

【0013】図3はファイルにおける各エクステントの
管理情報の参照方法を示すブロック図である。図3にお
いて、エクステント31はデータが格納されており、管
理情報32は識別子とファイル名とファイル領域番号と
最終アドレスを要素とし、33はエクステントの最終ア
ドレスを示す。
FIG. 3 is a block diagram showing a method of referring to management information of each extent in a file. In FIG. 3, an extent 31 stores data, management information 32 includes an identifier, a file name, a file area number, and a final address, and 33 indicates the final address of the extent.

【0014】次に本実施例の管理情報の参照方法につい
て説明する。ファイルの各エクステントの先頭に存在す
る管理情報を読み込む。読み込んだ管理情報の識別子に
よってそのエクステントが有効か無効かを知ることがで
きる。有効であればファイル名とエクステント番号を認
識し無効であればそのエクステントは無視される。また
最終アドレスを参照することで次の管理情報の存在する
位置を知ることができる。
Next, a method of referring to management information in this embodiment will be explained. Reads the management information present at the beginning of each extent of the file. Based on the identifier of the read management information, it is possible to know whether the extent is valid or invalid. If valid, the file name and extent number are recognized; if invalid, the extent is ignored. Also, by referring to the final address, the location of the next management information can be known.

【0015】本発明のファイル管理方式により、運用中
に不慮の電源断等の障害が発生しファイルエクステント
のつながりが切断されてしまった場合には埋め込まれた
管理情報を参照することでそのエクステントが有効なの
か無効なのかが判断でき、またどのファイルの何番目の
エクステントかを知ることができるので、切断されたフ
ァイルエクステントを再接続することによるファイル復
旧が可能となることになる。また補助記憶装置上でデー
タの保存に割り当てられた先頭位置より管理情報の読み
込みを繰り返すことで補助記憶装置上の全領域の所属性
を把握することが可能となることになる。
According to the file management method of the present invention, if a failure such as an unexpected power outage occurs during operation and the connection between file extents is severed, the extent can be restored by referring to the embedded management information. Since it is possible to determine whether a file is valid or invalid, and also to know which extent of which file it is, it becomes possible to recover files by reconnecting disconnected file extents. Furthermore, by repeatedly reading the management information from the top position allocated to data storage on the auxiliary storage device, it becomes possible to grasp the affiliation of all areas on the auxiliary storage device.

【0016】[0016]

【発明の効果】以上の説明のように本発明のファイル管
理方式は補助記憶装置上の各エクステントの先頭に識別
子とファイル名とファイル領域番号と最終アドレスを要
素とする管理情報を埋め込んでおくことにより補助記憶
装置上の全ての使用済領域の所属性を把握することがで
き従来のファイル管理方式では復旧しえなかったファイ
ルエクステントの復旧も可能であるという効果を得るこ
とができる。
[Effects of the Invention] As explained above, the file management method of the present invention embeds management information including an identifier, file name, file area number, and final address at the beginning of each extent on the auxiliary storage device. As a result, the belongingness of all used areas on the auxiliary storage device can be grasped, and it is possible to recover file extents that could not be recovered using conventional file management methods.

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

【図1】本発明の一実施例のファイル管理方式を示すブ
ロック図である。
FIG. 1 is a block diagram showing a file management method according to an embodiment of the present invention.

【図2】本発明の一実施例の動きを示す図である。FIG. 2 is a diagram showing the operation of an embodiment of the present invention.

【図3】本発明の一実施例のファイルにおける各エクス
テントの管理情報の参照方法を示す図である。
FIG. 3 is a diagram showing a method of referring to management information of each extent in a file according to an embodiment of the present invention.

【図4】従来のファイル管理方式を示すブロック図であ
る。
FIG. 4 is a block diagram showing a conventional file management method.

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

11    ファイルの所属性管理部 12    データ書き込み制御部 13    データ読み込み制御部 14    エクステント管理部 15    管理情報埋め込み制御部 16    管理情報読み込み制御部 21    補助記憶装置 22    ラベル 23    管理情報 24    エクステント 25    テーブル 31    エクステント 32    管理情報 33    最終アドレス 11 File affiliation management department 12 Data write control section 13 Data reading control section 14 Extent management department 15 Management information embedding control unit 16 Management information reading control section 21 Auxiliary storage device 22 Label 23 Management information 24 Extent 25 Table 31 Extent 32 Management information 33 Final address

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ファイル管理方式において、補助記憶
装置上のファイルにデータを書き込むための手段と、前
記ファイルよりデータを読み込むための手段と、前記デ
ータを書き込む手段およびデータを読み込む手段を利用
して前記ファイルの所属性を管理するための手段と、フ
ァイル領域の先頭位置ごとに識別子とファイル名とファ
イル領域番号と最終アドレスを要素とする管理情報を埋
め込むための手段と、埋め込まれた管理情報を読み出す
ための手段と、前記管理情報を埋め込む手段と管理情報
を読み出す手段を利用して各ファイル領域の所属性を管
理するための手段とを有することを特徴とするファイル
管理方式。
Claim 1: A file management method that uses means for writing data to a file on an auxiliary storage device, means for reading data from the file, and means for writing the data and means for reading the data. A means for managing the file affiliation, a means for embedding management information whose elements are an identifier, a file name, a file area number, and a final address for each starting position of a file area, and a means for embedding the embedded management information. A file management method comprising: means for reading; and means for managing the affiliation of each file area by using means for embedding the management information and means for reading the management information.
JP3033861A 1991-02-28 1991-02-28 File management system Pending JPH04273546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3033861A JPH04273546A (en) 1991-02-28 1991-02-28 File management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3033861A JPH04273546A (en) 1991-02-28 1991-02-28 File management system

Publications (1)

Publication Number Publication Date
JPH04273546A true JPH04273546A (en) 1992-09-29

Family

ID=12398288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3033861A Pending JPH04273546A (en) 1991-02-28 1991-02-28 File management system

Country Status (1)

Country Link
JP (1) JPH04273546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009026402A (en) * 2007-07-20 2009-02-05 Teac Corp Optical disk device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009026402A (en) * 2007-07-20 2009-02-05 Teac Corp Optical disk device

Similar Documents

Publication Publication Date Title
US6311193B1 (en) Computer system
JP4078039B2 (en) Snapshot image generation management method and generation management device
BG63096B1 (en) Method and computer system for data access
JP2003223287A (en) Storage device, backup method of the same, and program therefor
JP2002149454A (en) Transaction support on logical disk
WO2007099636A1 (en) File system migration method, program and apparatus
JP2001125815A (en) Back-up data management system
JP4394467B2 (en) Storage system, server apparatus, and preceding copy data generation method
JP2000137636A (en) Backup device
JPH04273546A (en) File management system
JP2007128448A (en) File system and file information processing method
JP3950316B2 (en) IC card and IC card memory access control method
JP4841408B2 (en) Volume migration program and method
US20070271311A1 (en) Disk array device and data management method for managing master data and replication data replicated from master data
US7873262B2 (en) Data processing method, device thereof and program
JPH07334397A (en) Deleted file managing system
US20060026459A1 (en) Method and apparatus for storing data
JP2002063057A (en) Data-renewing device
JPS6326406B2 (en)
JPH10340215A (en) Data backup system
JPS58168165A (en) Recovery system in data base system
JP2682467B2 (en) Subscriber information management method
JP4885735B2 (en) Management program, management method and management apparatus
JPH0944317A (en) Registering system for alternate sector
JP3204370B2 (en) Equipment for program cloth development