<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">You can also find the disk under the “Disks” tab in the web gui, selecting it will yield the uuid of the virtual disk as ID in the disk description panel. <div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 7, 2015, at 12:43 AM, Raz Tamir <<a href="mailto:ratamir@redhat.com" class="">ratamir@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Hi ccox,</div><div class="gmail_default" style="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="gmail_default" style="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="gmail_default" style="font-family:times new roman,serif;font-size:large">GET on .../api/vms/{vm_id}/disks</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br class=""></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">You will see an attribute called "<logical_name>" .</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">I hope that helps</div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><font face="times new roman, serif" size="4" class=""><br class=""></font></div><div dir="ltr" class=""><font face="times new roman, serif" size="4" class=""><br class=""></font></div><div dir="ltr" class=""><font face="times new roman, serif" size="4" class="">Thanks,</font><div class=""><font face="times new roman, serif" size="4" class="">Raz Tamir</font></div><div class=""><font face="times new roman, serif" size="4" class="">Red Hat Israel</font></div></div></div></div></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Tue, Oct 6, 2015 at 11:07 PM, <span dir="ltr" class=""><<a href="mailto:ccox@endlessnow.com" target="_blank" class="">ccox@endlessnow.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="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="">
ovirt. Is there any way to do this?<br class="">
<br class="">
e.g. (made up example)<br class="">
<br class="">
/dev/vda<br class="">
<br class="">
maps to ovirt disk<br class="">
<br class="">
disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8<br class="">
<br class="">
_______________________________________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman/listinfo/users</a><br class="">
</blockquote></div><br class=""></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></body></html>