I use VMWare Fusion as a hypervisor on Mac OS and I'm transitioning to a Vagrant based workflow since the Vagrant VMWare Fusion provider is out and it's looking all right so far.
In preparation of turing the VMWare images into a Vagrant formatted box, I'd need to defragment all virtual disk images. Given that there might be a few of these in the
.vmwarevm image, we'd need to try defragmenting all of the available disk images:
for f in *.vmdk; do vmware-vdiskmanager -d $f; done;
When you will done, you should shrink the defragmented images before you'd proceed with Vagrant:
for f in *.vmdk; do vmware-vdiskmanager -k $f; done;
In case there's demand I'll post a thorough tutorial on how to import (or convert) existing VMWare images into Vagrant boxes.
I'm a Ruby/JS dev/trainer with a focus on quality. An ex-Londoner, @terracycle, @ubxd, @lastfm. Follow me at http://twitter.com/attilagyorffy