Noob: adding HDD to local-lvm question

JanCri

New Member
Jan 31, 2021
3
0
1
Hi,
I do not know what i am doing with LVM. So as practice, I tried to add an HDD to local-lvm. I did the sequence:
Bash:
pvcreate /dev/sdc
vgextend pve /dev/sdc
lvextend pve/data /dev/sdc

The new space shows properly in the UI summary of local-lvm (thin) and it seems ok.

Is there any other step? I read that with some fs, one need to extend the fs after the lvextend. Or is that not the case with pve/data?

Thanks
 
pve/data is a thin LVM on which for each guest disk, a new logical volume is created. That logical volume is used directly as block device. So no need for a VM disk.

One thing though! You know created basically a striped LVM, similar to a raid 0. If one of the disks fails, the whole LVM is gone. There is no redundancy at this level.