Vmware: How do you merge multiple 2GB disk files to single vmdk file

In case of the 2GB split disk format, your virtual disk consists of multiple data files (e.g. <vmname>-sNNN.vmdk) and one header/descriptor file (<vmname>.vmdk) which describes the virtual disk. In the vmware-vdiskmanager command, it's only the header/descriptor vmdk which you need to supply as the source virtual disk.

Convert to a pre-allocated disk.

vmware-vdiskmanager -r sourceDisk.vmdk -t 2 destinationDisk.vmdk

The following line is simply changing a pre-allocated input disk into a growable target disk.

vmware-vdiskmanager -r sourceDisk.vmdk -t 0 destinationDisk.vmdk

Leave a Reply

Your email address will not be published. Required fields are marked *

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