I have a VMware Instance that uses "multiple vmdk" format(around 7 vmdk files). I want to write the entire disk image to my pen drive.
If it was "single vmdk" image, I can use
qemu-img convert file.vmdk -O raw /my/drive/
But, I'm unsure on how to do the same with the multiple vmdk format.
Do I have to combine them into a single vmdk and then write to my pen drive, or Is there any alternatives?
Best Answer
It is certainly doable. Assume you have:
Then do this:
The
vmware-vdiskmanager.exe
lives withVMWare Player
(or your chosen VMWare product).combinedImage.vmdk
file to the original file namevmdk-primary.vmdk
.This will not save any space (well maybe some very small portion) but it will get you one disk file rather than several. Alternately, you could just compress all the files and store the archive on your USB thing.
On MacOS, the same can be accomplished using
vmware-fusion
which contains thevmware-vdiskmanager
binary.