JPH11296419A - Copying method for disc device and record medium - Google Patents

Copying method for disc device and record medium

Info

Publication number
JPH11296419A
JPH11296419A JP10097067A JP9706798A JPH11296419A JP H11296419 A JPH11296419 A JP H11296419A JP 10097067 A JP10097067 A JP 10097067A JP 9706798 A JP9706798 A JP 9706798A JP H11296419 A JPH11296419 A JP H11296419A
Authority
JP
Japan
Prior art keywords
area
copying
disk device
usage
management information
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
JP10097067A
Other languages
Japanese (ja)
Inventor
Michitaka Miyata
理孝 宮田
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP10097067A priority Critical patent/JPH11296419A/en
Publication of JPH11296419A publication Critical patent/JPH11296419A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the copying time of a disc device by referring to a using state part and a using purpose part of a volume management information part of a copy origin at the time of copying the disc device and copying only an area which is used and is necessary to be copied. SOLUTION: A volume management information part 2 of a disc device 1 of a copy origin is provided with a utility state part for indicating at least use/nonuse state in every area to be used by an operating system, a using purpose part for indicating the using purpose such as a program, data, swap or dump, and a use area part for indicating a leading address and a completion address of the use area. Here, by referring to the using part and the using purpose part of the volume management information part of the copy origin at the time of copying and copying only the use area needed for activating the operating system, a copy time of the disc device is shortened.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ディスク装置の
複写方法および記録媒体に関するものであり、特に、複
写元のボリューム管理情報部に使用状態、使用目的、使
用領域などの情報を設け、その使用状態および使用目的
を参照し、使用している領域でかつ使用目的から複写す
る必要のある領域のみを複写することにより、ディスク
装置の複写時間を短縮する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a copying method for a disk device and a recording medium, and more particularly, to a volume management information section of a copy source, in which information such as a use state, a use purpose, and a use area is provided. By referring to the state and the purpose of use and copying only the used area and the area that needs to be copied from the purpose of use, the copying time of the disk device is reduced.

【0002】[0002]

【従来の技術】図5と図6により、従来のディスク装置
の複写方法を示す。図5は、従来のディスク装置を複写
する一実施例の処理フローチャート、図6は、従来の複
写元のディスク装置に設けられたボリューム管理情報部
の一実施例の構成図である。
2. Description of the Related Art FIGS. 5 and 6 show a conventional copying method of a disk drive. FIG. 5 is a processing flowchart of an embodiment for copying a conventional disk device, and FIG. 6 is a configuration diagram of an embodiment of a volume management information section provided in a conventional copy source disk device.

【0003】なお、図6の61はオペレーティングシス
テムのファイル管理により作成され、各種データファイ
ルを作成するときに設定されるボリューム管理情報部で
ある。そして、ボリューム管理情報部61は領域を識別
するための領域名と、その領域の使用/未使用の状態を
示す使用状態と、その領域の先頭アドレスと終了アドレ
スを示す使用領域とで構成されている。
[0006] Reference numeral 61 in FIG. 6 denotes a volume management information section created by file management of the operating system and set when creating various data files. The volume management information section 61 is composed of an area name for identifying an area, a use state indicating a used / unused state of the area, and a used area indicating a start address and an end address of the area. I have.

【0004】図5のフローにしたがって、その動作を説
明する。
The operation will be described with reference to the flow chart of FIG.

【0005】ステップS501:複写元のディスク装置
からボリューム管理情報部を読み出す。
Step S501: The volume management information section is read from the copy source disk device.

【0006】ステップS502:ボリューム管理情報部
の参照ポインタをボリューム管理情報部の先頭に設定す
る。
Step S502: A reference pointer of the volume management information section is set at the head of the volume management information section.

【0007】ステップS503:参照ポインタが指す領
域の使用状態が使用されている状態かを判定する。使用
されている状態ならばステップS504に進み、使用さ
れていない状態ならばステップS506に進む。
Step S503: It is determined whether the use state of the area indicated by the reference pointer is in use. If it is being used, the process proceeds to step S504. If it is not being used, the process proceeds to step S506.

【0008】ステップS504:複写元のディスク装置
から使用領域のデータを読み出す。
Step S504: The data in the used area is read from the copy source disk device.

【0009】ステップS505:ステップS504で読
み出したデータを複写先のディスク装置の同一領域に書
き込む。
Step S505: The data read in step S504 is written into the same area of the copy destination disk device.

