Page 1 of 1

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

Posted: 20. Jan 2014, 21:48
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}

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

Posted: 21. Jan 2014, 14:14
by socratis
AttachedVDI.png
AttachedVDI.png (68.69 KiB) Viewed 2343 times

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

Posted: 21. Jan 2014, 16:59
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!