<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br></div>You can import regular qcow2 images into ovirt with few steps:<br></div>1)check what kind of  image you have qemu-img -info vm4import.img<br></div>2) create an vm with exact disk image size as  qemu-img -info shows.<br></div>3) run vm in paused mode(sometimes it is hard to find out the VM disk)<br></div>4) go to host where paused vm is running: find /rhev |grep &quot;your vm uuid&quot; and get your vm image UUID<br></div>5) do not use dd, use better <br>qemu-img convert -p  -O raw $1  ${2} or<br>qemu-img convert -p  -O qcow2 $1  ${2}<br></div><div>with -p option you have a nice progress bar:)<br></div><div><br></div>Then poweroff the paused vm and start it.<br></div>Maybe someone has a better tools, but sometimes better to get an idea behind the scene without any wodoo scripts.<br><br><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">***********************************************************<br><br> Dr. Arman Khalatyan  eScience -SuperComputing <br> Leibniz-Institut für Astrophysik Potsdam (AIP)            <br> An der Sternwarte 16, 14482 Potsdam, Germany              <br><br>***********************************************************</div></div>
<br><div class="gmail_quote">On Mon, Feb 8, 2016 at 10:40 AM, Barak Korren <span dir="ltr">&lt;<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt;&gt;<br>
&gt; Maybe this will help you?:<br>
&gt; <a href="https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/" rel="noreferrer" target="_blank">https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/</a><br>
&gt;<br>
</span>Thanks! this looks like a step in the right direction!<br>
<br>
A few caveats I see and further questions:<br>
1. Seems I would require a storage domain where I can access the files<br>
from somewhere external to the system. I guess I could try using a VM<br>
running on the same engine instead and attach/detach disks to/from it.<br>
2. This creates a non-sparse, non-thin VM disk no? How much space did<br>
the disk take once you were done?<br>
<span class="im HOEnZb"><br>
<br>
--<br>
Barak Korren<br>
<a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a><br>
RHEV-CI Team<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>