Concat VMDKs with VMware Fusion

Software

VMware Fusion—and as far as I can remember, VMware Workstation—default to splitting disk images into multiple files. There are benefits to doing this, but it might not be what you want depending on your use case.

If you’ve been given a bundle with multiple VMDKs:

$ ls *vmdk
==> disk.vmdk
==> disk-s001.vmdk
==> disk-s002.vmdk
==> disk-s003.vmdk
[..]
==> disk-s00[n].vmdk

You can merge them graphically, like a Boss:

  1. Open the .vmx file in Fusion to import the VM
  2. Go to Virtual MachineSettings
  3. Click the first Hard Disk under Removable Devices
  4. Click ▸ Advanced Options
  5. De-select Split into multiple files

It will sit there chewing away for a few minutes while it concatenates, depending on the size and number of files. And you’ll be left with:

$ ls *vmdk
==> disk.vmdk

Now you can run it through a converter, such as to RAW to boot it on Xen, or something else. Boom!

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

You can leave me a comment by contacting me, and I might publish your thoughts. Please read the FAQs first though.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!