Expansion method of logical volume storage space

A technology of storage space and expansion method, which is applied to continuously expand the storage space of logical volumes, and can solve the problems of affecting data reading and writing performance, waste of space, and discontinuous space as data is continuously written to the logical volume in the dynamic field.

Inactive Publication Date: 2010-01-06
INVENTEC CORP
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example: Before creating a logical volume, it is estimated that the logical volume needs to support 256GB of storage space, but in fact only 64GB of data is used, and the remaining space is wasted
[0007] Although many logical volume managers (Logical Volume Manager) support the function of shrinking and expanding the logical volume storage space, the shrinking function of the logical volume storage space is rarely used in practical applications, because it is difficult to predict Will the remaining space still be used? At present, the expansion function of the logical volume storage s...

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
  • Expansion method of logical volume storage space
  • Expansion method of logical volume storage space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

[0018] now refer to figure 1 , this figure is a method flowchart of a method for expanding a logical volume storage space according to the present invention, as shown in the figure, the dynamic expansion method for a logical volume storage space of the present invention includes the following steps:

[0019] Use the logical volume manager to create logical volumes, and allocate storage space for the logical volumes according to the proportion of allocated user-specified space, as in step 100, wherein the proportion of allocated user-specified space can be freely set by the user or system administrator, and can also be set by the system default value;

[0020] Reserve a section of continuous expansion space behind the allocated storage space, such as step 200, wherein the size of the expansion space reserved for the first time can be set by the syste...

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

An expansion method of logical volume storage space comprises the following steps: creating a logical volume by using a logical volume manager and distributing storage space in certain proportion; reserving a continuous expansion room behind the distributed storage space; judging whether the storage space needs expanding in real time during the writing process of data until the data writing is finished; if yes, calculating space expansion ascending coefficient according to the use condition of the reserved expansion room in advance to obtain the magnitude of the new expansion room needing reservation to be used for reserving a continuous expansion room one more time within the space range managed by the logical volume manager; and if no, directly writing the data. The method can dynamically expand the logical volume storage space as the continuous writing of the logical volume by data, and can effectively solve the problem of discontinuous room expansion, thus reducing the influence of the expansion room on the data reading/writing to the utmost low.

Description

technical field [0001] The invention relates to a method for expanding the storage space of a logical volume, in particular to a method for dynamically and continuously expanding the storage space of the logical volume along with the continuous writing of data to the logical volume. Background technique [0002] Logical volume management (English full name: Logical Volume Management, hereinafter referred to as LVM) is different from the traditional disk partition space division management method, which provides a higher-level and more efficient way to manage system disk storage space. To put it simply, the volume created through LVM management can easily adjust the storage medium without destroying the existing data. After a new hard disk is added, the new hard disk space can be immediately incorporated into the original volume for direct use. LVM can provide a complete storage space environment for large-scale database operating environments, and can also manage the availab...

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): G06F12/02
Inventor 姚海挺陈玄同
Owner INVENTEC CORP
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