Converting a Lazy Zeroed disk to Eagerly


Logon to the ESXI Server where the VM is stored using a product like putty.

Ensure the VM is turned off.

The following command lists the datastores:

“ls” is used to List subregions – used to list out files in  a directory.

ls /vmfs/volumes

VMWARE_EAGERDISK1

VMWARE_EAGERDISK2

ls /vmfs/volumes/ESX01_Internal1/

VMWARE_EAGERDISK3

ls /vmfs/volumes/ESX01_Internal1/RDS2012/

VMWARE_EAGERDISK4

"vmkfstools -k /vmfs/volumes/ESX01_Internal1/RDS2012/RDS2012.vmdk"

Use “vmkfstools -k”  to convert a Lazy Zeroed disk to a Eagerly Zeroed disk.

10 thoughts on “Converting a Lazy Zeroed disk to Eagerly

  1. Does the VM have to be powered off for this to work? I tried this with a running vm and got a lock error.

  2. Hi, thx for this good instruction. Process is done and looking fine. But the disk with in the VM properties is still shown as lazy-zeroed!? Is this correct?

    1. Hi Christian,

      You can check the type of VMDK by using the command “vmkfstools -D”

      If the output appears similar to the following with tbz at zero, the VMDK is eagerzeroedthick. Otherwise it is zeroedthick.

      I find that by starting the VM, it will re-register the VM and update the properties. You should see that the VM properties will show eager or Lazy. You can also reattach the disk to the VM as Reed mentioned.

      Best Regards,

      1. Thank you!
        It showed the disk to be a lazy zeroed one. After reattaching the disk to the vm it now shows the correct format.

        Best regards,

  3. Thank you for the great article. For the benefit of anyone else viewing this article, there are a few errors. The instructions incorrectly state (last two lines):

    ls vmfstools -k /vmfs/volumes/ESX01_Internal1/RDS2012/RDS2012.vmdk
    Use “vmfstools -k” to convert a Lazy Zeroed disk to a Eagerly Zeroed disk.

    Using the command listed here results in receiving the error “ls: vmfstools: No such file or directory”. As is correctly used in the screenshot, you should omit the “ls” and the command is “vmkfstools” and not “vmfstools”.

    1. Dear Reed, Thank you for highlighting the Typos. This has now been altered to show “vmkfstools” as per my screenshot.

      “ls” is used to list out files in the directory (List subregions), readers may use this when locating the VMDK they want to convert but its not used when running the conversion command.

      Best Regards,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s