JPH04155546A - Multivolume file processing method - Google Patents

Multivolume file processing method

Info

Publication number
JPH04155546A
JPH04155546A JP2281650A JP28165090A JPH04155546A JP H04155546 A JPH04155546 A JP H04155546A JP 2281650 A JP2281650 A JP 2281650A JP 28165090 A JP28165090 A JP 28165090A JP H04155546 A JPH04155546 A JP H04155546A
Authority
JP
Japan
Prior art keywords
volume
file
storage area
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
JP2281650A
Other languages
Japanese (ja)
Inventor
Masatake Iwakura
岩倉 正剛
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2281650A priority Critical patent/JPH04155546A/en
Publication of JPH04155546A publication Critical patent/JPH04155546A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing efficiency of a system by setting the information of a file at the file management information of a storage medium, and completing the assignment of the storage area of the storage medium to a multivolume file, at the time of the absence of the empty storage area in the storage medium. CONSTITUTION:At the time of the absence of the empty storage area in the storage medium to which the storage area should be assigned according to a designated sequence, the information of the file to which it is not necessary to assign the storage area is set at the file management information of this storage medium, so that the assignment of the storage area of the storage medium to the multivolume file can be completed. The access control to the multivolume file identifies the presence or absence of the assigned area of this file from the file management information of the volume, and at the time of the absence of the area, the access execution to the data is skipped, and the access to the volume in the next order is performed. Thus, the assigning processing of the storage area can be normally continued even when there is the volume which has no empty storage area in a series of storage media.

Description

【発明の詳細な説明】 〔概 要〕 計算機における、マルチボリュームファイルの記憶領域
割当処理に関し、 一連の記憶媒体(ボリュームンの中に空き記憶領域の無
いボリュームがあっても、正常に記憶領域の割当処理を
継続できるマルチボリュームファイル処理方法を目的と
し、 指定の順序を有する複数個の記憶媒体の空き記憶領域か
ら、該順序に従って所要の大きさの記憶領域を順次割り
当てて、指定の大きさを満足する複数の分割された該記
憶領域からなるマルチボリュームファイルを生成する計
算機の処理において、該順序に従って該記憶領域を割り
当てるべき該記憶媒体に空き記憶領域が無い場合には、
当該記憶媒体のファイル管理情報に、記憶領域の割当の
無い当該ファイルの情報を設定することにより、該マル
チボリュームファイルへの当該記憶媒体の記憶領域割当
を完了したものとするように構成する。
[Detailed Description of the Invention] [Summary] Regarding storage area allocation processing for multi-volume files in a computer, even if there is a volume with no free storage area in a series of storage media (volumes), the storage area can be allocated normally. The purpose of this method is to create a multi-volume file processing method that can continue the allocation process, by sequentially allocating a storage area of a required size from the free storage areas of multiple storage media in a specified order according to the specified order. In a computer process that generates a multi-volume file consisting of a plurality of satisfyingly divided storage areas, if there is no free storage area on the storage medium to which the storage areas should be allocated according to the order,
By setting information of the file to which no storage area is allocated in the file management information of the storage medium, it is assumed that the storage area allocation of the storage medium to the multi-volume file is completed.

C産業上の利用分野〕 本発明は、計算機における、マルチボリュームファイル
の記憶領域割当処理のための、マルチボリュームファイ
ル処理方法に関する。
C. Field of Industrial Application] The present invention relates to a multi-volume file processing method for processing storage area allocation for multi-volume files in a computer.

〔従来の技術〕[Conventional technology]

第2図は計算機の構成例を示すブロック図であり、計算
機において、磁気ディスク記憶装置等の外部記憶製置を
構成する個別の記憶媒体のボリューム1にファイルを生
成する場合に、記憶領域を複数のボリューム1から割り
当てて1つのファイルに構成する、いわゆるマルチボリ
ュームファイルはよく知られている。
FIG. 2 is a block diagram showing an example of the configuration of a computer. When a computer generates a file in volume 1 of an individual storage medium that constitutes an external storage installation such as a magnetic disk storage device, multiple storage areas are used. A so-called multi-volume file that is allocated from volume 1 and configured into one file is well known.

