lvm

Extend a partition

The goal is to extend the size of a partition by resizing the size of the underlying disk or by adding a new one.

Resizing of the disk or adding a disk

Extending the LV and the partition

root$ lvextend -l +100%FREE /dev/mapper/myvg-mylv 
root$ resize2fs /dev/mapper/myvg-mylv