Convert VMWare Disk from Thick to Thin Provisioned

Convert VMWare Disk from Thick to Thin Provisioned

Last updated on April 17th, 2023 at 01:00 am

Read Time:1 Minute, 11 Second

I’ve had a few Virtual Machines (VMs) which had thick provisioned disks instead of thin, as thick is the default this is quite easy to do.

If you have the paid version of vSphere and two or more hosts managed by vCenter you can simply do a storage vMotion and change the destination disk to thin.

I, like most people using VMWare as a lab or at home, running the free ESXi so this isn’t possible. I’ll show you how to do it in ESXi via the CLI. I did this on 6.5 but it should work for all versions.

Convert VMWare Disk from Thick to Thin Steps

  1. Ensure the VM you want to convert is powered off.
  2. Enable SSH via the GUI (Host > Manage > Services > TSM-SSH > Start)
  3. SSH into the host using something like PuTTy.
  4. Navigate to the VM folder under /vmfs/volumes/ – cd /vmfs/volumes/VM Store/vm01
  5. Clone the vmdk to a thin provisioned disk using vmkfstools with this command:
vmkfstools -i vm01.vmdk -d thin thin-vm01.vmdk
Convert VMWare Disk from Thick to Thin Provisioned 1
Convert VMWare Disk from Thick to Thin
Convert VMWare Disk from Thick to Thin Provisioned 2
Convert VMWare Disk from Thick to Thin

If you go back into the properties of your virtual machine, you should now see that the VM disk is now thin instead of thick.

Comments

Hope this helps somebody! If it does, please leave us a message in the comments below.

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
administrator
Click to rate this post!
[Total: 1 Average: 5]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 542 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.