Using VMware vSphere CLI to convert Sparse Disk to Thick
on
Get link
Facebook
X
Pinterest
Email
Other Apps
Scenario:
VMware virtual machines are being transferred from one hosting provider to another. You are given a desktop SATA disk with the virtual machines files on and you upload the files using the vSphere Client to a VMFS datastore connected to one of your ESXi servers. You right-click on the VMX file and import the machine. The disks appear as either 0 bytes in size or 'Type:' = sparse. You remove the disks and re-add, they still come up as 'Type:' = sparse, and the virtual machine will not boot
The solution:
Use the VMware vSphere CLI to convert the Sparse Disk to Thick using the following command, then remove the sparse disks from the VM and add the converted disks (keeping SCSI IDs in order):
Comments
Post a Comment