Opened 11 years ago
Closed 11 years ago
#12619 closed defect (invalid)
Media Manager states Virtual disk is attached to VM, when actually removed -> invalid
| Reported by: | Ernie S | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 4.3.6 |
| Keywords: | Media Manager | Cc: | |
| Guest type: | all | Host type: | Windows |
Description
The Media Manager is probably not properly updated when a virtual harddisk (vmdk) is removed from a VM. Operations with VBoxManager on the vdisk fail because it erroneously detects that it is attached to the VM.
Change History (2)
comment:2 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Summary: | Media Manager states Virtual disk is attached to VM, when actually removed. → Media Manager states Virtual disk is attached to VM, when actually removed -> invalid |
Will do, thanks.
Note:
See TracTickets
for help on using tickets.


The Virtual Media Manager is probably not properly updated when a virtual harddisk (vmdk) is removed from a VM. Operations with VBoxManage on the virtual harddisk fail because it erroneously detects that it is attached to the VM.
2 hours later:
Discovered that detaching a disk from SATA is not enough if there are snapshots where it still is attached. Removing the snapshots is a lot of work (not cutting XML corners, using the Media Manager), especially when the parent VMDK is made read-only (for safety. I just want to operate on a diff disk)). But when done, the Media Manager correctly states the the vdisk is no longer attached. The new technique I use is unregistering the VM. Do my thing with VBoxmanage - making an extra new diff for the same parent vdisk. And register the VM back again.
But guys, what a lot of tedious work, those kind of operations should be made easier !!!