Opened 8 years ago
Last modified 7 years ago
#17024 new enhancement
VHD Disks created on Disk Manager cannot be moved tho another folder after attaching and desattaching on VM, fail on reattaching without registration deletion
Reported by: | Armored | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 5.1.26 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | all |
Description (last modified by )
Recipe to bug/enhacement :
- Create a .VHD (not VHDx not tested) disk on Windows Disk Manager with dinamic size.
- Desattach disk from system using the same Disk manager
- Create a Virtual Machine and choose the Existing Disk created
- Run the virtual machine, after error boot, stop.
- Remove the VHD hardDisk from VM using the Virtual Disk configuration UI
- On windows explorer, MOVE the created VHD Disk to another folder
- Try to attach the disk ON VM ou other VM using Virtual Box UI
you got the error/failure.
Cannot register the hard disk 'C:\Users\username\Desktop\FolderToMove\VirtualDisk1.vhd' {fa3d7a1c-xxxx-49ae-xxxx-63a83b45916e} because a hard disk 'C:\Users\username\Desktop\VirtualDisk1.vhd' with UUID {fa3d7a1c-xxxx-49ae-xxxx-63a83b45916e} already exists. Código de Resultado: E_INVALIDARG (0x80070057) Componente: VirtualBoxWrap Interface: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945} RC do Chamador: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Ok, on Virtual Box UI, you have to click on File - Virtual Media manager and remove the registred VHD disk from the list. but enhancing Virtual Box can be check the old file location not exist anymore and update to the new file location on disk without error, or ask to the user if he want to update.
Change History (2)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
I see precisely the same issue (Version 5.2.8 r121009). And there are numerous reports (here's a sample):
Why does it think it still exists _after_ the drive has been removed?