【0010】ステップS506:ボリューム管理情報部
の参照ポインタを更新する。
Step S506: The reference pointer of the volume management information section is updated.

【0011】ステップS507:全ての領域名について
処理したかを判定する。処理したならば処理を終了し、
処理していなければステップS503に戻る。
Step S507: It is determined whether all area names have been processed. If processing is completed, the processing ends,
If not, the process returns to step S503.

【0012】図7に、従来の複写処理による複写元ディ
スク装置と複写先ディスク装置との一実施例の領域構成
図を示す。
FIG. 7 shows an area configuration diagram of an embodiment of a copy source disk device and a copy destination disk device in a conventional copy process.

【0013】複写元ディスク装置71が領域A(使用:
プログラム)、領域B(使用:データ)、領域C(使
用:スワップ)、領域D(未使用)、領域E(使用:ダ
ンプ)、領域F(未使用)の領域で構成されていると
き、図5の複写処理のステップS503からステップS
505により、使用されている状態の領域のみ複写先デ
ィスク装置72に複写されるため、複写先ディスク装置
72は領域A、領域B、領域C、領域Eで構成される。
When the copy source disk unit 71 is in the area A (use:
FIG. 5 shows a configuration including a program), an area B (use: data), an area C (use: swap), an area D (unused), an area E (use: dump), and an area F (unused). 5 from step S503 to step S
According to 505, only the used area is copied to the copy destination disk device 72. Therefore, the copy destination disk device 72 is composed of the area A, the area B, the area C, and the area E.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、図5に
示す従来技術では、オペレーティングシステムでスワッ
プイン、スワップアウトで使用するスワップ領域や異常
発生時にシステムのダンプが格納されるダンプ領域など
ほんらい複写する必要のない一時的な領域も複写するた
め、無駄な複写時間を要しているという問題点があっ
た。
However, in the prior art shown in FIG. 5, it is necessary to make a simple copy of a swap area used for swap-in and swap-out in an operating system and a dump area for storing a system dump when an error occurs. There is a problem that unnecessary copying time is required for copying a temporary area without any data.

【0015】[0015]

【課題を解決するための手段】この発明は上記のような
問題点を考慮してなされたもので、オペレーティングシ
ステムが格納されているディスク装置の複写方法におい
て、複写元のディスク装置のボリューム管理情報部にオ
ペレーティングシステムで使用される領域毎に少なくと
も使用/未使用状態を示す使用状態部と、プログラム、
データ、スワップ、ダンプなどの使用目的を示す使用目
的部と、使用領域の先頭アドレスおよび終了アドレスを
示す使用領域部とを設け、複写時に、複写元のボリュー
ム管理情報部の使用状態部と使用目的部とを参照し、使
用している領域でかつプログラム、データなどオペレー
ティングシステムの稼動に必要な使用領域のみを複写す
ることにより、ディスク装置の複写時間を短縮する。
SUMMARY OF THE INVENTION The present invention has been made in consideration of the above-described problems. In a method of copying a disk device in which an operating system is stored, a volume management information of a disk device of a copy source is provided. A use state unit indicating at least a used / unused state for each area used by the operating system, a program,
A usage purpose section indicating the usage purpose of data, swap, dump, etc., and a usage area section indicating the start address and end address of the usage area are provided. During copying, the usage status section and usage purpose of the copy source volume management information section are provided. The copying time of the disk device is shortened by copying only the used area and the used area necessary for operating the operating system, such as programs and data, by referring to the section.

【0016】[0016]

【発明の実施の形態】オペレーティングシステムが格納
されているディスク装置の複写方法において、複写元の
ディスク装置のボリューム管理情報部にオペレーティン
グシステムで使用される領域毎に少なくとも使用/未使
用状態を示す使用状態部と、プログラム、データ、スワ
ップ、ダンプなどの使用目的を示す使用目的部と、使用
領域の先頭アドレスおよび終了アドレスを示す使用領域
部とを設け、複写時に、複写元のボリューム管理情報部
の使用状態部と使用目的部とを参照し、使用している領
域でかつプログラム、データなどオペレーティングシス
テムの稼動に必要な使用領域のみを複写することによ
り、ディスク装置の複写時間を短縮することが可能とな
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In a method of copying a disk device in which an operating system is stored, a volume management information section of a copy source disk device indicates at least a used / unused state for each area used by the operating system. A status part, a use purpose part indicating a use purpose of a program, data, swap, dump, etc., and a use area part indicating a start address and an end address of a use area are provided. The copy time of the disk unit can be reduced by copying only the used area, such as programs and data, necessary for operating the operating system by referring to the usage status section and the intended use section. Becomes

