JPH01253049A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH01253049A
JPH01253049A JP63080762A JP8076288A JPH01253049A JP H01253049 A JPH01253049 A JP H01253049A JP 63080762 A JP63080762 A JP 63080762A JP 8076288 A JP8076288 A JP 8076288A JP H01253049 A JPH01253049 A JP H01253049A
Authority
JP
Japan
Prior art keywords
file system
storage
file
storage unit
storage area
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
JP63080762A
Other languages
Japanese (ja)
Inventor
Masanori Nakanishi
正典 中西
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63080762A priority Critical patent/JPH01253049A/en
Publication of JPH01253049A publication Critical patent/JPH01253049A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable file systems to share a storage area by providing a registration part for other file systems capable of sharing the storage area and a file system identification number storage part where storage units used by files are stored in a file system. CONSTITUTION:A file system 9a when using a storage area 15 fully reads an entry out of the storage-area sharable file system registration part 12. If there is no file system registered, a file system control program performs necessary processing such as error processing. When registration is performed, e.g. when a file system 9b is registered, an unused storage unit registration part 11 is read out, a usable storage unit number and the identification number of the file system 9b are written in a storage unit number storage part for file attributes 14 and a file system identification number storage part; and those storage units are deleted from the unused storage unit registration part 11 and the data of the file are written in the storage units. Consequently, the storage area can be shared.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ファイルシステムを備えた電子計算機に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an electronic computer equipped with a file system.

従来の技術 従来、電子計算機におけるデータの長期的保存について
は、一般に磁気ディスク装置や磁気テープ装置などの大
容量補助記憶装置が広く用いられてきた。補助記憶装置
におけるデータの管理にあたっては、−まとまりのデー
タをファイルという単位でまとめて行なわれていた。又
、ファイルの属性情報及びファイルのデータの管理を効
率的に行なうために、補助記憶装置の記憶領域を複数の
ファイルシステムに分割して、これをホスト計算機がソ
フトウェア的に管理する方法が用いられていた。
2. Description of the Related Art Hitherto, large-capacity auxiliary storage devices such as magnetic disk devices and magnetic tape devices have been widely used for long-term data storage in electronic computers. When managing data in an auxiliary storage device, a group of data was managed in units called files. Additionally, in order to efficiently manage file attribute information and file data, a method is used in which the storage area of the auxiliary storage device is divided into multiple file systems, and the host computer manages these using software. was.

発明が解決しようとする課題 しかしながら、従来の電子計算機については、補助記憶
装置の記憶領域の管理はファイルシステム毎に行なわれ
ているため、一つのファイルシステムの記憶領域がなく
なった場合には、そのファイルシステム内にはそれ以上
データを追加記憶することは不可能となる。このような
場合は、−時的に補助記憶装置の利用を停止して、補助
記憶装置内のデータを全て他の記憶装置を用いてバック
アップを行なった後、ファイルシステムの記憶容量の変
更を行なうべく、再構成をなさねばならない。通常、電
子計算機の利用者にはファイルシステム単位で補助記憶
装置の利用許可が与えられるので利用者にとって著しく
不都合であり、電子計算機稼動効率の点からも好ましく
ない。
Problems to be Solved by the Invention However, in conventional electronic computers, the storage area of the auxiliary storage device is managed for each file system. It is no longer possible to store additional data within the file system. In such a case, - temporarily stop using the auxiliary storage device, back up all data in the auxiliary storage device using another storage device, and then change the storage capacity of the file system. Therefore, we have to reconfigure it. Normally, computer users are granted permission to use the auxiliary storage device on a per file system basis, which is extremely inconvenient for the users and undesirable from the viewpoint of computer operating efficiency.

本発明は、上記事情に鑑みてなされたもので、その目的
とするところは、従来の電子計算機における上述の如き
問題点を解消し、記憶単位毎に指定して記憶領域の共有
が可能なファイルシステムを具備した電子計算機を提供
することである。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in conventional electronic computers, and to create a file that allows sharing of storage areas by specifying each storage unit. The object of the present invention is to provide an electronic computer equipped with a system.

課題を解決するための手段 本発明の上記目的は、補助記憶装置を有し、補助記憶装
置の記憶領域上に構成され、記憶領域の共有を許可する
ファイルシステムの登録部と、ファイルが使用する記憶
単位毎に、その記憶単位を保有するファイルシステムの
指定部を備えたことを特徴とする電子計算機によって達
成される。
Means for Solving the Problems The above object of the present invention is to provide a registration unit of a file system that has an auxiliary storage device, is configured on a storage area of the auxiliary storage device, and allows sharing of the storage area, and a file system that is used by files. This is achieved by an electronic computer characterized in that each storage unit is provided with a designation section for a file system that holds that storage unit.

作  用 記憶単位毎に、指定部により指定して記憶領域の共有が
可能となる。
For each working storage unit, it is possible to share the storage area by specifying it using the specification section.

