Skip to content

Feature Request: allow to resize disk images #925

@josetesan

Description

@josetesan

Hi, I love lume, it's easy, fast and nice, thanks a lot.

I'd like lume to be able to resize images, albeit on an experimental status maybe, and only for certain cases on the beginning.+

For example, I did create a 50gb vm for macos15, but once started, needed updates requested me for 15gb more, so I resized the image to 70gb.
Now, all updates are done, but I'm kept with a 70gb image size where just 30gb are used.

macbook-air:~ josete$ lume ls
[2026-01-27T18:36:36Z] INFO: Cleaned up stale session file name=mac-os-15
name                                    os      cpu     memory  disk            
mac-os-15                               macOS   3       3.50G   27.5GB/65.0GB

Could there be some kind , maybe when cloning, to just copy the used file bytes ( and maybe allow to --expand-with=5gb flag to increase it for free space ) ?

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions