Opened 5 years ago
Last modified 5 years ago
#18865 new enhancement
Prompt to assign another UUID when already exists.
Reported by: | DeGarden | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 6.0.10 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
This happens when I move and rename 'D:\test\mydisk.vdi' to 'D:\ubuntu64.vdi', it doesn't detect that it's not present anymore in the old location and thinks it's duplicated.
Failed to open the disk image file D:\ubuntu64.vdi. Cannot register the hard disk 'D:\ubuntu64.vdi' {e2855e0e-fd02-40b0-ac5e-0d8bd297f1db} because a hard disk 'D:\test\mydisk.vdi' with UUID {e2855e0e-fd02-40b0-ac5e-0d8bd297f1db} already exists. Result Code: E_INVALIDARG (0x80070057) Component: VirtualBoxWrap Interface: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d} Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
I would like to have a more friendly option to either re-check if the file exists in the previous location or alternatively change the UUID of the new file. The error message which is displayed looks pretty catastrophic like some sort of kernel panic or unrecoverable error with data loss.
Currently I have to run the following command manually to fix it.
VBoxManage.exe internalcommands sethduuid 'D:\ubuntu64.vdi'
Attachments (1)
Change History (5)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
It's usually better and faster, if issues get first addressed in the VirtualBox forums, a lot more eyes there. More than 95% of the issues are resolved in the forums, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of. For example, yours is not a bug and someone from the developers has to deal with it and close it as "Invalid".
Plus a discussion and analysis on the bug tracker is going to help me, you, and potentially a future drive-by user or two. Not so in the forums, many more tend to benefit...
Please, open a new thread in the Using VirtualBox section of the forums.
Please be sure to mention that you came from the bug tracker and include the ticket number.
comment:4 by , 5 years ago
Replying to DeGarden:
bug tracker is the place to report issues
No, not really. The forums are the place to report issues, which in your case it's not even a bug, it's a misunderstanding of how things work. You think that you have a bug, but it's not a bug.
As I said, open a new thread in the forums where a lot more are going to benefit from the explanation.
Again, this is not a bug, this is intended behavior, and your ticket should be closed as [Invalid].
Result of the command: