Increase pve root size by adding a new disk

Wodel

Member
Jul 31, 2022
12
0
6
Hi,

I am using PVE7 and my slash is almost full.
I have an empty disk and I tried to add it to the pve vg

gdisk /dev/sdd
pvcreate /dev/sdd1
vgextend pve /dev/sdd1
lvextend -l+100%FREE /dev/pve/root
resize2fs /dev/pve/root

It seems working, but after updating proxmox, the system won't boot anymore. I am getting a grub rescue with lvmid not found

I tried to the workaround of booting with a rescue media then make change on the lvm (https://pve.proxmox.com/wiki/Recover_From_Grub_Failure), but it didn't work.

is adding a disk to pve-root supported?

Regards.