Cannot expand partition after host virtual disk expanded
TL;DR: We fail to detect that a virtual disc has been expanded.
I have expanded my host virtual disc and tried to expand the system partition and the root file system in the client. Expanding the system partition silently failed and expanding the root file system (resize2fs
) failed with an error message.
This is what parted
told me:
It seems you have unused space available. Fix GPT?
So I told parted
to fix GPT and exit. I retried and it succeeded this time.