orphaned disks
Posted: 8. Jan 2013, 19:29
VBox 4.2.6 running on Win 7 Pro 64-bit
continuing problems cleaning up after supposedly deleting a vm.
A "vboxmanage list hdds" gives me this disk still associated with the deleted VM:
(actually there are 5 of them, but they all show the same properties)
The vm was named 'vbdwsbd04'. Vbox console says it delete the vm. there is no vm by that name listed on the VBox console. The directory "C:\VMLab\VirtualBoxVMs\vbdwsbd04" exists, but is completely empty. I did not delete any files from it myself.
If I try to clean up with 'closemedium':
continuing problems cleaning up after supposedly deleting a vm.
A "vboxmanage list hdds" gives me this disk still associated with the deleted VM:
Code: Select all
UUID: 4d80cd40-d801-4b9c-99e9-1c0d3f96ee32
Parent UUID: base
Format: VDI
Location: C:\VMLab\VirtualBoxVMs\vbdwsbd04\asm1.vdi
State: locked write
Type: normalThe vm was named 'vbdwsbd04'. Vbox console says it delete the vm. there is no vm by that name listed on the VBox console. The directory "C:\VMLab\VirtualBoxVMs\vbdwsbd04" exists, but is completely empty. I did not delete any files from it myself.
If I try to clean up with 'closemedium':
Code: Select all
C:\Users\estevens\Documents\sql>vboxmanage closemedium disk 4d80cd40-d801-4b9c-9
9e9-1c0d3f96ee32 --delete
VBoxManage.exe: error: Medium 'C:\VMLab\VirtualBoxVMs\vbdwsbd04\asm1.vdi' is loc
ked for writing by another task
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "DeleteStorage(progress.asOutParam())" at line 1
166 of file VBoxManageDisk.cpp
VBoxManage.exe: error: Failed to delete medium. Error code Unknown Status 0x80BB
0007
VBoxManage.exe: error: Medium 'C:\VMLab\VirtualBoxVMs\vbdwsbd04\asm1.vdi' is loc
ked for writing by another task
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "Close()" at line 1175 of file VBoxManageDisk.cp
p
C:\Users\estevens\Documents\sql>vboxmanage closemedium disk C:\VMLab\VirtualBoxV
Ms\vbdwsbd04\asm1.vdi --delete
VBoxManage.exe: error: Medium 'C:\VMLab\VirtualBoxVMs\vbdwsbd04\asm1.vdi' is loc
ked for writing by another task
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "DeleteStorage(progress.asOutParam())" at line 1
166 of file VBoxManageDisk.cpp
VBoxManage.exe: error: Failed to delete medium. Error code Unknown Status 0x80BB
0007
VBoxManage.exe: error: Medium 'C:\VMLab\VirtualBoxVMs\vbdwsbd04\asm1.vdi' is loc
ked for writing by another task
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "Close()" at line 1175 of file VBoxManageDisk.cp
p