[ovirt-users] Script to determine Direct LUN mapping

Gilad Chaplik gchaplik at redhat.com
Thu Jun 19 17:36:24 UTC 2014


----- Original Message -----
> From: "Citros Airv" <citros.airv at gmail.com>
> To: users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list