The full name of the LVM is Logical Volume Manager, which can be translated as a logical scroll bar administrator
PV, solid scroll bar
VG, scroll bar Group
PE, Entity extension area
LV, logical scroll bar
Through the PV, VG, LV planning, and then use the MKFS can be your LV format can be used as a file system!
Split out 4 partition, each partition capacity is about 1GB, system ID needs to be 8e
All partition are integrated into a VG,VG name set to DGVG and the size of PE is 16MB;
All VG capacity is thrown to LV, the name of LV is set to DGLV;
Eventually this LV is formatted as a ext3 file system and is mounted in/MNT/LVM
Step 鄹 1 Partitioning a specific disk, such as a SDC
Command (M for help): t
Partition number (1-4): 3
Hex code (type L to list codes): 8e
Changed system type of partition 3 to 8e (Linux LVM)
Command (M for help): W
The partition table has been altered!
Calling IOCTL () to re-read partition table.
Syncing disks.
[Root@localhost ~]# Partprobe
[Root@localhost ~]# Fdisk–l