Categories: vSphere

Convert sparse disk to Virtual Disk -thick

Convert sparse disk to Virtual Disk -thick

Space Efficient Virtual Disk is a new virtual disk (vmdk) format. It is a sparse format similar to redo log based disk with the added benefit of both growing and shrinking dynamically. This new vmdk format is applicable to both block based storage (iSCSI, FC etc.,) and file based storage (NFS). The block size of these disks is 4KB that aligns well with the NTFS block size and provides maximum space efficiency. In addition, it helps keep IOs aligned on most storage arrays .

Most of the time we will get error after converting a Physical Server to Virtual and save it as Target is workstation . And later after uploading the VMDK & VMX file and powering on the VM . The Solution this problem is convert the sparse disk to thick and power on the vm .

Note :- Virtual Device Node can be SCSI also .

We have to convert the sparse disk using the vmkfstools command. 

To do this perform the following steps:

1. SSH onto the ESX server and navigate to the folder containing the vmdk file in sparse format.

[root@ESX1]# cd /vmfs/volumes/Datastore1/VM1
vmkfstools -i VM1.vmdk -d eagerzeroedthick  VM1-thick.vmdk
[root@ESX1]# vmkfstools -i "VM1.vmdk" -d eagerzeroedthick "VM1-thick.vmdk"
Destination disk format: VMFS eagerzeroedthick
Cloning disk 'VM1.vmdk'...
Clone: 100% done.

2. Run the following command to convert VM1.vmdk to VM1-thick.vmdk:

The result will be as follows:
Note :- Be patient till you will be able to see in console [root@ESX1]#

3. Once it completes remove the old sparse disk from virtual machine by using edit option .

4.Add the newly created thick disk, which is VM1-thick.vmdk, to the VM. You will now see that the format of the disk has changed to thick:

Note :- Virtual Device Node can be SCSI also .

4. Power on the VM and ensure it is working properly.

Rajesh Radhakrishnan

Recent Posts

NAKIVO Backup & Replication v10.8 Released With New Features

Nakivo has released its new Backup and Replication solution Nakivo v10.8, which includes support for…

2 years ago

Oracle Cloud VMware Solution and Features

Oracle Cloud VMware Solution (OCVS) provides a customer-managed, native VMware-based cloud environment hosted in Oracle…

2 years ago

Vinchin Backup and Recovery Review

Vinchin is a professional provider of data protection solutions for enterprises. It provides a series…

2 years ago

VMware Cloud Disaster Recovery (VCDR) Solution Deployment And Configuration Part 2

In my previous blog post, I have explained about VMware Cloud Disaster Recovery (VCDR) Onboarding and…

2 years ago

How to Deploy vRNI Cloud With VMC on AWS

vRealize Network Insight helps you build an optimized, highly available, and secure network infrastructure across…

2 years ago

This SysAdmin Day, WIN with Hornetsecurity!

Can you believe it's here again? SysAdmin Day is back, and with it comes endless gratitude…

2 years ago