各ボリューム1には、ボリュームを識別するたメノホリ
ューム通番2が設定されており、マルチボリュームファ
イルの構成情報には、複数のボリューム通番の並びが指
定されて、そのファイルは指定のボリューム通番のボリ
ュームに割り当てる記憶領域を、指定の順序に並べて構
成するように制御される。
Each volume 1 is set with a volume serial number 2 that identifies the volume, and a sequence of multiple volume serial numbers is specified in the configuration information of a multi-volume file, and the file is assigned to the volume with the specified volume serial number. It is controlled so that the storage areas to be allocated are arranged and configured in a specified order.

そこで計算機のファイル管理部3は、マルチボリューム
ファイルのボリューム通番の並びを指定されてデータを
書き出す場合に、ある指定のボリューム1に取った記憶
領域4でデータを書き出す領域が不足し、そのボリュー
ムに空き領域が無いと、ボリューム通番の並びで次の順
位に指定されているボリューム通番のボリューム1にア
クセスする。
Therefore, when the file management section 3 of the computer writes out data by specifying the sequence of volume serial numbers of a multi-volume file, there is insufficient space to write the data in the storage area 4 set aside for a certain specified volume 1, and the file management section 3 of the computer If there is no free space, access is made to volume 1 with the volume serial number specified next in the sequence of volume serial numbers.

そのボリュームの領域管理情報5を読んで、空き記憶領
域から必要な大きさの領域を、このファイルに割り当て
るように領域管理情報を設定し、必要なそのファイルの
情報をファイル管理情報6に設定し、割り当てた領域に
データを書き出す。
Read the area management information 5 of the volume, set the area management information to allocate the required size of free storage area to this file, and set the necessary information of the file in the file management information 6. , write the data to the allocated space.

このようにして記憶領域が必要になれば、順次次順位の
ボリュームについて以上のような処理を進める。
In this manner, when a storage area is needed, the above-described processing is performed for volumes in sequential order.

ここで、新たに記憶領域を割り当てようとしたボリュー
ムlに空き記憶領域が無かった場合には、指定のボリュ
ームに空き領域が無いので、処理を続行できない異常状
態として扱い、そのマルチボリュームファイルへの書出
しを行っていたジョブを異常終了させる。
If there is no free storage space in the volume l to which you are trying to allocate a new storage space, it is treated as an abnormal state in which the process cannot be continued because there is no free space in the specified volume, and the process is treated as an abnormal state in which the process cannot be continued. Abnormally terminate the job that was writing.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前記のように、指定されているボリュームに、たまたま
空き記憶領域が無いと、ジョブが異常終了するので、改
めてジョブを再実行させなければならない。
As mentioned above, if the specified volume happens to have no free storage area, the job will terminate abnormally and the job will have to be re-executed.

本発明は、一連の記憶媒体(ボリューム)の中に空き記
憶N域の無いボリュームがあっても、正常に記憶領域の
割当処理を継続できるマルチボリュームファイル処理方
法を目的とする。
An object of the present invention is to provide a multi-volume file processing method that can normally continue the storage area allocation process even if there is a volume in a series of storage media (volumes) that does not have a free storage area N.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の構成を示す処理の流れ図である。 FIG. 1 is a process flowchart showing the configuration of the present invention.

図はマルチボリュームファイル処理方法であって、指定
の順序を有する複数個の記憶媒体の空き記憶領域から、
該順序に従って所要の大きさの記憶領域を順次割り当て
て、指定の大きさを満足する複数の分割された該記憶領
域からなるマルチボリュームファイルを生成する計算機
の処理(処理ステップ10〜16)において、該順序に
従って該記憶領域を割り当てるべき該記憶媒体に空き記
憶領域が無い場合には(処理ステップ11)、当該記憶
媒体のファイル管理情報に、記憶領域の割当の無い当該
ファイルの情報を設定することにより、該マルチボリュ
ームファイルへの当該記憶媒体の記憶領域割当を完了し
たものとする(処理ステップ17)。
The figure shows a multi-volume file processing method, in which free storage areas of multiple storage media in a specified order are
In a computer process (processing steps 10 to 16) that sequentially allocates storage areas of a required size according to the order and generates a multi-volume file consisting of a plurality of divided storage areas that satisfy a specified size, If there is no free storage area on the storage medium to which the storage area should be allocated according to the order (processing step 11), set information of the file to which no storage area is allocated in the file management information of the storage medium. As a result, it is assumed that the allocation of the storage area of the storage medium to the multi-volume file is completed (processing step 17).

6作 用〕 本発明の処理方法により、マルチボリュームファイルの
書出しをしようとして、空き領域の無いボリュームにつ
いては、マルチボリュームファイルがそのボリュームに
記憶領域を持たず(ダミーの領域のみを持ち)ファイル
は存在するようにファイル管理情報を設定して、次順位
のボリュームに進むので、ジョブは正常に処理を継続で
きる。そのマルチボリュームファイルへのアクセス制御
では、ボリュームのファイル管理情報により、当該ファ
イルの割当領域があるか識別し、領域が無い場合にはデ
ータへのアクセス実行をスキップして、次順位のボリュ
ームにアクセスするように処理する。
6. Effect] When an attempt is made to write a multi-volume file using the processing method of the present invention, for a volume with no free space, the multi-volume file does not have a storage area in that volume (only has a dummy area), and the file is Since the file management information is set so that the volume exists and the process proceeds to the next volume, the job can continue processing normally. In controlling access to multi-volume files, it is determined whether there is allocated space for the file based on the volume's file management information, and if there is no space, access to the data is skipped and the next volume is accessed. Process as follows.

〔実施例〕〔Example〕

第1図の処理の流れを詳細に説明すると、計算機はマル
チボリュームファイルを書き出すためのボリュームを指
定するボリューム通番の並びを受は取って処理を開始し
、処理ステップ10で、先ず先頭のボリューム通番のボ
リュームを検索してアクセスする。
To explain in detail the processing flow shown in Figure 1, the computer starts processing by receiving a sequence of volume serial numbers that specify volumes for writing a multi-volume file. Search and access volumes.

処理ステップ11でボリュームの領域管理情報を読み、
空き記憶領域の有無を識別する。空き記憶領域がある場
合には、処理ステップ12以下で通常のように記憶領域
を、例えば磁気ディスク記憶装置で定まるトラック単位
で割り当ててデータを書き出す。
In processing step 11, read the volume area management information,
Identify whether there is free storage space. If there is a free storage area, the storage area is allocated in units of tracks determined by, for example, a magnetic disk storage device, and data is written in the usual manner in processing step 12 and subsequent steps.

即ち処理ステップ12で必要なトラック数を決定し、領
域管理情報のその領域を割当済に更新することにより記
憶領域を割り当てる。必要なトラック数は、例えばマル
チボリュームファイルに必要な残りトラック数と、空き
領域トランク数とを見て、何れか値の小さな方によって
決定する。
That is, in processing step 12, the required number of tracks is determined, and the storage area is allocated by updating the area management information to "allocated" for that area. The required number of tracks is determined by looking at, for example, the number of remaining tracks required for the multi-volume file and the number of free trunks, whichever is smaller.

領域がきまると、処理ステップ13でファイル管理情報
を書出し、処理ステップ14でデータを書き出して、そ
のボリュームについての処理を終わる。
Once the area is determined, file management information is written in processing step 13, data is written out in processing step 14, and the processing for that volume is completed.

ボリューム内に設定されるファイル管理情報には、概念
的に、ファイルを識別するファイル名と、割り当てた領
域の先頭トラックを指示するポインタと、トラック数と
、マルチボリュームファイル内のボリュームの順位を示
す情報を有する。
Conceptually, the file management information set within a volume includes a file name that identifies the file, a pointer that indicates the first track of the allocated area, the number of tracks, and the order of the volume within the multi-volume file. have information

