thick thin provision

Converting Thick Provision Lazy Zeroed disk to Thin on VMware ESXi

The reason why Administrator can start to look for solution on disk conversion from Thick to Thin on VMware ESXi is the low speed of the disk subsystem when writing files. By default, the type of the newly created virtual disk is Thick Provision Lazy Zeroed format, which is adversely affects the future performance of the system. It’s better to use Thin Provision or Thick Provision Eager Zeroed (in this case, the entire disk space is filled with zeros, slowing the process of creating a disk, but increasing the speed of work in the future).

There are two different ways for converting Thick Provision Disk to Thin Provision:

  • using Storage vMotion feature of a VMware vSphere
  • using CLI (the only one way to convert disk on a standalone VMware ESXi host)

Changing the Thick to Thin Provisioning of a virtual disk Using Storage VMotion

Using Storage vMotion feature of a VMware vSphere, you can relocate any virtual machine with disk to different VMFS storage (different LUN) without interruption of services and applications. During migration of VM disks between storages, you can also change the type of the disk.

To get the current disk provisioning type for the specific VM, you have to open it’s settings and check the value of the disk type field. In our case the type of virtual disk is Thick provision lazy zeroed.

READ ALSO  Top Windows 10 Video Converter: Convert & Download Any Videos Fast & Easy

thick provision lazy zeroed

To change the disk type, you should move VM files to another datastore.

Tip. If you have only 1 VMFS datastore, you can create temporary additional storage on any Windows server and connect it to the ESXi server via NFS.

Open Virtual Machine action menu and select Migrate.

vm hardware migrate

Select the migration type Change storage only.

migration type

Select Thin Provision as a virtual machine disk format and choose one of the available VMFS/NFS storage on which you want to migrate the VM. Click Next.

thick provision

Wait until the virtual machine files will be moved to the new storage.

recent tasks

Now make sure that the type of the disc is changed to Thin provision.

thin provision

How to change disk provisioning type using ESXI CLI

The method of changing disk provisioning type using CLI involves copying current vmdk file to a new thin provisioned disk and removing old thick disk.

At first, you should power off your VM. To connect to the ESXi host CLI over SSH, you have to enable SSH service in the ESXi settings and allow incoming connection on TCP/22 port  (Manage->Settings -> Security Profile).

manage security profile

Connect to ESXi server as root using favorite SSH client (for example,  Putty) and change directory to the vmfs/volumes:


List the available datastores:

ls –lh

And go to the folder, containing your VM files.

READ ALSO  How to Install Windows 10 on VMWare ESXi 6.0

vm files putty

List the files containing in the directory:


We are interested in the file w10rtm-test.vmdk. To convert this file from Thick to Thin, run the following command:

vmkfstools -i w10rtm-test.vmdk -d thin w10rtm-test-thin.vmdk

VMFS thin provision

After the convertation is completed, delete the original Thick disk file w10rtm-test.vmdk:

rm w10rtm-test.vmdk

And rename the resulting Thin disk:

mv w10rtm-test-thin.vmdk w10rtm-test.vmdk

Now using vSphere Client or vSphere Web client open the VM settings and delete old disk (Select Remove from virtual machine). After that add new disk : Add -> Hard Disk -> Use an existing virtual disk -> select file w10rtm-test.vmdk on your datastore->Next->Finish.

select existing disk

Now, you can power on your VM.

You may also like:

VMware ESXi: Shared Disk Between VMs In some cases (as a rule in clustering scenarios) it may be necessary to share the same disk between 2 (or more) virtual machines (VMs). The most opti...
Configure Autostart of VM on VMware ESXi By default, virtual machines located on VMWare ESXi or VMware Hypervisor is not starting automatically at the host boot. This means that after the ESX...
Time Configuration for a Virtualized Domain Contro... Today we will talk about some of the features of time configuration on a virtualized domain controllers. Typically, the time synchronization scheme in...
How to Install Windows 10 on VMWare ESXi 6.0 This installation guide will explain each phase step by step and guide you through Windows 10 operating system installation on a virtual machine (VM) ...
How to Mount Windows Folder into VMware ESXi In this article we will take a look on how to connect a network folder from Windows 2012 R2 Server as a datastore on the VMware ESXi host and use it t...