2

I am currently running Vcenter 6.7 and ESXi 6.0 with VMFS5 in our infrastructure. And I often have to move VM disks from a DataStore to another in order to free up space.

When using the VCenter MOVE operation on a select VM Subfolder in the Datastore File explorer and moving it to another datastore, the VMDK file which was thin provisioned and used 35GB was converted to thickly provisioned disk weighting 100GB after the move to the new Datastore.

When using the VCenter MIGRATE operation on a selected VM Machine inside the linked ESXi host (only one host connected to VCenter per DataCenter(3)) we are able to select the migrate storage only, see pic: https://imgur.com/a/zdXP99T and obtain the VMDK migrated and still thin provisioned. BUT we are only able to perform this MIGRATE operation on VMs that are inside the connected Vcenter's Esxi host and not other VMs folder hosted on different ESXI host.

Here is little drawing explaining this. https://i.imgur.com/hG5cqoq.png

I've read about the Unmap command but I am not sure if it applies to actual VMDK or whole Datastores.

Alfred Eid
  • 21
  • 2
  • 1
    Basic question: Is there anything preventing you from linking the standalone VMware host to the vCenter? – ewwhite Apr 01 '19 at 17:43
  • licensing. We only have 6 CPU and we are trying to thin it out across 3 datacenters (geographically different). So 3 hosts with 2 CPU each. – Alfred Eid May 09 '19 at 20:50

2 Answers2

2

It is possible to convert thick to thin only by copying VMDK file to different datastore/folder or within the folder with proper cmdlet:

vmkfstools -i "/vmfs/volumes/<source datastore>/<vm-folder>/test.vmdk" "/vmfs/volumes/<destination datastore>/<dest-folder>/test.vmdk" -d thin -a lsilogic

more info - https://communities.vmware.com/thread/486311

A.Newgate
  • 1,476
  • 5
  • 11
0

What we have done is after move, we then cloned the vm and select thin during the cloning process, and then after it is up and running and passes all checks, we delete the older Thick provisioned one. Hope this helps. -Greg

Greg Olson
  • 27
  • 2