Eric,
The size you see for the VDI file is what was ever written to the disk.
So while Windows see 150GB free, it has written at some point across
452GB worth of sectors.
VDI have a chunck size of 1MB, so any sector which hasn't been written
yet would trigger this if not within a 1MB chunck.
If you want to reduce the size of your VDI, you will need to:
- run the sdelete [1] utility first on all the partitions using the
-z switch
- stop VM
- run the vboxmanage command.
Why this is necessary is explained on the User Manual, section 8.23,
--compact option [2]
[1] https://technet.microsoft.com/en-us/sysinternals/sdelete.aspx
[2] https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi
On 16/04/17 04:21, Eric Robinson wrote:
I have a Windows Server VM that has a 150GB OS disk (20 GB free) and
no other drives or volumes of any kind. Why is the VDI file 452GB in
size? I tried shrinking it with the Linux virtualbox commands, but no
change. Why is this file so much bigger than what Windows sees?
I don’t know if it is relevant, but I noticed that in Windows, the
Virtual Disk Service is in a stopped state. When I try to start it, it
stops again after a moment with no errors.
--
Eric Robinson
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe