JPH05274194A - Data storage volume management processing method - Google Patents
Data storage volume management processing methodInfo
- Publication number
- JPH05274194A JPH05274194A JP4066532A JP6653292A JPH05274194A JP H05274194 A JPH05274194 A JP H05274194A JP 4066532 A JP4066532 A JP 4066532A JP 6653292 A JP6653292 A JP 6653292A JP H05274194 A JPH05274194 A JP H05274194A
- Authority
- JP
- Japan
- Prior art keywords
- volume
- size
- free area
- data
- limit value
- 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.)
- Granted
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】 計算機のボリューム管理に関し、空き領域の
あるボリュームを選んで指定のデータを格納する処理を
効率よく行うためのデータ格納ボリューム管理処理方法
を目的とする。
【構成】 格納限界値等を保持し(1)、データ格納要求
を受け取ると(2)、各該ボリュームの空き領域の大きさ
を検索し、該空き領域が該指定データの大きさより小さ
くない該ボリュームを、該先頭ボリューム指示で指示さ
れるボリュームを先頭として該ボリューム優先順位に従
って選択し(3、4)、該選択したボリュームに該データを
格納した(5) 後に、当該ボリュームの空き領域の大きさ
と該格納限界値とを比較し(6) 、該比較結果により該先
頭ボリューム指示を更新して、該空き領域の大きさが該
格納限界値以上の場合には該ボリュームを指示させ(7)
、該空き領域の大きさが該格納限界値より小さい場合
には該ボリュームの次の順位のボリュームを指示させる
(8) ように構成する。
(57) [Abstract] [Purpose] With regard to volume management of a computer, an object is to provide a data storage volume management processing method for efficiently performing processing of selecting a volume having an empty area and storing specified data. [Structure] When the storage limit value is held (1) and a data storage request is received (2), the size of the free area of each volume is searched, and the free area is not smaller than the size of the specified data. A volume is selected according to the volume priority order, starting with the volume designated by the head volume instruction (3, 4), and after storing the data in the selected volume (5), the size of the free area of the volume is selected. And the storage limit value are compared (6), the head volume instruction is updated according to the comparison result, and if the size of the free area is equal to or larger than the storage limit value, the volume is indicated (7).
, If the size of the free area is smaller than the storage limit value, the volume next to the volume is designated.
(8) Configure as follows.
Description
【0001】[0001]
【産業上の利用分野】本発明は、計算機において、空き
領域のあるボリュームを選んで指定のデータを格納する
処理を行うためのデータ格納ボリューム管理処理方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage volume management processing method for a computer to select a volume having a free area and store specified data.
【0002】[0002]
【従来の技術と発明が解決しようとする課題】計算機シ
ステムにおいては、その計算機で実行するある応用シス
テムでデータを格納して保存する場合に、外部記憶装置
の複数の論理ボリュームからなるボリューム群をその応
用システムに割り当てておく。論理ボリューム(以下に
おいて単にボリュームという)とは、磁気ディスク等の
記憶装置についての領域割り当て単位である。2. Description of the Related Art In a computer system, a volume group consisting of a plurality of logical volumes in an external storage device is used when data is stored and saved by an application system executed by the computer. Assign it to the application system. A logical volume (hereinafter simply referred to as a volume) is an area allocation unit for a storage device such as a magnetic disk.
【0003】その応用システムは、必要な場合にデータ
とボリュームを指定して、所定の書込みコマンドを発行
し、システムは書込みコマンドを受け取ると、指定のデ
ータを指定のボリュームに格納する処理を実行する。The application system specifies a data and a volume when necessary and issues a predetermined write command. When the system receives the write command, the system executes a process of storing the specified data in the specified volume. ..
【0004】その場合に、オペレーティングシステムが
基本機能として提供する書込みコマンドでは、指定され
たボリュームについて指定のデータの格納を試みて、空
き領域が不足した場合にはエラー通知を返して処理を終
わる。In this case, in the write command provided by the operating system as a basic function, an attempt is made to store the specified data in the specified volume, and if the free space is insufficient, an error notification is returned and the processing ends.
【0005】そこで要求元はエラーが返された場合に
は、別のボリュームをボリューム群から選んで再び書込
みコマンドを発行してデータ格納処理を要求しなければ
ならない。そのために、適当な空き領域のあるボリュー
ムを早く選択できるような管理を、オペレーティングシ
ステムの利用者で行うことが望まれる。Therefore, when an error is returned, the request source must select another volume from the volume group and issue a write command again to request the data storage process. Therefore, it is desired that the operating system user manages the volume so that a volume having an appropriate free area can be selected quickly.
【0006】本発明は、空き領域のあるボリュームを効
率よく自動選択してデータを格納するようにしたデータ
格納ボリューム管理処理方法を目的とする。An object of the present invention is to provide a data storage volume management processing method for efficiently and automatically selecting a volume having a free area to store data.
【0007】[0007]
【課題を解決するための手段】図1は、本発明の構成を
示す処理の流れ図である。図はデータ格納ボリューム管
理処理方法の構成であって、指定のデータを、複数のボ
リュームからなる指定のボリューム群に格納する処理に
おいて、格納限界値とボリューム優先順位と先頭ボリュ
ーム指示とを保持している(処理ステップ1)。FIG. 1 is a flow chart of processing showing the configuration of the present invention. The figure shows the configuration of the data storage volume management processing method. In the processing of storing specified data in a specified volume group consisting of a plurality of volumes, the storage limit value, volume priority order, and head volume instruction are held. (Processing step 1).
【0008】データ格納要求を受け取ると(処理ステッ
プ2)、各該ボリュームの空き領域の大きさを検索し、
該空き領域が該指定データの大きさより小さくない該ボ
リュームを、該先頭ボリューム指示で指示されるボリュ
ームを先頭として該ボリューム優先順位に従って選択す
る(処理ステップ3、4)。When a data storage request is received (processing step 2), the size of the free area of each volume is searched,
The volume whose free area is not smaller than the size of the designated data is selected according to the volume priority order with the volume designated by the head volume instruction as the head (processing steps 3 and 4).
【0009】該選択したボリュームに該データを格納し
た(処理ステップ5)後に、当該ボリュームの空き領域
の大きさと該格納限界値とを比較し(処理ステップ
6)、該比較結果により該先頭ボリューム指示を更新し
て、該空き領域の大きさが該格納限界値以上の場合には
該ボリュームを指示させ(処理ステップ7)、該空き領
域の大きさが該格納限界値より小さい場合には該ボリュ
ームの次の順位のボリュームを指示させる(処理ステッ
プ8)。After the data is stored in the selected volume (processing step 5), the size of the free area of the volume is compared with the storage limit value (processing step 6), and the head volume indication is made according to the comparison result. Is updated, the volume is instructed when the size of the free area is equal to or larger than the storage limit value (processing step 7), and the volume is specified when the size of the free area is smaller than the storage limit value. The volume of the next rank is designated (processing step 8).
【0010】[0010]
【作用】本発明の処理方法により、データの格納におい
て、所要の空き領域のあるボリュームの選択が自動的に
行われ、且つその際データ格納後の残り領域を調べて、
次に選択するボリュームを決めるので、必要な最小限の
大きさを満たす空き領域が無いボリュームを無駄に探索
することが減少する。According to the processing method of the present invention, in storing data, a volume having a required free area is automatically selected, and at that time, the remaining area after data storage is checked,
Since the volume to be selected next is determined, it is possible to reduce unnecessary search for a volume having no free area that satisfies the required minimum size.
【0011】[0011]
【実施例】例えば、いわゆるCADシステムの図面デー
タの格納機能として、本発明のデータ格納ボリューム管
理処理方法による処理を実行するようにする。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS For example, as a drawing data storage function of a so-called CAD system, processing by the data storage volume management processing method of the present invention is executed.
【0012】その場合に格納限界値には、例えばCAD
図面データの格納単位の大きさの予想される分布に基づ
き、格納限界値の大きさの空き領域があれば、例えば全
データの60%は格納可能になるようにする等の条件を
満足するように適当な大きさを定める。In this case, the storage limit value is, for example, CAD.
Based on the expected distribution of the size of the storage unit of drawing data, if there is a free area of the size of the storage limit value, for example, 60% of all data should be able to be stored, etc. Determine an appropriate size for.
【0013】このようにして、図1の処理ステップ1
で、格納限界値、ボリューム群の定義、ボリューム優先
順位、先頭ボリューム指示を設定しておく。処理ステッ
プ2でデータの格納要求を受けると、その要求で指定さ
れたデータについて大きさを識別して、その大きさを満
足する空き領域を持つボリュームを検索する。In this way, the processing step 1 of FIG.
Then, the storage limit value, the volume group definition, the volume priority order, and the head volume instruction are set. When a data storage request is received in processing step 2, the size of the data specified by the request is identified, and a volume having a free area that satisfies the size is searched.
【0014】この検索は、先頭ボリューム指示で示すボ
リュームから始めて、ボリューム優先順位で指定される
順に行い、大きさを満足する空き領域を持つ最初のボリ
ュームを選択する。This search is performed in the order designated by the volume priority order starting from the volume indicated by the head volume instruction, and the first volume having a free area satisfying the size is selected.
【0015】又、ボリュームを一巡して、先頭ボリュー
ム指示て指示される初めのボリュームに戻ったときは、
所要の大きさの空き領域がこのボリューム群に無かった
ので、処理ステップ4でこれを識別して、要求元にエラ
ーを通知する。Further, when the volume is cycled to return to the initial volume designated by the head volume instruction,
Since there is no free area of the required size in this volume group, this is identified in processing step 4 and an error is notified to the request source.
【0016】所要の空き領域を持つボリュームが決まれ
ば、処理ステップ5でそのボリュームにデータを格納す
る。次に処理ステップ6で、データ格納後そのボリュー
ムに残った空き領域の大きさを格納限界値と比較し、格
納限界値以上の大きさの空き領域があれば、処理ステッ
プ7で先頭ボリューム指示の内容を、現にデータ格納を
行ったボリュームを指示する値にして処理を終わる。When a volume having a required free area is determined, data is stored in the volume in processing step 5. Next, in processing step 6, the size of the free area remaining in the volume after data storage is compared with the storage limit value, and if there is a free area with a size equal to or larger than the storage limit value, in processing step 7 the head volume is designated. The content is set to a value indicating the volume in which the data is actually stored, and the processing ends.
【0017】又、残りの空き領域が格納限界値に達しな
い場合には、処理ステップ8で、ボリューム優先順位に
より現にデータ格納を行ったボリュームの次の順位にあ
るボリュームを先頭ボリューム指示で指示するように更
新して処理を終わる。When the remaining free area does not reach the storage limit value, the volume at the next rank of the volume in which the data is actually stored is designated by the head volume instruction in the processing step 8. To update and end the process.
【0018】図2は、以上の処理によるボリュームの管
理状態を一例によって説明する図であり、図2(a) に示
すように、ボリューム群としてvol1、vol2、vol3が定義
され、先頭ボリューム指示及びボリューム優先順位によ
り、図に〜で示す検索順位が与えられ、それぞれsp
c1、spc2、spc3として示す空き領域があるとする。FIG. 2 is a diagram for explaining the volume management state by the above processing by way of example. As shown in FIG. 2 (a), vol1, vol2, and vol3 are defined as volume groups, and the head volume designation and Depending on the volume priority, the search order shown by is given in the figure.
Suppose there are free areas shown as c1, spc2, and spc3.
【0019】この状態において、図2(b) に示すような
大きさの図面データの格納要求がだされると、図に破線
で説明するような大きさの関係から、最初に検索される
vol1では空き領域が小さく、vol2が大きさを満足するの
で、vol2にデータの格納が行われて、図2(c) に示すよ
うに、vol2の空き領域はspc2'のように減少する。In this state, when a storage request for drawing data of a size as shown in FIG. 2B is issued, it is first searched from the relationship of sizes as shown by the broken line in the drawing.
Since vol1 has a small free area and vol2 satisfies the size, data is stored in vol2 and the free area of vol2 decreases as spc2 'as shown in FIG. 2 (c).
【0020】ここで、今データを格納したvol2の空き領
域 spc2'の大きさが格納限界値と比較され、この場合に
は空き領域が格納限界値より小さくなっているので、先
頭ボリューム指示を、次の順位のボリュームvol3を指示
するように更新することにより、図示のように検索順位
をvol3→vol1→vol2の順に変更する。Here, the size of the free area spc2 'of the vol2 that has just stored the data is compared with the storage limit value. In this case, the free area is smaller than the storage limit value. By updating the volume vol3 of the next rank so as to be designated, the search rank is changed in the order of vol3 → vol1 → vol2 as shown in the figure.
【0021】なお、このときもしvol2のspc2' が格納限
界値以上であった場合には、先頭ボリューム指示はvol2
を指示するようにするので、検索順位はvol2→vol3→vo
l1になる。At this time, if spc2 'of vol2 is equal to or greater than the storage limit value, the head volume instruction is vol2.
The order of search is vol2 → vol3 → vo
It becomes l1.
【0022】[0022]
【発明の効果】以上の説明から明らかなように本発明に
よれば、計算機のボリューム管理において、空き領域の
あるボリュームを効率よく自動選択してデータを格納す
ることが可能になるという著しい工業的効果がある。As is apparent from the above description, according to the present invention, in volume management of a computer, it is possible to efficiently select automatically a volume having a free area and store the data in a remarkable industrial manner. effective.
【図1】 本発明の構成を示す処理の流れ図FIG. 1 is a process flow chart showing the configuration of the present invention.
【図2】 処理例を説明する図FIG. 2 is a diagram illustrating a processing example.
1〜8 処理ステップ 1-8 processing steps
Claims (1)
なる指定のボリューム群に格納する処理において、 格納限界値とボリューム優先順位と先頭ボリューム指示
とを保持し(1)、 データ格納要求を受け取ると(2) 、各該ボリュームの空
き領域の大きさを検索し、該空き領域が該指定データの
大きさより小さくない該ボリュームを、該先頭ボリュー
ム指示で指示されるボリュームを先頭として該ボリュー
ム優先順位に従って選択し(3、4)、 該選択したボリュームに該データを格納した(5) 後に、
当該ボリュームの空き領域の大きさと該格納限界値とを
比較し(6) 、該比較結果により該先頭ボリューム指示を
更新して、該空き領域の大きさが該格納限界値以上の場
合には該ボリュームを指示させ(7) 、該空き領域の大き
さが該格納限界値より小さい場合には該ボリュームの次
の順位のボリュームを指示させる(8) ように構成されて
いることを特徴とするデータ格納ボリューム管理処理方
法。1. In a process of storing designated data in a designated volume group composed of a plurality of volumes, a storage limit value, a volume priority and a head volume instruction are held (1), and a data storage request is received. (2) Search for the size of the free area of each volume, and set the volume whose free area is not smaller than the size of the specified data according to the volume priority order with the volume designated by the head volume instruction as the head. After selecting (3, 4) and storing the data in the selected volume (5),
The size of the free area of the volume is compared with the storage limit value (6), the head volume instruction is updated based on the comparison result, and when the size of the free area is equal to or larger than the storage limit value, The data is characterized in that the volume is designated (7), and when the size of the free space is smaller than the storage limit value, the volume next to the volume is designated (8). Storage volume management processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06653292A JP3232633B2 (en) | 1992-03-25 | 1992-03-25 | Data storage volume management processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06653292A JP3232633B2 (en) | 1992-03-25 | 1992-03-25 | Data storage volume management processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05274194A true JPH05274194A (en) | 1993-10-22 |
JP3232633B2 JP3232633B2 (en) | 2001-11-26 |
Family
ID=13318597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP06653292A Expired - Fee Related JP3232633B2 (en) | 1992-03-25 | 1992-03-25 | Data storage volume management processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3232633B2 (en) |
-
1992
- 1992-03-25 JP JP06653292A patent/JP3232633B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP3232633B2 (en) | 2001-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5448728A (en) | Storage medium control system for controlling a write-once read-many storage medium | |
US7107323B2 (en) | System and method of file distribution for a computer system in which partial files are arranged according to various allocation rules | |
US6477535B1 (en) | Method and apparatus for concurrent DBMS table operations | |
US3647348A (en) | Hardware-oriented paging control system | |
US6189007B1 (en) | Method and apparatus for conducting a high performance locking facility in a loosely coupled environment | |
US6088757A (en) | Computer program means and device for conducting high performance locking facility in a loosely coupled environment | |
US4811411A (en) | Image processing method and system | |
US6691121B1 (en) | Method and apparatus for online and dynamic extension of IMS data entry databases | |
JP3232633B2 (en) | Data storage volume management processing method | |
US5684995A (en) | Segment division management system | |
JPH07134670A (en) | Area allocating method | |
EP0394172A2 (en) | Method of performing file services given partial file names | |
JP2704028B2 (en) | File area management method | |
JPH0728836A (en) | Database search method and database system using this method | |
JP2903605B2 (en) | File area management processing method | |
JPH0456344B2 (en) | ||
JP3118348B2 (en) | Program cache method | |
JP2735400B2 (en) | Asynchronous I/O control method | |
JP2787107B2 (en) | Buffer control system and device | |
JPH01181121A (en) | Memory area allocating system | |
JP3398672B2 (en) | Intermediate data storage device | |
JP2562515B2 (en) | Direct access storage device selection processing method | |
JPH05250243A (en) | Data processing system for extended storage device | |
JPH0793192A (en) | File managing method | |
JP3585264B2 (en) | Database system and data retrieval method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20010821 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080921 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080921 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090921 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |