Skip to content

Support shrinking the disk image #3030

Open
@AkihiroSuda

Description

@AkihiroSuda

virt-sparsify should be used under the hood: https://libguestfs.org/virt-sparsify.1.html

Virt-sparsify can locate and sparsify free space in most filesystems (eg. ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes.

Virt-sparsify can also convert between some disk formats, for example converting a raw disk image to a thin-provisioned qcow2 image.

This tool is not available on Homebrew yet.

Integrating it to Lima is likely to depend on:

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