JPH02272648A - File rearrangement system - Google Patents
File rearrangement systemInfo
- Publication number
- JPH02272648A JPH02272648A JP1094215A JP9421589A JPH02272648A JP H02272648 A JPH02272648 A JP H02272648A JP 1094215 A JP1094215 A JP 1094215A JP 9421589 A JP9421589 A JP 9421589A JP H02272648 A JPH02272648 A JP H02272648A
- Authority
- JP
- Japan
- Prior art keywords
- file
- relocation
- copying
- information
- relocated
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はファイル再配置方式に関し、特にコンピュータ
システムのファイル管理方式におけるファイル再配置方
式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file relocation method, and particularly to a file relocation method in a file management method of a computer system.
コンピュータシステムのファイル管理方式では、コンピ
ュータシステムの性能分析(ディスクボリュームの10
(Inputloutput)負荷の状況分析等)に
より特定のディスクボリュームに10が集中しているこ
とが判明した場合に、そのディスクボリューム内の一部
のファイルを他のディスクボリュームに再配置(ファイ
ル再配置)するファイル再配置方式が行われている(フ
ァイル再配置の対象のファイルを再配置ファイルという
)。In computer system file management methods, computer system performance analysis (disk volume 10
(Input/output) If it is found that 10 is concentrated on a specific disk volume (load situation analysis, etc.), some files in that disk volume are relocated to other disk volumes (file relocation) A file relocation method is used to relocate files (the target file for file relocation is called a relocation file).
従来、この種のファイル再配置方式は、再配置ファイル
のファイルコピーに際してファイル再配置前の再配置フ
ァイル(再配置前ファイル)の使用を一旦中止し、再配
置ファイルのファイルコピーの終了後にファイル再配置
後の再配置ファイル(再配置後ファイル)の再使用を行
っていた。Conventionally, this type of file relocation method temporarily stops using the relocation file (pre-relocation file) before file relocation when copying the relocation file, and then restarts the file after copying the relocation file. The relocation file (post-relocation file) was being reused after placement.
上述した従来のファイル再配置方式では、再配置ファイ
ルのファイルコピーに際して再配置ファイルの使用を一
旦中止しなければならないので、再配置ファイルを使用
しているコンピュータシステム内のジョブ(再配置ファ
イル使用ジョブ)がオンラインジョブの場合にはファイ
ル再配置のためにそのオンラインジップ自体を終了させ
る必要があり、コンピュータシステムの性能の低下を招
来するという欠点がある。In the conventional file relocation method described above, it is necessary to temporarily stop using the relocation file when copying the relocation file. ) is an online job, it is necessary to terminate the online zip itself in order to relocate the files, which has the disadvantage of causing a decrease in computer system performance.
本発明の目的は、上述の点に鑑み、動的に再配置ファイ
ルのファイルコピーを行うことができ(再配置ファイル
の使用を一旦中止することなく再配置ファイルのファイ
ルコピーを行うことができ)、再配置ファイル使用ジョ
ブであるオンラインジョブを終了させることなくファイ
ル再配置を行うことができ、コンピュータシステムの性
能を改善することができるファイル再配置方式を提供す
ることにある。In view of the above-mentioned points, an object of the present invention is to dynamically perform a file copy of a relocated file (a file copy of a relocated file can be performed without temporarily discontinuing the use of the relocated file). An object of the present invention is to provide a file relocation method that can perform file relocation without terminating an online job that is a job that uses relocation files, and can improve the performance of a computer system.
本発明のファイル再配置方式は、ファイル再配置情報を
入力して解析し再配置ファイルコピー部の起動を行うフ
ァイル再配置情報入力部と、このファイル再配置情報入
力部で解析されたファイル再配置情報に基づき再配置フ
ァイルのファイルコピーを行う前記再配置ファイルコピ
ー部と、この再配置ファイルコピー部によるファイルコ
ピー中の再配置ファイルへのファイルアクセス要求に対
するファイルアクセス管理処理を行う再配置ファイルア
クセス管理部と、前記再配置ファイルコピー部による再
配置ファイルのファイルコピーの終了後に再配置ファイ
ルに関するファイル情報を更新するファイル情報更新部
とを有する。The file relocation method of the present invention includes a file relocation information input section that inputs file relocation information, analyzes it, and starts a relocation file copy section, and a file relocation method analyzed by the file relocation information input section. The relocated file copying unit performs a file copy of the relocated file based on the information, and the relocated file access management performs file access management processing in response to a file access request to the relocated file during file copying by the relocated file copying unit. and a file information update unit that updates file information regarding the relocated file after the relocated file copy unit finishes copying the relocated file.
本発明のファイル再配置方式では、ファイル再配置情報
入力部がファイル再配置情報を入力して解析し再配置フ
ァイルコピー部の起動を行い、再配置ファイルコピー部
がファイル再配置情報人力部で解析されたファイル再配
置情報に基づき再配置ファイルのファイルコピーを行い
、再配置ファイルアクセス管理部が再配置ファイルコピ
ー部によるファイルコピー中の再配置ファイルへのファ
イルアクセス要求に対するファイルアクセス管理処理を
行い、ファイル情報更新部が再配置ファイルコヒ一部に
よる再配置ファイルのファイルコピーの終了後に再配置
ファイルに関するファイル情報を更新する。In the file relocation method of the present invention, the file relocation information input section inputs and analyzes file relocation information and starts the relocation file copy section, and the relocation file copy section analyzes the file relocation information human power section. The relocated file access management unit performs file access management processing in response to a file access request to the relocated file during file copying by the relocated file copy unit, and The file information update unit updates the file information regarding the relocated file after the file copy of the relocated file by part of the relocated file copy is completed.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明のファイル再配置方式の一実施例の構
成を示すブロック図である。本実施例のファイル再配置
方式は、端末lと、再配置前ファイル2と、再記gll
ファイル3と、コンピュータシステムIOとを含んで構
成されている。FIG. 1 is a block diagram showing the configuration of an embodiment of the file relocation method of the present invention. The file relocation method of this embodiment is based on terminal l, file 2 before relocation, and rewrite gll.
It is configured to include a file 3 and a computer system IO.
コンピュータシステム10は、端末1より再配置前ファ
イル2および再配置後ファイル3に関する情報であるフ
ァイル再配置情報を入力して解析し再配置ファイルコピ
ー部5の起動を行うファイル再配置情報入力部4と、再
配置前ファイル2の内容(データ)を再配置後ファイル
3にファイルコピーする再配置ファイルコピー部5と、
再配置ファイル(再配置前ファイル2および再配置後フ
ァイル3を包含した概念である)のファイルコピー中に
おける再配置ファイル使用ジョブ9からの再配置ファイ
ルへのファイルアクセス要求に対するファイルアクセス
管理処理を行う再配置ファイルアクセス管理部6と、再
配置ファイルのファイルコピーの終了後に再配置ファイ
ルに関するファイル情報8を更新するファイル情報更新
部7と、再配置前ファイル2および再配置後ファイル3
に関するファイル情Il!8と、再配置前ファイル2お
よび再配置後ファイル3を使用する再配置ファイル使用
ジョブ9とを含んで構成されている。The computer system 10 includes a file relocation information input unit 4 that inputs file relocation information, which is information regarding the pre-relocation file 2 and the post-relocation file 3, from the terminal 1, analyzes it, and starts the relocation file copy unit 5. and a relocation file copy unit 5 that copies the contents (data) of the pre-relocation file 2 to the post-relocation file 3;
Performs file access management processing in response to a file access request to the relocated file from the relocated file usage job 9 during file copying of the relocated file (a concept that includes the pre-relocated file 2 and the post-relocated file 3) A relocation file access management unit 6, a file information update unit 7 that updates file information 8 regarding the relocation file after the file copy of the relocation file is completed, and a pre-relocation file 2 and a post-relocation file 3.
File information about Il! 8, and a relocation file use job 9 that uses the pre-relocation file 2 and the post-relocation file 3.
第2図は、再配置ファイルアクセス管理部6の処理(フ
ァイルアクセス管理処理)を示す流れ図である。再配置
ファイルアクセス管理部6の処理は、読込み判定ステッ
プ21と、アトレース判定ステップ22と、出力処理ス
テップ23と、両出力処理ステップ24と、入力処理ス
テップ25とからなる。FIG. 2 is a flowchart showing the processing (file access management processing) of the relocated file access management section 6. The processing of the relocated file access management unit 6 consists of a read determination step 21, an at-trace determination step 22, an output processing step 23, a both output processing step 24, and an input processing step 25.
次に、このように構成された本実施例のファイル再配置
方式の動作について説明する。Next, the operation of the file relocation method of this embodiment configured as described above will be explained.
コンピュータシステム10の使用者は、ディスクボリュ
ームの■0負荷の状況分析を行い、10負荷が高いディ
スクボリューム内のファイルの中で他のディスクボリュ
ームに再配置してIO負負荷分散を行うために適したフ
ァイルを再配置前ファイル2として決定する。The user of the computer system 10 analyzes the status of the disk volume ■0 load and relocates files in the disk volume with a high load to other disk volumes to distribute the IO load. This file is determined as the pre-relocation file 2.
また、使用者は、IO負負荷分散のために当該他のディ
スクボリュームに作成するファイルを再配置後ファイル
3とし7て決定し、あらかじめその再配置後ファイル3
のファイル領域を確保しておく。In addition, the user determines the file to be created in the other disk volume as the file 3 after relocation in order to distribute the IO load, and in advance,
Reserve a file area.
以上のようにして再配置前ファイル2および再配置後フ
ァイル3の決定が行われると、使用者は端末1より再配
置前ファイル2および再配置後ファイル3に関する情報
であるファイル再配置情報をコンピュータシステム10
内のファイル再配置[報入力部4に対して入力する。When the pre-relocation file 2 and post-relocation file 3 are determined as described above, the user sends the file relocation information, which is information regarding the pre-relocation file 2 and the post-relocation file 3, to the computer from the terminal 1. system 10
[Input to the information input section 4]
ファイル再配置情報入力部4は、入力したファイル再配
置情報を解析してそのファイル再配置情報が妥当である
ならば再配置ファイルコピー部5を起動する。The file relocation information input section 4 analyzes the input file relocation information and starts the relocation file copy section 5 if the file relocation information is valid.
再配置ファイルコピー部5は、再配置前ファイル2内の
内容(データ)を先頭から順次再配置後ファイル3に対
してファイルコピーしていく。The relocated file copy unit 5 sequentially copies the contents (data) in the pre-relocated file 2 to the post-relocated file 3 from the beginning.
再配置ファイルコピー部5が上述のファイルコピーを行
っている間に再配置ファイル使用ジョブ9より再配置フ
ァイルへのファイルアクセス要求が出された場合には、
再配置ファイルアクセス管理部6は以下に示すようなフ
ァイルアクセス管理処理を行う(第2図参照)(再配置
ファイルアクセス管理部6はファイル再配置情報入力部
4より再配置前ファイル2および再配置後ファイル3に
係るファイル再配置情報を入手している)。If a file access request to the relocated file is issued from the relocated file usage job 9 while the relocated file copy unit 5 is performing the above-mentioned file copy,
The relocation file access management unit 6 performs file access management processing as shown below (see Figure 2). File relocation information regarding file 3 has been obtained).
まず、ファイルアクセス要求が再配置ファイルのデータ
の読込み要求であるか否かを判定する読込み判定を行う
(ステップ21)。First, a read determination is made to determine whether or not the file access request is a request to read data in a relocated file (step 21).
この読込み判定でファイルアクセス要求が続込み要求で
あれば、再配置前ファイル2より読込み要求の対象のデ
ータを入力する入力処理を行う(ステップ25)。If the file access request is a continuation request in this read determination, an input process is performed to input data for the read request from the pre-relocation file 2 (step 25).
ステップ21の読込み判定でファイルアクセス要求が読
込み要求でなければ、再配置ファイルのデータの書込み
要求であるので、その書込み要求の対象であるデータの
再配置ファイル上におけるアドレスがすでにファイルコ
ピー済みのデータのアドレスであるか否かを判定するア
ドレス判定を行う (ステップ22)。If the file access request is not a read request in the read judgment in step 21, it is a write request for data in the relocation file, so the address on the relocation file of the data that is the target of the write request is data that has already been copied to the file. Address determination is performed to determine whether the address is (step 22).
このアドレス判定で書込み要求の対象であるデータの再
配置ファイル上におけるアドレスがすでにファイルコピ
ー済みのデータのアドレスであれば、再配置前ファイル
2および再配置後ファイル3の両方に書込み要求の対象
のデータを出力する再出力処理を行う (ステップ24
)。In this address determination, if the address on the relocation file of the data that is the target of the write request is the address of data that has already been copied, the address of the target of the write request will be added to both the file 2 before relocation and the file 3 after relocation. Perform re-output processing to output data (step 24
).
ステップ22のアドレス判定で書込み要求の対象である
データの再配置ファイル上におけるアドレスがファイル
コピー済みのデータのアドレスでなければ、再配置前フ
ァイル2にのみデータを出力する出力処理を行う(ステ
ップ23)。If the address on the relocation file of the data that is the target of the write request in step 22 is not the address of the file-copied data, output processing is performed to output the data only to the pre-relocation file 2 (step 23 ).
再配置ファイルアクセス管理部6による以上のようなフ
ァイルアクセス管理処理によって、再配置ファイルのフ
ァイルコピー中でも再配置ファイル使用ジョブ9よりの
ファイルアクセスが可能とナリ、コンピュータシステム
10のシステムダウンが生じても再配置前ファイル2の
内容については保証することができるようになる。The above-described file access management processing by the relocation file access management unit 6 allows file access from the relocation file use job 9 even during file copying of the relocation file, even if the computer system 10 goes down. The contents of the pre-relocation file 2 can now be guaranteed.
上述のようにして再配置ファイルのファイルコピーが終
了すると、ファイル情報更新部7が起動される(ファイ
ル情報更新部7はファイル再配置情報入力部4より再配
置前ファイル2および再配置後ファイル3に係るファイ
ル再配置情報を入手している)。When the file copy of the relocated file is completed as described above, the file information update unit 7 is started (the file information update unit 7 receives the file 2 before relocation and the file 3 after relocation from the file relocation information input unit 4). ).
ファイル情報更新部7は、再配置前ファイル2に関する
ファイル情報8の内容を再配置後ファイル3に関する内
容に書き換える。The file information update unit 7 rewrites the content of the file information 8 regarding the file 2 before relocation to the content regarding the file 3 after relocation.
これにより、以降の再配置ファイルに対する再配置ファ
イル使用ジョブ9によるファイルアクセスは、全て再配
置後ファイル3に対して実行されるようになる。As a result, all subsequent file accesses by the relocation file use job 9 to the relocation file will be executed to the post-relocation file 3.
以上説明したように本発明は、動的に再配置ファイル(
Dファイルコピーを行うことにより、M配置ファイル使
用ジョブであるオンラインジョブを終了させることなく
ファイル再配置を行うことができ、コンピュータシステ
ムの性能を改善することができるという効果がある。As explained above, the present invention dynamically relocates files (
By performing the D file copy, file rearrangement can be performed without terminating the online job, which is a job using M-arranged files, and the performance of the computer system can be improved.
第1図は本発明の一実施例の構成を示すブロック図、
第2図は第1図中の再配置ファイルアクセス管理部の処
理を示す流れ図である。
図において、
■・・・端末、
2・・・再配置前ファイル、
3・・・再配置後ファイル、
4・・・ファイル再配置情報人力部、
5・・・再配置ファイルコピー部、
6・・・再配置ファイルアクセス管理部、7・・・ファ
イル情報更新部、
・ファイル情報、
・再配置ファイル使用ジョブ、
・コンビエータシステムである。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flow chart showing the processing of the relocation file access management section in FIG. In the figure, ■... Terminal, 2... File before relocation, 3... File after relocation, 4... File relocation information human resource department, 5... Relocation file copy unit, 6. ... Relocation file access management unit, 7... File information update unit, - File information, - Relocation file usage job, - Combiator system.
Claims (1)
ピー部の起動を行うファイル再配置情報入力部と、 このファイル再配置情報入力部で解析されたファイル再
配置情報に基づき再配置ファイルのファイルコピーを行
う前記再配置ファイルコピー部と、この再配置ファイル
コピー部によるファイルコピー中の再配置ファイルへの
ファイルアクセス要求に対するファイルアクセス管理処
理を行う再配置ファイルアクセス管理部と、 前記再配置ファイルコピー部による再配置ファイルのフ
ァイルコピーの終了後に再配置ファイルに関するファイ
ル情報を更新するファイル情報更新部と を有することを特徴とするファイル再配置方式。[Claims] A file relocation information input section that inputs and analyzes file relocation information and starts a relocation file copy section; a relocation file copying unit that performs a file copy of a relocation file; a relocation file access management unit that performs file access management processing in response to a file access request to the relocation file during file copying by the relocation file copying unit; A file relocation method comprising: a file information update unit that updates file information regarding the relocated file after the relocation file copy unit finishes copying the relocated file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1094215A JPH02272648A (en) | 1989-04-13 | 1989-04-13 | File rearrangement system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1094215A JPH02272648A (en) | 1989-04-13 | 1989-04-13 | File rearrangement system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02272648A true JPH02272648A (en) | 1990-11-07 |
Family
ID=14104097
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1094215A Pending JPH02272648A (en) | 1989-04-13 | 1989-04-13 | File rearrangement system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02272648A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007048323A (en) * | 2002-11-25 | 2007-02-22 | Hitachi Ltd | Virtualization control device and data migration control method |
| US7260696B2 (en) | 2000-07-06 | 2007-08-21 | Hitachi, Ltd. | Data reallocation among storage systems |
-
1989
- 1989-04-13 JP JP1094215A patent/JPH02272648A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7260696B2 (en) | 2000-07-06 | 2007-08-21 | Hitachi, Ltd. | Data reallocation among storage systems |
| JP2008152807A (en) * | 2000-07-06 | 2008-07-03 | Hitachi Ltd | Computer system |
| US7953949B2 (en) | 2000-07-06 | 2011-05-31 | Hitachi, Ltd. | Data reallocation among storage systems |
| JP2007048323A (en) * | 2002-11-25 | 2007-02-22 | Hitachi Ltd | Virtualization control device and data migration control method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02294855A (en) | Sub-file using right managing system | |
| JPH02272648A (en) | File rearrangement system | |
| US6085264A (en) | Accounting-information outputting device | |
| JPH08190491A (en) | Task switching method | |
| JPH04266130A (en) | File recall control system | |
| JP2920978B2 (en) | Library update method | |
| JPH02253336A (en) | Program starting system | |
| JPH0414161A (en) | Transaction processing system | |
| JPH0488413A (en) | Input source selection type key input system | |
| JPH0552537B2 (en) | ||
| JPH04360239A (en) | How to update software programs | |
| JPH02227755A (en) | File control system | |
| JPH0651857A (en) | Method for outputting voice and image | |
| JPH0635681A (en) | Application program install system | |
| JPH02120947A (en) | File input/output processing method for information processing system | |
| JPH01197838A (en) | Control program | |
| JPS63282525A (en) | Correction system for execution type program file | |
| JPH04310143A (en) | Automatic recomposition processor for multi-index order composition file | |
| JPH04348438A (en) | Using right control system | |
| JPH07234832A (en) | Scsi basic input/output system | |
| JP2001043077A (en) | Field input / output system | |
| JPH03111959A (en) | External device controller | |
| JPH02280240A (en) | File processing system for program | |
| JPH0659865A (en) | Computer system operating method | |
| JPH07230377A (en) | Software resource management system |