VHD not accessible, not attached to VM, image cannot delete

Discussions related to using VirtualBox on Windows hosts.
Post Reply
NewSunSEO
Posts: 4
Joined: 20. Jan 2014, 21:42

VHD not accessible, not attached to VM, image cannot delete

Post by NewSunSEO »

I've have read & read trying to find a solution to this:

I may have deleted the VHD file directly from the file location & not released it from the virtual media manager. I was able to delete the virtual machine from the GUI, but now in the virtual media manager it has the yellow exclamation, says that disc is inaccessible. I do not see this file in the XML file, all the other VM's are there, but not this one. I did not take any snapshots of this VHD. I have searched for the uuid on my whole computer. I am at a loss of how to get this inaccessible VHD out of the virtual media manager. Hopefully someone has a solution, thank you for reading this.

I know its still attached to a VM, I just can't figure out how to find this VM, delete it, remove the object from the VM or get this resolved. Thank you

Error messages:

Failed to close the hard disk file D:\D1Xvm3\D1Xvm3.vhd.

Medium 'D:\D1Xvm3\D1Xvm3.vhd' cannot be closed because it is still attached to 1 virtual machines.

Result Code: VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component: Medium
Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VHD not accessible, not attached to VM, image cannot del

Post by socratis »

AttachedVDI.png
AttachedVDI.png (68.69 KiB) Viewed 2342 times
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
NewSunSEO
Posts: 4
Joined: 20. Jan 2014, 21:42

Re: VHD not accessible, not attached to VM, image cannot del

Post by NewSunSEO »

Thank you for the reply / image. I think I had deleted the VHD file from the directory it was in & not through VB. I couldn't retrieve the file as it was too large for the trash. I just backed up all my VM's, uninstalled DB & formatted my D: drive & started all over. I'll be more careful in the future about how I add / remove HD's & VM's.

Thank you again!
Post Reply