Geeks With Blogs
Robert Bernstein's Blog Adventures in Windows, .NET, and C++

If you have older VMware Workstation disk images (vmdk files) that are split into multiple parts, you can consolidate them into a single disk image from the command prompt:

vmware-vdiskmanager -r MyVirtualMachineDisk.vmdk -t 0 SingleDiskFile.vmdk

The "-t 0" means "single growable virtual disk".  If you prefer to preallocate all the storage for the disk, use "-t 2" instead, which means "preallocated virtual disk."  You can view more options by running the vmware-vdiskmanager command with no parameters.  It will show you what options are available.

Note that if you are running this against a VMDK with multiple snapshots, you want to specify the latest disk image as the source in the command above.

I found this solution at http://ubuntuforums.org/showthread.php?t=740914

Rob

Posted on Thursday, September 30, 2010 3:14 PM VMware | Back to top


Comments on this post: Consolidating Multiple VMware VMDK Disk Files into One

# re: Consolidating Multiple VMware VMDK Disk Files into One
Requesting Gravatar...
Many thanks, very useful
Left by Name on May 26, 2012 11:47 AM

Your comment:
 (will show your gravatar)


Copyright © Rob | Powered by: GeeksWithBlogs.net