Solved

how to create a "linked clone" in ESXi 6

Posted on 2016-07-19
4
398 Views
Last Modified: 2016-07-21
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
Comment
Question by:sqlagent007
  • 2
4 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 41720084
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
 
LVL 1

Author Comment

by:sqlagent007
ID: 41720182
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
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41720303
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
 
LVL 1

Author Closing Comment

by:sqlagent007
ID: 41723431
Thanks!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now