Boot disk size failed to increase
Written by
Updated at November 27, 2023
Issue description
You increased the size of your boot disk, but it changed in the console rather than on the VM.
Solution
If the partition on the boot disk failed to expand automatically after increasing the disk size, use these commands:
bash
sudo mount -o size=10M,rw,nodev,nosuid -t tmpfs tmpfs /tmp
sudo growpart /dev/vda 2
sudo resize2fs /dev/vda2
df -h
sudo umount /tmp