January 1, 20242 yr I ran into a problem I can't seem to find an answer to when searching on the forum. I have a virtual machine for windows 11 (win11 vm) that is 460GB; there is 200GB of free space on the windows install (so it is not full). The VM is on a 500GB NVME Drive, however the Vdisk.img is now 496GB. Is there away to shrink the Vdisk.img back down from 496GB to 460GB without destroying the win11 install? Thank you for the help! Edited January 1, 20242 yr by Johns6977
January 1, 20242 yr Author Solution Solved this. Had to edit the VM and add discard='unmap' to the VM editor (in Unraid) and then start the the win11 VM and optimize storage and trim the hard drive through windows 11 OS. I watched on unraid main page as I reclaimed my missing space on the drive. <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback' discard='unmap' /> <source file='/mnt/cache/domains/Windows 11/vdisk1.img'/> Thanks to these two links: Edited January 1, 20242 yr by Johns6977
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.