データの書出しを終わると、処理ステップ15で更に領
域獲得が必要か識別して、必要でなければ処理を終了し
、必要であれば処理ステップ16で次順位のボリューム
にアクセスし、処理ステップ11の処理に戻る。
After writing the data, it is determined whether further area acquisition is necessary in processing step 15, and if it is not necessary, the processing is terminated.If necessary, the next priority volume is accessed in processing step 16, and processing step 11 is performed. Return to processing.

処理ステップ11でボリュームの領域管理情報を読み、
空き記憶領域が無かった場合には、本発明により処理ス
テップ17の処理を行う。処理ステップ17では、処理
ステップ13と同様のファイル管理情報をそのボリュー
ムに設定し、但し割当領域は無いので、例えば先頭トラ
ンクへのポインタは01割当トラック数も0とする。そ
の後に、処理ステップ16に進んで次順位のボリューム
にアクセスする。
In processing step 11, read the volume area management information,
If there is no free storage area, the process of step 17 is performed according to the present invention. In processing step 17, the same file management information as in processing step 13 is set in the volume, but since there is no allocated area, for example, the pointer to the first trunk is set to 01, and the number of allocated tracks is also set to 0. Thereafter, the process proceeds to step 16 to access the next volume.

以上の処理により、例えばファイル名A、Bのマルチボ
リュームファイルを、ボリューム通番が■1、■2、■
3の3ボリユームに書き出す場合に、ボリューム■2に
空き領域が無かったとすると、第3図に説明的に示すよ
うなファイル管理情報が、各ボリュームに設定される。
With the above processing, for example, multi-volume files with file names A and B can be created with volume serial numbers ■1, ■2, ■
When writing to volume 3 of 3, assuming that there is no free space in volume 2, file management information as illustrated in FIG. 3 is set in each volume.

なおこの例のマルチボリュームファイルの要求記憶領域
の長さは50トラツクであったとする。
It is assumed that the length of the required storage area of the multi-volume file in this example is 50 tracks.

このファイルにアクセスする場合には、ファイル名によ
りファイル管理情報を検索し、ボリューム順位で正常な
順位を確認して、従来と同様にアクセスを処理すること
ができるが、その場合に例えばポインタを検査して、0
であればそのボリュームのデータへのアクセスは実行せ
ず次のボリュームへ進むようにする。
When accessing this file, you can search the file management information by file name, check the normal order in the volume order, and process the access as before, but in this case, for example, check the pointer. and then 0
If so, proceed to the next volume without accessing the data in that volume.

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

以上の説明から明らかなように本発明によれば、計算機
における、マルチボリュームファイルの記憶領域割当処
理において、一連のボリュームの中に空き記憶領域の無
いボリュームがあっても、正常に記憶領域の割当処理を
継続できるので、ジョブの異常終了による再実行の発生
を避けることができ、システムの処理効率を改善すると
いう著しい工業的効果がある。
As is clear from the above description, according to the present invention, in storage area allocation processing for multi-volume files in a computer, even if there is a volume with no free storage area in a series of volumes, the storage area can be allocated normally. Since the processing can be continued, the occurrence of re-execution due to abnormal termination of the job can be avoided, and this has a significant industrial effect of improving the processing efficiency of the system.

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

第1図は本発明の構成を示す処理の流れ図、第2図は計
算機の構成例を示すブロック図、第3図はファイル管理
情報を説明する図である。 図において、 1はボリューム、    2はボリューム通番、3はフ
ァイル管理部、  4は記憶領域、5は領域管理情報、
   6はファイル管理情報、10〜17は処理ステッ
プ 本発明の構成を示す処理の流れ図 第1図
FIG. 1 is a process flowchart showing the configuration of the present invention, FIG. 2 is a block diagram showing an example of the configuration of a computer, and FIG. 3 is a diagram explaining file management information. In the figure, 1 is the volume, 2 is the volume serial number, 3 is the file management section, 4 is the storage area, 5 is the area management information,
6 is file management information; 10 to 17 are processing steps; FIG. 1 is a process flowchart showing the configuration of the present invention;

Claims (1)

【特許請求の範囲】  指定の順序を有する複数個の記憶媒体の空き記憶領域
から、該順序に従って所要の大きさの記憶領域を順次割
り当てて、指定の大きさを満足する複数の分割された該
記憶領域からなるマルチボリュームファイルを生成する
(10〜16)計算機の処理において、 該順序に従って該記憶領域を割り当てるべき該記憶媒体
に空き記憶領域が無い場合(11)には、当該記憶媒体
のファイル管理情報に、記憶領域の割当の無い当該ファ
イルの情報を設定することにより、該マルチボリューム
ファイルへの当該記憶媒体の記憶領域割当を完了したも
のとする(17)ことを特徴とするマルチボリュームフ
ァイル処理方法。
[Claims] A storage area of a required size is sequentially allocated from free storage areas of a plurality of storage media having a specified order, and a plurality of divided storage areas satisfying the specified size are created. In the computer process of generating a multi-volume file consisting of storage areas (10 to 16), if there is no free storage area on the storage medium to which the storage areas should be allocated according to the order (11), the file on the storage medium is A multi-volume file characterized in that by setting information of the file to which no storage area has been allocated in the management information, it is assumed that the storage area allocation of the storage medium to the multi-volume file has been completed (17). Processing method.
JP2281650A 1990-10-19 1990-10-19 Multivolume file processing method Pending JPH04155546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2281650A JPH04155546A (en) 1990-10-19 1990-10-19 Multivolume file processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2281650A JPH04155546A (en) 1990-10-19 1990-10-19 Multivolume file processing method

Publications (1)

Publication Number Publication Date
JPH04155546A true JPH04155546A (en) 1992-05-28

Family

ID=17642058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2281650A Pending JPH04155546A (en) 1990-10-19 1990-10-19 Multivolume file processing method

Country Status (1)

Country Link
JP (1) JPH04155546A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06231015A (en) * 1993-02-06 1994-08-19 Fuji Xerox Co Ltd Data base system area expanding device
JPH0793195A (en) * 1993-09-21 1995-04-07 Dainippon Screen Mfg Co Ltd Image processing system
JPH07295865A (en) * 1994-04-22 1995-11-10 Fujitsu Ltd Image data storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06231015A (en) * 1993-02-06 1994-08-19 Fuji Xerox Co Ltd Data base system area expanding device
JPH0793195A (en) * 1993-09-21 1995-04-07 Dainippon Screen Mfg Co Ltd Image processing system
JPH07295865A (en) * 1994-04-22 1995-11-10 Fujitsu Ltd Image data storage system

Similar Documents

Publication Publication Date Title
JP2635023B2 (en) Label writing method for file data
JPH06309224A (en) Method for data page control and data processing system
CN111309289B (en) Memory pool management assembly
JPH05224822A (en) Collective storage device
JPH04220738A (en) High-speed writing system
US5113509A (en) Method of changing data on disk
US5724500A (en) Multiple writing volume backup method
JPH0340868B2 (en)
JPS6367685B2 (en)
JPH04155546A (en) Multivolume file processing method
JPH06110759A (en) File system
JPH08202595A (en) File system
JPH0337748A (en) External storage accessing system utilizing main storage
JPH09293007A (en) Program install device
JPH026094B2 (en)
JPH01255028A (en) Method for making access to external storage device
CN117149067A (en) Chip storage method and chip storage system
JPS63257850A (en) Fault space allocation avoidance control system
JPS63251965A (en) Disk managing system
JPH0336640A (en) Control system for record storing space
JPS63141144A (en) Access area control system
JPH03296822A (en) Logical space address allocating system
JPS5987572A (en) Controlling system of disk storage device
JPH02304615A (en) Allocating system for parallel disk control buffer
JPH06243659A (en) Method and device for number of storage medium