[ovirt-users] Any way to correlate a VM disk (e.g. /dev/vda) to the vdsm ovirt disk?

Raz Tamir ratamir at redhat.com
Wed Oct 7 18:51:44 UTC 2015


You are right, there is no logical_name attr in disk object before 3.5 [1]

[1] http://www.ovirt.org/Features/ReportGuestDisksLogicalDeviceName




Thanks,
Raz Tamir
Red Hat Israel

On Wed, Oct 7, 2015 at 6:49 PM, <ccox at endlessnow.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
>
> should have said I'm running 3.4.  I don't think there's a logical_name in
> that version.  And by-id or by-uuid doesn't seem to match anything.
>
> Maybe this can't be done in 3.4?
>
>
> _______________________________________________
> 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/f9b6f6d9/attachment-0001.html>


More information about the Users mailing list