• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2867
  • Last Modified:

how to create a "linked clone" in ESXi 6

I have a hypervisor that I install on my local laptop named "Oracle vBox". In this tool, I am able to create a VM, then create a "linked clone" from the original VM. When I do this the base VM for windows will be about 12GB, but the linked clone will be only 1GB. This is great for saving space.

We have the need to do the same thing in our ESXi 6 development environment. We need to spin up a few windows 10 desktops but they don't need to have amazing performance. It would be great if we could keep them small so the backups go quick.

What I did was create a VM named windows_10_base with a 100GB [c] drive thin provisioned. Then I cloned this to a template, then I created a new VM from the template. Maybe I am reading this wrong however when I browse the VM templates folder and look at my template there is column named "provisioned space" and the provisioned space reads 100GB.

I am not sure if that is actually the disk space the template is consuming, but I was hoping for a small footprint using thin provisioning and linked clones.

Did I go about this the correct way in ESXi? Is there a way I can do the same thing as the Oracle vBox "linked clone"?
0
sqlagent007
Asked:
sqlagent007
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
under the disks you make a differencing disk and use the original disk as the source. You MUST sysprep the operating system if a Microsoft Product (microsoft restriction)
0
 
sqlagent007Author Commented:
Can you show me a screen shot of how to do this or a URL with step by step instructions? I can't figure this out, see my screen shots.
vmware-new-hard-disk.tiff
vm-clone-from-base.tiff
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Linked Clones are only supported in the Horizon View environment.

However ESXi 6.0 does have the technology to create linked clones, and these can be created using scripts.

Do you have vCenter Server, because it's much easier ?

see here

http://sanbarrow.com/linkedcloneswithesxi

http://fewstreet.com/2014/05/30/creating-a-linked-clone-esxi.html

if you have vCenter Server, you can use this script here

http://michlstechblog.info/blog/vmware-vsphere-create-a-linked-clone-with-powercli/
0
 
sqlagent007Author Commented:
Thanks!!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now