How to Create LVM Partition in Linux Step-by-Step
94K views
Jan 15, 2023
In this video tutorial, I will show you how to create an LVM partition in a Linux system step-by-step. Logical Volume Manager (LVM) is a powerful and flexible disk management tool that allows you to create logical partitions on a Linux system. LVM allows you to create, resize, and manage disk space more efficiently than traditional partitioning methods. #howto #linux #lvm Steps to create LVM Partition 1) Install LVM $ sudo apt install lvm2 -y // Ubuntu & Debian System $ sudo dnf install lvm2 -y // RHEL, CentOS & Rocky Linux 2) Create Physical Volumes $ sudo pvcreate /dev/sdb 3) Create Volume Group $ sudo vgcreate vg0 /dev/sdb 4) Create Logical Volume $ sudo lvcreate -n lv0 -L 10G vg0