Method and device for expanding capacity of virtual disk

A virtual disk and target disk technology, applied in the field of virtualization, can solve problems such as low feasibility and high technical complexity

Active Publication Date: 2018-03-13
ALIBABA GRP HLDG LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] This application provides a method for expanding the capacity of a virtual disk to solve the problems of low feasibility and high technical complexity 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 expanding capacity of virtual disk
  • Method and device for expanding capacity of virtual disk
  • Method and device for expanding capacity of virtual disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0114] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0115] The present application provides a method for expanding the capacity of a virtual disk, and the present application also provides a device for expanding the capacity of a virtual disk, and an electronic device. The following describes in detail one by one with reference to the drawings of the embodiments provided in the present application, and describes each step of the method.

[0116] An embodiment of a method for expanding the capacity of a virtual disk provided by this application is as follows:

[0117]...

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 for expanding the capacity of a virtual disk, which includes the following steps: creating a virtual disk file according to a preset system image and a target disk capacity value contained in a received capacity expansion request; mounting the virtual disk file to a physical host, and generating a corresponding virtual disk; reading the partition information of thevirtual disk; deleting a to-be-expanded partition of the virtual disk, and creating a new partition according to the partition capacity value and the expansion value of the to-be-expanded partition;and reading the file system of the virtual disk, and expanding the capacity of the file system to make the file system adapt to the new partition. The method for expanding the capacity of a virtual disk is implemented based on a physical host, shortens the I / O path, and improves the I / O efficiency. Meanwhile, there is no need to start a virtual machine on a physical host in the capacity expansionprocess of a virtual disk, the capacity is expanded before the startup of the virtual machine, and the technological complexity and the coupling degree are reduced.

Description

technical field [0001] The present application relates to the technical field of virtualization, in particular to a method for expanding the capacity of a virtual disk. The present application also relates to a device for expanding the capacity of a virtual disk, and an electronic device. Background technique [0002] In the elastic computing cloud, the cloud provider will provide a series of system images for each operating system platform. In practical applications, the provided system images are used to create virtual disks and virtual machines (Virtual Machine, VM), and finally in The operating system (GuestOS) is loaded on the virtual machine. For the cloud provider, since the capacity value range of the virtual disk is too large, for example, from 100G unit level to 10T or even 100T unit level virtual disk, the number of system images provided by the cloud provider is limited, based on these system The capacity value of the virtual disk created by the image is also l...

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): H04L29/08
CPCH04L67/1008H04L67/1097G06F3/0607G06F3/0683G06F3/0665G06F3/0644G06F9/441G06F9/45558G06F2009/45562G06F2221/2145G06F2009/45579G06F2009/45583G06F3/0619G06F3/0626G06F3/0689
Inventor 彭磊
Owner ALIBABA GRP HLDG 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