This isn't a direct answer per se, as I'm addressing the problem, not the question. I left the links in the comments so you can (sort of) tell how it works.Įdit Well, after all that, I tried the CloneVDI tool and it did a good job in much less time and in one click.ĭebian guest on Windows host using discard/TRIM. "C:\Program Files\Oracle\VirtualBox\VboxManage.exe" modifyhd "%%G" -compact ) :: Notice that within the for loop we use !variable! instead of %variable%. Title Compacting Free space on Virtual Machine VMs :: First run the sdelete -z c: inside the VMs that zero-out all the free space :: but that page says to use sdelete -s which is suboptimal. :: How can I reduce the size of a dynamic VDI on disk? I'm on a Windows 7 host with Windows guests, Here is a batch file I wrote to Compact all of the VDIs in a folder tree echo off
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |