LVM (Logical Volume manager) is the short name for logical volume management
It is a mechanism for managing disk partitions in a Linux environment. Not only can you use LVM as a disk management mechanism on Linux systems, but for other Unix-like operating systems, as well as the Windows operating system, there are disk management software similar to LVM, and LVM works very simply by encapsulating the underlying physical hard disk abstraction. It is then presented to the upper-level application as a logical volume.
4 Basic Logical Volume concepts.
PE (physical Extend) physical expansion
PV (physical Volume) Physical volume
VG (Volume Group) volume group
LV (Logical Volume) Logical Volume
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8C/28/wKioL1hjxsug--XtAAUZ5R-jok0619.png-wh_500x0-wm_3 -wmp_4-s_3298663802.png "title=" Qq20161228220249.png "alt=" Wkiol1hjxsug--xtaauz5r-jok0619.png-wh_50 "/>
Create 3 commands commonly used by LVM pvcreate,vgcreate,lvcreate;
Use Pvdisplay,vgdisplay,lvdisplay to view create effects when you are finished creating
1,pvcreate to initialize a disk or partition
Usage: Pvcreate + "Physical volume"
pvcreate/dev/sdb{1,2,3,5} to disk SDB1,SDB2,SDB3,SDB5 initialization
2 Vgcreate Creating a logical Volume group
Usage: vgcreate + Volume Group name + Physical device path
Vgcreate test_lvm/dev/sdb{1,2,3,5} Create TEST_LVM Volume group
3 Lvcreate creating a logical volume in a volume group
Lvcreate-l 8g-n test_web TEST_LVM Create a logical volume of size 8G Test_web
You can complete the creation of LVM in three steps above.
This article is from the "Practical Linux knowledge and Skills sharing" blog, please be sure to keep this source http://superleedo.blog.51cto.com/12164670/1887149
Linux LVM Logical Volume Brief