LVM resize

Hello.

What is the normal way to expand the lvm, where the vm's are?
I never worked with lvm's.
Thanks

a good start is reading LVM2 documentation, just Google for 'lvm2 documentation'
 
Is this correct?

Lets say the RAID10 where pve-data is on gets bigger by 100GB.
1.
lvextend -L+100G /dev/mapper/pve-data
2.
umount
/dev/mapper/pve-data
resize2fs /dev/mapper/pve-data
mount /dev/mapper/pve-data


 
Is this correct?

Lets say the RAID10 where pve-data is on gets bigger by 100GB.
1.
lvextend -L+100G /dev/mapper/pve-data
2.
umount
/dev/mapper/pve-data
resize2fs /dev/mapper/pve-data
mount /dev/mapper/pve-data



Hi,
with
Code:
vgdisplay
you can see, how much free space you have in the volumegroup.
Is there not enough free space, you can add a disk (e.g. /dev/sdc1):
Code:
pvcreate /dev/sdc1
vgextend pve /dev/sdc1

Think about min. 4G free space in the volumegroup for backup (snapshots).

btw.: for resize2fs you don't need a unmount to extend the filesystem. Unmount is only nessesary to shrink a filesystem.

Udo