JPS6299841A - Control system for auxiliary storage device - Google Patents

Control system for auxiliary storage device

Info

Publication number
JPS6299841A
JPS6299841A JP60239105A JP23910585A JPS6299841A JP S6299841 A JPS6299841 A JP S6299841A JP 60239105 A JP60239105 A JP 60239105A JP 23910585 A JP23910585 A JP 23910585A JP S6299841 A JPS6299841 A JP S6299841A
Authority
JP
Japan
Prior art keywords
auxiliary storage
storage device
file
new
disk
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
JP60239105A
Other languages
Japanese (ja)
Inventor
Shoji Ogiwara
荻原 昇治
Takahiko Kuki
九鬼 隆彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60239105A priority Critical patent/JPS6299841A/en
Publication of JPS6299841A publication Critical patent/JPS6299841A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the extension of a file without using any auxiliary storage device connected previously by connecting newly the auxiliary storage device that is not logically connected at a time point when the storage unit of a certain auxiliary storage device is short. CONSTITUTION:A file control 2a calls a disk control 10 when the blocks 8 of a disk device 6 connected logical and previously become short and a new disk device is required. When such a program is started, a name list 7 on the short device 6 is read. Then an inquiry is given to an operator for the volume name to be connected newly in case an idle block is detected. The new volume name if designated by the operator is added to the list 7 of the short device 6. Then the program requires to mount the new volume. When the operator mounts the new volume, a new list 7 is produced and a block map is initialized. Thus the logical connection is through with the device 6 and a file can be extended on the new device 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、計算機システムにおいて用いられる磁気デ
ィスク等の補助記憶装置を管理する管理方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a management method for managing auxiliary storage devices such as magnetic disks used in computer systems.

〔従来の技術〕[Conventional technology]

第3図は従来の磁気ディスク管理方式を示す図である。 FIG. 3 is a diagram showing a conventional magnetic disk management system.

図において、1は計算機内の主記憶装置、2は主記憶装
置1上で動作するオペレーティング・システム(以下O
8と略す)で、2aはファイル管理手段として上記O8
2に含まれるプログラムであるファイル管理、3はCP
U、4はチャ茅ル制御装置、5はディスク制御装置、6
は補助記憶装置として複数設けられた磁気ディスク装置
、7は各ディスク装置6上に予め記録された、論理的に
結合されたディスク装置6のネーム・リスト、8はディ
スク装置6のブロック(記憶単位)、9はブロック8の
使用、未使用を示すブロック・マツプであり、このブロ
ック・マツプ9はファイルの記録や消去の度に書き換え
られる。
In the figure, 1 is the main memory in the computer, and 2 is the operating system (hereinafter referred to as O) running on the main memory 1.
8), and 2a is the above O8 as a file management means.
File management is a program included in 2, 3 is CP
U, 4 is a shaft control device, 5 is a disk control device, 6
is a plurality of magnetic disk devices provided as auxiliary storage devices, 7 is a name list of logically connected disk devices 6 recorded in advance on each disk device 6, and 8 is a block (memory unit) of the disk device 6. ), 9 is a block map indicating whether the block 8 is used or not, and this block map 9 is rewritten every time a file is recorded or erased.

次に動作について説明する。まず、ファイル管理2aは
、ジョブ制御コマンドで指定された名前(ボリューム名
)を持つディスク装置6上にファイルを生成する。この
時、記録可能な空きのブロック8は、通常、消去や再記
録等により物理的な連続性が失われているので、ファイ
ル管理2aはディスク装置6上の空きのブロック8をブ
ロック・マツプ9から捜して、前方チェイン、後方チェ
インを使って論理的に連続させて使用する。更に、現在
捜しているディスク装置6に空きのブロック8がなくな
ると、ファイル管理2aはディスク装置6上のネーム・
リストアを調べ、予め論理的に結合されたディスク装置
6を捜す。もし、次なるディスク装置6があれば、そこ
の空きのブロック8を用いてファイルの生成を続ける。
Next, the operation will be explained. First, the file management 2a generates a file on the disk device 6 having the name (volume name) specified by the job control command. At this time, since the recordable free blocks 8 usually have lost their physical continuity due to erasure, re-recording, etc., the file management 2a stores the free blocks 8 on the disk device 6 in the block map 9. Search from the beginning and use the forward chain and backward chain to use them in logical succession. Furthermore, when there are no free blocks 8 on the disk device 6 that is currently being searched, the file management 2a changes the name and name on the disk device 6.
Check the restore and search for disk devices 6 that have been logically combined in advance. If there is a next disk device 6, file generation continues using the empty block 8 there.

ここで、もし、終了子が現れたら“2″11°ルレノ生
成をあきらめる。
Here, if a terminator appears, "2" 11° Lureno generation is given up.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の管理方式は以上のように構成されているので、一
つの補助記憶装置内では問題ないが、ファイルを複数の
補助記憶装置間に互って構成する場合には、予め必要と
するであろう補助記憶装置を論理的に結合しておかなけ
ればならず、ファイル星をある程度に見積る必要があっ
た。従って、ファイルの拡張には上限があり、大容量化
して行くファイルに、ついには対処できなくなり、長時
間ジョブがファイルの不足で異常終了したり、ファイル
・システムの再構成が必要となるなどの問題点があった
Since the conventional management method is configured as described above, there is no problem within one auxiliary storage device, but when configuring files among multiple auxiliary storage devices, it is necessary to It was necessary to logically combine the wax auxiliary storage devices, and it was necessary to estimate the file size to a certain extent. Therefore, there is an upper limit to how files can be expanded, and eventually it becomes impossible to handle the increasing size of files, and long-running jobs may end abnormally due to lack of files, or the file system may need to be reconfigured. There was a problem.

この発明は上記のような問題点を解消するためになされ
たもので、予め結合されている補助記憶装置がな(なっ
た時でもファイルを拡張することができる管理方式を得
ることを目的としている。
This invention was made to solve the above-mentioned problems, and aims to provide a management method that allows files to be expanded even when there is no auxiliary storage device connected in advance. .

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

この発明に係る補助記憶装置管理方式は、一つの補助記
憶装置の記憶単位が不足した時点で新たな補助記憶装置
を論理的に結合させる動的結合手段を備えて、複数の補
助記憶装置間に互ってファイルを構成するようにしたも
のである。
The auxiliary storage device management method according to the present invention includes a dynamic linking means that logically connects a new auxiliary storage device when the storage unit of one auxiliary storage device runs out. They are configured so that they each constitute a file.

〔作用〕[Effect]

この発明における動的結合手段は、一つの補助記憶装置
の記憶単位が不足した時点で、まだ論理的に結合されて
いない補助記憶装置を新たに結合し、ファイルの拡張を
この結合された補助記憶装置上で行なう。
The dynamic linking means in this invention, when one auxiliary storage device runs out of storage units, newly combines the auxiliary storage devices that have not yet been logically combined, and extends the file to this combined auxiliary storage device. Perform on the device.

〔実施例〕〔Example〕

以下、この発明の一実施例を説明する。第1図において
、主記憶装置1〜ブロツク・マツプ9は従来と同じであ
る。10は新しいディスク装置6を論理的に結合するた
めのディスク管理であり、゛ このディスク管理10も
ファイル管理2aと同様052に含まれるものであり、
本願の動的管理手段を構成する。このディスク管理10
の一実施例の毅能を示すフローチャートを第2図に示す
An embodiment of this invention will be described below. In FIG. 1, the main memory device 1 to block map 9 are the same as the conventional ones. 10 is a disk management for logically combining the new disk device 6. This disk management 10 is also included in 052 like the file management 2a,
This constitutes the dynamic management means of the present application. This disk management 10
A flowchart showing the performance of one embodiment is shown in FIG.

次に、動作について説明する。ファイル管理2;3は、
予め論理的に結合されたディスク装置6の空きのブロッ
ク8が不足して新しいディスク装置が必要になると、第
2図のフローチャートで示すディスク管理lOを呼び出
す。このプログラムが開始されると、ます不足したディ
スク装置上のふ一ム・リストアを読む(ステップ1)。
Next, the operation will be explained. File management 2;3 is
When a new disk device is required due to a shortage of empty blocks 8 in the disk devices 6 that have been logically combined in advance, the disk management IO shown in the flowchart of FIG. 2 is called. When this program is started, it reads frame restores on increasingly scarce disk units (step 1).

リストの空きを調べ(ステップ2)、新しいボリューム
Check the list for free space (step 2) and select the new volume.

すなわちディスク装置の結合が可能かどうか確める。も
し空きがなければ、ファイル管理2aにボリュームの結
合ができないことを知らせ終了する(ステップ10)。
In other words, check whether the disk devices can be combined. If there is no free space, the file manager 2a is informed that the volumes cannot be combined and the process ends (step 10).

空きがあると、新しく結合するボリューム名を操作員へ
間合わせる(ステップ3)、操作員は空きのディスク装
置があればボリューム名を指定すればよいし、都合悪け
れば指定しなくてもよい。プログラムは操作員の応答を
調べ(ステップ4)ボリューム名が指定されなければフ
ァイル管理2aにその旨を知らせ終了する(ステップ1
0)。ボリューム名が指定されていたら、不足したディ
スク装置上のネーム・リストアに新しいボリューム名を
加える(ステップ5)。
If there is space, the operator is provided with the name of the volume to be newly combined (step 3).The operator can specify the volume name if there is a free disk drive, or does not need to specify it if it is inconvenient. The program checks the operator's response (step 4). If no volume name is specified, the program notifies the file management 2a to that effect and ends (step 1).
0). If a volume name has been specified, the new volume name is added to the name restore on the missing disk device (step 5).

次に、プログラムは新しいボリュームのマウントを要求
する(ステップ6)。操作員がボリュームをマウントす
ると、新しいボリュームのネーム・リストを作成しくス
テップ7)、ブロック・マツプを初期化する(ステップ
8)。以上でディスク装置の論理的な結合が終了したの
で、終了をファイル管理2aへ知らせる(ステップ9)
。これで、新しいディスク装置上にファイルを拡張する
ことが可能となる。
Next, the program requests mounting of the new volume (step 6). When the operator mounts the volume, he creates a name list for the new volume (step 7) and initializes the block map (step 8). Now that the logical combination of disk devices has been completed, the completion is notified to the file management 2a (step 9).
. The file can now be expanded onto the new disk drive.

なお、上記実施例では、補助記憶装置を磁気ディスク装
置として説明したが、本発明は磁気テープや光ディスク
等、主記憶装置に対する種々の補助記憶装置に適用する
ことが可能である。
In the above embodiment, the auxiliary storage device was described as a magnetic disk device, but the present invention can be applied to various auxiliary storage devices for the main storage device, such as magnetic tape and optical disks.

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

以上のように、この発明による補助記憶装置管理方式は
、一つの補助記憶装置の記憶単位が不足した時点で新た
な 補助記憶装置を論理的に結合させる動的結合手段を
備えて、複数の補助記憶装置間に互ってファイルを構成
するようにしたことにより、ファイルの拡張の上限がな
くなるので、予めファイル量を見積る必要がなく、また
、長時間ジョブがファイルの不足で異常終了することを
防ぐこともできるし、ファイル・システムの再構成も必
要なくなるなどの効果がある。
As described above, the auxiliary storage device management system according to the present invention is equipped with a dynamic linking means for logically combining a new auxiliary storage device when one auxiliary storage device runs out of storage units. By configuring files so that they are mutually distributed between storage devices, there is no upper limit on file expansion, so there is no need to estimate the file size in advance, and it also prevents long-running jobs from ending abnormally due to a lack of files. This has the effect of eliminating the need to reconfigure the file system.

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

