Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for dynamic expansion of logical volume based on logical volume manager (LVM)

A technology of dynamic expansion and logical volume, applied in the direction of input/output to record carrier, etc., which can solve the problems that the capacity of the underlying logical volume cannot be expanded and allocated, and the utilization rate of disk space cannot be improved.

Active Publication Date: 2016-11-30
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the capacity of the underlying logical volume cannot be dynamically expanded and allocated according to the upper-level business in real time, the disk space utilization rate cannot be improved.

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 system for dynamic expansion of logical volume based on logical volume manager (LVM)
  • Method and system for dynamic expansion of logical volume based on logical volume manager (LVM)
  • Method and system for dynamic expansion of logical volume based on logical volume manager (LVM)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The core of the present invention is to provide a method and system for dynamic expansion of logical volumes based on LVM, which can dynamically expand capacity in real time according to upper-level business, and dynamically allocate the capacity of bottom-level logical volumes on demand, thereby improving disk space utilization.

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[00...

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 dynamic expansion of a logical volume based on a logical volume manager (LVM). The method comprises the steps of utilizing a qemu command to convert a mapping file of a logical volume into a qcow2 file format, and triggering a capacity maximum upper limit value of a bottom layer logical volume through an issued write IO; obtaining an undercapacity error reported by a virtual disk in libvirt, and recording a corresponding virtual machine name, a virtual machine id and a virtual disk path; searching a corresponding logical volume according to the virtual disk path, and judging whether expansion conditions are met; if the expansion conditions are met, executing expansion operation on the logical volume, and restarting a virtual machine according to the virtual machine name and the virtual machine id. According to the method, dynamic expansion can be performed in real time according to an upper layer service, the capacity of the bottom layer logical volume is distributed dynamically as required, and thus the disk space utilization rate is improved. The invention further discloses a system for dynamic expansion of the logical volume based on the LVM.

Description

technical field [0001] The invention relates to the field of cloud computing storage virtualization, in particular to a method and system for dynamically expanding the capacity of logical volumes based on LVM. Background technique [0002] KVM (Kernel Virtual Machine) virtualization has been supported by most Linux systems. It is a complete hardware-based virtualization that requires hardware support (such as Inter VT technology or AMDV technology), and mainly supports virtualization management of CPU and memory. qemu mainly simulates IO devices such as disks and network cards. The technology based on qemu-KVM is a complete simulator, which can provide a complete simulation environment of CPU, memory, network, IO and so on. libvirt is a software collection that provides a single way to provide a variety of virtualization management methods and hypervisors, and provides developers or managers with a variety of API libraries and command line tools for managing virtual machin...

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
IPC IPC(8): G06F3/06
Inventor 方浩马怀旭苏广峰赵祯龙
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More