You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Normally, when you increase the disk size of an instance (mp set local.instance.disk=...), the root partition gets resized by cloud-init to use the newly available space on the disk. But when the disk is already used at full capacity, increasing the disk size will not automatically increase the root partition size.
To Reproduce
multipass exec instance -- dd if=/dev/zero of=big_file bs=1M count=10000 # or more if needed to fill the disk
multipass stop instance
multipass set local.instance.disk=20GB # or more than the current size
multipass exec instance lsblk
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 4.9G 0 part /
Expected behavior
Have /dev/sda1 expand to take up the available space in /dev/sda.
The text was updated successfully, but these errors were encountered:
Describe the bug
Normally, when you increase the disk size of an instance (
mp set local.instance.disk=...
), the root partition gets resized by cloud-init to use the newly available space on the disk. But when the disk is already used at full capacity, increasing the disk size will not automatically increase the root partition size.To Reproduce
multipass exec instance -- dd if=/dev/zero of=big_file bs=1M count=10000 # or more if needed to fill the disk
multipass stop instance
multipass set local.instance.disk=20GB # or more than the current size
multipass exec instance lsblk
Expected behavior
Have
/dev/sda1
expand to take up the available space in/dev/sda
.The text was updated successfully, but these errors were encountered: