On Tue, Jul 14, 2020 at 10:50 PM Nir Soffer <nsoffer@redhat.com> wrote:


Fixing the metadata is not easy.

First you have to find the volumes related to this disk. You can find
the disk uuid and storage
domain uuid in engine ui, and then you can find the volumes like this:

lvs -o vg_name,lv_name,tags | grep disk-uuid

Only to add that possibly the RHV logical volumes are filtered out at lvm.conf level, so in this case it could be necessary to bypass the filter to see the information, like this:

lvs --config 'devices { filter = [ "a|.*|" ] }' -o vg_name,lv_name,tags | grep disk-uuid

Gianluca