--Apple-Mail=_985C56DB-ED80-4C7F-8DE8-9B251713BAA3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
You can also find the disk under the =E2=80=9CDisks=E2=80=9D tab in the =
web gui, selecting it will yield the uuid of the virtual disk as ID in =
the disk description panel.=20
On Oct 7, 2015, at 12:43 AM, Raz Tamir <ratamir(a)redhat.com>
wrote:
=20
Hi ccox,
you can see the disk id mapping to device if you execute 'ls -l =
/dev/disk/by-id/' .
Second way, and easier, is to make sure you have guest-agent
installed =
on your guest virtual machine and using rest API you can run GET =
command:
GET on .../api/vms/{vm_id}/disks
=20
You will see an attribute called "<logical_name>" .
I hope that helps
=20
=20
=20
Thanks,
Raz Tamir
Red Hat Israel
=20
On Tue, Oct 6, 2015 at 11:07 PM, <ccox(a)endlessnow.com =
<mailto:ccox@endlessnow.com>> wrote:
I want to correlate virtual disks back to their originating storage =
under
ovirt. Is there any way to do this?
=20
e.g. (made up example)
=20
/dev/vda
=20
maps to ovirt disk
=20
disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_985C56DB-ED80-4C7F-8DE8-9B251713BAA3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">You can also find the disk under the =E2=80=9CDisks=E2=80=9D =
tab in the web gui, selecting it will yield the uuid of the virtual disk =
as ID in the disk description panel. <div class=3D""><br =
class=3D""><div><blockquote type=3D"cite"
class=3D""><div class=3D"">On =
Oct 7, 2015, at 12:43 AM, Raz Tamir <<a =
href=3D"mailto:ratamir@redhat.com"
class=3D"">ratamir(a)redhat.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div
class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_default" =
style=3D"font-family:times new roman,serif;font-size:large">Hi =
ccox,</div><div class=3D"gmail_default" style=3D"font-family:times
new =
roman,serif;font-size:large">you can see the disk id mapping to device =
if you execute 'ls -l /dev/disk/by-id/' .</div><div =
class=3D"gmail_default" style=3D"font-family:times new =
roman,serif;font-size:large">Second way, and easier, is to make sure you =
have guest-agent installed on your guest virtual machine and using rest =
API you can run GET command:</div><div class=3D"gmail_default" =
style=3D"font-family:times new roman,serif;font-size:large">GET on =
.../api/vms/{vm_id}/disks</div><div class=3D"gmail_default" =
style=3D"font-family:times new roman,serif;font-size:large"><br =
class=3D""></div><div class=3D"gmail_default"
style=3D"font-family:times =
new roman,serif;font-size:large">You will see an attribute called =
"<logical_name>" .</div><div
class=3D"gmail_default" =
style=3D"font-family:times new roman,serif;font-size:large">I hope that =
helps</div></div><div class=3D"gmail_extra"><br
clear=3D"all" =
class=3D""><div class=3D""><div
class=3D"gmail_signature"><div dir=3D"ltr"=
class=3D""><div class=3D""><div dir=3D"ltr"
class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div
class=3D""><div dir=3D"ltr" =
class=3D""><font face=3D"times new roman, serif"
size=3D"4" class=3D""><br=
class=3D""></font></div><div dir=3D"ltr"
class=3D""><font face=3D"times =
new roman, serif" size=3D"4" class=3D""><br
class=3D""></font></div><div =
dir=3D"ltr" class=3D""><font face=3D"times new roman,
serif" size=3D"4" =
class=3D"">Thanks,</font><div class=3D""><font
face=3D"times new roman, =
serif" size=3D"4" class=3D"">Raz
Tamir</font></div><div class=3D""><font =
face=3D"times new roman, serif" size=3D"4" class=3D"">Red
Hat =
Israel</font></div></div></div></div></div></div></div></div></div></div>
<br class=3D""><div class=3D"gmail_quote">On Tue, Oct 6,
2015 at 11:07 =
PM, <span dir=3D"ltr" class=3D""><<a =
href=3D"mailto:ccox@endlessnow.com" target=3D"_blank" =
class=3D"">ccox(a)endlessnow.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">I want to correlate =
virtual disks back to their originating storage under<br class=3D"">
ovirt. Is there any way to do this?<br class=3D"">
<br class=3D"">
e.g. (made up example)<br class=3D"">
<br class=3D"">
/dev/vda<br class=3D"">
<br class=3D"">
maps to ovirt disk<br class=3D"">
<br class=3D"">
disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8<br class=3D"">
<br class=3D"">
_______________________________________________<br class=3D"">
Users mailing list<br class=3D"">
<a href=3D"mailto:Users@ovirt.org"
class=3D"">Users(a)ovirt.org</a><br =
class=3D"">
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
rel=3D"noreferrer" target=3D"_blank" =
class=3D"">http://lists.ovirt.org/mailman/listinfo/users<... =
class=3D"">
</blockquote></div><br class=3D""></div>
_______________________________________________<br class=3D"">Users =
mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org"
=
class=3D"">Users(a)ovirt.org</a><br =
class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br =
class=3D""></div></blockquote></div><br
class=3D""></div></body></html>=
--Apple-Mail=_985C56DB-ED80-4C7F-8DE8-9B251713BAA3--