JPH01173140A - File control method - Google Patents

File control method

Info

Publication number
JPH01173140A
JPH01173140A JP62329441A JP32944187A JPH01173140A JP H01173140 A JPH01173140 A JP H01173140A JP 62329441 A JP62329441 A JP 62329441A JP 32944187 A JP32944187 A JP 32944187A JP H01173140 A JPH01173140 A JP H01173140A
Authority
JP
Japan
Prior art keywords
file
abnormality
checked
cluster
saved
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
JP62329441A
Other languages
Japanese (ja)
Inventor
Toshiyuki Yamashita
俊幸 山下
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP62329441A priority Critical patent/JPH01173140A/en
Publication of JPH01173140A publication Critical patent/JPH01173140A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To quickly and accurately grasp the file abnormality by saving the result of detection when the file abnormality is detected in an on-line state and checking the saved information for identification of an incomplete file in an off-line state. CONSTITUTION:When the file abnormality is detected in an on-line state, the result of this detection is saved. Then the saved information is checked in an off-line state for identification of an incomplete file. When a power supply is applied or reset, the saved information is confirmed, deleted and checked newly. Thus the file abnormality is detected at the start of a system and therefore a hang-up phenomenon of the system due to the file abnormality can be avoided. Furthermore a user can know the file abnormality caused in a working mode and can perform the due countermeasure to avoid the abnormal run of a program. Then the file abnormality can be checked and corrected at an optional time point. Thus it is possible to prevent the abnormal run due to the file abnormality for a program which works later in an on-line state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、計算機の補助記憶媒体上のデータの集合体
(ファイル)を動的に管理すべく、その管理情報の正し
さをチェックし、異常の場合はこれを修復し得るように
した、ファイルの管理方法に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention provides a system for dynamically managing a collection of data (files) on an auxiliary storage medium of a computer by checking the correctness of the management information, This article relates to a file management method that allows for repair of abnormalities.

〔従来の技術〕[Conventional technology]

ディスクを含む補助記憶媒体上のファイルを管理する管
理情報には、ファイルアロケーションテーブル(以下、
FATとも云う。)、ルートディレクトリテーブル(以
下、RDiRTとも云う。)およびサブディレクトリテ
ーブル(以下、5DiRTとも云う。)と称されるもの
がある。FATはファイルや5DiRTが記憶媒体のど
このクラスタ(ファイルを管理する最小単位)にあるか
、およびそのクラスタの連結状態や空きのクラスタの位
置等、記憶媒体の使用状態について記憶しているテーブ
ルであ!D、RDiRTはファイルの名前や、ファイル
の記憶媒体上の位置を示す先頭クラスタの番号、ファイ
ルサイズ等の情報が入っているテーブルのことである。
Management information for managing files on auxiliary storage media including disks includes a file allocation table (hereinafter referred to as
Also called FAT. ), root directory table (hereinafter also referred to as RDiRT), and subdirectory table (hereinafter also referred to as 5DiRT). FAT is a table that stores the usage status of a storage medium, such as in which cluster (the smallest unit for managing files) files and 5DiRT are located on the storage medium, the connection status of the clusters, and the location of free clusters. a! D, RDiRT is a table containing information such as the file name, the number of the first cluster indicating the location of the file on the storage medium, and the file size.

また、5DiRTはRDiRTと同じ構造を持ち、ルー
トディレクトリと呼ばれるファイルの集合体の中にさら
に作られるところの、サブディレクトリと呼ばれる”子
供のファイルの集合体”fc管理するためのテーブルで
ある。
Furthermore, 5DiRT has the same structure as RDiRT, and is a table for fc management of a "collection of child files" called a subdirectory, which is further created within a collection of files called a root directory.

第6図はディレクトリの階層構造を説明するための説明
図である。同図において、1はRDiRT12A、2B
は5DIRT、3A〜3Dはファイル本体を示す。ディ
レクトリはファイルの集合体のことでラシ、ルートディ
レクトリの中にはファイルの他、子供のディレクトリに
当たるサブディレクトリも含まれている。ディレクトリ
テーブルにはファイル名称NAと、記録媒体上の先頭ク
ラスタ位置を示すクラスタ番号CNと、ファイルCf’
)かブイレフ)IJ(d)かを区別するための識別記号
(識別子)DEとが格納されておシ、この構成はRDi
RTも5DiRTも同じである。したがって、成るファ
イルが記憶媒体上のどの位置にあるかを知るには、階層
になっているブイレフ) IJ群の名前を指定し、一番
号下層のディレクトリ内にあるファイルを見れば良いこ
とになる。
FIG. 6 is an explanatory diagram for explaining the hierarchical structure of directories. In the same figure, 1 is RDiRT12A, 2B
indicates 5DIRT, and 3A to 3D indicate the file body. A directory is a collection of files, and the root directory contains not only files but also subdirectories that are child directories. The directory table contains the file name NA, the cluster number CN indicating the first cluster position on the recording medium, and the file Cf'.
) or BJ(d) is stored, and this configuration is used for RDi.
RT and 5DiRT are the same. Therefore, to know where the files are located on the storage medium, you can specify the name of the IJ group in the hierarchy and look at the files in the directory one number below. .

第7図はディレクトリの親子関係を説明するための説明
図であシ、これは、サブディレクトリテーブル2Cが子
供となる例である。一般に、子供のサブディレクトリ内
のファイルをサーチするため、当該サブディレクトリテ
ーブルのデータのみを必要なものとして保存しておくが
、親のディレクトリテーブルは捨て〜しまり。そこで、
サーチが終った後も親のディレクトリの位置を知ること
ができるように、当該サブディレクトリを見つけた後、
当該サブディレクトリ自身の先頭クラスタ番号を見るこ
とによって、当該サブディレクトリのクラスタリンク、
すなわち複数のクラスタのうちのどれとリンクしている
かを知ることができるようにしている。
FIG. 7 is an explanatory diagram for explaining the parent-child relationship of directories, and this is an example in which the subdirectory table 2C is a child. Generally, in order to search for files in a child's subdirectory, only the data in the subdirectory table is saved as necessary, but the parent's directory table is discarded. Therefore,
After locating the subdirectory, you can locate the parent directory even after the search is complete.
By looking at the first cluster number of the subdirectory itself, the cluster link of the subdirectory,
In other words, it is possible to know which of the multiple clusters it is linked to.

