Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the basic knowledge points of LVM

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what are the basic knowledge points of LVM". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Guided LVM is an abbreviation for Logical Volume Manager (logical Volume Management), which is implemented by Heinz Mauelshagen on the Linux 2.4 kernel. LVM collects the partitions of one or more hard disks logically, which is equivalent to a large hard disk to use. When the hard disk space is not enough, you can continue to add the partitions of other hard disks to it, which can realize the dynamic management of disk space. Compared with ordinary disk partitions, it has great flexibility.

Advantages

It makes it more convenient for system administrators to allocate storage space for applications and users.

Storage volumes managed by LVM can be resized and removed at any time as needed.

Allows storage volumes to be managed by user group, which can be identified by a more intuitive name such as development instead of a physical disk name such as sda.

Basic terminology of LVM

Physical storage: physical storage media refers to the storage device of the system: the hard disk, such as hda1, etc., is the storage unit of the lowest layer of the storage system.

Physical volume (pv): refers to a hard disk partition or a device that logically has the same function as a disk partition, such as a RAID, is the basic storage logic block of LVM and contains LVM-related management parameters that are not available in the physical media.

Volume group (vg): a logical "physical hard disk" consisting of one or more physical volumes on which one or more "LVM partitions" (logical volumes) can be created.

Logical volumes (lv): logical volumes are similar to hard disk partitions in non-LVM systems, on which file systems can be established (such as / home or / usr, etc.).

PE (physical extent): PE refers to the basic unit divided by each physical volume, with a default size of 4m, with a unique number, and is the smallest unit that can be addressed by LVM.

LE (physical extent): LE refers to the basic unit divided by each logical volume, the same size as PE.

This is the end of the content of "what are the basic knowledge points of LVM". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report