LVM Logical Disk Volume management instance

Source: Internet
Author: User

LVM is the abbreviation of Logical Disk volume management (logical Volume manager), it is the mechanism that the disk partition is managed in the Linux environment, is the logical layer that builds on the hard disk and partition, to shield the lower layer partition layout of the file system, thus improves the flexibility of disk partition management.

You can see that the physical layer is at the bottom, and it is the physical layer that contains the relevant LVM parameters;

The logical volume is built on top of the volume group, cut out from the logical volume group, and directly formatted to use the volume area.

To create a volume area:

FDISK/DEV/SDB//Create LVM type partition

PVCREATE/DEV/SDB1//Set up physical volumes

Vgcreate VG0/DEV/SDB1/DEV/SDB2//Set up volume group VG0

Lvcreate-n data-l +500m vg0//Create logical volumes

Instance:

1, FDISK/DEV/SDB//create LVM type partition, select 8e format

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.