A cloud hard disk capacity expansion method and device

A cloud hard disk and cloud host technology, applied in the field of cloud computing, can solve problems such as inconsistency in the virtual size of storage space images, incomplete copying of mirror data, and cloud host startup failures, so as to improve the success rate, ensure integrity, and avoid startup failures Effect

Inactive Publication Date: 2019-03-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the space may remain unused, resulting in underutilization of storage capacity
), resulting in an inconsistency between the size of the actual storage space occupied by the mirror and the virtual size of the mirror
When using the QCOW2 image to specify the cloud hard disk to create a cloud host, it will appear that the size of the specified cloud hard disk is smaller than the virtual size of the QCOW2 image. Although a prompt will be given, the creation of the cloud host will continue. During the creation process It is necessary to copy data from the image to the target cloud hard disk of the cloud host (that is, the system disk of the cloud host), so that the mirror data cannot be completely copied to the cloud hard disk of the cloud host
When starting the cloud host, the cloud host will fail to start due to lack of data

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
  • A cloud hard disk capacity expansion method and device
  • A cloud hard disk capacity expansion method and device
  • A cloud hard disk capacity expansion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0040] figure 1 It is a schematic diagram of a cloud hard disk expansion method according to an embodiment of the present invention, such as figure 1 As shown, the cloud hard disk expansion method in this embodiment includes:

[0041] S11. Receive a request for creating a cloud host through mirroring.

[0042] Wherein, the request may include the size of the cloud hard disk of the cloud host to be created. The image may be an image in QCOW2 format.

[0043] S12. Acquire the virtual size of the image.

[0044] In an exemplary embodiment, it can be judged whether the curren...

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 cloud hard disk expansion method, which comprises the following steps of receiving a request for creating a cloud host through a mirror image, the request comprising the sizeof a cloud hard disk of a cloud host to be created; acquiring the virtual size of the mirror image; and if the size of the cloud hard disk is smaller than the virtual size of the mirror image and thedifference value between the size of the cloud hard disk and the virtual size of the mirror image is smaller than an available storage space stored at a rear end, expanding the cloud hard disk. The invention further discloses a cloud hard disk capacity expansion device. The method and the device provided by the invention solve the problem that the size of the cloud hard disk is smaller than the virtual size of the mirror image when the cloud platform selects the mirror image and specifies the cloud hard disk to create the cloud host.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to a method for expanding the capacity of a cloud hard disk in the field of cloud computing. Background technique [0002] With the prevalence of cloud computing technology today, an efficient and easy-to-use cloud platform is the cornerstone of a firm foothold. When the cloud platform uses the QCOW2 image to create a cloud host, the image is downloaded from the remote end to the local, because the shared storage (such as ceph shared storage) supports the thin provisioning mode (thin provisioning is a method of allocating storage space in a flexible and on-demand manner) A method to optimize storage utilization. Thin provisioning is very different from the traditional model (called thick provisioning). With thick provisioning, a large amount of storage space is provided up front to meet future storage needs. However, the space may have been unused, which will lead to The storage capa...

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/06H04L29/08
CPCH04L67/1095G06F3/0665G06F3/067
Inventor 张百林苏广峰
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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