[ovirt-users] Any way to correlate a VM disk (e.g. /dev/vda) to the vdsm ovirt disk?
Darrell Budic
budic at onholyground.com
Wed Oct 7 14:41:59 UTC 2015
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.
> On Oct 7, 2015, at 12:43 AM, Raz Tamir <ratamir at redhat.com> wrote:
>
> 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
>
> You will see an attribute called "<logical_name>" .
> I hope that helps
>
>
>
> Thanks,
> Raz Tamir
> Red Hat Israel
>
> On Tue, Oct 6, 2015 at 11:07 PM, <ccox at endlessnow.com <mailto:ccox at endlessnow.com>> wrote:
> I want to correlate virtual disks back to their originating storage under
> ovirt. Is there any way to do this?
>
> e.g. (made up example)
>
> /dev/vda
>
> maps to ovirt disk
>
> disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151007/fc65a772/attachment-0001.html>
More information about the Users
mailing list