unsichtbare
Expert
Expert

If you want to create a clone of the VM the way it is right now, just right-click on it and select: Clone.

There will be a new, temporary, snapshot (delta.vmdk) created while the clone is made, then you have 2 VM's! It works perfectly. You can even clone Linked-Clones to fully-provisioned VMs.

If you want to create a clone of the VM as it was before the "snapshot," the answer is a little more complicated, but just as fun! Here's how I would do it:

  1. Power-off the VM and connect to the host using SSH.
  2. Browse to the datastore where the VM exists: cd /vmfs/volumes/datastorename
  3. Create a folder for the new VM: mkdir newvmname
  4. Cd into the old VM folder: cd oldvmname
  5. List files: ls
  6. Run the command: vmkfstools -i oldvmname.vmdk ../newvmname/newvmname.vmdk
    1. This would have to be run once for each source disk, for VMs with more than one disk.
    2. Lots of docs online, or I can provide an illustrated procedure
  7. Now you will have to create a new VM, matching the settings of the original one except:
    1. Custom configuration only
    2. Use an unique name
    3. Use an existing disk, then browse to the disk you made with vmkfstools
    4. Finish

Done!

+The Invisible Admin+ If you find me useful, follow my blog: http://johnborhek.com/
Reply
0 Kudos