convertfromraw --format vmdk bigger than GUI export?
Posted: 11. Nov 2009, 00:43
Hi,
I've been trying to create small vmdk images for distribution. I have a disk with around 2GB of data. When I use VBoxManage convertfromraw --format vmdk, I get a file of around 1.7GB. However, when I add the resulting .vmdk file to Virtualbox, and then export an appliance from there, I get a .vmdk file of just over 600MB. Is there any way to make createfromraw create .vmdk images in the same way as the GUI export appliance feature? Perhaps some of the --variant options (I couldn't find those documented anywhere...).
I've had a look around in the source code, but that didn't help much yet :-)
Any ideas?
I've been trying to create small vmdk images for distribution. I have a disk with around 2GB of data. When I use VBoxManage convertfromraw --format vmdk, I get a file of around 1.7GB. However, when I add the resulting .vmdk file to Virtualbox, and then export an appliance from there, I get a .vmdk file of just over 600MB. Is there any way to make createfromraw create .vmdk images in the same way as the GUI export appliance feature? Perhaps some of the --variant options (I couldn't find those documented anywhere...).
I've had a look around in the source code, but that didn't help much yet :-)
Any ideas?