第8図はFATとクラスタのリンクを説明するための説
明図で、同図(イ)はブイレフ) IJテーブル(RD
iRTまたは5DiRT)t”、同図(ロ)はFATを
、また同図(ハ)はファイルの記憶媒体上の位置をそれ
ぞれ示している。すなわち、同図(イ)のディレクトリ
テーブル2において、当該ファイルまたはサブディレク
トリの先頭のクラスタ番号(記憶媒体内での先頭位置、
こ\では1010”)がわかると、次いでクラスタの結
合(=リンク)を知るために、同図(ロ)のFAT4を
サーチする。このFAT4の該当するクラスタ番号位置
には、次にリンクされているクラスタ番号が入っておル
、また最終のクラスタ番号位置には最終マークが入って
いて、最終を知ることかでムの最上位プログラム(すな
わち、一般のユーザが直接呼び出すことができないプロ
グラム)によシ、一元的に管理されている。このため、
記憶媒体の物理的な破壊以外に壊れることは殆んどない
様になっているが、最上位プログラムに匹敵する程の上
位プログラムの開発過程においては、この情報が壌れる
ことがおる。−旦壊れると、必要なファイルを主記憶装
置にロードして実行する場合、プログラム処理が開始さ
れるプログラムにおいては、計算機システムの始動時に
システムそのものがハングアップしたシ、その実行が正
常でなくなったシする等の重故障を引き起す。あるいは
、このような重故障ではなく、単にデータファイルの異
常が検出されるような軽故障時においても、ファイルの
名称とファイルの位置との一対一対応をいちいち確認し
て、名称またはファイル位置の修正を行なうなど、多大
な時間が浪費されることになる。以下、これらの不具合
の具体的事項について説明する。
Figure 8 is an explanatory diagram for explaining the link between FAT and cluster.
iRT or 5DiRT)t", Figure (B) shows the FAT, and Figure (C) shows the location of the file on the storage medium. In other words, in Directory Table 2 of Figure (A), the corresponding The cluster number of the beginning of a file or subdirectory (the beginning position in the storage medium,
1010''), then search FAT4 in the same figure (b) in order to find out the cluster combination (= link).The corresponding cluster number position of this FAT4 has the next linked Also, the last cluster number position contains a final mark, and knowing the last one allows you to access the program's topmost program (i.e., a program that cannot be called directly by a general user). Yes, it is centrally managed.For this reason,
Although it is almost impossible for the storage medium to be destroyed other than by physical destruction, this information may be revealed during the development process of a high-level program comparable to the highest-level program. - Once the computer system is corrupted, when the necessary files are loaded into the main memory and executed, the system itself may hang up when the computer system is started, and its execution may no longer be normal. This may cause serious malfunctions such as crashing. Alternatively, even in the event of a minor failure where an abnormality in a data file is simply detected, rather than a major failure, check the one-to-one correspondence between the file name and file location and check the name or file location. A great deal of time will be wasted making corrections. The specific matters of these defects will be explained below.

(イ)不具合そのI クラスタは成るバイト数のデータの集合体であり、ファ
イルの管理はこの1り、ラスタを単位にして行なわれる
。また、ディレクトリテーブルに入っているファイルサ
イズFはバイト数が単位であるが、これはクラスタのリ
ンク数をNとすると、クラスタリンクの総バイト数NX
C(Cは1クラスタ当たシのバイト数)よシも小さいが
、(N−1)クラスタ分のバイト数よシ小さくなること
はない、すなわち (N−1)C<F≦NxC−−−−−−(1)なる関係
を満たさなければならない。したがって、このファイル
サイズとクラスタリンク数との整合性が正しくないのは
誤ったファイルである、と云うことになる。
(B) Problem I: A cluster is a collection of bytes of data, and file management is done in raster units. Also, the file size F in the directory table is in bytes, but if the number of cluster links is N, then the total number of bytes of cluster links is NX
Although it is smaller than C (C is the number of bytes per cluster), it is never smaller than the number of bytes for (N-1) clusters, that is, (N-1)C<F≦NxC-- -----(1) must be satisfied. Therefore, if the consistency between the file size and the number of cluster links is incorrect, it is an incorrect file.

(ロ)不具合その■ 第8図(ロ)に示すFATにおけるクラスタリンクが複
数のファイルでだぶっている場合、該当ファイルは誤っ
ている。
(B) Problem No. ■ If the cluster link in the FAT shown in FIG. 8 (B) overlaps with multiple files, the relevant file is incorrect.

(ハ)不具合その■ 第8図(ロ)に示すFATにおいて、どのファイルまた
はサブディレクトリからも11ンクされていないクラス
タに対応するFATの位置に、未使用マークや最終マー
ク以外の何らかのリンクデータの入っている場合がある
。これは、FATの上書きによって以前のFATが消さ
れた結果であシ、の 少なくとも成る1つのファイルjイレクトリテーブルが
示している先頭クラスタ番号が誤っていることを意味し
、その結果、不具合■を併なうことが多い。
(c) Problem # ■ In the FAT shown in Figure 8 (b), some link data other than an unused mark or final mark is placed in the FAT position corresponding to a cluster that is not linked from any file or subdirectory. It may be included. This is a result of the previous FAT being erased by overwriting the FAT, and means that the first cluster number indicated by the directory table for at least one file is incorrect, resulting in a problem. Often accompanied by.

(ニ)不具合■ 第7図に示すサブブイレフ) IJテーブル2Cの、上
から1番目と2番目のディレクトリに異常が生じた場合
である。すなわち、最上の1つは自分自身の5DiRT
の位置を示しているが、これが壊れると親ディレクトリ
から当該サブディレクトリに制御が移って、当該サブデ
ィレクトリ自身のリンク態様をサーチする過程で、誤っ
た結果を出してしまう。また、第2番目の項目に誤)が
あると、親ディレクトリに戻ることができない。このよ
うな不具合によシシステムの完全なハングアップと云う
重故障を招くことになる。
(D) Malfunction (Sub-buildf shown in FIG. 7) This is a case where an abnormality occurs in the first and second directories from the top of the IJ table 2C. In other words, the best one is your own 5DiRT
However, if this is broken, control will be transferred from the parent directory to the subdirectory, and incorrect results will be produced during the process of searching for the link mode of the subdirectory itself. Also, if there is an error in the second item, it will not be possible to return to the parent directory. Such a malfunction can lead to a complete system hang-up, which can lead to a serious malfunction.

したがって、この発明はファイルの異常を迅速かつ正確
に把握できるようにし、安全なシステム運用を図ること
を目的とする。
Therefore, it is an object of the present invention to enable quick and accurate identification of file abnormalities and to ensure safe system operation.

〔問題点を解決するための手段〕[Means for solving problems]

オンライン状態でファイルの異常を検出したときはその
結果をセーブしておき、オフライン時には該セーブされ
た情報をチェックして不完全ファイルを識別し、マンマ
シンインタフェイス形式で誤ルの修復を含む処理を可能
にする一方、電源投入時またはリセット時には前記セー
ブされた情報の確認、削除および新たなチェックを含む
処理を行なう。
When an abnormality is detected in a file while online, the results are saved, and when offline, the saved information is checked to identify incomplete files, and the process includes repairing errors using a man-machine interface. On the other hand, when power is turned on or reset, processing including confirmation, deletion, and new checking of the saved information is performed.

〔作用〕[Effect]

上記の如き不具合(イ)〜(ニ)を解決すべく、FAT
、RDiRTのチェックと、5DJRTのチェックおよ
び修復とを行なうが、FAT、RDiRTのチェックで
はファイルサイズとクラスタリンク数との整合性のチェ
ック、クラスタリンクのだぶシのチェック、どこからも
リンクされていない使用済クラスタのチェックを行ない
、5DiRTのチェックでは5DiRTの自分自身のク
ラスタ番号と親ディレクトリのクラスタ番号のチェック
を行なう。
In order to solve the above problems (a) to (d), FAT
, RDiRT is checked, and 5DJRT is checked and repaired. However, in the FAT and RDiRT checks, the consistency between the file size and the number of cluster links is checked, the cluster link is checked for sloppiness, and the usage that is not linked from anywhere is checked. In the 5DiRT check, the 5DiRT's own cluster number and the cluster number of the parent directory are checked.

各チェックともオンライン稼動中に異常をチェックし、
異常があればその異常情報を記憶媒体にセーブしておく
。電源投入時またはリセット時、すなわちシステムの開
始時には既に異常ファイルがないか、1度削除された後
に記憶媒体の別の位置に新たに正常ファイルとして作ら
れている可能性がある、すなわちファイルに関してシス
テムに流動性があると云う点も光分考慮に入れて、異常
情報が現状と合致しているか否かをチェックし、一致し
ていない場合は新たなチェックを行ない、異常情報を書
き換えるかまたは削除を行なうと〜もに、新たに他のフ
ァイルについてもチェックを行ない、異常があれば異常
情報を記憶媒体にセーブする。
Each check checks for abnormalities during online operation,
If there is an abnormality, the abnormality information is saved in a storage medium. When the power is turned on or reset, that is, when the system starts, there is a possibility that the abnormal file does not already exist, or it may have been deleted and then created as a new normal file in a different location on the storage medium. Check whether the abnormal information matches the current situation, taking into consideration the fact that there is fluidity in At the same time, other files are also checked, and if any abnormality is found, the abnormality information is saved in the storage medium.

一方、任意の時間にもオフラインでチェックを行ない、
早急に異常に対処すべくセーブされた異常情報t CR
Tなどのマンマシンインタフェイス装置を介して表示さ
せ、どのファイルまたは記憶媒体のとζに異常があるか
をユーザに知らしめ、CRTなどのマンマシンインタフ
ェイス装置との対話処理にてファイルの削除を促し、後
刻ファイルの入替作業ができるようにする。
On the other hand, you can also check offline at any time.
Abnormality information saved in order to deal with the abnormality as soon as possible CR
The display is displayed via a man-machine interface device such as a CRT to let the user know which file or storage medium has an abnormality, and the file is deleted through interactive processing with the man-machine interface device such as a CRT. This will allow you to replace the files later.

つまシ、ファイルはダイナミックに変化するものである
から、これをシステムの開始時、オンライン時およびオ
フライン時のいずれの場合にもチェック可能とし、異常
の場合はその修復ができるようKして安全な運用を図る
ものである。
Finally, since files change dynamically, it is possible to check them at system startup, online and offline, and if there is an abnormality, it can be repaired in a safe manner. This is intended for operational purposes.

〔実施例〕〔Example〕

第1図はこの発明の詳細な説明するための説切回である
。これは、オンライン時、電源投入時およびオフライン
時のそれぞれにおいて実行すべき処理内容を示している
FIG. 1 is an explanatory section for explaining the invention in detail. This shows the processing contents to be executed each time when online, when the power is turned on, and when offline.

すなわち、オンライン時にはユーザプログラムからチェ
ックプログラムを呼び出して第」図工の1)〜3)の如
き処理を行なう。そのフローチャートを第2A図ないし
第2C図に示す。つま)、第2A図ではファイルサイズ
とクラスタリンク数との整合性(第(1)式を満たすか
否か)のチェック動作が、第2B図ではクラスタリンク
のだぶシチェック動作が、第2C図はサブディレクトリ
テーブルのチェックと修復動作がそれぞれ行なわれる。
That is, when online, the check program is called from the user program to perform the processes 1) to 3) in Section "Arts and Crafts." The flowchart is shown in FIGS. 2A to 2C. Figure 2A shows the consistency check between the file size and the number of cluster links (whether the formula (1) is satisfied or not), Figure 2B shows the cluster link redundancy check, and Figure 2C shows performs subdirectory table checking and repair operations, respectively.

なお、詳細については冗長となるので省略する。Note that the details will be omitted as they are redundant.

また、電源投入時またはリセット時には、その時点で自
動的に起動されるプログラムによル、第1図■の1)〜
4)の如き処理を行なう。そのフローチャートを第3人
図ないし第3F図に示す。
In addition, when the power is turned on or reset, depending on the program that is automatically started at that time, 1) ~
4). The flowchart is shown in Figure 3 through Figure 3F.

つまシ、第3A図ではファイルサイズとクラスタリンク
数との整合性について、セーブされたファイルの異常情
報のチェック、動作が、第6B図では同じく全ファイル
の新たなチェック動作が、第3C図ではクラスタリンク
のだぶ)チェックに関し、セーブされたファイルについ
てのチェック動作が、第3D図では同じく全ファイル、
全サブディレクトリテーブルについてのチェック動作が
、第3E図ではどこからもリンクされていない使用済ク
ラスタのチェック動作が、そして第3F図ではサブブイ
レフ) IJテーブルのチェックと修復動作がそれぞれ
行なわれるが、これらについても詳細は省略する。
Figure 3A shows the checking and operation of abnormality information for saved files regarding the consistency between file size and number of cluster links, Figure 6B shows the new checking operation for all files, and Figure 3C shows the operation. Regarding the cluster link double check, the check operation for saved files is also shown in Figure 3D for all files,
A check operation is performed on all subdirectory tables, a check operation is performed on used clusters that are not linked from anywhere in Figure 3E, and a check and repair operation is performed on the IJ table (in Figure 3F). The details are also omitted.

さらK、オフライン時には適宜に指令を発して所定のバ
ッチ処理プログラムを起動することにょシ、第1図■の
1)〜4)の如き処理を行なう。
Furthermore, when off-line, a command is issued as appropriate to start a predetermined batch processing program, and processes such as 1) to 4) in (2) in FIG. 1 are performed.

第4図はその1)項に云う、ファイルサイズとクラスタ
リンク数との整合性のチェック動作を示すもので、2)
項、3)項および4)項についてはそれぞれ■の2−a
)項、3)項および4)項と同じなので、フローチャー
トも省略した。
Figure 4 shows the consistency checking operation between the file size and the number of cluster links mentioned in 1), and 2)
For items 3) and 4), please refer to ■2-a respectively.
), 3) and 4), so the flowchart has also been omitted.

各モード(オンジ4フ時、電源投入時、オフライン時)
における各種チェックのポイントを図解すると、第5図
のようになる。す々わち、A)ファイルサイズとクラス
タリンク数との整合性のチェック 0まず、オンライン時に異常があれば、異常情報をセー
ブしておく。
Each mode (on/off, power on, offline)
Figure 5 illustrates the various check points in the process. A) Checking consistency between file size and number of cluster links 0 First, if there is an error while online, save the error information.

0次に、電源投入時とオフライン時にこの異常情報をチ
ェックする。このとき、既にファイルがなかったシ、異
常が無かったときは異常情報を書き直す(書換)。
Next, check this abnormality information when the power is turned on and when offline. At this time, if the file does not already exist or there is no abnormality, the abnormality information is rewritten (rewritten).

oiIC源投入時は、全てのファイルについてチェック
を行なう。
When the oiIC power source is turned on, all files are checked.

B)クラスタリンクのだぶシチェック 0まず、電源投入時に全てのファイルについてチェック
し、異常があれば異常情報をセーブしておく。また、古
い異常情報についてもチェックし、現状に合うように、
削除、書換を行なう。
B) Cluster link redundancy check 0 First, check all files when the power is turned on, and if there is an abnormality, save the abnormality information. We also check old abnormal information and update it to suit the current situation.
Delete or rewrite.

0オンライン、オフライン時にこの古い異常情報をチェ
ックし、現状に合うように削除、書換を行なう。
0 Check this old error information when online or offline, and delete or rewrite it to match the current situation.

C)サブディレクトリテーブルのチェックと修復0IE
S投入時およびオフライン時には、全てのサブディレク
トリテーブルの修復を行なう。
C) Check and repair subdirectory table 0IE
When S is turned on and offline, all subdirectory tables are repaired.

0オンライン時には該当サブディレクトリについてのみ
修復する。
0 When online, only the corresponding subdirectory is repaired.

D)どこからもリンクされていない使用済クラスタのチ
ェック 0その性質上オンライン時には行なわず、電源投入時と
オフライン時にのみ行なう。
D) Check for used clusters that are not linked from anywhere 0 Due to its nature, this is not performed when online, but only when the power is turned on and offline.

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

この発明によれば、 a)システム開始時にファイルの異常を検出するように
しているので、ファイルの異常に起因するシステムのハ
ングアップを防ぐことができる(システムスタート時の
効果)。
According to this invention: a) File abnormalities are detected at the time of system startup, so it is possible to prevent system hang-up due to file abnormalities (effect at system startup).

