lima-vm / lima-vm/lima

Support shrinking the disk image

Open
#3,030 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

`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:
- https://github.com/lima-vm/lima/issues/1706

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.