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