b)稼動中に生じたファイルの異常を利用者が知シ、し
かるべき対処ができる結果、異常なプログラム走行を防
ぐことができる(オンライン中の効果)。
b) As a result of the user being aware of file abnormalities that occur during operation and being able to take appropriate measures, abnormal program execution can be prevented (online effect).

C)任意の時点でファイルの異常チェックおよび修正が
できるので、後刻オンラインで動くプログラムの、ファ
イル異常に起因する異常走行を未然に防ぐことができる
(オフライン時の効果)。
C) File abnormalities can be checked and corrected at any time, so it is possible to prevent abnormal running of a program that will later run online due to file abnormalities (offline effect).

d)上記3つのタイミングでファイルの異常をチェック
できるので、ファイルのダイナミック(動的)な生成、
消滅にも充分対処することが可能である(システム変化
に対する効果)。
d) Since file abnormalities can be checked at the three timings mentioned above, dynamic file generation,
It is possible to adequately cope with extinction (effect on system change).

e)上記6つのタイミングでファイルの異常をチェック
できるため、異常ファイルの検出、修正を行なうのに要
する多大な時間を大幅に削減することが可能とな)、シ
ステムのスループットヲ上げることができる。
e) Since file abnormalities can be checked at the six timings mentioned above, it is possible to significantly reduce the amount of time required to detect and correct abnormal files), and the system throughput can be increased.

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

第1図はこの発明の詳細な説明するための説明図、第2
A図ないし第2C図はオンライン時の各種動作を説明す
るためのフローチャート、第3A図ないし第3F図は電
源投入時またはリセット時の各種動作を説明するための
フローチャート、第4図はオフライン時の動作を説明す
るための説明図、第5図は各モードでの各種チェックの
ポイン)1−説明するための説明図、第6図はディレク
トリの階層構造を説明するだめの説明図、第7図はディ
レクトリの親子関係を説明するための説明図、第8図は
ファイルアロケーションテーブルとクラスタのリンクを
説明するための説明図である。 符号説明 1・・・・・・ルートディレクトリテーブル(RDIR
T)、2.2A〜2D・・・・・・サブディレクトリテ
ーブル(SDiRT)、3A〜3D・・・・・・ファイ
ル本体、4・・・・・・7アイルア四ケーシヨンテーブ
ル(FAT)、DE・・・・・・識別記号、NA・・・
・・・ファイル名称、CN・・・・・・先頭クラスタ番
号。 代理人 弁理士 並 木 昭 夫 代理人 弁理士 松 崎    清 第1図 第2A図 第2C図 第3A図 第3B図    第30図 第3C図 第4図
FIG. 1 is an explanatory diagram for explaining the invention in detail, and FIG.
Figures A to 2C are flowcharts for explaining various operations when online, Figures 3A to 3F are flowcharts for explaining various operations at power-on or reset, and Figure 4 is a flowchart for explaining various operations when offline. An explanatory diagram to explain the operation, Fig. 5 is an explanatory diagram to explain various check points in each mode) 1 - An explanatory diagram to explain, Fig. 6 is an explanatory diagram to explain the hierarchical structure of the directory, Fig. 7 8 is an explanatory diagram for explaining the parent-child relationship of directories, and FIG. 8 is an explanatory diagram for explaining the link between the file allocation table and the cluster. Code explanation 1...Root directory table (RDIR)
T), 2.2A to 2D...subdirectory table (SDiRT), 3A to 3D...file body, 4...7 aisle table (FAT), DE...Identification symbol, NA...
...File name, CN...Start cluster number. Agent Patent Attorney Akio Namiki Agent Patent Attorney Kiyoshi Matsuzaki Figure 1 Figure 2A Figure 2C Figure 3A Figure 3B Figure 30 Figure 3C Figure 4

Claims (1)

【特許請求の範囲】 計算機システムの補助記憶媒体上のデータ集合体(ファ
イル)をその管理情報にもとづき動的に管理するための
管理方法であつて、 オンライン状態でファイルの異常を検出したときはその
結果をセーブしておき、オフライン時には該セーブされ
た情報をチェックして不完全ファイルを識別し、マンマ
シンインタフェイス形式で誤りの修復を含む処理を可能
にする一方、電源投入時またはリセット時には前記セー
ブされた情報の確認、削除および新たなチェックを含む
処理を行なうことを特徴とするファイルの管理方法。
[Claims] A management method for dynamically managing a data collection (file) on an auxiliary storage medium of a computer system based on its management information, wherein when an abnormality in a file is detected in an online state, The results can be saved, and while offline the saved information can be checked to identify incomplete files and can be processed in the form of a man-machine interface, including repairing errors, while on power-up or reset. A file management method characterized by performing processing including confirmation, deletion, and new checking of the saved information.
JP62329441A 1987-12-28 1987-12-28 File control method Pending JPH01173140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62329441A JPH01173140A (en) 1987-12-28 1987-12-28 File control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62329441A JPH01173140A (en) 1987-12-28 1987-12-28 File control method

Publications (1)

Publication Number Publication Date
JPH01173140A true JPH01173140A (en) 1989-07-07

Family

ID=18221406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62329441A Pending JPH01173140A (en) 1987-12-28 1987-12-28 File control method

Country Status (1)

Country Link
JP (1) JPH01173140A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05505050A (en) * 1990-03-27 1993-07-29 サン・マイクロシステムズ・インコーポレーテッド Method and apparatus for searching database component files to retrieve information from changed files
JP2002334003A (en) * 2001-05-09 2002-11-22 Tsubasa System Co Ltd System check method for computer
US7370066B1 (en) * 2003-03-24 2008-05-06 Microsoft Corporation System and method for offline editing of data files

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05505050A (en) * 1990-03-27 1993-07-29 サン・マイクロシステムズ・インコーポレーテッド Method and apparatus for searching database component files to retrieve information from changed files
JP2002334003A (en) * 2001-05-09 2002-11-22 Tsubasa System Co Ltd System check method for computer
US7370066B1 (en) * 2003-03-24 2008-05-06 Microsoft Corporation System and method for offline editing of data files

Similar Documents

Publication Publication Date Title
US5089958A (en) Fault tolerant computer backup system
US6990611B2 (en) Recovering data from arrays of storage devices after certain failures
US6557089B1 (en) Backup by ID-suppressed instant virtual copy then physical backup copy with ID reintroduced
US7107486B2 (en) Restore method for backup
JP3058743B2 (en) Disk array controller
US7472312B2 (en) Invalidation of storage control unit cache metadata
JP4884885B2 (en) Storage controller and storage controller failure recovery method
CN100452052C (en) Method and apparatus to capture and transmit dense diagnostic data of a file system
JPH07500203A (en) Data backup system for rollback
US5421003A (en) Disk storage system with fault tolerant media maintenance
US6363457B1 (en) Method and system for non-disruptive addition and deletion of logical devices
US5675767A (en) Method for verification and restoration of directories in CPU system managed store
JPH01173140A (en) File control method
US8924773B1 (en) Reducing file system data unavailability window by adapting hierarchical recovery framework
GB2365562A (en) Restartable computer database message processing
JP3048792B2 (en) Method of automatically replacing operating system and computer system using the same
JP2004062376A (en) Raid (redundant array of inexpensive disks) disk read error processing system, method, and program
JP2005149291A (en) Filesystem, program therefor, and information processing system
JPH09305327A (en) Disk device
US20220129437A1 (en) Configuration metadata recovery
JPH02278572A (en) Alternative block processing system
JP2007133535A (en) File system inside storage device
JPS629929B2 (en)
JPH02199557A (en) Method of acquiring memory dump
JPH04141751A (en) Fault recovery system for mass storage medium