Jump to content

Windows disk image isn't sparsifying


Go to solution Solved by JorgeB,

Recommended Posts

Hello,

Once I delete files on my Windows VM the space isn't being released on the disk.

 

root@Tower:/mnt/user/domains/Windows 10# qemu-img  info vdisk1.img
image: vdisk1.img
file format: raw
virtual size: 2 TiB (2199023255552 bytes)
disk size: 1.18 TiB


root@Tower:/mnt/user/domains/Windows 10# du -h vdisk1.img
1.2T    vdisk1.img
root@Tower:/mnt/user/domains/Windows 10#

 

image.png.b0faac06ad0d8f9bf189660a554738a3.png

 

 

 

What do I need to do to make the on disk usage represent the actual usage?

 

 

Cheers

 

Edited by wangjangle
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...