【0017】[0017]

【実施例】図1に、本発明の構成ブロック図を示す。図
中、1はオペレーティングシステムが格納されているデ
ィスク装置、2はオペレーティングシステムのファイル
管理で作成される各種データファイルの使用状態、使用
目的、使用領域などの情報が格納されているボリューム
管理情報部、3はディスク装置1のデータが複写される
ディスク装置、4はディスク装置1のデータをディスク
装置3に複写するディスク装置複写手段である。
FIG. 1 is a block diagram showing the configuration of the present invention. In the figure, 1 is a disk device storing an operating system, and 2 is a volume management information section storing information such as a use state, a use purpose, and a use area of various data files created by file management of the operating system. Numeral 3 denotes a disk device to which data of the disk device 1 is copied, and numeral 4 denotes a disk device copying means for copying data of the disk device 1 to the disk device 3.

【0018】図2と図3により、本発明のディスク装置
の複写方法を示す。図2は、本発明のディスク装置を複
写する一実施例の処理フローチャート、図3は、本発明
の複写元のディスク装置に設けられたボリューム管理情
報部の一実施例の構成図である。
FIGS. 2 and 3 show a copying method of the disk drive of the present invention. FIG. 2 is a processing flowchart of an embodiment for copying a disk device of the present invention, and FIG. 3 is a configuration diagram of an embodiment of a volume management information section provided in a copy source disk device of the present invention.

【0019】なお、図3の31はオペレーティングシス
テムのファイル管理により作成され、各種データファイ
ルを作成するときに設定されるボリューム管理情報部で
ある。そして、ボリューム管理情報部31は領域を識別
するための領域名と、その領域の使用/未使用の状態を
示す使用状態と、その領域の使用目的、つまりプログラ
ム、データ、スワップ、ダンプなどを示す使用目的と、
その領域の先頭アドレスと終了アドレスを示す使用領域
とで構成されている。
Reference numeral 31 in FIG. 3 denotes a volume management information section created by file management of the operating system and set when creating various data files. The volume management information section 31 indicates an area name for identifying the area, a use state indicating the used / unused state of the area, and a use purpose of the area, that is, a program, data, swap, dump, and the like. Purpose of use and
It consists of a start address of the area and a use area indicating the end address.

【0020】図2のフローにしたがって、その動作を説
明する。
The operation will be described with reference to the flow of FIG.

【0021】ステップS201:複写元のディスク装置
からボリューム管理情報部を読み出す。
Step S201: The volume management information section is read from the copy source disk device.

【0022】ステップS202:ボリューム管理情報部
の参照ポインタをボリューム管理情報部の先頭に設定す
る。
Step S202: The reference pointer of the volume management information section is set at the head of the volume management information section.

【0023】ステップS203:参照ポインタが指す領
域の使用状態が使用されている状態かを判定する。使用
されている状態ならばステップS204に進み、使用さ
れていない状態ならばステップS207に進む。
Step S203: It is determined whether the use state of the area indicated by the reference pointer is in use. If it is in use, the process proceeds to step S204, and if it is not used, the process proceeds to step S207.

【0024】ステップS204:参照ポインタが指す領
域の使用目的がプログラム/データかを判定する。プロ
グラム/データならばステップS205に進み、プログ
ラム/データでないならばステップS207に進む。
Step S204: It is determined whether the purpose of use of the area pointed to by the reference pointer is program / data. If it is a program / data, the process proceeds to step S205, and if it is not a program / data, the process proceeds to step S207.

【0025】ステップS205:複写元のディスク装置
から使用領域のデータを読み出す。
Step S205: The data in the used area is read from the copy source disk device.

【0026】ステップS206:ステップS205で読
み出したデータを複写先のディスク装置の同一領域に書
き込む。
Step S206: The data read in step S205 is written in the same area of the copy destination disk device.

【0027】ステップS207:ボリューム管理情報部
の参照ポインタを更新する。
Step S207: The reference pointer of the volume management information section is updated.

【0028】ステップS208:全ての領域名について
処理したかを判定する。処理したならば処理を終了し、
処理していなければステップS203に戻る。
Step S208: It is determined whether all area names have been processed. If processing is completed, the processing ends,
If not, the process returns to step S203.

【0029】図4に、本発明の複写処理による複写元デ
ィスク装置と複写先ディスク装置との一実施例の領域構
成図を示す。
FIG. 4 is a diagram showing an area configuration of one embodiment of a copy source disk device and a copy destination disk device according to the copy processing of the present invention.

【0030】複写元ディスク装置41が領域A(プログ
ラム)、領域B(データ)、領域C(スワップ)、領域
D(未使用)、領域E(ダンプ)、領域F(未使用)の
領域で構成されているとき、図2の複写処理のステップ
S203からステップS206により、使用されている
状態でかつ使用目的がプログラム/データの領域のみが
複写先ディスク装置42に複写されるため、複写先ディ
スク装置42は領域A、領域Bのみで構成される。
The copy source disk unit 41 is composed of areas A (program), area B (data), area C (swap), area D (unused), area E (dump), and area F (unused). In this case, only the area in which the program / data is used and the purpose of use is copied to the copy destination disk device 42 in steps S203 to S206 of the copy process of FIG. Reference numeral 42 includes only the area A and the area B.

【0031】このように、複写先ディスク装置に対して
オペレーティングシステムの稼動に不要な領域、つまり
スワップ領域である領域C、ダンプ領域である領域E、
および未使用領域である領域D、領域Fの複写を行わな
いため、複写時間を大幅に短縮することが可能となる。
As described above, areas unnecessary for operating the operating system for the copy destination disk device, that is, the area C which is a swap area, the area E which is a dump area,
In addition, since the copying of the areas D and F, which are unused areas, is not performed, the copying time can be greatly reduced.

【0032】[0032]

【発明の効果】この発明は、上記に説明したような形態
で実施され、以下の効果がある。
The present invention is embodied in the form described above, and has the following effects.

【0033】ディスク装置の複写時に、複写元のボリュ
ーム管理情報部の使用状態部と使用目的部を参照し、使
用している領域でかつ複写する必要のある領域のみを複
写する。これにより、ディスク装置の複写時間を大幅に
短縮することが可能となる。
At the time of copying of the disk device, referring to the use status section and the use purpose section of the volume management information section of the copy source, only the area that is in use and needs to be copied is copied. As a result, the copying time of the disk device can be significantly reduced.

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

【図1】 本発明の構成ブロック図である。FIG. 1 is a configuration block diagram of the present invention.

【図2】 本発明のディスク装置を複写する一実施例の
処理フローチャートである。
FIG. 2 is a processing flowchart of an embodiment for copying the disk device of the present invention.

【図3】 本発明の複写元のディスク装置に設けられた
ボリューム管理情報部の一実施例の構成図である。
FIG. 3 is a configuration diagram of one embodiment of a volume management information section provided in a copy source disk device of the present invention.

【図4】 本発明の複写処理による複写元ディスク装置
と複写先ディスク装置との一実施例の領域構成図であ
る。
FIG. 4 is an area configuration diagram of an embodiment of a copy source disk device and a copy destination disk device according to the copy processing of the present invention.

【図5】 従来のディスク装置を複写する一実施例の処
理フローチャートである。
FIG. 5 is a processing flowchart of an embodiment for copying a conventional disk device.

【図6】 従来の複写元のディスク装置に設けられたボ
リューム管理情報部の一実施例の構成図である。
FIG. 6 is a configuration diagram of an embodiment of a volume management information section provided in a conventional copy source disk device.

【図7】 従来の複写処理による複写元ディスク装置と
複写先ディスク装置との一実施例の領域構成図である。
FIG. 7 is an area configuration diagram of one embodiment of a copy source disk device and a copy destination disk device in a conventional copy process.

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

4 ディスク装置複写手段 4 Disk device copying means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 オペレーティングシステムが格納されて
いるディスク装置の複写方法において、 複写元のディスク装置のボリューム管理情報部にオペレ
ーティングシステムで使用される領域毎に少なくとも使
用/未使用状態を示す使用状態部と、プログラム、デー
タ、スワップ、ダンプなどの使用目的を示す使用目的部
と、使用領域の先頭アドレスおよび終了アドレスを示す
使用領域部とを設け、 複写時に、複写元のボリューム管理情報部の使用状態部
と使用目的部とを参照し、使用している領域でかつプロ
グラム、データなどオペレーティングシステムの稼動に
必要な使用領域のみを複写するディスク装置の複写方
法。
1. A method of copying a disk device in which an operating system is stored, comprising: a use status portion indicating at least a used / unused status for each area used by the operating system in a volume management information portion of a copy source disk device. And a usage section indicating the usage purpose of the program, data, swap, dump, etc., and a usage area section indicating the start address and end address of the usage area. When copying, the usage status of the source volume management information section A method of copying a disk device which refers to a copy unit and a use target unit, and copies only a use area necessary for operating an operating system, such as a program and data, in a used area.
【請求項2】 オペレーティングシステムが格納されて
いるディスク装置を複写するプログラムが記録された記
録媒体において、 複写元のディスク装置のボリューム管理情報部にオペレ
ーティングシステムで使用される領域毎に少なくとも使
用/未使用状態を示す使用状態部と、プログラム、デー
タ、スワップ、ダンプなどの使用目的を示す使用目的部
と、使用領域の先頭アドレスおよび終了アドレスを示す
使用領域部とを設け、 複写時に、複写元のボリューム管理情報部の使用状態部
と使用目的部とを参照し、使用している領域でかつプロ
グラム、データなどオペレーティングシステムの稼動に
必要な使用領域のみを複写するプログラムを記録したコ
ンピュータ読取り可能な記録媒体。
2. A recording medium in which a program for copying a disk device in which an operating system is stored is recorded, wherein at least the used / unused area is stored in the volume management information section of the copy source disk device for each area used by the operating system. A usage status section indicating the usage status, a usage purpose section indicating the usage purpose of the program, data, swap, dump, etc., and a usage area section indicating the start address and end address of the usage area are provided. A computer-readable record that records a program that refers to the use state section and use purpose section of the volume management information section and copies only the used area that is necessary for operating the operating system such as programs and data. Medium.
JP10097067A 1998-04-09 1998-04-09 Copying method for disc device and record medium Pending JPH11296419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10097067A JPH11296419A (en) 1998-04-09 1998-04-09 Copying method for disc device and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10097067A JPH11296419A (en) 1998-04-09 1998-04-09 Copying method for disc device and record medium

Publications (1)

Publication Number Publication Date
JPH11296419A true JPH11296419A (en) 1999-10-29

Family

ID=14182308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10097067A Pending JPH11296419A (en) 1998-04-09 1998-04-09 Copying method for disc device and record medium

Country Status (1)

Country Link
JP (1) JPH11296419A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043246A (en) * 2010-08-20 2012-03-01 Canon Inc Information processor, method for controlling information processor, and program
US9519534B2 (en) 2013-12-05 2016-12-13 Fujitsu Limited Information processing in response to failure of apparatus, method, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043246A (en) * 2010-08-20 2012-03-01 Canon Inc Information processor, method for controlling information processor, and program
US9519534B2 (en) 2013-12-05 2016-12-13 Fujitsu Limited Information processing in response to failure of apparatus, method, and storage medium

Similar Documents

Publication Publication Date Title
JP2008070975A (en) Data storage device and data storage method
JPH11296419A (en) Copying method for disc device and record medium
JP2008269520A (en) Recorder and recording method
JP2005107856A (en) Information processor, information processing method, recording medium, program
JP2006323462A (en) File-copying device and file-copying method
US5630115A (en) Method of rewriting information on a record medium by rewriting only changed portions
JPH0895835A (en) Method for reserving file space
JPH0553891A (en) Information processor
JPH0659953A (en) Method for controlling input/output of virtual file
JP4508137B2 (en) Data backup processing apparatus and method
JP2563328B2 (en) How to copy a document file
JPH03257521A (en) Medium copy system
JP2000047917A (en) File managing method and filing system
JP2005227983A (en) Information storage device
JPH02132516A (en) System and method for write enable type optical disk controlling
JPH04217044A (en) Information processing system
JPS6346553A (en) File copying method
JPS6369072A (en) Directory format
JPH0574052A (en) Method for managing information of information recording medium
JP2502897B2 (en) Electronic file device
JPH06231016A (en) File coupling/dividing method
JPS6359640A (en) Log information file control system
JPH1186512A (en) Data rewriting method for optical disk
JPS6337437A (en) Volume control system for magnetic disk device
JPS62296229A (en) Saving control system for software

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041124

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050419