Virtual machine disk space expansion method and apparatus

A virtual machine disk and disk space technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve the problems of time-consuming, complex moving data files, etc., and achieve the effect of reducing additional consumption

Inactive Publication Date: 2018-03-27
SANGFOR TECH INC
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for expanding the disk space of a virtual machine, which avoids the complicated and time-consuming problem of moving data files in the process of partition expansion of the common Windows operating system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine disk space expansion method and apparatus
  • Virtual machine disk space expansion method and apparatus
  • Virtual machine disk space expansion method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The embodiment of the present invention provides a method and device for expanding the disk space of a virtual machine, which can realize the dynamic expansion of the virtual machine disk as a whole or the target partition without affecting other subsequent partitions without shutting down the virtual machine usage of. At the same time, in the process of partition expansion, there is basically no need to move the data of the disk files in the virtual machine, reducing the additional consumption of IO.

[0040] To enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments of some, but not all, embodiments of the present invention. Based on the embodiments of the present inv...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the invention disclose a virtual machine disk space expansion method and apparatus, which is used for the technical field of virtual machines. The method comprises the steps of obtaining an instruction of performing expansion on a virtual machine disk space, and allocating a new blank disk space to a target partition; modifying a partition table of a virtual machine disk, and expanding the disk space of the target partition; and when the expanded disk space of the target partition in the partition table of the virtual machine disk is indexed, mapping the expanded disk space of the target partition to a corresponding region in the blank disk space. Under the condition that a virtual machine is not shut down, the whole virtual machine disk or the target partition can be dynamically expanded, and the subsequent use of other partitions is not influenced. Meanwhile, in the partition expansion process, data of disk files in the virtual machine basically does not need to be moved, so that additional consumption of IO is reduced.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method and device for expanding disk space of a virtual machine. Background technique [0002] For users of Windows operating system, they all hope that their C drive has enough space, but the space of the computer C drive they often use is not ideal. In terms of existing technology implementation, it is generally to install a partition tool, such as Partition Magic , to expand the C drive space. [0003] But this approach has certain limitations. Generally speaking, if figure 1 As shown, another D partition will be allocated immediately after the C partition. When the data has been saved in the D partition, the expansion of the C partition can only be realized by completely merging the C partition and the D partition. At the same time, because It is a system partition, and the system needs to be restarted to expand the partition. In the process of partition expans...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0626G06F3/0665G06F3/0674
Inventor 张谦
Owner SANGFOR TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products