This is a multi-part message in MIME format.
--------------000509000403080008040105
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
No need to convert anything, a2ef36fa-ecfa-4138-8f19-2f7609276d4b is=20
alreay the raw file you need. You can rsync it and rename it to myvm.img.
Le 13/04/2016 17:28, Budur Nagaraju a =C3=A9crit :
I have exported the vm to the export_domain below are the two files
I=20
found in the path=20
"/var/lib/exports/export_domain/de23c906-bb57-4d78-9d50-041171b498f2/im=
ages/92fc9aa1-cad7-4562-b289-3795573cbb94"
a2ef36fa-ecfa-4138-8f19-2f7609276d4b
a2ef36fa-ecfa-4138-8f19-2f7609276d4b.meta
can we convert from these two files ?
On Wed, Apr 13, 2016 at 8:40 PM, Nathana=C3=ABl Blanchet <blanchet@abes=
.fr=20
<mailto:blanchet@abes.fr>> wrote:
On any host of the cluster, you will find the export domain mount
point under /rhev/data-center/mnt/MOUNT
Then, you can apply a succession of grep command to find the ids
you need form $MOUNT, for example
* find the vm:
ID=3D$(grep $VMNAME -r master/vms/ | awk -F "/" '{ print $3
}')
// gives the vm id
* find the disk id :
DISK=3Dgrep 'fileRef=3D"' master/vms/$ID | awk -F ' '
'{print $=
5}'
| awk -F \" '{print $2}' // gives the disk id
* Copy the image anywhere you want.
rsync -av images/DISK mount_point:/$VMNAME.img
Note, you can do the same directly on any file system storage
domain based, but be careful that the vm is down before.
If you want to do the same with a block storage domain, you may
use dd instead of rsync.
Le 13/04/2016 16:27, Budur Nagaraju a =C3=A9crit :
>
> I have exported VM to export domain,may I know the tools to or
> commands to convert ?
>
> On Apr 13, 2016 7:53 PM, "Nathana=C3=ABl Blanchet" <blanchet(a)abes.=
fr
> <mailto:blanchet@abes.fr>> wrote:
>
> 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.
>
> Le 13/04/2016 14:00, Budur Nagaraju a =C3=A9crit :
>>
>> Hi
>>
>> Is there anyways to convert ovirt VM to kvm .IMG VM ?
>>
>> Thanks,
>> Nagaraju
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org <mailto:Users@ovirt.org>
>>
http://lists.ovirt.org/mailman/listinfo/users
>
> --=20
> Nathana=C3=ABl Blanchet
>
> Supervision r=C3=A9seau
> P=C3=B4le Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 =09
> T=C3=A9l. 33 (0)4 67 54 84 55
> Fax 33 (0)4 67 54 84 14
> blanchet(a)abes.fr <mailto:blanchet@abes.fr> =20
>
--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr <mailto:blanchet@abes.fr> =20
--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
--------------000509000403080008040105
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta content=3D"text/html; charset=3Dutf-8"
http-equiv=3D"Content-Ty=
pe">
</head>
<body text=3D"#000000" bgcolor=3D"#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=3D"moz-cite-prefix">Le 13/04/2016 17:28, Budur Nagaraju a
=C3=A9crit=C2=A0:<br>
</div>
<blockquote
cite=3D"mid:CAHNF9Q9_MfbPn4UqhCOMKFa_Lugjt_-6NZ8nWo2TDzSWxNe5tQ@mail.gmai=
l.com"
type=3D"cite">
<div dir=3D"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/imag=
es/92fc9aa1-cad7-4562-b289-3795573cbb94"<br>
<br>
a2ef36fa-ecfa-4138-8f19-2f7609276d4b<br>
=C2=A0a2ef36fa-ecfa-4138-8f19-2f7609276d4b.meta<br>
<br>
</div>
can we convert from these two files ?<br>
</div>
<div class=3D"gmail_extra"><br>
<div class=3D"gmail_quote">On Wed, Apr 13, 2016 at 8:40 PM,
Nathana=C3=ABl Blanchet <span dir=3D"ltr"><<a
moz-do-not-send=3D"true"
href=3D"mailto:blanchet@abes.fr"
target=3D"_blank"><a
class=3D"moz-txt-link-abbreviated" hre=
f=3D"mailto:blanchet@abes.fr">blanchet@abes.fr</a></a>></span>
wrote:<=
br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text=3D"#000000" bgcolor=3D"#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=3D$(grep $VMNAME -r master/vms/ | awk -F "/" '{ prin=
t
$3 }') // gives the vm id</li>
<li>find the disk id :<br>
DISK=3Dgrep 'fileRef=3D"' 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=3D"h5"> <br>
<br>
<br>
<br>
<div>Le 13/04/2016 16:27, Budur Nagaraju a =C3=A9crit=C2=
=A0:<br>
</div>
<blockquote type=3D"cite">
<p dir=3D"ltr">I have exported VM to export
domain,ma=
y
I know the tools to or commands to convert ?</p>
<div class=3D"gmail_quote">On Apr 13, 2016 7:53 PM,
"Nathana=C3=ABl Blanchet" <<a
moz-do-not-send=3D=
"true"
href=3D"mailto:blanchet@abes.fr" target=3D"_blank=
">blanchet(a)abes.fr</a>&gt;
wrote:<br type=3D"attribution">
<blockquote class=3D"gmail_quote"
style=3D"margin:0=
0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text=3D"#000000"
bgcolor=3D"#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=C2=A0 to libvirt/kv=
m.<br>
<br>
<div>Le 13/04/2016 14:00, Budur Nagaraju a
=C3=A9crit=C2=A0:<br>
</div>
<blockquote type=3D"cite">
<p dir=3D"ltr">Hi </p>
<p dir=3D"ltr">Is there anyways to convert
ovirt VM to kvm .IMG VM ?</p>
<p dir=3D"ltr">Thanks,<br>
Nagaraju</p>
<br>
<fieldset></fieldset>
<br>
<pre>________________________________________=
_______
Users mailing list
<a moz-do-not-send=3D"true" href=3D"mailto:Users@ovirt.org"
target=3D"_bl=
ank">Users(a)ovirt.org</a>
<a moz-do-not-send=3D"true"
href=3D"http://lists.ovirt.org/mailman/listin=
fo/users"
target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us...
</a>
</pre>
</blockquote>
<br>
<pre cols=3D"72">--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a moz-do-not-send=3D"true" href=3D"mailto:blanchet@abes.fr"
target=3D"_b=
lank">blanchet(a)abes.fr</a> </pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
<pre cols=3D"72">--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a moz-do-not-send=3D"true" href=3D"mailto:blanchet@abes.fr"
target=3D"_b=
lank">blanchet(a)abes.fr</a> </pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class=3D"moz-signature" cols=3D"72">--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:blanchet@abes.fr">bl=
anchet(a)abes.fr</a> </pre>
</body>
</html>
--------------000509000403080008040105--