Thx and I know it's not directly related.Your drive uses (the old) MBR, which requires an "extended" partition for all partitions other than the first.
Resize the extended partition to go to extend to the end of the drive. Move the swap partition to the end (of the extended partition), resize the extended partition again to leave as big a gap after the first partition as possible and then resize the first partition.
None of this is specific to Proxmox, so any other GParted (Live) and other partitioning guides will also apply.
Did you resize the extended partition yet (so there is some additional space inside it on the right size)? Then move (maybe use Resize menu option or maybe drag it with the mouse) the swap partition as far as it will go (so all the free space inside the extended partition is on the left).Pls elaborate on how exactly "Move the swap partition to the end"
Go that step and resized the extendedDid you resize the partition yet (so there is some additional space inside it on the right size)? Then move (maybe use Resize menu option or maybe drag it with the mouse) the swap partition as far as it will go (so all the free space inside the extended partition is on the left).
Looks like you deleted the swap partition, instead of moving it.Go that step and resized the extended
But still can't resize the disk till the end. What am I missing?
Or, since there are no partition inside the extended partition anymore, just delete it?... resize the extended partition again to leave as big a gap after the first partition as possible and then resize the first partition.
Maybe restore from backup and try again but don't remove the swap partition (just resize/move it) this time?All seemed like worked, but at the end my VM wouldn't boot. So something is missing
I repeated the steps:Maybe restore from backup and try again but don't remove the swap partition (just resize/move it) this time?
I never suggested removing the extended partition (with the swap partition inside it). These were the steps I suggested: https://forum.proxmox.com/threads/disk-resize-gparted-little-help-wanted.155391/post-708454I repeated the steps:
swapoff -a
remove the extended partition with the swam file
It's all inside a VM, so I don't think so. There are many guides about resizing partitions (which is the same for virtual machines as for physical machines) on the internet. Or maybe someone else here can explain it better than I can.the VM won't boot "mdadm: No arrays found in config file or automatically"
Can a similar be achieved via proxmox?