Method and device for thinning virtual machine disk

A virtual machine disk and disk technology, applied in the direction of input/output to the record carrier, etc., can solve the problem of low disk space utilization, and achieve the effect of improving the utilization rate

Active Publication Date: 2022-04-15
SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention discloses a method and device for compacting virtual machine disks, which solves the problem of low utilization of disk space in the prior art

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
  • Method and device for thinning virtual machine disk
  • Method and device for thinning virtual machine disk
  • Method and device for thinning virtual machine disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0052] After research, the applicant found that storing files in the qcow2 format on centralized storage would lead to inaccurate planning of storage space usage. In order to solve the above problems, this technical solution proposes a method and device for streamlining virtual machine disks , including: create the virtual machine disk image in the preset logical volume, and calculate the actual disk size used in the virtual machine disk image when the current ...

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

The invention discloses a method and device for streamlining a virtual machine disk, comprising: creating a virtual machine disk image in a preset logical volume, and calculating the actual volume in the virtual machine disk image when the current virtual machine disk image is qcow2 The size of the used disk; obtaining the size of the logical volume where the virtual machine disk image is located; and expanding the capacity of the logical volume according to the actual size of the disk used by the virtual machine disk image. It can be seen from this that the storage space is expanded according to the actual size of the disk used, thus improving the utilization rate of the disk space.

Description

[0001] This application claims the priority of the domestic application submitted to the China Patent Office on July 10, 2018, with the application number 201810750715.7, and the title of the invention is "A Method and Device for Streamlining Virtual Machine Disks", the entire content of which is incorporated herein by reference. Applying. technical field [0002] The invention relates to the field of data storage, in particular to a method and device for streamlining virtual machine disk images. Background technique [0003] In a virtualization system, in order to meet increasing storage requirements and improve storage efficiency, data is usually stored in a thin disk manner. Disk thinning can be understood as using the host file system hole technology to save the physical disk space occupied by the virtual machine disk to achieve on-demand growth. For example: Assuming that a thin virtual machine with a disk size of 100G is created, the initial physical space occupied by...

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 Patents(China)
IPC IPC(8): G06F3/06
Inventor 佘文魁杨帆许成林何明阳田富强何亮杜平刘俊
Owner SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD
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