Page 1 of 1

Cannot convert ACS from .vmdk to qcow2

Posted: Fri Nov 24, 2017 4:04 pm
by mikelibero
I'm installing ACS and I reached point 2.3 of the manual but cannot go further.
The instruction says " From EVE CLI go to your newly created ACS folder and convert uploaded vmdk file to qcow2 format" ... and than two commands:

cd /opt/unetlab/addons/qemu/acs-5.8.1.4/

with which I land in acs-.../ directory. Now shouId I execute the second part in this directory or how? Asking because it doesn't work and I have to deal with unix for the first time in my life :? My command looks like this:

/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ACS-disk1.vmdk hda.qcow


please could you specify how it should be executed?
Thx

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Fri Nov 24, 2017 11:41 pm
by Uldis (UD)
you have to be sure in your command is right vmdk filename
in the how to are used my filename, marked in red.
you have yo use your own vmdk filename

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Sat Nov 25, 2017 5:23 pm
by mikelibero
I did this of course. My filename is ACS.vdmk. It is localized in /opt/unetlab/addons/qemu/acs-5.8.1.4 .
Now I go to this file folder using mobaXterm client with command:

cd /opt/unetlab/addons/qemu/acs-5.8.1.4/

and enter the command:

/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ACS.vmdk hda.qcow2


Then after I get the following error:

qemu-img: Could not open 'ACS.vmdk': Invalid footer


Something's wrong with the syntax but what?

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Sat Nov 25, 2017 10:17 pm
by Uldis (UD)
type ls

after you are in that location, do you see that file at all

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Sun Nov 26, 2017 4:52 am
by mikelibero
Yes, the file is there:

root@eve-ng:/opt/unetlab/addons/qemu/acs-5.8.1.4# ls
ACS.vmdk
root@eve-ng:/opt/unetlab/addons/qemu/acs-5.8.1.4#

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Sun Nov 26, 2017 8:38 am
by Uldis (UD)
go to location where is ACS.vmdk file and run:

Code: Select all

/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ACS.vmdk hda.qcow2
/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ACS.vmdk hda.qcow2

if not working, then you did badly export from esxi

Re: Cannot convert ACS from .vmdk to qcow2

Posted: Sun Nov 26, 2017 8:53 am
by mikelibero
Hm, could be....ok, I will read the manual and try to export one more time.
thx