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
When doing the qemu-img resize, it does require a special option before attempting to shrink an image.
`When shrinking images, the "--shrink" option must be given. This informs qemu-img that the user acknowledges all loss of data beyond the truncated image's end.`
Most of the work for these commands to work, has to be done inside the guest image (partioning/resize2fs)
Currently there might be some scripts in place, that will resize an ext4 partition to use the new space available.
Just running
limactl edit
does not change the actual disk image, I guess one has to runqemu-img
manually (for now)After that, it seems to have done the rest of the work on next start (changed it in the lima.yaml, to
disk: "30GiB"
).Originally posted by @afbjorklund in #1446 (reply in thread)
Of course it should only allow increasing the disk size, as reducing it will corrupt the existing partition.
The text was updated successfully, but these errors were encountered: