virtual machine - VirtualBox VM slowly decreasing disk space - Super User
i have windows xp vm (with virtualbox 3.1.2) getting hd full. when delete stuff nothing happens free space.
i've tried defrag vm , tried sysinternals sdelete utility, doesn't helped, in fact, vm lost little more space.
any idea else should try?
after running sdelete inside virtual machine did shut down , compact drive? need run command tell virtualbox unused space , release back.
steps releasing allocated space .vhd
- defragment .vhd inside vm.
- run sdelete inside vm.
- shut down vm.
- open command prompt (start -> run -> cmd.exe).
- change directories virtual box installation directory.
cd \program files\sun\virtualbox
- run
vboxmanage modifyhd {filename} --compact
shrink file size.
vboxmanage modifyhd "c:\users\joshua\.virtualbox\hard disks\xp virtual machine.vhd" --compact
- wait process complete.
you need know location of .vhd file. can locate information opening virtual media manager (file > virtual media manager...), select drive compact , @ location listed below. once process finishes should end .vhd file size matches (or close to) amount of space used in vm.
Comments
Post a Comment