How to create a LVM in linux
Dec 9, 2021
You can create/resize/delete LVM partitions.
No need to reboot the system to make the kernel aware of the newly-created or resized partitions.
If you have more than one hard-disk, Logical Volumes can extend over more than one disk
- First list the hard disk
Check the PV, VG, LV.
PV- Physical Volume
VG- Volume Group
LV- Logical Volume
Create PV & SV & LG
Created the LVM
Check PV, VG, LG
Check the path fdisk -l
Format the disk
Check the path
Finally mount a drive
Umount the device
Another way to mount
/dev/mapper/Test-create- OS understand the name
/dev/Test/Create- Logical volume understand the name