JPH03109653A - Initialization system for volume contents control table - Google Patents
Initialization system for volume contents control tableInfo
- Publication number
- JPH03109653A JPH03109653A JP1247470A JP24747089A JPH03109653A JP H03109653 A JPH03109653 A JP H03109653A JP 1247470 A JP1247470 A JP 1247470A JP 24747089 A JP24747089 A JP 24747089A JP H03109653 A JPH03109653 A JP H03109653A
- Authority
- JP
- Japan
- Prior art keywords
- volume
- management table
- content management
- volume content
- initialization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 13
- 238000011423 initialization method Methods 0.000 claims description 7
- 238000007726 management method Methods 0.000 description 39
- 238000010586 diagram Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、磁気記憶媒体を初期化する方式に関し、特に
、ボリューム内に存在する全てのファイルとボリューム
内の空きエリアを総括的に管理するボリューム内容管理
テーブルを初期化する方式従来の技術
従来、磁気記憶媒体の初期化方式は磁気記憶面に何ら情
報が書き込まれていないボリュームを初期化する方式と
、既にファイル内に幾つかのファイルが存在しそれらの
ファイルを管理する為の諸情報が格納されるボリューム
内容管理テーブルのみを初期化する方式とが知られてい
る。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method for initializing a magnetic storage medium, and in particular, the present invention relates to a method for initializing a magnetic storage medium, and more particularly, to a method for initializing a magnetic storage medium, and in particular, a method for initializing a volume content, which comprehensively manages all files existing within a volume and free areas within the volume. Method for initializing management tables Conventional technology Conventionally, there are two methods for initializing magnetic storage media: one is to initialize a volume with no information written on the magnetic storage surface, and the other is to initialize a volume when some files already exist. A method is known in which only the volume content management table in which various information for managing these files is stored is initialized.
後者のボリューム内容管理テーブルのみを初期化する方
式は、ボリューム内に既に存在する全てのファイルを物
理的に消去するのではなく、ボリューム内容管理テーブ
ル内のファイル管理情報のみを論理的に消去することに
よってボリュームの初期化を実現するところに特徴があ
る。ファイル管理情報としては通常、
(1)、ボリューム内のファイルが存在しない空きエリ
アの存在位置とその大きさく容量)(2)、ボリューム
内に存在する各ファイルの名称と存在位置(各ファイル
の先頭アドレスと末尾アドレス)とその大きさ・ファイ
ルの編成方式等の属性情報
等があって、ファイル管理情報を初期化すると、ボリュ
ーム内に存在する各ファイルの名称と存在場所ファイル
の属性情報等が全て論理的に消去され、また空きエリア
情報もボリュームが全て論理的に空になったように登録
される。The latter method of initializing only the volume content management table does not physically erase all files that already exist in the volume, but logically erases only the file management information in the volume content management table. The feature is that the volume can be initialized by . File management information usually includes: (1) the location and size of the free area in the volume where no files exist; and (2) the name and location of each file in the volume (the beginning of each file. address and end address) and attribute information such as its size and file organization method. When file management information is initialized, all file name, location, and attribute information of each file existing in the volume are stored. The volume is logically erased, and free area information is also registered as if the entire volume was logically empty.
発明が解決しようとする課題
従って、ボリューム内容管理テーブルを初期化するとボ
リューム内に存在するファイルの存在場所を確認する手
段やファイルの属性情報等が失われてしまい、ボリュー
ム内に残存するファイル類を論理的に消滅させたのと同
等の状況に至らしめて初期化が実現される。Problems to be Solved by the Invention Therefore, when the volume content management table is initialized, the means for confirming the location of files existing in the volume, the file attribute information, etc. are lost, and the files remaining in the volume are lost. Initialization is achieved by bringing the situation to the same level as logically annihilating it.
一方、万−誤って意図しないボリュームに対して初期化
を行った場合には、ファイルを管理している情報が消滅
しているので、それまで存在していたファイルを救済す
ることは論理的に不可能となってしまう。On the other hand, in the unlikely event that an unintended volume is initialized by mistake, the information that manages the files will be lost, so it is logical to rescue the files that previously existed. It becomes impossible.
本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記課題
を解決し、ボリューム内容管理テーブルの初期化に先立
って予め存在していたボリューム内容管理テーブルを初
期化しようとしているボリュームの空きエリアまたは空
きエリアが存在しないときには予め定めた一定位置にセ
ーブしておくことによって、誤って意図しないボリュー
ムに対して初期化を実施した場合のファイル救済に係る
諸情報を容易に得ることを可能とした新規なボリューム
管理方式を提供することにある。The present invention has been made in view of the above-mentioned conventional situation,
Therefore, an object of the present invention is to solve the above-mentioned problems inherent in the prior art, and to solve the above-mentioned problems inherent in the prior art, and to provide a free area or an empty area of a volume in which a pre-existing volume content management table is to be initialized prior to the initialization of the volume content management table. A new technology that makes it possible to easily obtain information related to file rescue in the event that an unintended volume is accidentally initialized by saving it to a predetermined location when the area does not exist. The objective is to provide a volume management method.
課題を解決するための手段
上記目的を達成する為に、本発明に係るボリューム内容
管理テーブル初期化方式は、ボリューム内容管理テーブ
ルの初期化に先立って、既に存在するボリューム内容管
理テーブルを当該ボリュームの空きエリアに、もしくは
空きエリアが存在しないときには予め定めたボリューム
内の一定位置にセーブする第1ののステップと、該第1
のステップによるセーブが終了した後にボリューム内容
管理テーブルの初期化を行う第2のステップとを備えて
構成される。Means for Solving the Problems In order to achieve the above object, the volume content management table initialization method according to the present invention uses an already existing volume content management table for the volume, prior to initializing the volume content management table. a first step of saving in a free area or, if there is no free area, in a fixed position within a predetermined volume;
and a second step of initializing the volume content management table after the save in the step is completed.
実施例
次に本発明をその好ましい実施例について図面を参照し
て具体的に説明する。Embodiments Next, preferred embodiments of the present invention will be specifically explained with reference to the drawings.
第1図は本発明に係るボリューム初期化方式の工程の一
実施例を示すフローチャートである。FIG. 1 is a flowchart showing one embodiment of the steps of the volume initialization method according to the present invention.
第1図を参照するに、先ずステップ1でボリュームラベ
ル上のカレントポインタが示すボリューム内容管理テー
ブルを読み出す0次にステップ2で、ボリューム内にボ
リューム内容管理テーブルをセーブするエリアがあるか
否かを調べる。ステップ3においてそのセーブするエリ
アがある場合には、ステップ4で空きエリアにボリュー
ム内容管理テーブルを格納する。空きエリアがない場合
には、ステップ5で予め定められたボリューム内容セー
ブエリアにボリューム内容管理テーブルを格納する。Referring to Figure 1, first, in step 1, the volume content management table indicated by the current pointer on the volume label is read out.Next, in step 2, it is determined whether there is an area in the volume to save the volume content management table. investigate. If there is an area to save in step 3, the volume content management table is stored in a free area in step 4. If there is no free area, the volume content management table is stored in a predetermined volume content save area in step 5.
次にステップ6において、ボリュームラベル上のオール
ドポインタをセーブしたボリューム内容管理テーブルの
先頭アドレスで更新する。続いてステップ7でボリュー
ム内容管理テーブルの初期化を行う。Next, in step 6, the old pointer on the volume label is updated with the start address of the saved volume content management table. Subsequently, in step 7, the volume content management table is initialized.
第2図は、ボリューム11の初期化ボリューム内容管理
テーブル12とボリューム11内に存在するファイル1
3とファイル14とから構成されるあるボリュームの一
状態例を示した図である。FIG. 2 shows the initialized volume content management table 12 of the volume 11 and the file 1 existing in the volume 11.
3 is a diagram illustrating an example of a state of a certain volume composed of a file 14 and a file 14. FIG.
このとき初期化前ボリューム内容管理テーブル12は、
ファイル13とファイル14と、空きエリア15に関す
るアドレス情報、容量、ファイルの属性情報等を管理し
ているものとする。At this time, the pre-initialization volume content management table 12 is as follows:
It is assumed that address information, capacity, file attribute information, etc. regarding files 13, 14, and free area 15 are managed.
本状態にて、初期化前ボリューム内容管理テーブル12
を従来の方式で初期化すると、第3図に示すように、論
理的にはボリューム内には初期化された新しい初期化後
ボリューム内容管理テーブル16が存在するのみで、フ
ァイル13及びファイル14は論理的にボリューム11
から消滅し、初期化後にボリューム内容管理テーブル1
6はボリューム全体が空きエリアである情報だけを管理
している状態となる。In this state, the pre-initialization volume content management table 12
When initialized using the conventional method, as shown in FIG. 3, logically only a new initialized volume content management table 16 exists within the volume, and files 13 and 14 are logically volume 11
disappears from the volume content management table 1 after initialization.
6 is in a state where only the information whose entire volume is an empty area is managed.
本発明の方式によると、第4図に示すように、第3図に
示した初期化後ボリューム内容管理テーブル16に加え
て、初期化前ボリューム内容管理テーブル12が空きエ
リア15内に存在している。初期化前ボリューム内容管
理テーブル12には、初期化前に存在していたファイル
13及びファイル14のアドレス情報、容量、ファイル
の属性情報等をそのまま保有されている。According to the method of the present invention, as shown in FIG. 4, in addition to the post-initialization volume content management table 16 shown in FIG. There is. The pre-initialization volume content management table 12 holds the address information, capacity, file attribute information, etc. of the files 13 and 14 that existed before initialization as they are.
従って、万−誤ってボリューム11の初期化を実施して
も、初期化直後であれば、セーブされた初期化前ボリュ
ーム内容管理テーブル12の情報を用いてファイル13
及びファイル14をアクセスして(物理的には消滅して
いない為)これらを別ボリュームヘコビーする等により
、容易に救済可能である。Therefore, even if you accidentally initialize the volume 11, if it is immediately after initialization, the file 11
It can be easily rescued by accessing the file 14 (since it has not physically disappeared) and moving it to another volume.
第5図は、ボリューム11の2つのボリューム内容管理
テーブルのアドレスポインタ情報を有するボリュームラ
ベル18の構成例を示す図である。FIG. 5 is a diagram showing a configuration example of the volume label 18 having address pointer information of two volume content management tables of the volume 11.
第5図を参照するに、ボリュームラベル18には、ボリ
ューム11内に存在する2つのボリューム内容管理テー
ブル、即ち初期化後ボリューム内容管理テーブル16用
のアドレスポインタであるカレントポインタ19と、初
期化前ボリューム内容管理テーブル12用のアドレスポ
インタであるオールドポインタ20を有している。Referring to FIG. 5, the volume label 18 includes two volume content management tables existing in the volume 11, namely, a current pointer 19 which is an address pointer for the post-initialization volume content management table 16, and a current pointer 19 which is an address pointer for the post-initialization volume content management table 16; It has an old pointer 20 which is an address pointer for the volume content management table 12.
通常のファイルアクセスの場合には、カレントポインタ
19に従い、誤って初期化を行いそのファイルを救済す
る為のファイルアクセスを行う場合にはオールドポイン
タ20に従い、2つのボリューム内容管理テーブル16
及び12をアクセスしてボリューム内で論理的に顕在も
しくは潜在しているファイルをアクセスすることが可能
である。In the case of normal file access, the current pointer 19 is followed, and in the case of file access to rescue a file that has been initialized by mistake, the old pointer 20 is followed, and the two volume content management tables 16
and 12, it is possible to access files that are logically manifest or latent within the volume.
発明の詳細
な説明したように、本発明によれば、ボリュームの初期
化、特にボリューム内容管理テーブルの初期化を意図し
ないボリュームに対して実施した場合に、ボリューム内
に存在するファイルを、特に初期化直後であれば全ての
ファイルを損なうことなく救済し得る効果が得られる。As described in detail, according to the present invention, when initializing a volume, especially initializing a volume content management table, is performed on an unintended volume, files existing in the volume can be initialized. Immediately after conversion, it is possible to save all files without damaging them.
第1図は本発明に係るボリューム内容管理テーブル初期
化方式の工程の一実施例を示すフローチャート、第2図
はボリュームの初期化前ボリューム内容管理テーブルを
ボリューム内に存在するファイルとから構成されたボリ
ュームの一状態例を示す概略図、第3図は従来技術を説
明する為のボリュームの一状態例を示す概略図、第4図
、第5図は本発明を説明する為のボリュームの一状態例
を示す概略図である。
11・・・ボリューム、12・・・初期化前ボリューム
内容管理テーブル、13.14・・・ファイル、15・
・・空きエリア、16・・・初期化後ボリューム内容管
理テーブル、18・・・ボリュームラベル、19・・・
カレントポインタ、20・・・オールドポインタFIG. 1 is a flowchart showing an embodiment of the process of the volume content management table initialization method according to the present invention, and FIG. 2 is a flowchart showing an example of the steps of the volume content management table initialization method according to the present invention. A schematic diagram showing an example of one state of a volume. FIG. 3 is a schematic diagram showing an example of one state of a volume for explaining the prior art. FIGS. 4 and 5 are a schematic diagram showing an example of one state of a volume for explaining the present invention. FIG. 2 is a schematic diagram illustrating an example. 11...Volume, 12...Pre-initialization volume content management table, 13.14...File, 15.
...Free area, 16...Volume content management table after initialization, 18...Volume label, 19...
Current pointer, 20...old pointer
Claims (3)
ブルのみを初期化する方式であって、前記ボリューム内
容管理テーブルの初期化に先立って既に存在する前記ボ
リューム内容管理テーブルの写しを当該ボリューム内の
空きエリアに、空きエリアが存在しないときには予め定
められたボリューム内のあるエリアにセーブする手段を
備えていることを特徴とするボリューム内容管理テーブ
ル初期化方式。(1) A method of initializing only a volume content management table in a magnetic storage medium, and prior to initializing the volume content management table, a copy of the volume content management table that already exists is transferred to an empty area within the volume. The method for initializing a volume content management table is characterized in that it includes means for saving in a certain area within a predetermined volume when there is no free area.
理テーブルの存在位置を示すオールドアドレスポインタ
と、新たに初期化された初期化後のボリューム内容管理
テーブルの存在位置を示すカレントアドレスポインタと
を備えていることを特徴とする請求項(1)に記載のボ
リューム内容管理テーブル初期化方式。(2) An old address pointer indicating the location of the volume content management table before initialization to be saved, and a current address pointer indicating the location of the newly initialized volume content management table after initialization. The volume content management table initialization method according to claim 1, further comprising: a volume content management table initialization method.
た場合にセーブされた前記初期化前のボリューム内容管
理テーブルを読み出す為の手段と、読み出された前記初
期化前のボリューム管理テーブルを一時的に格納する記
憶手段と、前記記憶手段に格納されている初期化前のボ
リューム管理テーブルを初期化後のボリューム内容管理
テーブル上に再格納する手段とを備えていることを特徴
とする請求項(1)または(2)に記載のボリューム内
容管理テーブル初期化方式。(3) means for reading the volume content management table before initialization that is saved when the volume content management table is initialized by mistake; and a means for temporarily reading out the volume content management table before initialization that has been read out. 2. A storage device for storing a pre-initialized volume management table stored in the storage device on a post-initialized volume content management table. The volume content management table initialization method described in 1) or (2).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1247470A JPH03109653A (en) | 1989-09-22 | 1989-09-22 | Initialization system for volume contents control table |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1247470A JPH03109653A (en) | 1989-09-22 | 1989-09-22 | Initialization system for volume contents control table |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03109653A true JPH03109653A (en) | 1991-05-09 |
Family
ID=17163932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1247470A Pending JPH03109653A (en) | 1989-09-22 | 1989-09-22 | Initialization system for volume contents control table |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03109653A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011141434A1 (en) * | 2010-05-13 | 2011-11-17 | International Business Machines Corporation | Preserving an existing volume map in re-initializing a data storage volume |
-
1989
- 1989-09-22 JP JP1247470A patent/JPH03109653A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011141434A1 (en) * | 2010-05-13 | 2011-11-17 | International Business Machines Corporation | Preserving an existing volume map in re-initializing a data storage volume |
| US8782360B2 (en) | 2010-05-13 | 2014-07-15 | International Business Machines Corporation | Preserving an existing volume map in re-initializing a data storage volume |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6907512B2 (en) | System and method for filtering write operations to a storage medium containing an operating system image | |
| US7174420B2 (en) | Transaction-safe FAT file system | |
| KR20040067856A (en) | Memory Device and Recording/Reproducing Apparatus Using the Same | |
| US9535796B2 (en) | Method, apparatus and computer for data operation | |
| JPH0532773B2 (en) | ||
| JP3882461B2 (en) | Storage device system and backup acquisition method thereof | |
| JPH01204163A (en) | File controller | |
| JPH03109653A (en) | Initialization system for volume contents control table | |
| JP2000242437A5 (en) | ||
| JPH06124239A (en) | Resident data controller for cache memory | |
| US6463502B1 (en) | Backup copying of data to a tape unit with a cache memory | |
| JPS58117064A (en) | Classified data set/compress processing method | |
| JPH06282386A (en) | Disk storage | |
| JP3271935B2 (en) | Control system | |
| JPH06187201A (en) | File system | |
| CN119668938B (en) | A computer hard disk data snapshot and recovery method, device and equipment | |
| JPS58107976A (en) | Protecting method for volume managing information | |
| JP2007128448A (en) | File system and file information processing method | |
| JP3022011B2 (en) | Data backup system | |
| JPS6346553A (en) | File copying method | |
| JP2024163822A (en) | Management device and management program | |
| JPH0820933B2 (en) | Data writing method and device | |
| KR100545654B1 (en) | How to detect flawlessness of files on disk after system startup | |
| JPH03257521A (en) | Medium copy system | |
| JPS6390088A (en) | Optical disc recording information management system |