LVM Partitions have a Prtition Type of "0x8e Linux LVM"
Setup a Filesystem:
| pvcreate <partition> | Creates the Volume from a partition |
| vgcreate <vgname> <partition> | Creates the Volume Group containing the Volume |
| lvcreate -n <lvname> -L <size> <vgname> | Create the Logical Volume from the Volume Group |
| lvcreate -n <lvname> -l100%VG <vgname> | Create the Logical Volume from the Volume Group with max size |
| mkfs -t ext4 <lvname> | Create the Filesystem on the Logical Volume |
Check Setup:
| pvdisplay |
| vgdisplay |
| lvdisplay |
Resizing Volumes
| lvextend |
| lvreduce |
| resize2fs |
Volume Group Sizing
| vgextend |
| vgreduce |
| pvmove |
![[Home-MK]](http://www.koerner.de/mkstatic/images/mike01s.gif)