実施例 以下、本発明の実施例を図面に基づいて詳細に説明する
。第1図は、本発明の一実施例に使用する電子計算機の
基本構成例を示すもので、1は中央処理装置、2は主記
憶装置、3はファイルシステム管理プログラム、4は補
助記憶制御装置、5は補助記憶装置、6は端末装置制御
装置、7は端末装置、8は補助記憶領域、9a及び9b
はファイルシステムである。第2図は、上述のファイル
システムの構成例の概念図である。10はファイルシス
テム管理エリア、11は未使用記憶単位登録部、12は
記憶領域共有可能ファイルシステム登録部、13はファ
イル属性格納エリア、14はファイル属性、15は記憶
領域、16は記憶単位である。第3図は、上述のファイ
ル属性エントリの構成例の概念図であり、17はファイ
ル識別子格納部、18はファイル使用記憶単位エリア、
I9は記憶単位番号格納部、20はファイルシステム識
別番号格納部である。なお、以下の説明において、第2
図及び第3図については、第1図のファイルシステム9
a、9bに対応するものについては番号にa及びbを付
して参照する。
Embodiments Hereinafter, embodiments of the present invention will be described in detail based on the drawings. FIG. 1 shows an example of the basic configuration of a computer used in an embodiment of the present invention, in which 1 is a central processing unit, 2 is a main storage device, 3 is a file system management program, and 4 is an auxiliary storage control device. , 5 is an auxiliary storage device, 6 is a terminal device control device, 7 is a terminal device, 8 is an auxiliary storage area, 9a and 9b
is a file system. FIG. 2 is a conceptual diagram of a configuration example of the above-mentioned file system. 10 is a file system management area, 11 is an unused storage unit registration section, 12 is a storage area shareable file system registration section, 13 is a file attribute storage area, 14 is a file attribute, 15 is a storage area, and 16 is a storage unit. . FIG. 3 is a conceptual diagram of a configuration example of the above-mentioned file attribute entry, in which 17 is a file identifier storage section, 18 is a file usage storage unit area,
I9 is a storage unit number storage section, and 20 is a file system identification number storage section. In addition, in the following explanation, the second
For Figures and Figure 3, please refer to the file system 9 in Figure 1.
Those corresponding to a and 9b are referred to by adding a and b to the numbers.

以下、図示の実施例を参照しながら、新規ファイルをフ
ァイルシステムに格納する場合の動作について説明する
。まず、新規ファイル格納要求を受けたファイルシステ
ム管理プログラム3は、どのファイルシステム上にファ
イルを作成するかを決定する。例えばそれがファイルシ
ステム9aである場合を考える。次に未使用記憶単位登
録部11aから必要な量の未使用記憶単位を読み出し、
その記憶単位番号とファイルシステム9aに対応するフ
ァイルシステム識別番号をそれぞれ記憶単位番号格納部
19aとファイルシステム識別子格納部20aに書き込
む。最後に、このようにして割り当てられた記憶単位を
未使用記憶単位登録部11aから削除し、ファイルのデ
ータを記憶単位に書き込む。一方、ファイルシステム9
aが、記憶領域15aを使い果たした場合は、記憶領域
共有可能ファイルシステム登録部12aのエントリを読
み出す。もし登録がなければファイルシステム管理プロ
グラムはエラー処理等の必要な処理を行なう。登録があ
る場合、例えばファイルシステム9bが登録されている
場合、未使用記憶単位登録811bを読み出し、上述の
ように、利用可能な記憶単位番号とファイルシステム9
bの識別番号を、それぞれ記憶単位番号格納部19aと
ファイルシステム識別番号格納部20aに書き込み、こ
れらの記憶単位を未使用記憶単位登録部11bから削除
してファイルのデータを記憶単位に書き込む。もしファ
イルシステム9bに未使用記憶単位がなければ、記憶領
域共有可能ファイルシステム登録部12aの他のエント
リについて上述と同じ動作を繰り返す。
The operation when storing a new file in the file system will be described below with reference to the illustrated embodiment. First, upon receiving a new file storage request, the file system management program 3 determines on which file system the file will be created. For example, consider the case where it is the file system 9a. Next, read the required amount of unused storage units from the unused storage unit registration section 11a,
The storage unit number and the file system identification number corresponding to the file system 9a are written into the storage unit number storage section 19a and the file system identifier storage section 20a, respectively. Finally, the storage unit allocated in this way is deleted from the unused storage unit registration section 11a, and the file data is written into the storage unit. On the other hand, file system 9
When a uses up the storage area 15a, the entry in the storage area sharable file system registration unit 12a is read. If there is no registration, the file system management program performs necessary processing such as error handling. If there is a registration, for example, if the file system 9b is registered, the unused storage unit registration 811b is read and the available storage unit number and the file system 9 are registered as described above.
The identification numbers b are written in the storage unit number storage section 19a and the file system identification number storage section 20a, respectively, these storage units are deleted from the unused storage unit registration section 11b, and the data of the file is written in the storage units. If there is no unused storage unit in the file system 9b, the same operation as described above is repeated for other entries in the storage area shareable file system registration section 12a.

このようにして、ファイルシステム内の記憶領域が不足
した場合でも、他のファイルシステムと記憶領域を共有
可能となる。
In this way, even if the storage area in the file system runs out, the storage area can be shared with other file systems.

発明の効果 以上詳細に説明したように、本発明は、ファイルシステ
ム内に、記憶領域の共有可能な他のファイルシステムの
登録部と、ファイルが使用する記憶単位の格納されてい
るファイルシステム識別番号格納部を設けることにより
、ファイルシステム間で記憶領域の共有が可能となるた
め、ファイルシステムが直接保有する容量以上の記憶領
域を提供することができるという利点がある。
Effects of the Invention As explained in detail above, the present invention provides a file system with a registration section for other file systems whose storage areas can be shared, and a file system identification number in which a storage unit used by a file is stored. By providing a storage unit, it is possible to share a storage area between file systems, which has the advantage of being able to provide a storage area greater than the capacity directly held by the file system.

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

第1図は、本発明の一実施例に使用するホスト計算機及
び補助記憶装置の基本構成図、第2図及び第3図はそれ
ぞれファイルシステム及びファイル属性エントリの構成
例を示す概念図である。 1・・・・・・中央処理装置、2・・・・・・主記憶装
置、3・・・・・・ファイルシステム管理プログラム、
4・・・・・・補助記憶制御装置、5・・・・・・端末
制御装置、6・・・・・・補助記憶装置、7・・・・・
・端末装置、8・・・・・・補助記憶領域、9a、9b
・・・・・・ファイルシステム。 代理人の氏名 弁理士 中尾敏男 ほか1名第2図
FIG. 1 is a basic configuration diagram of a host computer and an auxiliary storage device used in an embodiment of the present invention, and FIGS. 2 and 3 are conceptual diagrams showing configuration examples of a file system and file attribute entries, respectively. 1...Central processing unit, 2...Main storage device, 3...File system management program,
4... Auxiliary storage control device, 5... Terminal control device, 6... Auxiliary storage device, 7...
・Terminal device, 8... Auxiliary storage area, 9a, 9b
...File system. Name of agent: Patent attorney Toshio Nakao and one other person Figure 2

Claims (1)

【特許請求の範囲】[Claims] 補助記憶装置を有し、この補助記憶装置の記憶領域上に
構成され、記憶領域の共有を許可するファイルシステム
の登録部と、ファイルが使用する記憶単位毎に、その記
憶単位を保有するファイルシステムの指定部を備えたフ
ァイルシステムを具備したことを特徴とする電子計算機
A file system registration unit that has an auxiliary storage device, is configured on the storage area of this auxiliary storage device, and allows sharing of the storage area, and a file system that holds the storage unit for each storage unit used by a file. An electronic computer characterized by comprising a file system having a designated section.
JP63080762A 1988-03-31 1988-03-31 Electronic computer Pending JPH01253049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63080762A JPH01253049A (en) 1988-03-31 1988-03-31 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63080762A JPH01253049A (en) 1988-03-31 1988-03-31 Electronic computer

Publications (1)

Publication Number Publication Date
JPH01253049A true JPH01253049A (en) 1989-10-09

Family

ID=13727432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63080762A Pending JPH01253049A (en) 1988-03-31 1988-03-31 Electronic computer

Country Status (1)

Country Link
JP (1) JPH01253049A (en)

Similar Documents

Publication Publication Date Title
EP0818006B1 (en) Data migration system and method employing sparse files
JP3017892B2 (en) File management device
US5906658A (en) Message queuing on a data storage system utilizing message queuing in intended recipient's queue
JP2002268933A (en) Cluster system
US5802557A (en) System and method for caching information in a digital data storage subsystem
JPH01253049A (en) Electronic computer
JPS5827255A (en) Controlling system of file used for plural electronic computers in common
JPS62287359A (en) Control system for simultaneous file access in loosely coupled multi-processor system
US8447945B2 (en) Storage apparatus and storage system including storage media having different performances
JPH02299037A (en) File allocation processing system
JPS63168743A (en) Control system for shared use of file for virtual computer system
JPS61276040A (en) File access system
JPS6327936A (en) File management method
CA2216723C (en) Real time data migration system and method employing sparse files
JPH03222047A (en) Area control system
JPS6368960A (en) Sequential access controller for shared storage medium
JPH0387941A (en) Decentralized data base processing system
JPH03219339A (en) Data processing system
JPH04242843A (en) Subfile management system
JPH036633A (en) File access system among plural host computers
JPS6358555A (en) Control system for file space
JPH0267650A (en) File saving control system
JPH01220023A (en) Centralized control system for secondary storage device
JPH05165693A (en) Distributed information processor
JPS63142443A (en) File access processing system