JPH04262431A - File management apparatus - Google Patents

File management apparatus

Info

Publication number
JPH04262431A
JPH04262431A JP3075997A JP7599791A JPH04262431A JP H04262431 A JPH04262431 A JP H04262431A JP 3075997 A JP3075997 A JP 3075997A JP 7599791 A JP7599791 A JP 7599791A JP H04262431 A JPH04262431 A JP H04262431A
Authority
JP
Japan
Prior art keywords
file
storage medium
files
internal
internal storage
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
JP3075997A
Other languages
Japanese (ja)
Inventor
Toshiro Tokunaga
寿郎 徳永
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 JP3075997A priority Critical patent/JPH04262431A/en
Publication of JPH04262431A publication Critical patent/JPH04262431A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to carry out file management efficiently by reducing user's work required for selecting an unnecessary file and for preparing a backup file. CONSTITUTION:An internal file sweepout means 4, when a used area in an internal storage medium (fixed disk unit 5) exceeds a predetermined quantity, makes a request for writing to the internal storage medium wait once, while the internal file sweepout means 4 reads out low significance files from the internal storage medium and sweeps the read files outside until a constant amount of vacant area is available, and when low significance files are swept out from the internal storage medium and a constant amount of vacant area is opened available therein, the internal file sweepout means 4 allows the file management apparatus to execute the write request that has been made to wait. An external backup means 7 stores files swept out from the internal file sweepout means 4 in an external storage medium 9 to backup.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明はファイルを記憶する内
部記憶媒体を管理するファイルシステムを備えたコンピ
ュータにおけるファイル管理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management device for a computer equipped with a file system for managing an internal storage medium for storing files.

【0002】0002

【従来の技術】図3はこの種の従来のファイル管理装置
の構成を示すブロック図である。図3において、1はフ
ァイルを管理するファイル管理装置を含むコンピュータ
本体、2はファイル管理のための制御等を行うオペレー
ティングシステム、3はファイルを記憶する内部記憶媒
体としての固定ディスク装置5とフレキシブルディスク
ドライブ等の補助記憶媒体6を管理するファイルシステ
ムである。
2. Description of the Related Art FIG. 3 is a block diagram showing the configuration of a conventional file management device of this type. In FIG. 3, 1 is a computer main body including a file management device for managing files, 2 is an operating system for controlling file management, etc., and 3 is a fixed disk device 5 and a flexible disk as internal storage media for storing files. This is a file system that manages auxiliary storage media 6 such as drives.

【0003】次に動作について説明する。ユーザからフ
ァイルシステム3を介して固定ディスク装置5に書き込
み要求がきたとき、固定ディスク装置5の空き領域が足
りない場合、ファイルシステム3はユーザに対しディス
ク容量が足りないというメッセージを出力する。このと
き固定ディスク装置の増設を行わずに更にファイルの書
き込みを行いたい場合、ユーザは不要ファイルの消去や
、補助記憶媒体6を用いて必要なファイルのバックアッ
プをとる等の手段を用いて固定ディスク装置5の空き領
域を作る。これにより引き続き同一の固定ディスク装置
5への書き込み処理が可能になる。
Next, the operation will be explained. When a write request is received from a user to the fixed disk device 5 via the file system 3, if the fixed disk device 5 does not have enough free space, the file system 3 outputs a message to the user that the disk capacity is insufficient. At this time, if the user wants to write more files without installing an additional fixed disk device, the user can delete unnecessary files or use the auxiliary storage medium 6 to back up necessary files. Create free space in device 5. This makes it possible to continue writing to the same fixed disk device 5.

【0004】0004

【発明が解決しようとする課題】以上説明したように従
来のファイル管理装置においては、固定ディスク装置の
空き領域がなくなり、記憶領域がファイルで満たされ、
固定ディスク装置の増設も直ちに行えない場合など、そ
の都度不要なファイルを消去したり、使用頻度が少ない
ファイルを補助記憶媒体によりバックアップしたりする
作業が必要であり、このような作業は人間が行うと非常
に労力がかかり、また、マルチユーザの場合や他人の作
ったファイルが存在する場合などは、どのファイルを消
去またはバックアップすればよいかの判断がつかず、し
たがってユーザに作業の負担が多くかかるという問題点
があった。
As explained above, in conventional file management devices, when the fixed disk device runs out of free space, the storage area is filled with files.
In cases where it is not possible to immediately add fixed disk devices, it is necessary to delete unnecessary files each time, or back up files that are infrequently used on an auxiliary storage medium, and such tasks are performed by humans. This is very labor-intensive, and in cases where there are multiple users or files created by others, it is difficult to judge which files should be deleted or backed up, and this places a heavy burden on the user. There was a problem that it took a while.

【0005】この発明は上記のような問題点を解決する
ためになされたもので、不要ファイルやバックアップす
るファイルの選択や作成に要するユーザの作業を軽減し
、ファイルの管理を効率良く行うことができるファイル
管理装置を提供することを目的とする。
[0005] This invention was made in order to solve the above-mentioned problems, and it is possible to reduce the user's work required to select and create unnecessary files and files to be backed up, and to manage files efficiently. The purpose is to provide a file management device that can.

【0006】[0006]

【課題を解決するための手段】この発明に係るファイル
管理装置は、内部記憶媒体(固定ディスク装置5)の使
用済み領域が所定量以上になると一旦上記内部記憶媒体
への書き込み要求を待たせ、この間、一定量の空き領域
ができるまで重要度の低いファイルを上記内部記憶媒体
から読み出し外部へ掃き出すとともに、上記重要度の低
いファイルが上記内部記憶媒体から掃き出されて一定量
の空き領域が開放されると上記書き込み要求を実行させ
る内部ファイル掃き出し手段4と、この内部ファイル掃
き出し手段4から掃き出されたファイルを外部記憶媒体
9に格納してバックアップする外部バックアップ手段7
とを備えたものである。
[Means for Solving the Problems] A file management device according to the present invention makes a write request to the internal storage medium wait once the used area of the internal storage medium (fixed disk device 5) exceeds a predetermined amount; During this time, files of low importance are read out from the internal storage medium and flushed out until a certain amount of free space is created, and files of low importance are swept out of the internal storage medium to free up a certain amount of free space. When the write request is executed, an internal file sweeping means 4 executes the write request, and an external backup means 7 stores the file flushed out from the internal file sweeping means 4 in an external storage medium 9 and backs it up.
It is equipped with the following.

【0007】[0007]

【作用】内部ファイル掃き出し手段4は、内部記憶媒体
(固定ディスク装置5)の使用済み領域が所定量以上に
なると一旦内部記憶媒体への書き込み要求を待たせ、こ
の間、一定量の空き領域ができるまで重要度の低いファ
イルを内部記憶媒体から読み出し外部へ掃き出すととも
に、重要度の低いファイルが内部記憶媒体から掃き出さ
れて一定量の空き領域が開放されると書き込み要求を実
行させる。外部バックアップ手段7は内部ファイル掃き
出し手段4から掃き出されたファイルを外部記憶媒体9
に格納してバックアップする。
[Operation] When the used area of the internal storage medium (fixed disk device 5) exceeds a predetermined amount, the internal file cleaning means 4 makes a write request to the internal storage medium wait, and during this time, a certain amount of free space is created. Files of low importance are read out from the internal storage medium and flushed out to the outside, and a write request is executed when the files of low importance are flushed out from the internal storage medium and a certain amount of free space is released. The external backup means 7 stores the files swept out from the internal file sweeping means 4 on an external storage medium 9.
Save and back up.

【0008】[0008]

【実施例】図1はこの発明の一実施例に係るファイル管
理装置の構成を示すブロック図である。図1において、
図3に示す構成要素に対応するものには同一の符号を付
しその説明を省略する。図1において、11はこの実施
例におけるコンピュータ本体、4は固定ディスク装置5
の使用済み領域が所定量以上になると一旦固定ディスク
装置5への書き込み要求を待たせ、この間、一定量の空
き領域ができるまで重要度の低いファイルを固定ディス
ク装置5から読み出し外部へ掃き出すとともに、重要度
の低いファイルが固定ディスク装置5から掃き出されて
一定量の空き領域が開放されると上記書き込み要求を実
行させる内部ファイル掃き出し手段、13は内部ファイ
ル掃き出し手段4を備えたファイルシステム、12はフ
ァイルシステム13を備えたオペレーティングシステム
、7は内部ファイル掃き出し手段4から掃き出されたフ
ァイルを外部記憶媒体9に格納してバックアップする外
部バックアップ手段、8は外部バックアップ手段7に備
えられこのハードウェアの管理や掃き出しファイルの管
理やコンピュータ本体11との通信などを行う外部専用
プロセッサ、10は外部バックアップ手段7に備えられ
外部記憶媒体9のボリューム管理を行うランダムアクセ
ス可能なフレキシブルディスクドライブ等の外部補助記
憶媒体である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the configuration of a file management device according to an embodiment of the present invention. In Figure 1,
Components corresponding to those shown in FIG. 3 are given the same reference numerals, and their explanations will be omitted. In FIG. 1, 11 is the computer main body in this embodiment, and 4 is a fixed disk device 5.
When the used area exceeds a predetermined amount, a write request to the fixed disk device 5 is temporarily made to wait, and during this time, files of low importance are read from the fixed disk device 5 and flushed to the outside until a certain amount of free space is available. 12 is a file system comprising internal file purging means 4, which executes the write request when less important files are purged from the fixed disk device 5 and a certain amount of free space is released; 7 is an operating system equipped with a file system 13; 7 is an external backup means for storing and backing up the files swept out from the internal file sweeping means 4 in an external storage medium 9; and 8 is an operating system provided in the external backup means 7; 10 is an external support such as a randomly accessible flexible disk drive that is included in the external backup means 7 and manages the volume of the external storage medium 9. It is a storage medium.

【0009】次に図1及び図2を参照してこの実施例の
動作について説明する。あるプロセスから固定ディスク
装置5への書き込み要求があり、そのとき残りのディス
ク容量がある一定量より少なくなっていた場合(固定デ
ィスク装置5の使用済み領域が所定量以上になっていた
場合)、そのプロセスを待たせて内部ファイル掃き出し
手段4を呼び出す。上記所定量とはディスク容量が限界
に近づいたとき、または限界となったときの量を言う。 内部ファイル掃き出し手段4では使用頻度,最新使用時
間,ユーザの重要度指定,ファイルサイズなどが付加さ
れた全ファイルの情報を持つファイルを管理しており、
これらの情報を尺度としてある一定量まで固定ディスク
装置5に空き領域ができるまで重要度の低いファイルを
固定ディスク装置5から読み出して外部バックアップ手
段7へ渡す。そして読み出されたファイルの固定ディス
ク装置5上の領域を開放する。この処理を終えると内部
ファイル掃き出し手段4は処理を終え、待たせてあった
プロセスを呼び出し、ディスク書き込み処理を続行させ
る。このとき内部ファイル掃き出し手段4は掃き出した
ファイルのログファイルをとり、これを管理する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. If there is a write request from a certain process to the fixed disk device 5, and the remaining disk capacity is less than a certain amount (if the used area of the fixed disk device 5 is more than a certain amount), The process is made to wait and the internal file purging means 4 is called. The above-mentioned predetermined amount refers to the amount when the disk capacity approaches or reaches its limit. The internal file purging means 4 manages files that have information on all files to which usage frequency, latest usage time, user importance designation, file size, etc. are added.
Using this information as a measure, files of low importance are read from the fixed disk device 5 until a certain amount of free space is available in the fixed disk device 5, and are passed to the external backup means 7. Then, the area of the read file on the fixed disk device 5 is released. When this process is completed, the internal file purging means 4 completes the process, calls the process that has been kept waiting, and continues the disk writing process. At this time, the internal file sweeping means 4 takes a log file of the flushed out files and manages this.

【0010】一方、読み出されたファイルを渡された外
部バックアップ手段7は、外部専用プロセッサ8内に1
回の掃き出しファイルを記憶するのに十分なキャッシュ
を持ち、そのキャッシュに一旦渡されたファイルをすべ
て書き込む。この書き込みが終了すると内部ファイル掃
き出し手段4に対し、処理の終了を伝える。その後、外
部専用プロセッサ8はキャッシュ上のファイルを外部記
憶媒体9に記録する。この外部記憶媒体9のボリューム
のログは外部補助記憶媒体10に記録される。
On the other hand, the external backup means 7 to which the read file is passed is stored in the external dedicated processor 8.
It has a cache that is large enough to store the files it has flushed each time, and writes all files once passed to that cache. When this writing is completed, the end of the process is notified to the internal file sweeping means 4. Thereafter, the external dedicated processor 8 records the file on the cache in the external storage medium 9. A log of the volume of this external storage medium 9 is recorded in the external auxiliary storage medium 10.

