Σάββατο 14 Ιανουαρίου 2012

Merge multiple vmdk files to single file


So, you have an image for vmware with multiple *.vmdk files but you want to combine them in one.

That can be done with a tool provided by vmware. The vdiskmanager. The procedure is really simple if you have the necessary files... Oh the files I am giving here are for Windows OS. Merging in linux is about the same but you need different files...

Steps:
  1. Download the vdiskmanager executable with all the required .dll files from here.
  2. In order not to mess with paths etc. just place the .exe and all the dlls in the folder were your .vmdk files are.
  3. Open an elevated command prompt and execute vdiskmanager executable like this

     vdiskmanager-7.0.1.exe –r firstfile.vmdk –t 0 singlefile.vmdk  
    

    *firstfile.vmdk is the first vmdk file of your archive (the others have -s001 -s002 at the end of their filename)
    *singlefile.vmdk is the name of the single file you want to be exported.
  4. Wait for some time... that's all.
There might be an error "Failed to convert disk: Disk encoding error (0x3d00003ebd).". If you encounter it, just open the firstfile.vmdk with notepad and change the line where it says encoding to "UTF-8".

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου