----- Original Message ----- > From: "Citros Airv" <citros.a...@gmail.com> > To: users@ovirt.org > Sent: Wednesday, June 18, 2014 5:23:42 PM > Subject: [ovirt-users] Script to determine Direct LUN mapping > > HI, > > I'm writing a script to determine on which guest a Direct Lun is currently > attached to. Any pointers, help, much appreciated.
Not that strong in luns, but I'd use the search, but I'm not sure isLun is supported in search (by quick look at the code it isn't). >From the top of my head, a quick workaround to that is to add prefix to lun >disk aliases, and then use the search with alias starts with "lun_***". You can fetch the vm_names from the disk and proceed from there. > > C > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users