
Hi Amedeo, Was the LUN that was lost a separate storage domain? if it was, you can list all the disks in the system and then filter the list for disks on that storage domain. for example, in python sdk: disks = api.disks.list() [disk for disk in disks if disk.get_storage_domains().get_storage_domain().get_id() == fc_storage_domain_id] Thanks, Gadi Ickowicz ----- Original Message ----- From: "Amedeo Salvati" <amedeo@oscert.net> To: "Meital Bourvine" <mbourvin@redhat.com> Cc: users@ovirt.org Sent: Sunday, April 13, 2014 3:05:37 PM Subject: Re: [ovirt-users] List disk images residing on specific lun Il 13/04/2014 12:37, Meital Bourvine ha scritto:
Hi Amedeo,
I don't think that it's possible. But if your storage domain contains only 1 FC lun, then listing the disks on this storage domain will provide you the info.
----- Original Message -----
From: "Amedeo Salvati" <amedeo@oscert.net> To: users@ovirt.org Sent: Sunday, April 13, 2014 1:23:13 PM Subject: [ovirt-users] List disk images residing on specific lun
Hello,
does anyone know if it's possible, using ovirt-shell or api, to list every disk image residing on specific FC LUN?
best regards Amedeo Salvati _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Meital and all, unfortunately we have several luns, but we've lost one of them (and it's not possible to recover it from the box), so we're looking to know what images are residing on that lun due to remove those images from db/engine gui... using lvm command on hypervisor node it's possible to match lv name still alive, with some id present on engine db or by ovirt-shell cmd like "list disk --show-all" ? thanks in advance a _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users