Linux Basic--LVM Management

Source: Internet
Author: User

Lvm:logical Volume Manager (logical Volume management)

Many Linux users encounter the dilemma of installing the operating system: how to accurately evaluate and allocate the capacity of each hard disk partition, if the initial evaluation is not accurate, once the system partition is not enough, you may have to back up, delete the relevant data, or even be forced to re-plan the partition and reinstall the operating system to meet the needs of the application system.

LVM is a mechanism for managing disk partitions in a Linux environment, a logical layer that is built on top of hard disks and partitions and under a file system to improve the flexibility of disk partition management. RHEL5 the default installed partition format is the format of the LVM logical volume, it is important to note that the/boot partition cannot be created based on LVM and must be independent.

LVM contains: PV, VG, LV

Pv:physical Volume

This is the LVM lowest layer device, which is a multi-block physical disk.

Vg:volume Group

Using multiple physical disks to make up a volume group makes it easy for KVM to manage the volume, but it cannot be used directly, which is equivalent to extending the partition.

Lv:logical Volume

The LV is used to create the VG as a logical volume. Multiple logical volumes can be created in one VG.

Therefore, when the LV is not enough, that can be extended without exceeding the VG boundary, and the VG is not enough, then only need to add PV in the VG.








This article from "Liang Childe" blog, please be sure to keep this source http://iyull.blog.51cto.com/4664834/1886286

Linux Basic--LVM Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.