utmapp / utmapp/UTM

Reclaim disk space breaks VM disk

Open
#6,547 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
When clicking on `Reclaim Space` for a Windows11-ARM64 VM, the disk gets corrupted and Windows cannot boot anymore.
The behavior is a bit off, after clicking `Reclaim Space`, the progress wheel finishes about 1/4 and suddenly the process finished. A 30GB big disk gets shrunken down to around 7GB, while the real occupied space by Windows11 + software should be around 20GB. So 7GB is definitely not possible. No compression has been used on this VM.

The error occurred a few weeks ago the first time, with an old Windows11-ARM VM. I tried reinstalling Windows 11 on the same disk (formatted beforehand) and the error appeared again. I use `sdelete C: -z` command inside the VM to zero out disk space since a long time. I also created a completely fresh VM with a new disk and installed Windows 11 ARM, there `Reclaim Space` works normally. So something with the uploaded VM disk seems to break the `Reclaim Space` feature.
I uploaded the whole VM with a size of about 34GB.

**Configuration**
* UTM Version: 4.5.3 (99)
* macOS Version: 14.6
* Mac Chip: M1 Pro

**Upload VM**
Since I need the storage space, please let me know when you come back to this issue. I will then upload the VM.

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.