bad snapshot is preventing me from cloning my VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
edwinx
Posts: 4
Joined: 4. Jun 2019, 02:21

bad snapshot is preventing me from cloning my VM

Post by edwinx »

Hi,

I believe I have a bad snapshot that is preventing me from cloning my VM. I tried to delete the snapshot and when that didn't work, I then tried to clone the VM and thats when I got this error:

Code: Select all

Failed to clone the virtual machine SSGTS-tmp.

Could not create the clone medium 'F:\SSGTS-tmp Clone\SSGTS-tmp Clone-disk1.vhd' (VERR_INVALID_PARAMETER).

Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
I can't remove the snapshot using the GUI and I can't clone the VM. What can I do now?

Thanks,
edwinx
Posts: 4
Joined: 4. Jun 2019, 02:21

Re: bad snapshot is preventing me from cloning my VM

Post by edwinx »

ok, I tried using the command line to clone my VM but I got this error:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonevm SSGTS-tmp --options keepdisknames --register
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Clone VM failed
VBoxManage.exe: error: Could not create the clone medium 'E:\VirtualBox VMs\SSGTS-tmp Clone\Snapshots\{c46ac01b-b0e2-45f6-b152-2d2635db263e}.vhd' (VERR_INVALID_PARAMETER)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCloneVM(struct HandlerArg *)" at line 609 of file VBoxManageMisc.cpp
I thought by default, it would ignore the snapshot? I don't want to clone the snapshot, I want to delete it and just have the VM
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: bad snapshot is preventing me from cloning my VM

Post by socratis »

I see both references to "E:\" and "F:\", what's going on? As a first step I need to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Explorer".
  2. ZIP the selected ".vbox" file and attach it to your response.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
edwinx
Posts: 4
Joined: 4. Jun 2019, 02:21

Re: bad snapshot is preventing me from cloning my VM

Post by edwinx »

Hi socratis,

E:\ is the source
F:\ is where I wanted to save the clone in the first attempt.

the 2nd attempt (command line), I decided to use e:\ too , but both failed.

vbox file attached

Thanks,
Attachments
SSGTS-tmp.zip
vbox file
(1.94 KiB) Downloaded 17 times
Last edited by socratis on 6. Jun 2019, 11:38, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
edwinx
Posts: 4
Joined: 4. Jun 2019, 02:21

Re: bad snapshot is preventing me from cloning my VM

Post by edwinx »

did the zip file provide any useful info ?
Post Reply