Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for enhancing logical volume management LVM function

A logical volume and volume management technology, applied in the direction of input/output to record carrier, etc., can solve the problems of different performance and performance difference of storage devices, etc.

Inactive Publication Date: 2010-01-06
宋振华
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the performance of storage devices in the system may vary greatly: for example, in the current system, some storage devices of some computers are often shared with other computers in the same network. It is directly connected to itself, and there are also storage devices of other computers shared through the network. Since access to the latter needs to go through the network, their performance must be different; or even the performance of each storage device in the same computer will be different.

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 for enhancing logical volume management LVM function
  • Method for enhancing logical volume management LVM function
  • Method for enhancing logical volume management LVM function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] In order to solve the problems in the prior art, the present invention proposes a method of enhancing LVM function, that is, a method that can improve the performance of the logical volume created or expanded: adding the P-C factor in the logical volume object and adding the P-C factor in the physical volume object The P factor is added to the logical volume, so that the physical volume object with a large P value is given priority when creating or expanding the logical volume, and when the largest unmapped physical volume segment size in the physical volume with the largest P value is smaller than the logical volume to be created or expanded When volume size is calculated, the comparison value of different physical volume segments can be further calculated by P-C factor and P factor, which makes it possible not only to consider the continuity of physical blocks but also to consider when creating or expanding logical volumes. The performance of each storage device.

[0...

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 enhancing logical volume management LVM functions, comprising the following steps: respectively setting a P factor of a physical volume and a P-C factor of a logical volume; obtaining the established or expanded logical volume containing the P-C factor and physical volume segments of the mapped physical volume containing the P factor; selecting one physical volume segment with a maximal P value and judging if the size of the physical volume segment is larger than and equal to that of the established or expanded logical volume when the size summation of the physical volume segments is larger than or equal to the size of the established or expanded logical volume; if the size of the physical volume segment is larger than and equal to that of the established or expanded logical volume, mapping the established or expanded logical volume to the physical volume segments; and if the size of the physical volume segment is smaller than that of the established or expanded logical volume, sorting all the physical volume segments according to comparison values, and mapping the established or expanded logical volume to the physical volume segment with the maximal comparison value till the establishment and expansion process of the logical volume is completed. The method not only considers the continuity of physical blocks but also considers the property of storage equipment when the logical volume is established and expanded.

Description

technical field [0001] The invention relates to the field of computer storage device management, in particular to a method for enhancing the function of logical volume management (LVM) in a Linux operating system. Background technique [0002] When installing the Linux operating system, one of the most common problems encountered is how to allocate the appropriate space for the planned storage device partition: if the space allocated for a certain storage device partition is too small, it may cause the storage device partition to fail soon. If the space allocated for the storage device partition is too large, it is likely to cause waste that the storage device partition will not be used for a long time. Therefore, allocating a suitable space for the planned storage device partition has become a top priority for installing the Linux operating system. [0003] At present, LVM is used to solve this problem. LVM is a mechanism for managing storage device partitions in the Linux...

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 宋振华
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products