How to get rid of unnecessary *.VDI files?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
IcePick
Posts: 5
Joined: 12. Apr 2011, 20:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP

How to get rid of unnecessary *.VDI files?

Post by IcePick »

I have 7 snapshots of my Windows XP virtual machine according to the VM VirtualBox Manager.
Yet in the Snapshot directory of this machine I have 16 *.VDI files. How can I determine which .VDI files can be deleted?

TIA
Brent
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How to get rid of unnecessary *.VDI files?

Post by mpack »

Check with File | Virtual Media Manager. If media isn't listed there then it isn't being used. You can double check inside the .vbox file with a text editor (Notepad++, as Notepad isn't up to the job).

Make a backup of the entire VM folder before you start, to another drive.
IcePick
Posts: 5
Joined: 12. Apr 2011, 20:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP

Re: How to get rid of unnecessary *.VDI files?

Post by IcePick »

mpack,
Thanks for the reply. I didn't realize VB had separate .vdi files for each drive, I thought they were lumped together in one .vdi file. I have 2 drives on my virtual machine so that's why I had so many .vdi files.
Post Reply