I'd like to extend my virtual disk in a Proxmox environment from 64GB to 100GB. The guest OS is Debian 10. I've extended the virtual disk in Proxmox (it now has 100GB) and restarted the guest OS.
cfdisk
correctly sees that the size of the disk is now 100GiB:
Disk: /dev/vda
Size: 100 GiB, 107374182400 bytes, 209715200 sectors
Label: dos, identifier: 0x9f2b12a1
Device Boot Start End Sectors Size Id Type
>> /dev/vda1 * 2048 499711 497664 243M 83 Linux
/dev/vda2 501758 134215679 133713922 63.8G 5 Extended
└─/dev/vda5 501760 134215679 133713920 63.8G 8e Linux LVM
Free space 134215680 209715199 75499520 36G
However I'm unable to extend either vda2
or vda5
with the following error messages:
- /dev/vda2: Maximum size is 68461528064 bytes
- /dev/vda5: Failed to resize partition #5.
Any ideas what could be wrong?