第1図はこの発明の一実施例によるシステム構成図、第
2図は実施例のディスク管理のフローチャート、第3図
は従来例によるシステム構成図である。 ■・・・主記憶装置、2・・・オペレーティング・シス
テム、2a・・・ファイル管理(ファイル管理手段)、
6・・・磁気ディスク装置(補助記憶装置)、8・・・
ブロック(記憶単位)、10・・・ディスク管理(動的
結合手段)。 なお、図中間−又は相当部分には同一符号を用いている
FIG. 1 is a system configuration diagram according to an embodiment of the present invention, FIG. 2 is a flowchart of disk management in the embodiment, and FIG. 3 is a system configuration diagram according to a conventional example. ■...Main storage device, 2...Operating system, 2a...File management (file management means),
6...Magnetic disk device (auxiliary storage device), 8...
Block (memory unit), 10... Disk management (dynamic linking means). Note that the same reference numerals are used for the middle part of the figure or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 補助記憶装置の記憶単位をファイル管理手段により論理
的に連続させてファイルを構成するようにした補助記憶
装置管理方式において、一つの補助記憶装置の記憶単位
が不足した時点で新たな補助記憶装置を論理的に結合さ
せる動的結合手段を備えて、複数の補助記憶装置間に互
ってファイルを構成するようにしたことを特徴とする補
助記憶装置管理方式。
In an auxiliary storage management method in which storage units of an auxiliary storage device are logically contiguous using a file management means to form a file, a new auxiliary storage device is created when one auxiliary storage device runs out of storage units. An auxiliary storage device management method characterized in that a dynamic linking means for logically linking is provided so that files are mutually configured between a plurality of auxiliary storage devices.
JP60239105A 1985-10-25 1985-10-25 Control system for auxiliary storage device Pending JPS6299841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60239105A JPS6299841A (en) 1985-10-25 1985-10-25 Control system for auxiliary storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60239105A JPS6299841A (en) 1985-10-25 1985-10-25 Control system for auxiliary storage device

Publications (1)

Publication Number Publication Date
JPS6299841A true JPS6299841A (en) 1987-05-09

Family

ID=17039880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60239105A Pending JPS6299841A (en) 1985-10-25 1985-10-25 Control system for auxiliary storage device

Country Status (1)

Country Link
JP (1) JPS6299841A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63187344A (en) * 1987-01-30 1988-08-02 Nec Corp System for managing vacant area in file

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63187344A (en) * 1987-01-30 1988-08-02 Nec Corp System for managing vacant area in file

Similar Documents

Publication Publication Date Title
US20200278792A1 (en) Systems and methods for performing storage operations using network attached storage
US6557073B1 (en) Storage apparatus having a virtual storage area
US20060047926A1 (en) Managing multiple snapshot copies of data
JPH09101912A (en) Difference backup system
JPH11265300A (en) Client/server system, computer and storage medium
US7228544B2 (en) Job processing method, job processing unit, and storage managing system
JP2005301497A (en) Storage management system, restoration method and its program
JP2007133471A (en) Storage device, and method for restoring snapshot
JP4074442B2 (en) Method, apparatus, system, program and storage medium for data backup
JP4854973B2 (en) Storage control program, storage control method, storage control device, and storage control system
JP3183736B2 (en) Dynamic change method of database logical data structure
JP4390618B2 (en) Database reorganization program, database reorganization method, and database reorganization apparatus
JPS6299841A (en) Control system for auxiliary storage device
JP2005215940A (en) Storage system, server apparatus, and preceding copy data preparation method
JPH09244933A (en) Method and device for backing up data base
JP2001290686A (en) System and method for backup in disk shared filing system
JP2008084327A (en) Method, apparatus, system, program, and recording medium for data backup
JP2001312421A (en) Backup method and recording medium
JPH0713820A (en) Management device
JPH05313973A (en) Backup system for external memory device
JPH11120056A (en) Saving and restoring method for project data
JP3497053B2 (en) Processing method in online database management system and online database management system
JP3123498B2 (en) Program restart device and its program recording medium
JP3178671B2 (en) File system and its file recovery method
JPH10171694A (en) Data backup method, data backup device, and information recording medium