【0011】以上が通常運用時の処理であるが、もし途
中で外部記憶媒体9または外部補助記憶媒体10の容量
が足りなくなった場合は、ファイルシステム3は内部フ
ァイル掃き出し手段4に対しそのことを伝える。内部フ
ァイル掃き出し手段4はすべてのプロセスを中断し、ユ
ーザに対し外部記憶媒体9の交換を促すメッセージを出
力する。これに対し、外部記憶媒体9が交換されれば中
断させていたプロセスを起動させ通常の処理に戻す。ま
た、本処理は、ファイルシステム13の内部パラメータ
の設定によって行うか否かの選択をすることが可能とす
る。また、掃き出し処理を行うとき、システム運用時に
図示しない外部記憶装置に外部記憶媒体9または外部ボ
リューム管理装置に外部補助記憶媒体10がセットされ
ていない場合、内部ファイル掃き出し手段4を通してこ
のことをユーザに伝える。
The above is the processing during normal operation, but if the capacity of the external storage medium 9 or the external auxiliary storage medium 10 becomes insufficient during the process, the file system 3 notifies the internal file purging means 4 of this fact. tell. The internal file sweeping means 4 interrupts all processes and outputs a message urging the user to replace the external storage medium 9. On the other hand, if the external storage medium 9 is replaced, the suspended process is activated and normal processing resumes. Further, it is possible to select whether or not to perform this processing by setting internal parameters of the file system 13. Furthermore, when performing the purge process, if the external storage medium 9 is not set in the external storage device (not shown) or the external auxiliary storage medium 10 is not set in the external volume management device during system operation, this will be notified to the user through the internal file purge means 4. tell.

【0012】0012

【発明の効果】以上のように本発明によれば、上記内部
記憶媒体の使用済み領域が所定量以上になると、一旦上
記内部記憶媒体への書き込み要求を待たせ、この間、一
定量の空き領域ができるまで重要度の低いファイルを上
記内部記憶媒体から読み出し外部へ掃き出すとともに、
上記重要度の低いファイルが上記内部記憶媒体から掃き
出されて一定量の空き領域が開放されると上記書き込み
要求を実行させる内部ファイル掃き出し手段と、この内
部ファイル掃き出し手段から掃き出されたファイルを外
部記憶媒体に格納してバックアップする外部バックアッ
プ手段とを備えて構成したので、内部記憶媒体の使用済
み領域が所定量以上になったとき、自動的に重要度の低
いと考えられるファイルが選び出され、外部記憶媒体に
バックアップされるようになり、これにより不要ファイ
ルやバックアップするファイルの選択や作成に要するユ
ーザの作業を軽減でき、また、マルチユーザの場合も、
重要度の低いファイルの選択の判断を任せておくことが
でき、これにより各ユーザに問い合わせる作業なしにバ
ックアップをとることができ、また、専用ハードウェア
の使用によりバックアップの作成の高速化を図れ、した
がってファイルの管理を効率良く行えるという効果が得
られる。
As described above, according to the present invention, when the used area of the internal storage medium exceeds a predetermined amount, a write request to the internal storage medium is temporarily made to wait, and during this time, a certain amount of free space is Read files of low importance from the internal storage medium and sweep them outside until the file is completed.
an internal file purging means that executes the write request when the less important files are purged from the internal storage medium and a certain amount of free space is released; and an internal file purging means for executing the write request; Since the configuration is equipped with an external backup means that stores and backs up data on an external storage medium, when the used area of the internal storage medium exceeds a predetermined amount, files that are considered to be of low importance are automatically selected. This reduces the user's work required to select and create unnecessary files and files to back up, and also in the case of multi-users.
You can leave the selection of less important files to you, which allows you to backup without having to ask each user, and you can speed up the creation of backups by using dedicated hardware. Therefore, it is possible to efficiently manage files.

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

【図1】この発明の一実施例に係るファイル管理装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a file management device according to an embodiment of the present invention.

【図2】この実施例の動作を説明するための処理流れ図
である。
FIG. 2 is a process flowchart for explaining the operation of this embodiment.

【図3】従来のファイル管理装置の構成を示すブロック
図である。
FIG. 3 is a block diagram showing the configuration of a conventional file management device.

【符号の説明】[Explanation of symbols]

4  内部ファイル掃き出し手段 5  固定ディスク装置(内部記憶媒体)7  外部バ
ックアップ手段 9  外部記憶媒体
4 Internal file sweeping means 5 Fixed disk device (internal storage medium) 7 External backup means 9 External storage medium

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ファイルを記憶する内部記憶媒体を管
理するファイルシステムを備えたコンピュータにおいて
、上記内部記憶媒体の使用済み領域が所定量以上になる
と、一旦上記内部記憶媒体への書き込み要求を待たせ、
この間、一定量の空き領域ができるまで重要度の低いフ
ァイルを上記内部記憶媒体から読み出し外部へ掃き出す
とともに、上記重要度の低いファイルが上記内部記憶媒
体から掃き出されて一定量の空き領域が開放されると上
記書き込み要求を実行させる内部ファイル掃き出し手段
と、この内部ファイル掃き出し手段から掃き出されたフ
ァイルを外部記憶媒体に格納してバックアップする外部
バックアップ手段とを備えたことを特徴とするファイル
管理装置。
Claim 1: In a computer equipped with a file system that manages an internal storage medium that stores files, when the used area of the internal storage medium exceeds a predetermined amount, a write request to the internal storage medium is temporarily suspended. ,
During this time, files of low importance are read out from the internal storage medium and flushed out until a certain amount of free space is created, and files of low importance are swept out of the internal storage medium to free up a certain amount of free space. A file management system characterized by comprising: an internal file sweeping means for executing the write request when a write request is made; and an external backup means for storing and backing up the file swept out from the internal file sweeping means in an external storage medium. Device.
JP3075997A 1991-02-15 1991-02-15 File management apparatus Pending JPH04262431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3075997A JPH04262431A (en) 1991-02-15 1991-02-15 File management apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3075997A JPH04262431A (en) 1991-02-15 1991-02-15 File management apparatus

Publications (1)

Publication Number Publication Date
JPH04262431A true JPH04262431A (en) 1992-09-17

Family

ID=13592441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3075997A Pending JPH04262431A (en) 1991-02-15 1991-02-15 File management apparatus

Country Status (1)

Country Link
JP (1) JPH04262431A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05307532A (en) * 1992-03-06 1993-11-19 Hitachi Ltd Optimal arranging method for file
JP2000020247A (en) * 1998-06-30 2000-01-21 Fujitsu Ltd Storage device
JP2002099463A (en) * 2000-09-25 2002-04-05 Sony Corp Storage control apparatus, mobile terminal device and terminal device of mobile communication
JP2011186908A (en) * 2010-03-10 2011-09-22 Mitsubishi Electric Corp Device and method for backup

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05307532A (en) * 1992-03-06 1993-11-19 Hitachi Ltd Optimal arranging method for file
JP2000020247A (en) * 1998-06-30 2000-01-21 Fujitsu Ltd Storage device
JP2002099463A (en) * 2000-09-25 2002-04-05 Sony Corp Storage control apparatus, mobile terminal device and terminal device of mobile communication
JP2011186908A (en) * 2010-03-10 2011-09-22 Mitsubishi Electric Corp Device and method for backup

Similar Documents

Publication Publication Date Title
JP3618552B2 (en) Storage device
TWI353536B (en) Virtualized storage computer system and method of
US6816941B1 (en) Method and system for efficiently importing/exporting removable storage volumes between virtual storage systems
US20120265732A1 (en) System and method for extended media retention
US7330947B2 (en) Method and apparatus for backing up data in virtual storage medium
JP6064608B2 (en) Storage device, backup program, and backup method
KR20130070178A (en) Hybrid storage device and operating method thereof
RU2002118306A (en) SCALABLE DATA STORAGE SYSTEM ARCHITECTURE
JP2005501317A (en) External data storage management system and method
JPH10510642A (en) Computer data storage
JPH04338843A (en) File compact designing method for electronic printing system
JPH11194964A (en) Data recording system
JPH04322378A (en) File storing method for electronic printing system having a plurality of disks
JP2007265492A (en) Disk device with data erasure function
JPH0981424A (en) Information processor
JPH04262431A (en) File management apparatus
JP2006011811A (en) Storage control system and storage control method
JP2011040057A (en) Storage device having automatic backup function
JP2006113882A (en) Data management device
JPH064228A (en) Semiconductor disk device
JPH0863379A (en) Information processor with backup external storage device
JP2002189572A (en) Disk storage device, information processing equipment provided with the same and processing method when failing in write
US8068305B2 (en) Secure data disposal for disk drive
TWI693550B (en) Backup method for supporting multi-dsik architecture of virtual machine
JP2650504B2 (en) File reconstruction device