Thursday, November 18, 2010

How to compact VirtualBox VDI drive

While working with dynamically expanding virtual drives you might notice that it actually virtual drive takes more space than it actually use by the virtual machine, e.g. you removed a bunch of files, defragmented volume, etc. Here is how you can compact VDI drive:
VBoxManage modifyhd --compact my-virtual-drive.vdi
Please note, that you can compact only drives that are registered with VirtualBox Media Manager.

No comments :

Post a Comment