Help: Cannot clone a snapshot for a virtual machine that is turned off

Hi guys

I am currently using VMWare Workstation 10.0.3 build-1895310

(The latest available at the time of writing)

I want to create a clone of a snapshot.

The snapshot is on the two snapshots behind 'You are here' - the current state.

The computer virtual running windows server 2012.

The virtual machine is completely turned off.

(the virtual machine was turned off within the BONE, and no 'Power Off' option is available in the menu 'Power' after the OS is turned off, indicating (as far as I can tell) that the virtual machine is turned off completely)

However, when you try to create a clone of the snapshot, the dialog box indicates that the virtual machine must be fed first (which I think it is) before making a clone.

The only option available in the dialog box is "Cancel". (ie - the cloning process cannot continue)

The attached picture shows the dialog of Clone, indicating the issue - and behind it, the engine power VM off

(I'm trying to clone the snapshot "Installation")

In other words, I have a completely powered off power VM (as far as I know), but it is impossible to create a clone of a snapshot, as VMWare seems to think that it is always active, for some unknown reason...

Am I something wrong / missing something?

Please advise...

Thanks in advance

James

Welcome to the community,

the reason is that the virtual machine has been turned on at the time you created the snapshot. What you can do is to clone the virtual disk manually using the command line of vmware-vdiskmanager (using the snapshot required as the source hard) and then create a new virtual machine by using the virtual disk cloned rather than creating a new.

André

Tags: VMware

Similar Questions

  • How to find the age of a child and snapshot number snapshot for a virtual machine.

    Hi all

    How to find the age of a snapshot for a virtual machine child count and snapshot.

    This code snippet should help... Assuming that you have the following entries:

    VM (VC:VirtualMachine)

    snapshot (VC:VirtualMachineSnapshot)

    System.log("====== Snapshot details for VM: "+snapshot.config.name+" ======");
    var snapshotTrees = vm.snapshot.rootSnapshotList;
    System.log("Snapshot Tree Count: "+snapshotTrees.length);
    for each (snapshotTree in snapshotTrees){
        showSnapshotInfo(snapshotTree, snapshot);
    }
    
    function showSnapshotInfo(snapshotTree, selectedSnapshot){
        if(selectedSnapshot == snapshotTree.snapshot){
            System.log("====================");
            System.log("Name: "+snapshotTree.name);
            System.log("Id: "+snapshotTree.id);
            System.log("Description: "+snapshotTree.description);
            System.log("createTime: "+snapshotTree.createTime);
            System.log("quiesced: "+snapshotTree.quiesced);
            System.log("replaySupported: "+snapshotTree.replaySupported);
            System.log("backupManifest: "+snapshotTree.backupManifest);
            System.log("snapshot id: "+snapshotTree.snapshot.id);
            System.log("state: "+snapshotTree.state.value);
            var childSnapshotList = snapshotTree.childSnapshotList;
            if(childSnapshotList != null){
                System.log("childSnapshotList length: "+snapshotTree.childSnapshotList.length);
            }
            System.log("");
        }
        if(snapshotTree.childSnapshotList != null){
            System.log("Children found: "+snapshotTree.childSnapshotList.length);
            for each (childSnapshotTree in snapshotTree.childSnapshotList){
                showSnapshotInfo(childSnapshotTree, selectedSnapshot);
            }
        }
    }
    

    During the passage of one of my virtual machines, here is an example of output I get:

    [2014-06-12 15:19:21.493] [I] Snapshot Tree Count: 1
    [2014-06-12 15:19:21.493] [I] ====================
    [2014-06-12 15:19:21.494] [I] Name: before upgrade to 5.0.1
    [2014-06-12 15:19:21.494] [I] Id: 31
    [2014-06-12 15:19:21.494] [I] Description:
    [2014-06-12 15:19:21.495] [I] createTime: Mon Mar 19 2012 13:48:57 GMT-0400 (EDT)
    [2014-06-12 15:19:21.495] [I] quiesced: false
    [2014-06-12 15:19:21.495] [I] replaySupported: null
    [2014-06-12 15:19:21.495] [I] backupManifest: null
    [2014-06-12 15:19:21.496] [I] snapshot id: snapshot-83
    [2014-06-12 15:19:21.496] [I] state: poweredOff
    [2014-06-12 15:19:21.496] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.496] [I]
    [2014-06-12 15:19:21.497] [I] ====================
    [2014-06-12 15:19:21.497] [I] Name: Before 5.1 upgrade
    [2014-06-12 15:19:21.497] [I] Id: 36
    [2014-06-12 15:19:21.497] [I] Description:
    [2014-06-12 15:19:21.498] [I] createTime: Fri Sep 21 2012 21:59:58 GMT-0400 (EDT)
    [2014-06-12 15:19:21.498] [I] quiesced: false
    [2014-06-12 15:19:21.498] [I] replaySupported: null
    [2014-06-12 15:19:21.498] [I] backupManifest: null
    [2014-06-12 15:19:21.499] [I] snapshot id: snapshot-84
    [2014-06-12 15:19:21.499] [I] state: poweredOff
    [2014-06-12 15:19:21.499] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.499] [I]
    [2014-06-12 15:19:21.500] [I] ====================
    [2014-06-12 15:19:21.500] [I] Name: Before Named Instance
    [2014-06-12 15:19:21.500] [I] Id: 37
    [2014-06-12 15:19:21.501] [I] Description:
    [2014-06-12 15:19:21.501] [I] createTime: Mon Nov 11 2013 13:40:46 GMT-0500 (EST)
    [2014-06-12 15:19:21.501] [I] quiesced: false
    [2014-06-12 15:19:21.501] [I] replaySupported: null
    [2014-06-12 15:19:21.502] [I] backupManifest: null
    [2014-06-12 15:19:21.502] [I] snapshot id: snapshot-236
    [2014-06-12 15:19:21.502] [I] state: poweredOff
    [2014-06-12 15:19:21.502] [I]
    
  • VCenter shows a network for a virtual machine that is not associated with any host

    I have a win2k3 VM who at one point had a network assigned to him called "MONITORING".  This network is configured is no longer in the ESXi (5.5) environment.  The virtual machine is connected to a network called "PRD-SURVEILLANCE" which is correct.  It's not really cause a problem, but I can't find a way to get rid of the object of MONITORING network.

    In VCenter MONITORING networks has a VM of 1 meter, the number of hosts of 0.  I also see it in the VM - dialog box, change the settings, but there is no option to remove it.  Profile Image to the virtual machine is version 10 so I can't use the old Client of VI to try to remove it.  I have checked each host and do not see this listed network object.

    I tried to restart the VM, it migration between hosts, changing its network of SURVEILLANCE of PRD to another network and vice versa and close - remove NIC and add a new card network.  MONITORING legacy network still appears in the config.

    For the virtual machine's .vmx file shows that the correct network: ethernet0.networkName = 'RDP-ANALYSIS '.

    Any suggestions on how I can remove the artifact of MONITORING network?

    The virtual machine has a preview that was created at the time where the MONITORING network was still affected?

    André

  • Change the default location of the snapshot for a virtual machine

    Hello. I found this tutorial

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1002929

    on hos to move the default location for the snapshots of a virtual computer. How ever what I don't understand is where can I covering the line in the file *.mvx, "workingDir = "new_path_location" ? I just start typing at the end of the file? The file can be edited in Notepad of windows or I should connect to the host using putty and correct it in nano, for example?

    For example, in the same document, they used

    workingDir = "/vmfs/volumes/46f1225f-552b0069-e03b-00145e808070/vm-snapshots"

    I think that " 46f1225f-552b0069-e03b-00145e808070 " is an identifier for the volume. True or not? If yes how can I list all the volumes that are mapped to the host or vCenter Server identifiers?

    Thank you!

    alexiaesx wrote:

    Hello. I found this tutorial

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1002929

    on hos to move the default location for the snapshots of a virtual computer. How ever what I don't understand is where can I covering, in the file *.mvx, line "workingDir = "new_path_location" ? I just start typing at the end of the file? The file can be edited in Notepad of windows or I should connect to the host using putty and correct it in nano, for example? in any case around, either Notepad or vi or nano - both will be fine.

    For example, in the same document, they used

    workingDir = "/vmfs/volumes/46f1225f-552b0069-e03b-00145e808070/vm-snapshots"

    I think that " 46f1225f-552b0069-e03b-00145e808070 " is an identifier for the volume. True or not? Yes its unique identifier for your vmfs volumes, but its better if you provide your name of store data instead, as if your data store name is XYZ, provide/vmfs/volumes/xyz/vm-snapshot, you can do it using UUID as well but you need to type for long and its not easy to remember.

    If yes how can I list all the volumes that are mapped to the host or vCenter Server identifiers?

    using the cli

    list of esxcli storage vmfs

    using ssh console, this should provide you with all the information for the disks

    Fdisk-lu

    Another thing,

    CD vmfs/volumes /.

    LS - lah

    You can see your vmfs volumes

  • Cannot specify a directory for the Virtual Machine

    I'm new to ESXi naked with me.  I added some records and then to browse the data store and I added the folders in there to specify the different VM..., I have a XP Win7 folder folder, etc.  When I go to create a new Virtual Machine gives me only the choice to select a data store to store the HARD drive and not the folder structure I created in the data store.  Now I can delete the virtual machine to inventory, return to 'Browse the data store' and move the files, and then add the VMX file in the inventory, but it just seems like a pain.  Am I missing something?  Really can not be complicated to arrange your virtual machines, it can?

    Yes, you cannot specify a folder when you create a virtual computer to a data store.  I guess that he has not considered to organize things at this level and honestly.  Organization is really in the 'models and virtual computers '.

  • Virtual machines can not turn off

    On an ESX 4.1 server, VMs can not stopped in the BONE (win2k3), frozen shut down procedure after all windows guest (for example to save your settings) invited dispeared, a gray screen left. the 'performance' diagram display virtual machines are keeping writing data to disk at stable speed.

    Have you cleaned up of the virtual machine software and the specific drivers of the seller for the conversion? Looks like there is a blocking the closure of an operating system process.

  • How to count the number of virtual machines that are turned on.

    Try to learn this PowerShell stuff... oh what fun.

    Given that maintenance mode does not work unless you manually VMotion servers or stop them, I am trying to program a loop to make sure that all VM on the host is disabled.

    How can I get the value of "#PoweredOn" in this statement so that I can compare it? I want to leave the loop when the number of virtual machines under voltage = 0.

    function shutdownGuests()

    {

    Get-VMHost HOST1. Get - VM | Stop-VMGuest

    $num_powered_on = $null

    {}

    Write-Host $num_powered_on

    Write-Host $PoweredOn

    $num_powered_on = get-VMHost HOST1. Select-Object Name, @{Name = "#PoweredOn"; Expression = {($_ |)} Get - VM | Where-Object {$_.} PowerState - eq "Receptor"} | Measure-Object). {{Count}}

    Start-Sleep - seconds 10

    } While that ($num_powered_on & gt; 0)

    #Loop and check to see if all VMs are closed, and then return to main()

    }

    Try something like this:

    while (get-vmhost XXX | get-vm | where { $_.PowerState -ne "PoweredOff" }) {
        # Wait a while
    }
    
  • Backup feature of virtual machine for the virtual machines that are part of a paralytic

    In the powerclibook I found the backup-vm very useful function (Chapter 10)

    I do not post the direct link to the function because I don't know if this is allowed.

    You will find the function if you follow http://www.powerclibook.com/

    I wonder if this could be changed to backup vms several that are part of a paralytic.

    Thanks for help.

    concerning

    Andreas

    Hi Andreas, no problem mentioning the link since we already published as well in our PowerCLI book: download Scripts, functions and Modules post.

    Regarding your question, you can try something like this

    Get-VM-location (Get-VAPP-name MyvApp). %{

    Backup-VM - VM $_ - Datastore (Get-data store MyDS

    )

  • Delete all snapshots for a virtual computer

    Hi all

    Snapshots are deleted a when I execute the command below.

    I need to delete all the snapshots for specific virtual machines on a specific period of time, so I would like the same calendar.

    Get - VM VM1. Remove-Snapshot

    Is it possible to delete all the snapshots at a time, as we have option in vSphere Client.

    Sort the clichés about the property created, take the older.

    Something like that

    Get-VM-name MyVM | Get-Snapshot | Tri-objet-property created. Select - 1 first

  • I can clone (clone full) a virtual machine that has snapshots of Vcenter.

    Hi gurus,

    Can I clone (clone full) an of Vcenter virtual machine that has snapshots.

    Kind regards

    Kamlesh.

    Hello

    Yes, you can clone the virtual computer.

    But your new virtual machine (the clone) will have none of the snapshots of the source of the VM.

    This will be just a version of the source running.

    Tim

  • Can I use the same product key in a virtual machine that I use for the Windows installation that hosts the VM?

    I have a valid Windows 7 Professional installation as well as a copy of VMWare Workstation running on Windows 7. I would like to install a VM Windows 7 that I can "break" without worrying about my host system. Can I use the same product key for the virtual machine that I currently use on the host system, or do I have to buy a different product key for the virtual machine?

    Thank you!

    No, you will need to purchase an additional license. The virtual machine is considered to be a separate computer.

    http://www.Microsoft.com/Windows/buy/default.aspx

    http://Windows.Microsoft.com/en-us/Windows7/get-a-new-Windows-product-key

    2. INSTALLATION AND USE RIGHTS.

    a. one copy per computer. You can install one copy of the software on a single computer. This computer is "licensed computer.

    b. a computer license. You can use the software on up to two processors of the computer under license at some point. Except as provided in these license terms, you cannot use the software on any other computer.

    c. number of users. Except as provided in these license terms, only one user may use the software at a time.

    d. other Versions. The software may include several versions, such as 32-bit and 64-bit. You may install and use only one version at a time.

  • Disable the clichés for individual virtual machines?

    Hi all

    Is it possible to disable support for snapshot for individual virtual machines, perhaps via a parameter for it?  Or is the closest answer you to put all its virtual disks in independent mode?  Try to see how to better meet the requirements that certain suppliers impose that the VM/device does not catch instant and thought that the best solution is to disable the feature for the specific VM (s) only.  Thank you!

    You can watch the snapshot.maxSnapshots configuration setting. See KB 1031280 for more information.

  • Authorization to run a virtual machine power on and off

    We have created an admin custom role for a team request to be able to deploy and Undeploy 6 configurations on their own. When a virtual machine is accidentally turned off users have not the correct access to power on VM. Can someone please provide assistance as to where I could find this permissions when I edit the role? I was digging and need help now... Currently, they have full access to the workspace. I can post screenshots of the current authorizations if that would be helpful. Thanks in advance.

    Hello

    I'd be happy to help our

    Go to the permissions pane.  Make sure that you check all of the options

    Under Type of Machine

    Check: EDIT MACHINE

    NOTE: This will allow them to power the machine back on but will also remove save the State and the creation of snapshots.  No way to exclude other options.

    If you like this answer, please consider giving me a few points

  • SRM 5.5 - vSphere replication - error: impossible to reverse the replication for the Virtual Machine. A snapshot operation cannot be performed

    Hi all, we have just run a test DR failover of a couple of virtual machines in our protected our failover site and all site swung perfectly, two virtual machines came online and all applications work well. However when we cam to r-eprotect machines virtual, we get some errors.

    One of the virtual machines seems to have lived the reprotect end process, it is still running, but has not moved to 89% for some time. The virtual machine has a couple of grand (a little less than 2 TB) VMDK. slow progress is just a consequence of the large VMDK?

    More worrisome is the virtual machine which don't reprotect at all. It generates an error whenever I click on the "Restore" button (error: impossible to reverse the replication for the Virtual Machine.) A snapshot operation can not be performed).


    Does anyone have any ideas as to the cause?

    Thanks in advance for any help.

    Andy

    Finally got to the bottom of this. The issue was that reprotect SRM work was trying to dispel any snapshots that were taken on the computer object virtual destination in VMWare, but could not clean snapshots.

    The reason why snapshots would not consolidate was because it was snapshots of temporary VEEAM who in fact any snapshot file listed in the VSAN data store. So when we looked through the browser data store, no snapshot file existed in the virtual computers folder. Trying a manual removal also failed.

    To fix this, we created a snapshot of the virtual machine in the original data center (note is the engine to the bottom of the virtual machine), this effect was to get rid of the 'fade' snapshot that was visible in the Snapshot Manager that VEEAM backup had left behind. Once this had disappeared, the reprotect back to DCA worked perfectly.

  • A suspended snapshot could not be created for the virtual machine (DC) ha-data center (DC) \vm\VMware vCenter Server Appliance.

    Hello gentlemen,

    I can not only save this virtual machine with Backup Exec 2014 for a long time.

    They are there was no snapshot in snapshot Manager.

    Could you help me?

    A suspended snapshot could not be created for the virtual machine (DC) ha-data center (DC) \vm\VMware vCenter Server Appliance.

    V-79-57344-38260 - failed to create a snapshot of the virtual machine. The virtual machine is no longer exist, or may be too busy to pause to take the snap.

    A suspended snapshot could not be created for the virtual machine (DC) ha-data center (DC) \vm\FRPA111PRIM01.

    V-79-57344-38299-\vm\FRPA111PRIM01 ha-data center (DC) VMVCB::\\192.168.204.42\VCGuestVm\ (DC). To try to take a snapshot of a virtual machine failed because it could not be suspended in a file system.

    Hello

    I found the solution.

    I disabled the JOB BE general relativity.

    and the host where the virtual machine belong was not the right time. No Ntp server has been configured.

    I did and now there works.

    I think that the problem can come from this.

Maybe you are looking for

  • Thunderbird does not have a password

    I had to change my password of e-mail with Verizon. In Thunderbird, I went to the password stored and deleted both pop and smtp stored password. Thunderbird don't ask for new password so that I can not get or send my email in Thunderbird.

  • List of songs iTunes 12.4.0.119 via is M.I.A.

    So, I find Mucked Apple with iTunes... And even once it made it WORSE... No wonder that google is today more important...   So with the version 12.4.0.119 how can a list their files of songs in a 'List view '...  After an hour of research, yet to fin

  • Acer Aspire R13 problems active Pen (R7 - 371T).

    I bought a new R13 Aspire, with recommended acer active pen for this model. Touchpad is flicky and wobbles in his laptop computer screen resolution (very unpleasant to use) place and brightness are great and it is very sensitive to the touch of the f

  • Expand a virtual RAID 5 Partition on a Perc 6i

    All, I'm running a Dell PowerEdge with the Perc 6 / i card. When the server has been setup, a RAID 5 was created from three drives of 2 TB. During the initial construction, I discovered that I could not create a RAID array 5 4 TB to the unique addres

  • Help address IP PIX

    How many subnets can I connect to an interface of a PIX?