Thursday, July 30, 2009

Merge 2GB VMDK files to one single VMDK file

sometimes when we create Virtual machine inside vmware application we might select create the split virtual disk to multiple files in 2 GB files, this is to enhance the copying process and mainly for storing the VM in File systems that does not support creating larger files.


If we need to convert it back to be a single file; there is a tool called vmware-vdiskmanager.exe can be used to manipulate virtual disk, this tool can be used to convert theses file to be single file by using the below command.

vmware-vdiskmanager.exe –r thefirstfile.vmdk –t 0 singlefile.vmdk

  • Source file thefirstfile.vmdk is the selected in the image below


screenshot of the command: