<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
No need to convert anything, a2ef36fa-ecfa-4138-8f19-2f7609276d4b is
alreay the raw file you need. You can rsync it and rename it to
myvm.img.<br>
<br>
<div class="moz-cite-prefix">Le 13/04/2016 17:28, Budur Nagaraju a
écrit :<br>
</div>
<blockquote
cite="mid:CAHNF9Q9_MfbPn4UqhCOMKFa_Lugjt_-6NZ8nWo2TDzSWxNe5tQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I have exported the vm to the export_domain below are the
two files I found in the path
"/var/lib/exports/export_domain/de23c906-bb57-4d78-9d50-041171b498f2/images/92fc9aa1-cad7-4562-b289-3795573cbb94"<br>
<br>
a2ef36fa-ecfa-4138-8f19-2f7609276d4b<br>
a2ef36fa-ecfa-4138-8f19-2f7609276d4b.meta<br>
<br>
</div>
can we convert from these two files ?<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 13, 2016 at 8:40 PM,
Nathanaël Blanchet <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:blanchet@abes.fr"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> On any host of the
cluster, you will find the export domain mount point under
/rhev/data-center/mnt/MOUNT<br>
Then, you can apply a succession of grep command to find
the ids you need form $MOUNT, for example<br>
<ul>
<li>find the vm:<br>
ID=$(grep $VMNAME -r master/vms/ | awk -F "/" '{ print
$3 }') // gives the vm id</li>
<li>find the disk id :<br>
DISK=grep 'fileRef="' master/vms/$ID | awk -F ' '
'{print $5}' | awk -F \" '{print $2}' // gives the
disk id<br>
</li>
<li>Copy the image anywhere you want.<br>
rsync -av images/DISK mount_point:/$VMNAME.img</li>
</ul>
<p>Note, you can do the same directly on any file system
storage domain based, but be careful that the vm is down
before.<br>
If you want to do the same with a block storage domain,
you may use dd instead of rsync.<br>
</p>
<div>
<div class="h5"> <br>
<br>
<br>
<br>
<div>Le 13/04/2016 16:27, Budur Nagaraju a écrit :<br>
</div>
<blockquote type="cite">
<p dir="ltr">I have exported VM to export domain,may
I know the tools to or commands to convert ?</p>
<div class="gmail_quote">On Apr 13, 2016 7:53 PM,
"Nathanaël Blanchet" <<a moz-do-not-send="true"
href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Yes it is
doable by searching relative ids on the
storage, but the simpliest way to do such a
thing is exporting your vm via the export
domain, then the disk will be in raw format on
the nfs share. Finally, you may manually
redefine your vm properties to libvirt/kvm.<br>
<br>
<div>Le 13/04/2016 14:00, Budur Nagaraju a
écrit :<br>
</div>
<blockquote type="cite">
<p dir="ltr">Hi </p>
<p dir="ltr">Is there anyways to convert
ovirt VM to kvm .IMG VM ?</p>
<p dir="ltr">Thanks,<br>
Nagaraju</p>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a moz-do-not-send="true" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
<pre cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a moz-do-not-send="true" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
</body>
</html>