Opened 12 years ago
Last modified 8 years ago
#10096 closed defect
VBoxManage clonevm adds cloned disk to media manager when not requested — at Initial Version
Reported by: | Powelly | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.1.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
The VBoxManage clonevm command adds the cloned harddisk to the media manager even when the "--register" option is not used.
This causes clonevm to fail when used more than once.
For example:
~> VBoxManage clonevm Mercury --mode all --basefolder "/mnt/Bronze Backup/Virtual Machines" --name Mercury 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Machine has been successfully cloned as "Mercury" ~> rm -r /mnt/Bronze\ Backup/Virtual\ Machines/Mercury/ ~> VBoxManage clonevm Mercury --mode all --basefolder "/mnt/Bronze Backup/Virtual Machines" --name Mercury 0%...10%...20%...30%...40%...50%...60%...70%...80%... Progress state: NS_ERROR_INVALID_ARG VBoxManage: error: Cannot register the hard disk '/mnt/Bronze Backup/Virtual Machines/Mercury/Mercury.vdi' {da9523a4-5d83-4cfe-bc80-10344c6d424f} because a hard disk '/mnt/Bronze Backup/Virtual Machines/Mercury/Mercury.vdi' with UUID {cf6bdde6-3425-47c0-b875-329ddb4cfe67} already exists VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface IMachine, callee
Note:
See TracTickets
for help on using tickets.