VirtualBox

Opened 7 years ago

Last modified 6 years ago

#16328 new defect

Clone with Everything, Linked Clone errors

Reported by: Socratis Owned by:
Component: other Version: VirtualBox 5.1.12
Keywords: clone, linked clone Cc:
Guest type: all Host type: Mac OS X

Description

  • Select a VM ("Test") and choose "Clone". The VM did not have snapshots, but it doesn't really matter.
  • Switch to "Expert Mode", if not already selected.
  • The defaults are: Full Clone (for CloneType), Current machine state (for Snapshots).
  • Select in that order: Everything (for Snapshots), Linked Clone (for CloneType). Press "Clone":
    Failed to clone the virtual machine Test.
    
    Linked clone can only be created for a single machine state.
    
    Result Code: NS_ERROR_INVALID_ARG (0x80070057)
    Component: SnapshotMachine
    Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}
    
  • We return to the Clone dialog. If you Cancel out, you see the results:
    • No "Test Clone" VM has been created.
    • A snapshot for the "Test" VM has been created: "Linked Base for Test and Test Clone".

Change History (2)

comment:1 by Christopher M. Penalver, 6 years ago

Just had this happen with:

Version: Version 5.2.12 r122591 (Qt5.6.2)

Host type: Windows 10 Pro x64 Version 1803 17134.112

Guest type: linux

Failed to clone the virtual machine vm.

Linked clone can only be created for a single machine state.

Result Code: E_INVALIDARG (0x80070057) Component: SnapshotMachine Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

This occurs with Oracle VM Virtualbox Manager > highlight a vm > click Clone > Expert Mode > first under "Snapshots" click radio button "Everything" > next under "Clone type" click "Linked Clone" (notice how radio buttons under "Snapshots" are greyed out) > click button "Clone"

WORKAROUND: If under "Snapshots" click radio button "Current machine state" before clicking under "Clone type" clicking radio button "Linked Clone" then this consistently doesn't happen for me, and I have a Linked Clone as expected.

comment:2 by Socratis, 6 years ago

Hey, I had forgotten about that one... ;)

The idea of the ticket is that the GUI should force-revert to "Current machine state" if "Linked Clone" is selected. And to avoid creating the snapshot!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use