Solved

how to create a "linked clone" in ESXi 6

Posted on 2016-07-19
4
1,625 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 82

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 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Suggested Courses

623 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