Skip to content

Changing the disk size in lima.yaml should resize the disk #1448

@jandubois

Description

@jandubois

Just running limactl edit does not change the actual disk image, I guess one has to run qemu-img manually (for now)

qemu-img resize ~/.lima/almalinux-8/diffdisk 30G

qemu-img info ~/.lima/almalinux-8/diffdisk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions