JP4765967B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP4765967B2
JP4765967B2 JP2007072337A JP2007072337A JP4765967B2 JP 4765967 B2 JP4765967 B2 JP 4765967B2 JP 2007072337 A JP2007072337 A JP 2007072337A JP 2007072337 A JP2007072337 A JP 2007072337A JP 4765967 B2 JP4765967 B2 JP 4765967B2
Authority
JP
Japan
Prior art keywords
data
virtual
virtual disk
area
information processing
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.)
Expired - Fee Related
Application number
JP2007072337A
Other languages
Japanese (ja)
Other versions
JP2008234268A (en
Inventor
正承 松浦
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2007072337A priority Critical patent/JP4765967B2/en
Publication of JP2008234268A publication Critical patent/JP2008234268A/en
Application granted granted Critical
Publication of JP4765967B2 publication Critical patent/JP4765967B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、情報処理装置にかかり、特に、仮想コンピュータが構築された情報処理装置に関する。   The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus in which a virtual computer is constructed.

従来より、1台のコンピュータ上で実機をエミュレートする仮想環境を用意し、その上でオペレーティングシステム(OS)が動作可能なよう構成されたコンピュータが実現されている。このような仮想環境を実現するコンピュータの構成を、図7を参照して説明する。   Conventionally, a virtual environment that emulates a real machine on one computer is prepared, and a computer configured to operate an operating system (OS) has been realized. The configuration of a computer that realizes such a virtual environment will be described with reference to FIG.

まず、コンピュータには、コンピュータ全体の動作を制御するホストオペレーティングシステム101(ホストOS)が組み込まれており、このホストOS101上で仮想環境が動作する。この仮想環境を提供するソフトウェアを仮想環境ソフト113と呼び、この仮想環境ソフトウェアが実行されることによって仮想マシンが実現される。この仮想マシンを提供するコンピュータのことをホストマシンと呼ぶ。仮想マシンを制御するオペレーティングシステムをゲストOSと呼び、仮想マシン上に搭載される。   First, a host operating system 101 (host OS) that controls the operation of the entire computer is incorporated in the computer, and a virtual environment operates on the host OS 101. Software that provides this virtual environment is called virtual environment software 113, and a virtual machine is realized by executing the virtual environment software. A computer that provides this virtual machine is called a host machine. An operating system that controls the virtual machine is called a guest OS and is installed on the virtual machine.

そして、仮想環境が提供する記憶装置であるハードディスクドライブ(HDD)に仮想ディスク120がある。これは、ホストOSからみると1つのファイルになっている。このような仮想ディスク120は、ゲストOSが実際にデータを書き込むまではホストOS上のファイルには書き込まれない。例えば、仮想ディスクとして4GBの容量を割り当てたとしても、ゲストOS上からデータを書き込まない限り管理領域分の数B〜数KBの容量のみとなる。   The virtual disk 120 is in a hard disk drive (HDD) that is a storage device provided by the virtual environment. This is a single file when viewed from the host OS. Such a virtual disk 120 is not written to a file on the host OS until the guest OS actually writes data. For example, even if a capacity of 4 GB is allocated as a virtual disk, it has only a capacity of several B to several KB for the management area unless data is written from the guest OS.

ここで、HDDを長期間使用し続けると、フラグメンテーションと呼ばれるディスクの分断化が発生する。このフラグメンテーションが発生するとディスクの読み書きに余分な動作(目的位置へのヘッダの移動など)が加わり、性能が劣化するという問題が生じる。このため、フラグメンテーションを解消する必要があるが、これを実行する機能としてデフラグメンテーションという機能がある。このデフラグメンテーションは、具体的には、ディスクに記憶されたデータ領域を連続的な位置に移動し、ファイルの連続性をなるべく保つようにするよう作動する。   Here, if the HDD is used for a long period of time, a fragmentation of the disk called fragmentation occurs. When this fragmentation occurs, an extra operation (such as moving the header to the target position) is added to the reading / writing of the disk, causing a problem that the performance deteriorates. For this reason, it is necessary to eliminate fragmentation, but there is a function called defragmentation as a function for executing this. Specifically, this defragmentation operates to move the data area stored on the disk to a continuous position and keep the continuity of the file as much as possible.

そして、上述したフラグメンテーションは、仮想環境でランニングさせていても、仮想ディスク120の領域に発生しうる。従って、デフラグメンテーションをゲストOSから実行すべく、当該ゲストOS側の仮想マシン上に、ユーザアプリケーションとしてのデフラグメンテーションツール124が装備されている。なお、ゲストOS上でデフラグメンテーションを行う技術の一例が下記特許文献1に開示されている。   The fragmentation described above can occur in the area of the virtual disk 120 even when running in a virtual environment. Accordingly, in order to execute defragmentation from the guest OS, a defragmentation tool 124 as a user application is provided on the virtual machine on the guest OS side. An example of a technique for performing defragmentation on the guest OS is disclosed in Patent Document 1 below.

ここで、上記デフラグメンテーションツール124をゲストOS上で実行させたときの仮想ディスク内におけるデータ配置を、図8に示す。まず、図8(a)にはデフラグメンテーション前の仮想ディスク内の様子を示し、図8(b)にはデフラグメンテーション後の仮想ディスク内の様子を示している。図8(a)から図8(b)への矢印に示すように、ゲストOS上でデフラグメンテーションを実行することで、ゲストOS上のファイルの連続性を確保するよう仮想ディスク内でデータを移動させる。しかしながら、仮想ディスク内ではデータの一時的な移動のため、図8(b)の点線にて示すデータ領域のように、移動に要した分の書き込みが発生しており、その右側のディスク形状の図に示すように、実際にデータが格納されている領域から一時的に使用した領域分だけ膨らんだ状態になってしまう。つまり、仮想環境で実行されるゲストOS上でデフラグメンテーションを実行すると、仮想ディスク(ファイル)が膨張する、という問題が生じる。   FIG. 8 shows the data arrangement in the virtual disk when the defragmentation tool 124 is executed on the guest OS. First, FIG. 8A shows a state in the virtual disk before defragmentation, and FIG. 8B shows a state in the virtual disk after defragmentation. As indicated by the arrows from FIG. 8A to FIG. 8B, data is moved within the virtual disk so as to ensure continuity of files on the guest OS by executing defragmentation on the guest OS. Let However, because of the temporary movement of data in the virtual disk, as much data as needed for the movement is generated as in the data area indicated by the dotted line in FIG. As shown in the figure, the area where the data is actually stored swells by the area temporarily used. That is, when defragmentation is executed on a guest OS executed in a virtual environment, there arises a problem that a virtual disk (file) expands.

一方で、現在では、仮想ディスク120を圧縮するために、仮想環境の提供元が作成した圧縮ユーティリティA(123)をゲストOSに装備し、これを動作させている。この圧縮ユーティリティA(123)は、実行されると、ファイルシステムの未使用領域にマークするというものであり、その後、ホストOS上から仮想ディスクとして提供しているファイル内部のマークを目印に実際には使用していない部分を圧縮することで、ファイルを縮小することができる。   On the other hand, at present, in order to compress the virtual disk 120, the guest OS is equipped with a compression utility A (123) created by the provider of the virtual environment, and this is operated. When this compression utility A (123) is executed, it marks an unused area of the file system. After that, the compression utility A (123) actually marks the mark inside the file provided as a virtual disk from the host OS. Can shrink the file by compressing unused parts.

具体的に、従来における仮想ディスクのフラグメンテーションの解消手順を、図9のデータ配置図及び図10のフローチャートを参照して説明する。まず、ゲストOS上でデフラグメンテーションツール124を実行すると(ステップS201)、図9(a)に示すような仮想ディスクに対して、領域を整地するようデータの移動が実行される(ステップS202、図7の矢印(101))。なお、図9では、斜線部分にデータが記憶されていることとし、ファイルのサイズは斜線部分の面積の総和である。通常、ファイルの移動では、移動元の領域は使っていないとファイルシステムの管理部分を書き換えるだけでディスク自体にはクリアをしない。このため、デフラグメンテーションが完了すると(ステップS203)、図9(b)のように、仮想ディスクとして提供しているファイルが一時的に膨張する。   Specifically, a conventional virtual disk fragmentation elimination procedure will be described with reference to the data arrangement diagram of FIG. 9 and the flowchart of FIG. First, when the defragmentation tool 124 is executed on the guest OS (step S201), the data is moved so that the area is leveled with respect to the virtual disk as shown in FIG. 9A (step S202, FIG. 7 arrow (101). In FIG. 9, it is assumed that data is stored in the shaded area, and the file size is the total area of the shaded area. Normally, when a file is moved, if the source area is not used, only the management part of the file system is rewritten and the disk itself is not cleared. For this reason, when the defragmentation is completed (step S203), the file provided as the virtual disk is temporarily expanded as shown in FIG. 9B.

続いて、ゲストOS上で圧縮ユーティリティA(123)が実行されると(ステップS204)、未使用領域をマーキングする指令が発せられ(図7の矢印(102))、図9(c)に示すように、未使用領域に例えば「0」というマークが記述される(ステップS205)。そして、その後、ホストOS上で圧縮ユーティリティB(112)が実行されることで(ステップS206)、上述したようにファイル内部のマークされた未使用領域を検出して、図9(d)に示すようにその領域を削除し(図7の矢印(103))、仮想ディスクを圧縮する(ステップS207)。   Subsequently, when the compression utility A (123) is executed on the guest OS (step S204), a command for marking an unused area is issued (arrow (102) in FIG. 7), as shown in FIG. 9 (c). Thus, for example, a mark “0” is described in the unused area (step S205). Then, after that, the compression utility B (112) is executed on the host OS (step S206), thereby detecting the marked unused area inside the file as described above, as shown in FIG. 9 (d). The area is deleted (arrow (103) in FIG. 7), and the virtual disk is compressed (step S207).

特開平5−298123号公報JP-A-5-298123

しかしながら、上述した従来例における構成では、仮想環境の提供者が、ゲストOS上で、デフラグメンテーションツールと異なって作動する圧縮ユーティリティAを別途用意して提供する必要があり、開発コストや開発労力が増加し、サポート面でも不具合が生じうる、という問題があった。また、仮想ディスクの圧縮処理が多段階になり、処理時間が増加する、という問題があった。さらに、ユーザは別途、仮想環境に圧縮ユーティリティAを組み込む作業を行う必要があり、手間が生じていた。   However, in the configuration in the above-described conventional example, it is necessary for the provider of the virtual environment to separately provide and provide a compression utility A that operates differently from the defragmentation tool on the guest OS, which reduces development cost and development effort. There was a problem that it increased and problems could occur in support. In addition, there is a problem that the compression process of the virtual disk becomes multistage and the processing time increases. Furthermore, the user has to separately perform the work of incorporating the compression utility A into the virtual environment, which has been troublesome.

このため、本発明では、上記従来例の有する不都合を改善し、特に、装置構成の簡素化、及び、装置開発労力の軽減を図りつつ、仮想ディスクの圧縮処理の迅速化を図ることができる情報処理装置を提供することをその目的とする。   For this reason, in the present invention, information that can improve the disadvantages of the above-mentioned conventional example, and in particular, can speed up the compression process of the virtual disk while simplifying the device configuration and reducing the device development effort. It is an object of the present invention to provide a processing apparatus.

そこで、本発明の一形態である情報処理装置は、演算装置と記憶装置とを備え、記憶装置に形成された仮想ディスクと、演算装置に組み込まれた仮想オペレーティングシステムと、を備えた仮想コンピュータが構築されおり、仮想オペレーティングシステムが、仮想ディスク内に記憶されている所定のデータの削除時に、このデータ削除記憶領域に対して未使用領域であることを表す未使用領域情報を書き込む機能を有する、ことを特徴としている。   Therefore, an information processing apparatus according to an embodiment of the present invention includes an arithmetic device and a storage device, and a virtual computer including a virtual disk formed in the storage device and a virtual operating system incorporated in the arithmetic device. The virtual operating system is constructed and has a function of writing unused area information indicating that it is an unused area to this data deletion storage area when deleting predetermined data stored in the virtual disk. It is characterized by that.

上記発明によると、仮想コンピュータは、仮想ディスク内に記憶されているデータの削除が生じると、削除されたことによって未使用となった記憶領域に未使用領域であることを表す未使用領域情報を書き込む。これにより、仮想ディスク内の物理的には未使用である領域を容易に検出することができ、記憶装置の記憶領域の圧縮処理を容易かつ迅速に実行することができる。従って、仮想環境アプリケーションを提供するメーカは、別途、仮想ディスク内の未使用領域を検出するアプリケーションを用意する必要がないため、かかるメーカによるアプリケーション開発労力を軽減することができると共に、サポートするゲストOSの充実化を図ることができる。さらには、ユーザは、別途、未使用領域を検出するアプリケーションを組み込む必要がないため、利便性の向上を図ることができる。   According to the above invention, when the data stored in the virtual disk is deleted, the virtual computer stores the unused area information indicating that the storage area becomes unused due to the deletion. Write. Thereby, a physically unused area in the virtual disk can be easily detected, and the compression process of the storage area of the storage device can be easily and quickly executed. Therefore, the manufacturer that provides the virtual environment application does not need to prepare an application for detecting an unused area in the virtual disk separately. Therefore, it is possible to reduce the application development effort by the manufacturer and to support the guest OS. Can be improved. Furthermore, since the user does not need to separately incorporate an application for detecting an unused area, the convenience can be improved.

また、情報処理装置全体の動作を制御するホストオペレーティングシステムが演算装置に組み込まれて情報処理装置内にホストコンピュータが構築されており、このホストコンピュータが、記憶装置内で未使用領域情報が書き込まれた記憶領域を仮想ディスク内から削除する領域削除手段を備えた、ことを特徴としている。   In addition, a host operating system that controls the operation of the entire information processing apparatus is incorporated in the arithmetic unit, and a host computer is built in the information processing apparatus. The host computer stores unused area information in the storage device. The storage area is provided with area deletion means for deleting the storage area from the virtual disk.

これにより、仮想ディスク内の未使用領域を、未使用領域情報に基づいてホストコンピュータ側から容易に検出することができ、記憶装置内の記憶領域の圧縮を容易かつ迅速に実行することができる。   Thus, the unused area in the virtual disk can be easily detected from the host computer side based on the unused area information, and the compression of the storage area in the storage device can be executed easily and quickly.

また、仮想オペレーティングシステムは、仮想ディスク内に記憶されているデータの移動によって生じたデータの削除時に、このデータ削除記憶領域に対して未使用領域情報を書き込むよう作動する、ことを特徴としている。そして、さらに、仮想コンピュータは、仮想オペレーティングシステム上で作動する仮想ディスク内に記憶されているデータの記憶領域の配置整理を行うデータ整理手段を備え、仮想オペレーティングシステムは、データ整理手段の作動によって生じたデータの移動に伴うデータの削除時に、このデータ削除記憶領域に対して未使用領域情報を書き込むよう作動する、ことを特徴としている。このとき、データ整理手段は、仮想ディスクに記憶されている同一ファイルを構成する各データが記憶領域内で連続に配置されるようデータの移動を行う、ことを特徴としている。また、ホストコンピュータの領域削除手段は、データ整理手段の作動が終了した後に作動する、ことを特徴としている。   Further, the virtual operating system is characterized in that it operates so as to write unused area information to the data deletion storage area when data generated by the movement of data stored in the virtual disk is deleted. In addition, the virtual computer further includes data organizing means for organizing and arranging the storage areas of data stored in the virtual disk that operates on the virtual operating system, and the virtual operating system is generated by the operation of the data organizing means. It is characterized in that it operates so as to write unused area information to this data deletion storage area when deleting data accompanying the movement of the data. At this time, the data organizing means moves the data so that each data constituting the same file stored in the virtual disk is continuously arranged in the storage area. In addition, the area deletion unit of the host computer operates after the operation of the data organizing unit is finished.

これにより、デフラグメンテーションなどによってデータが整理され、データが移動された後の未使用領域に対して未使用領域情報が書き込まれ、この領域をホストコンピュータにて削除することができる。従って、記憶装置の整理及び圧縮を迅速かつ容易に実現することができる。   As a result, the data is organized by defragmentation, etc., the unused area information is written in the unused area after the data is moved, and this area can be deleted by the host computer. Therefore, the storage device can be organized and compressed quickly and easily.

そして、具体的に、仮想オペレーティングシステムは、仮想ディスクに対するデータの記録再生を行うディスクドライバと、仮想ディスクに対するデータの配置を管理するファイルシステムと、このファイルシステムにて管理されているデータの配置に基づいてディスクドライバを介して仮想ディスクの記憶領域を管理する仮想ディスク用ドライバと、を備え、仮想ディスク用ドライバが、仮想ディスク内に記憶されている所定のデータの削除時に、このデータ削除記憶領域に対して未使用領域を表す未使用領域情報を書き込む、ことを特徴としている。   Specifically, the virtual operating system includes a disk driver that records and reproduces data with respect to the virtual disk, a file system that manages the arrangement of data with respect to the virtual disk, and the arrangement of data managed by the file system. A virtual disk driver that manages the storage area of the virtual disk based on the disk driver, and when the virtual disk driver deletes predetermined data stored in the virtual disk, the data deletion storage area In this example, unused area information indicating an unused area is written.

これにより、通常の仮想オペレーティングシステムの構成に上記仮想ディスク用ドライバを組み込むことで、容易に上述したような未使用領域情報を書き込む機能を実現することができる。   Thus, by incorporating the virtual disk driver into the configuration of a normal virtual operating system, the function of easily writing unused area information as described above can be realized.

また、本発明の他の形態は、演算装置と記憶装置とを備え、記憶装置に形成された仮想ディスクと、演算装置に組み込まれた仮想オペレーティングシステムと、を備えた仮想コンピュータが構築された情報処理装置による情報処理方法であって、仮想オペレーティングシステムが、仮想ディスク内に記憶されている所定のデータの削除時に、このデータ削除記憶領域に対して未使用領域であることを表す未使用領域情報を書き込む未使用領域情報書込工程を有する、ことを特徴としている。   According to another aspect of the present invention, there is provided an arithmetic device and a storage device, and information on a virtual computer that includes a virtual disk formed in the storage device and a virtual operating system incorporated in the arithmetic device. An information processing method by a processing device, in which the virtual operating system indicates unused area information indicating that the data deletion storage area is an unused area when deleting predetermined data stored in the virtual disk And an unused area information writing process.

そして、未使用領域情報書込工程の後に、情報処理装置が記憶装置内で未使用領域情報が書き込まれた領域を仮想ディスクとして提供しているホストマシン上のファイルから削除する領域削除工程を有する、ことを特徴としている。   Then, after the unused area information writing step, the information processing apparatus has an area deleting step of deleting the area where the unused area information is written in the storage device from the file on the host machine that provides the virtual disk. It is characterized by that.

また、未使用領域情報書込工程は、仮想ディスク内に記憶されているデータが移動されることによって生じたデータの削除時に、このデータ削除記憶領域に対して未使用領域情報を書き込む、ことを特徴としている。また、情報処理装置が仮想オペレーティングシステム上で仮想ディスク内に記憶されているデータの記憶領域の配置整理を行うデータ整理工程を有すると共に、このデータ整理工程の作動中に生じたデータの移動に伴うデータ削除時に、未使用領域情報書込工程が作動する、ことを特徴としている。そして、データ整理工程は、仮想ディスクに記憶されている同一ファイルを構成する各データが記憶領域内で連続に配置されるようデータの移動を行う、ことを特徴としている。さらに、領域削除工程は、データ整理工程が終了した後に作動する、ことを特徴としている。   In addition, the unused area information writing step writes the unused area information to the data deletion storage area when deleting data generated by moving the data stored in the virtual disk. It is a feature. Further, the information processing apparatus has a data organizing process for organizing and arranging the storage area of data stored in the virtual disk on the virtual operating system, and accompanying the movement of data generated during the operation of the data organizing process. An unused area information writing process is activated when data is deleted. The data rearranging step is characterized in that the data is moved so that each data constituting the same file stored in the virtual disk is continuously arranged in the storage area. Furthermore, the region deletion process is characterized in that it operates after the data arrangement process is completed.

また、本発明の他の形態であるプログラムは、演算装置と記憶装置とを備えた情報処理装置に、記憶装置に形成された仮想ディスクに対するデータの記録再生を行うと共に、当該仮想ディスク内に記憶されている所定のデータの削除時に、このデータ削除領域に対して未使用領域であることを表す未使用領域情報を書き込む機能を有する仮想オペレーティングシステムを実現させる、ことを特徴としている。   A program according to another embodiment of the present invention records and reproduces data with respect to a virtual disk formed in a storage device and stores the data in the virtual disk in an information processing device including an arithmetic device and a storage device. When a predetermined data is deleted, a virtual operating system having a function of writing unused area information indicating an unused area to the data deletion area is realized.

上述した構成の情報処理方法やプログラムの発明であっても、上記情報処理装置と同様の作用を有するため、上述した本発明の目的を達成することができる。   Even the information processing method and program invention configured as described above have the same operation as the information processing apparatus described above, and therefore, the object of the present invention described above can be achieved.

本発明は、以上のように構成され機能するので、これによると、仮想環境アプリケーションを提供するメーカは、別途、仮想ディスク内の未使用領域を検出するアプリケーションを用意する必要がないため、かかるメーカによるアプリケーション開発労力を軽減することができると共に、サポートするゲストOSの充実化を図ることができる。また、ユーザは、別途、未使用領域を検出するアプリケーションを組み込む必要がないため、利便性の向上を図ることができる、という従来にない優れた効果を有する。   Since the present invention is configured and functions as described above, according to this, a manufacturer that provides a virtual environment application does not need to separately prepare an application for detecting an unused area in a virtual disk. In addition to reducing the application development effort due to the above, it is possible to enhance the guest OS to be supported. In addition, since the user does not need to separately install an application for detecting an unused area, the user has an excellent effect that convenience can be improved.

本発明は、従来では、仮想コンピュータ内に、仮想オペレーティングシステム上で作動する圧縮用ユーティリティを組み込んでいたが、これを組み込む必要がなく、圧縮を容易に実現できるよう構成されている点に特徴を有する。以下、具体的な構成及び動作を、実施例を参照して説明する。   Conventionally, the present invention is characterized in that a compression utility that operates on a virtual operating system has been incorporated in a virtual computer, but it is not necessary to incorporate this utility and compression can be easily realized. Have. Hereinafter, specific configurations and operations will be described with reference to examples.

本発明の第1の実施例を、図1乃至3を参照して説明する。図1は、本発明の構成を示すブロック図である。図2は、記憶領域の状態を示す説明図であり、図3は、動作を示すフローチャートである。   A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 2 is an explanatory diagram showing the state of the storage area, and FIG. 3 is a flowchart showing the operation.

[構成]
まず、本実施例におけるコンピュータ(情報処理装置)の構成を説明する。コンピュータは、図示しないが、CPUといった演算装置と、ハードディスクドライブなどの記憶装置と、を備えた一般的なコンピュータである。そして、コンピュータには、図1に示すように、コンピュータ全体の動作を制御するホストオペレーティングシステム101(ホストOS)が組み込まれており、ホストマシンが実現されている。
[Constitution]
First, the configuration of the computer (information processing apparatus) in this embodiment will be described. Although not shown, the computer is a general computer including an arithmetic device such as a CPU and a storage device such as a hard disk drive. As shown in FIG. 1, a host operating system 101 (host OS) for controlling the operation of the entire computer is incorporated in the computer, thereby realizing a host machine.

そして、さらに、コンピュータ内には、ホストオペレーティングシステム上で動作する実機をエミュレートした仮想マシン(仮想コンピュータ)が構築されている。この仮想マシンは、ホストOSに組み込まれた仮想環境ソフトウェア13が実行されることによって、CPUにゲストオペレーティングシステム(以下、ゲストOSと呼ぶ)(仮想オペレーティングシステム)が構築されることで実現されている。具体的に、ゲストOSは、図1に示すように、ファイルシステム21と、ディスクドライバ22と、仮想HDD用ドライバ23と、を備えており、また、ゲストOSにて使用される記憶領域として、記憶装置に仮想ディスク20が構築されている。さらに、仮想マシンには、ゲストOS上で作動するユーザ空間のアプリケーションとして、デフラグメンテーションツール24が組み込まれている。以下、各構成について詳述する。   Further, a virtual machine (virtual computer) emulating a real machine that operates on the host operating system is built in the computer. This virtual machine is realized by building a guest operating system (hereinafter referred to as guest OS) (virtual operating system) on the CPU by executing the virtual environment software 13 incorporated in the host OS. . Specifically, as shown in FIG. 1, the guest OS includes a file system 21, a disk driver 22, and a virtual HDD driver 23. Further, as a storage area used by the guest OS, A virtual disk 20 is constructed in the storage device. Furthermore, a defragmentation tool 24 is incorporated in the virtual machine as a user space application that operates on the guest OS. Hereinafter, each configuration will be described in detail.

まず、ファイルシステム21は、ファイルと実データが書き込まれるディスク上の配置を管理するモジュールである。また、ディスクドライバ22は、ゲストOSがディスクと読み書きするためのドライバモジュールである。   First, the file system 21 is a module that manages the arrangement on the disk where files and actual data are written. The disk driver 22 is a driver module for the guest OS to read from and write to the disk.

また、デフラグメンテーションツール24(データ整理手段)は、ファイルシステムと情報のやりとりをし、1つのファイルを構成する複数のデータがディスク上で分断されて配置されていた場合に連続して配置されるよう、データの移動をゲストOSに要求し、データ配置整理を行うよう作動する。なお、デフラグメンテーションツール24は、上記配置整理を行う処理要求を、仮想HDD用ドライバ23に対して出し、当該仮想HDD用ドライバ23を介してディスクドライバ22がディスクへの読み書き処理を行う。   Further, the defragmentation tool 24 (data organizing means) exchanges information with the file system, and when a plurality of data constituting one file are divided and arranged on the disk, they are continuously arranged. As described above, it requests the guest OS to move the data and operates to arrange the data arrangement. The defragmentation tool 24 issues a processing request for performing the above arrangement and arrangement to the virtual HDD driver 23, and the disk driver 22 performs read / write processing on the disk via the virtual HDD driver 23.

そして、仮想HDD用ドライバ23(仮想ディスク用ドライバ)は、上述したようにデフラグメンテーションツール24からデータの配置整理によるデータの移動要求があると、ディスクドライバ22を使ってデータの移動を行うが、更にデータを移動した跡地に未使用マーク(例えば、「0」)を書き込む。つまり、データが移動されることによってデータが削除されたデータ削除記憶領域に、未使用領域を表す未使用領域情報「0」を書き込む。これにより、従来の圧縮方法では、ユーザ空間上の圧縮ユーティリティA(図7の符号123参照)が行っていた未使用マークを、ゲストOSの作動により行う。   The virtual HDD driver 23 (virtual disk driver) moves the data using the disk driver 22 when the defragmentation tool 24 requests data movement by arranging the data as described above. Further, an unused mark (for example, “0”) is written in the trace where the data has been moved. That is, the unused area information “0” indicating the unused area is written in the data deletion storage area from which the data has been deleted by the movement of the data. Thereby, in the conventional compression method, the unused mark which was performed by the compression utility A on the user space (see reference numeral 123 in FIG. 7) is performed by the operation of the guest OS.

なお、仮想HDD用ドライバ23のインストールは、仮想環境を構築すべくゲストOSをインストールしたときに自動認識実行もしくはユーザにより行われる。従って、上記OSを仮想環境以外で動作させる時は、仮想HDD用ドライバがなく、デフラグメンテーションツールの要求は今まで通り通常のOSが持つディスクドライバに対し発行される。   The installation of the virtual HDD driver 23 is performed automatically by the user when the guest OS is installed to construct a virtual environment or by the user. Therefore, when operating the OS in a environment other than the virtual environment, there is no virtual HDD driver, and the request for the defragmentation tool is still issued to the disk driver of the normal OS.

また、ホストOS側に構築されている圧縮ユーティリティB(12)(領域削除手段)は、ホストOS上で作動するよう組み込まれたアプリケーションであって、仮想ディスクとして用意しているファイル内に記述された未使用領域を検出し、その領域を削除しファイルサイズを縮小するよう作動する。   The compression utility B (12) (area deletion means) constructed on the host OS side is an application that is installed to operate on the host OS and is described in a file prepared as a virtual disk. It operates to detect unused areas, delete those areas, and reduce the file size.

[動作]
次に、上記構成のコンピュータの動作を説明する。まず、仮想マシンで使用されている仮想ディスク20は、図2(a)に示す使用状態であるとする。この図では、斜線部分にデータが記憶されていることを示している。
[Operation]
Next, the operation of the computer having the above configuration will be described. First, it is assumed that the virtual disk 20 used in the virtual machine is in the usage state shown in FIG. This figure shows that data is stored in the shaded area.

そして、仮想マシン上、つまり、ゲストOS上で、デフラグメンテーションツール24が実行されると(ステップS1)、デフラグメンテーションツール24は、ファイルシステム21に問い合わせ、ファイルがディスク上分断されて配置されていたら連続になるようにディスクに書き込む処理を実行する。この時、デフラグメンテーションツール24は、仮想HDD用ドライバ23に対し要求を出す(図1の矢印(1))。すると、仮想HDD用ドライバ23は、ディスクドライバ22及び仮想環境ソフト13を介して(図1の矢印(2))、図2(b)に示すように、要求されたデータ移動元から移動先にコピーする(ステップS2,S21,S22(データ整理工程))。同時に、仮想HDD用ドライバ23は、ディスクドライバ22及び仮想環境ソフト13を介して(図1の矢印(3))、図2(b)に示すように、移動元に未使用マーク「0」の記述を自動的に行う(ステップS3,S31,S32(未使用領域情報書込工程))。なお、仮想HDD用ドライバ23からの要求は逐次ディスクドライバ22に渡され、その延長でホストOSを介して仮想ディスク20に書き込みを行う。   When the defragmentation tool 24 is executed on the virtual machine, that is, on the guest OS (step S1), the defragmentation tool 24 inquires the file system 21, and if the file is divided and arranged on the disk. Execute the process of writing to the disc so that it is continuous. At this time, the defragmentation tool 24 issues a request to the virtual HDD driver 23 (arrow (1) in FIG. 1). Then, the virtual HDD driver 23 moves from the requested data migration source to the migration destination via the disk driver 22 and the virtual environment software 13 (arrow (2) in FIG. 1), as shown in FIG. 2 (b). Copy (steps S2, S21, S22 (data rearranging step)). At the same time, the virtual HDD driver 23 passes the disk driver 22 and the virtual environment software 13 (arrow (3) in FIG. 1) and sets the unused mark “0” at the movement source as shown in FIG. Description is automatically performed (steps S3, S31, S32 (unused area information writing step)). Requests from the virtual HDD driver 23 are sequentially transferred to the disk driver 22 and written to the virtual disk 20 via the host OS as an extension.

このように、デフラグメンテーションが実行されて仮想ディスク20でデータの移動が生じ、これに伴い、移動元にてデータの削除が生じると、当該データ削除記憶領域は未使用状態となり、未使用情報である「0」が書き込まれる。なお、未使用を表す情報は「0」であることに限定されない。また、本実施例では、デフラグメンテーションを経由して未使用領域が生じたときに未使用領域情報を記憶しているが、実施例2で説明するように、通常の書込み時に未使用領域が生じた場合に、未使用領域情報を記憶するよう作動してもよい。   As described above, when defragmentation is executed and data is moved in the virtual disk 20, and data is deleted at the transfer source, the data deletion storage area becomes unused, and unused information is stored in the unused information. A certain “0” is written. Note that the information indicating unused is not limited to “0”. In this embodiment, unused area information is stored when an unused area is generated through defragmentation. However, as described in the second embodiment, an unused area is generated during normal writing. In such a case, the unused area information may be stored.

上記のように作動することで、デフラグメンテーションツール24が実行されるだけで、ホストOS上から未使用領域が識別できるようになる。そして、デフラグメンテーションの作動完了後に、ホストOS上の圧縮ユーティリティB(12)を実行することで、上記「0」が記憶されている仮想ディスク20に記述された未使用領域を検出し(図1の矢印(4))、その領域を削除して圧縮処理が実行される(ステップS4、図2(c)参照(領域削除工程))。   By operating as described above, an unused area can be identified from the host OS only by executing the defragmentation tool 24. Then, after completion of the defragmentation operation, an unused area described in the virtual disk 20 in which “0” is stored is detected by executing the compression utility B (12) on the host OS (FIG. 1). Arrow (4)), the area is deleted and the compression process is executed (step S4, see FIG. 2C (area deletion step)).

以上により、仮想空間上で、特に、仮想OS上で動作する仮想HDD用ドライバ23を組み込むことで、別途、仮想ディスク内の未使用領域を検出するアプリケーションを必要とせず、仮想ディスクファイルの圧縮が容易に行うことができる。従って、仮想環境アプリケーションを提供するメーカは、アプリケーション開発労力を軽減することができると共に、サポートするゲストOSの充実化を図ることができる。さらには、ユーザは、別途、未使用領域を検出するアプリケーションを組み込む必要がないため、利便性の向上を図ることができる。   As described above, by incorporating the virtual HDD driver 23 that operates on the virtual space, particularly on the virtual OS, it is possible to compress the virtual disk file without separately requiring an application for detecting an unused area in the virtual disk. It can be done easily. Therefore, a manufacturer that provides a virtual environment application can reduce application development effort and enhance the guest OS to be supported. Furthermore, since the user does not need to separately incorporate an application for detecting an unused area, the convenience can be improved.

次に、本発明の第2の実施例を、図4乃至6を参照して説明する。図4は、本実施例におけるコンピュータの構成を示すブロック図である。図5は、記憶領域の状態を示す説明図であり、図6は、動作を示すフローチャートである。   Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 4 is a block diagram showing the configuration of the computer in this embodiment. FIG. 5 is an explanatory diagram showing the state of the storage area, and FIG. 6 is a flowchart showing the operation.

[構成]
まず、本実施例におけるコンピュータ(情報処理装置)の構成を説明する。本実施例のコンピュータは、上述した実施例1の場合とほぼ同様の構成を採っている。つまり、まず、図4に示すように、コンピュータ全体の動作を制御するホストオペレーティングシステム1(ホストOS)が組み込まれていて、ホストマシンが実現されている。
[Constitution]
First, the configuration of the computer (information processing apparatus) in this embodiment will be described. The computer according to the present embodiment has substantially the same configuration as that of the first embodiment described above. That is, first, as shown in FIG. 4, a host operating system 1 (host OS) that controls the operation of the entire computer is incorporated, and a host machine is realized.

また、コンピュータ内には、ホストオペレーティングシステム上で動作する実機をエミュレートした仮想マシン(仮想コンピュータ)が構築されている。この仮想マシンは、ホストOSに組み込まれた仮想環境ソフトウェア13が実行されることによって、CPUにゲストオペレーティングシステム(以下、ゲストOSと呼ぶ)(仮想オペレーティングシステム)が構築されることによって実現されている。具体的に、ゲストOSは、図4に示すように、ファイルシステム21と、ディスクドライバ22と、仮想HDD用ドライバ23’と、を備えており、また、ゲストOSにて使用される記憶領域として、記憶装置に仮想ディスク20が構築されている。そして、特に、本実施例では、仮想HDD用ドライバ23’が、ファイルシステム21からの個々の要求に応じて作動し、ディスクドライバ22に要求を出すよう構成されている。つまり、ファイルシステム21によるデータの書込みなどの要求を仮想HDD用ドライバ23’が受けるよう構成されており、ファイルシステム21から仮想ディスク20にデータの削除要求が生じた場合に、仮想HDD用ドライバ23’によって、実施例1同様に、ディスクドライバ22を介してデータが削除されると共に、これによって生成されたデータ削除記憶領域に対して未使用領域であることを表す未使用領域情報(例えば、「0」)が書き込まれる。   In addition, a virtual machine (virtual computer) emulating a real machine operating on a host operating system is built in the computer. This virtual machine is realized by constructing a guest operating system (hereinafter referred to as guest OS) (virtual operating system) on the CPU by executing the virtual environment software 13 incorporated in the host OS. . Specifically, as shown in FIG. 4, the guest OS includes a file system 21, a disk driver 22, and a virtual HDD driver 23 ′, and as a storage area used by the guest OS. The virtual disk 20 is constructed in the storage device. In particular, in this embodiment, the virtual HDD driver 23 ′ operates in response to individual requests from the file system 21 and issues a request to the disk driver 22. That is, the virtual HDD driver 23 ′ is configured to receive a request for writing data by the file system 21, and when a data deletion request is generated from the file system 21 to the virtual disk 20, the virtual HDD driver 23 is configured. As in the first embodiment, 'is used to delete data via the disk driver 22, and unused area information (for example, " 0 ") is written.

なお、本実施例における仮想HDD用ドライバ23’のインストールも、上述同様に、仮想環境を構築すべくゲストOSをインストールしたときに自動認識実行もしくはユーザにより行われる。   Note that the installation of the virtual HDD driver 23 ′ in the present embodiment is also performed by automatic recognition or by the user when a guest OS is installed to construct a virtual environment, as described above.

また、ホストOS側に構築されている圧縮ユーティリティB(12)も、上記実施例1と同様に、ホストOS上で作動するよう組み込まれたアプリケーションであって、仮想ディスク内に記述された未使用領域を検出し、その領域を削除するよう作動する。   Also, the compression utility B (12) built on the host OS side is an application that is installed to operate on the host OS, as in the first embodiment, and is unused in the virtual disk. Operates to detect a region and delete it.

[動作]
次に、本実施例におけるコンピュータの動作を説明する。まず、仮想マシンで使用されている仮想ディスク20は、図5(a)に示す使用状態であるとする。この図では、斜線部分にデータが記憶されていることを示している。
[Operation]
Next, the operation of the computer in this embodiment will be described. First, it is assumed that the virtual disk 20 used in the virtual machine is in the usage state shown in FIG. This figure shows that data is stored in the shaded area.

そして、仮想マシン上、つまり、ゲストOS上で、ファイルシステム21から仮想HDD用ドライバ23’に対してデータの処理要求が出される(ステップS101、図4の矢印(11))。ここでは、所定の記憶領域のデータの削除、及び、データの移動の要求が出されたとする。すると、仮想HDD用ドライバ23’は、ディスクドライバ22及び仮想環境ソフト13を介して(図4の矢印(12))、図5(b)に示すように、データを削除し、また、データ移動元から移動先にコピーする(ステップS102)。同時に、仮想HDD用ドライバ23’は、ディスクドライバ22及び仮想環境ソフト13を介して、図2(b)に示すように、削除した記憶領域及びデータの移動元であった記憶領域に未使用マーク「0」の記述を自動的に行う(ステップS103(未使用領域情報書込工程))。   Then, on the virtual machine, that is, on the guest OS, a data processing request is issued from the file system 21 to the virtual HDD driver 23 '(step S101, arrow (11) in FIG. 4). Here, it is assumed that a request to delete data in a predetermined storage area and to move data are issued. Then, the virtual HDD driver 23 ′ deletes the data and moves the data via the disk driver 22 and the virtual environment software 13 (arrow (12) in FIG. 4) as shown in FIG. 5B. Copy from the source to the destination (step S102). At the same time, as shown in FIG. 2B, the virtual HDD driver 23 ′ uses the disk driver 22 and the virtual environment software 13 to mark unused marks in the deleted storage area and the storage area from which the data was moved. Description of “0” is automatically performed (step S103 (unused area information writing step)).

その後、任意のタイミングで、ホストOS上の圧縮ユーティリティB(12)を実行すると、上記「0」が記憶されている仮想ディスク20に記述された未使用領域を検出し(図4の矢印(13))、その領域を削除する(ステップS104、図5(c)参照(領域削除工程))。   Thereafter, when the compression utility B (12) on the host OS is executed at an arbitrary timing, an unused area described in the virtual disk 20 storing “0” is detected (arrow (13) in FIG. 4). )), The area is deleted (step S104, see FIG. 5C (area deletion step)).

上記のように作動することで、仮想ディスク内に未使用領域が生じると、迅速に未使用領域情報が記憶され、かかる未使用領域をホストOS上から迅速かつ容易に識別できるようになる。従って、頻繁にホストOS上の圧縮ユーティリティB(12)を実行することで、常に仮想ディスクの容量の増大を抑制することができる。そして、これに加え、ある期間が経過した後に、実施例1で説明したデフラグメンテーションツール24を実行して、記憶装置内のデータ配置を整理することで、コンピュータの処理性能の劣化を抑制することができる。   By operating as described above, when an unused area occurs in the virtual disk, the unused area information is quickly stored, and the unused area can be quickly and easily identified from the host OS. Therefore, by frequently executing the compression utility B (12) on the host OS, an increase in the capacity of the virtual disk can always be suppressed. In addition to this, after a certain period of time has elapsed, the defragmentation tool 24 described in the first embodiment is executed to organize the data arrangement in the storage device, thereby suppressing deterioration in processing performance of the computer. Can do.

本発明は、複数のオペレーティングシステムが組み込まれ、仮想マシンが構築されたコンピュータに利用することで、記憶容量の圧縮を容易に行うことができ、産業上の利用可能性を有する。   The present invention can be used for a computer in which a plurality of operating systems are incorporated and a virtual machine is constructed, so that the storage capacity can be easily reduced and has industrial applicability.

実施例1におけるコンピュータの構成を示す機能ブロック図である。FIG. 3 is a functional block diagram illustrating a configuration of a computer according to the first embodiment. 実施例1における仮想ディスク内の様子を示す説明図である。FIG. 3 is an explanatory diagram illustrating a state in a virtual disk according to the first embodiment. 実施例1におけるコンピュータの動作を示すフローチャートである。3 is a flowchart illustrating an operation of a computer according to the first exemplary embodiment. 実施例2におけるコンピュータの構成を示す機能ブロック図である。FIG. 10 is a functional block diagram illustrating a configuration of a computer according to a second embodiment. 実施例2における仮想ディスク内の様子を示す説明図である。It is explanatory drawing which shows the mode in the virtual disk in Example 2. FIG. 実施例2におけるコンピュータの動作を示すフローチャートである。10 is a flowchart illustrating the operation of a computer according to the second embodiment. 従来例におけるコンピュータの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the computer in a prior art example. 従来例における仮想ディスク内の様子を示す説明図である。It is explanatory drawing which shows the mode in the virtual disk in a prior art example. 従来例における仮想ディスク内の様子を示す説明図である。It is explanatory drawing which shows the mode in the virtual disk in a prior art example. 従来例におけるコンピュータの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the computer in a prior art example.

符号の説明Explanation of symbols

1 ホストOS
12 圧縮ユーティリティB
13 仮想環境ソフト
20 仮想ディスク
21 ファイルシステム
22 ディスクドライバ
23,23’ 仮想HDD用ドライバ
24 デフラグメンテーションツール
1 Host OS
12 Compression utility B
13 Virtual Environment Software 20 Virtual Disk 21 File System 22 Disk Driver 23, 23 ′ Virtual HDD Driver 24 Defragmentation Tool

Claims (8)

演算装置と記憶装置とを備え、前記演算装置に構築された仮想オペレーティングシステムと、当該仮想オペレーティングシステムにて使用される前記記憶装置に形成された記憶領域である仮想ディスクと、を備えた仮想コンピュータが構築された情報処理装置であって、
情報処理装置全体の動作を制御するホストオペレーティングシステムが前記演算装置に組み込まれて情報処理装置内にホストコンピュータが構築されており、
前記仮想コンピュータは、前記仮想オペレーティングシステム上で作動する前記仮想ディスク内に記憶されているデータの記憶領域の配置整理を行うデータ整理手段を備え、
前記仮想オペレーティングシステムは、前記仮想ディスク内で、前記データ整理手段の作動によって生じた前記仮想ディスク内に記憶されている所定のデータの移動によって当該データが削除されときに、当該データが削除されたデータ削除記憶領域に対して当該記憶領域が未使用領域であることを表す未使用領域情報を書き込む機能を有し、
前記ホストコンピュータが、前記記憶装置内で前記未使用領域情報が書き込まれた記憶領域を前記仮想ディスク内から削除する領域削除手段を備えた、
ことを特徴とする情報処理装置。
E Bei an arithmetic unit and a storage device, comprising: a virtual operating system built before Symbol computing device, and a virtual disk which is a storage area formed in the storage device used by the virtual operating system An information processing apparatus in which a virtual computer is constructed,
A host operating system that controls the operation of the entire information processing apparatus is incorporated in the arithmetic device, and a host computer is constructed in the information processing apparatus.
The virtual computer comprises data organizing means for arranging and arranging storage areas of data stored in the virtual disk operating on the virtual operating system,
The virtual operating system deletes the data when the data is deleted by the movement of predetermined data stored in the virtual disk generated by the operation of the data organizing means in the virtual disk . the storage area have a function of writing the unused area information indicating that the unused area for data deletion storage area,
The host computer includes an area deletion unit that deletes the storage area in which the unused area information is written in the storage device from the virtual disk.
An information processing apparatus characterized by that.
前記データ整理手段は、前記仮想ディスクに記憶されている同一ファイルを構成する各データが前記記憶領域内で連続に配置されるようデータの移動を行う、
ことを特徴とする請求項記載の情報処理装置。
The data organizing means moves data so that each data constituting the same file stored in the virtual disk is continuously arranged in the storage area.
The information processing apparatus according to claim 1 .
前記ホストコンピュータの領域削除手段は、前記データ整理手段の作動が終了した後に作動する、
ことを特徴とする請求項1又は2記載の情報処理装置。
The area deletion means of the host computer operates after the operation of the data organizing means ends.
The information processing apparatus according to claim 1 or 2 .
前記仮想オペレーティングシステムは、前記仮想ディスクに対するデータの記録再生を行うディスクドライバと、前記仮想ディスクに対するデータの配置を管理するファイルシステムと、このファイルシステムにて管理されているデータの配置に基づいて前記ディスクドライバを介して前記仮想ディスクの記憶領域を管理する仮想ディスク用ドライバと、を備え、
前記仮想ディスク用ドライバが、前記仮想ディスク内に記憶されている所定のデータの削除時に、このデータ削除記憶領域に対して未使用領域を表す未使用領域情報を書き込む、
ことを特徴とする請求項1,2又は3記載の情報処理装置
The virtual operating system includes a disk driver that records and reproduces data with respect to the virtual disk, a file system that manages the arrangement of data with respect to the virtual disk, and the arrangement of data managed by the file system. A virtual disk driver that manages the storage area of the virtual disk via a disk driver,
When the virtual disk driver deletes predetermined data stored in the virtual disk, it writes unused area information representing an unused area to the data deletion storage area.
The information processing apparatus according to claim 1, 2, or 3 .
演算装置と記憶装置とを備え、前記演算装置に構築された仮想オペレーティングシステムと、当該仮想オペレーティングシステムにて使用される前記記憶装置に形成された記憶領域である仮想ディスクと、を備えた仮想コンピュータが構築された情報処理装置による情報処理方法であって、
前記情報処理装置が前記仮想オペレーティングシステム上で前記仮想ディスク内に記憶されているデータの記憶領域の配置整理を行うデータ整理工程を有すると共に、このデータ整理工程によって生じた前記仮想ディスク内に記憶されている所定のデータの移動によって当該データが削除されたときに、前記仮想オペレーティングシステムが、データが削除されたデータ削除記憶領域に対して未使用領域であることを表す未使用領域情報を書き込む未使用領域情報書込工程を有し、
前記未使用領域情報書込工程の後に、前記情報処理装置が前記記憶装置内で前記未使用領域情報が書き込まれた領域を前記仮想ディスクから削除する領域削除工程を有する、
ことを特徴とする情報処理方法。
E Bei an arithmetic unit and a storage device, comprising: a virtual operating system built before Symbol computing device, and a virtual disk which is a storage area formed in the storage device used by the virtual operating system An information processing method by an information processing apparatus in which a virtual computer is constructed,
The information processing apparatus has a data organizing process for organizing the storage area of data stored in the virtual disk on the virtual operating system, and is stored in the virtual disk generated by the data organizing process. When the data is deleted by moving the predetermined data, the virtual operating system does not write unused area information indicating that it is an unused area to the data deletion storage area from which the data has been deleted. Use area information writing process ,
After the unused area information writing step, the information processing apparatus has an area deleting step of deleting an area in which the unused area information is written in the storage device from the virtual disk.
An information processing method characterized by the above.
前記データ整理工程は、前記仮想ディスクに記憶されている同一ファイルを構成する各データが前記記憶領域内で連続に配置されるようデータの移動を行う、
ことを特徴とする請求項記載の情報処理方法。
The data rearranging step moves data so that each data constituting the same file stored in the virtual disk is continuously arranged in the storage area.
The information processing method according to claim 5 .
前記領域削除工程は、前記データ整理工程が終了した後に作動する、
ことを特徴とする請求項5又は6記載の情報処理方法。
The region deletion step operates after the data organization step is completed.
The information processing method according to claim 5 or 6 .
演算装置と記憶装置とを備えた情報処理装置に、
前記演算装置に構築された仮想オペレーティングシステムと、当該仮想オペレーティングシステムにて使用される前記記憶装置に形成された記憶領域である仮想ディスクと、を備えた仮想コンピュータと、
前記演算装置に組み込まれた情報処理装置全体の動作を制御するホストオペレーティングシステムが組み込まれたホストコンピュータと、
を実現させるプログラムであって、
前記仮想コンピュータは、前記仮想オペレーティングシステム上で作動する前記仮想ディスク内に記憶されているデータの記憶領域の配置整理を行うデータ整理手段を備え、
前記仮想オペレーティングシステムは、前記仮想ディスク内で、前記データ整理手段の作動によって生じた前記仮想ディスク内に記憶されている所定のデータの移動によって当該データが削除されときに、当該データが削除されたデータ削除記憶領域に対して当該記憶領域が未使用領域であることを表す未使用領域情報を書き込む機能を有し、
前記ホストコンピュータが、前記記憶装置内で前記未使用領域情報が書き込まれた記憶領域を前記仮想ディスク内から削除する領域削除手段を備えた、
プログラム。
In an information processing apparatus provided with an arithmetic device and a storage device,
A virtual computer comprising: a virtual operating system constructed in the computing device; and a virtual disk that is a storage area formed in the storage device used in the virtual operating system;
A host computer incorporating a host operating system that controls the operation of the entire information processing apparatus incorporated in the arithmetic unit;
Is a program that realizes
The virtual computer comprises data organizing means for arranging and arranging storage areas of data stored in the virtual disk operating on the virtual operating system,
The virtual operating system deletes the data when the data is deleted by the movement of predetermined data stored in the virtual disk generated by the operation of the data organizing means in the virtual disk. A function to write unused area information indicating that the storage area is an unused area to the data deletion storage area,
The host computer includes an area deletion unit that deletes the storage area in which the unused area information is written in the storage device from the virtual disk.
program.
JP2007072337A 2007-03-20 2007-03-20 Information processing apparatus, information processing method, and program Expired - Fee Related JP4765967B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007072337A JP4765967B2 (en) 2007-03-20 2007-03-20 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007072337A JP4765967B2 (en) 2007-03-20 2007-03-20 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2008234268A JP2008234268A (en) 2008-10-02
JP4765967B2 true JP4765967B2 (en) 2011-09-07

Family

ID=39906967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007072337A Expired - Fee Related JP4765967B2 (en) 2007-03-20 2007-03-20 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP4765967B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5534135B2 (en) * 2009-03-31 2014-06-25 日本電気株式会社 Information processing apparatus, information processing method, and program
CN101986285B (en) * 2010-11-03 2012-09-19 华为技术有限公司 Virtual machine storage space management method, system and physical host
US8850156B2 (en) 2010-11-03 2014-09-30 Huawei Technologies Co., Ltd. Method and system for managing virtual machine storage space and physical host
US8904136B2 (en) * 2011-03-15 2014-12-02 Symantec Corporation Optimized shrinking of virtual disks

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01236488A (en) * 1988-03-16 1989-09-21 Matsushita Electric Ind Co Ltd Rewritable type optical disk control system
JP3944280B2 (en) * 1997-07-08 2007-07-11 株式会社日立製作所 Failure recovery method and apparatus
JP2001312483A (en) * 2000-04-28 2001-11-09 Hitachi Ltd Data sharing method
JP4438457B2 (en) * 2003-05-28 2010-03-24 株式会社日立製作所 Storage area allocation method, system, and virtualization apparatus
JP2007249728A (en) * 2006-03-17 2007-09-27 Toshiba Corp Disk array device

Also Published As

Publication number Publication date
JP2008234268A (en) 2008-10-02

Similar Documents

Publication Publication Date Title
JP4422652B2 (en) Incremental merge method and memory system using the same
TWI531963B (en) Data storage systems and their specific instruction enforcement methods
US20160054936A1 (en) Information processing system and nonvolatile storage unit
US20110113075A1 (en) Garbage collection program, garbage collection method, and garbage collection system
JP6691669B2 (en) Information processing system, storage control device, storage control method, and storage control program
JP5314158B2 (en) Method and computer readable medium for prestaging data based on dynamic storage tiering configuration
KR101447188B1 (en) Method and apparatus for controlling I/O to optimize flash memory
EP2665065A2 (en) Electronic device employing flash memory
WO2017006675A1 (en) Information processing system, storage control device, storage control method, and storage control program
JP6823734B2 (en) Solid state disk access
KR20000022716A (en) Efficient volume copy using pre-configuration of log structured target storage
JP4765967B2 (en) Information processing apparatus, information processing method, and program
US20090094299A1 (en) Apparatus and method for defragmenting files on a hydrid hard disk
JPWO2007099636A1 (en) File system migration method, file system migration program, and file system migration apparatus
JP5074676B2 (en) Device controller
JP5729479B2 (en) Virtual tape device and control method of virtual tape device
JP2007148546A (en) System, device, and method for reading out data
KR100954603B1 (en) A log file of file system and method for recovering file system
JP2006313531A (en) File management system
US20150012691A1 (en) Storage control apparatus, control program, and control method
JP4841408B2 (en) Volume migration program and method
JP6988445B2 (en) Storage system, control device and control method
JP5002944B2 (en) Information processing apparatus, imaging apparatus, information processing method, and computer program
EP2381354A2 (en) Data recording device
US9740434B2 (en) Storage device and control method

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110422

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110530

R150 Certificate of patent or registration of utility model

Ref document number: 4765967

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140624

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees