[Engine-devel] Getting the storage domain of a LunDisk

Mike Kolesnik mkolesni at redhat.com
Wed Aug 8 06:58:04 UTC 2012


----- Original Message -----
> On 08/07/2012 05:06 PM, Hopper, Ricky wrote:
> > Hi all,
> >
> > Does anyone know the best way to get the storage domain of a
> > LunDisk
> > object? I don't know if there's some query or anything I'm failing
> > to
> > find, but I can't find anything within the class itself that's
> > definitive.
> 
> a LUN disk is not in any storage domain?

AFAIK LUN disk simply resides on a LUN, that's why it has the field:
    private LUNs lun;

A SD can possibly also reside on this LUN if this behaviour is desirable (I'm not sure if this is acceptable or not in oVirt), but is not necessary for the disk to function.

> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list