We'll identify them by examining the component devices, so don't even look at the fwraid/mpath devices themselves, if there are any. Related: rhbz#596468 --- iw/filter_gui.py | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/iw/filter_gui.py b/iw/filter_gui.py index 4552491..43acfad 100644 --- a/iw/filter_gui.py +++ b/iw/filter_gui.py @@ -432,7 +432,11 @@ class FilterWindow(InstallWindow): return udev_trigger(subsystem="block") - new_disks = filter(udev_device_is_disk, udev_get_block_devices()) + new_disks = filter(lambda d: udev_device_is_disk(d) and \ + not udev_device_is_dm(d) and \ + not udev_device_is_md(d) and \ + not udev_device_get_md_container(d), + udev_get_block_devices()) mcw = MultipathConfigWriter() cfg = mcw.write() @@ -562,6 +566,7 @@ class FilterWindow(InstallWindow): gobject.TYPE_STRING) self.store.set_sort_column_id(MODEL_COL, gtk.SORT_ASCENDING) + anaconda.id.storage.devicetree.teardownAll() udev_trigger(subsystem="block") # So that drives onlined by these show up in the filter UI storage.iscsi.iscsi().startup(anaconda.intf) @@ -570,7 +575,11 @@ class FilterWindow(InstallWindow): storage.dasd.DASD().startup(anaconda.intf, anaconda.id.storage.exclusiveDisks, anaconda.id.storage.zeroMbr) - disks = filter(udev_device_is_disk, udev_get_block_devices()) + disks = filter(lambda d: udev_device_is_disk(d) and \ + not udev_device_is_dm(d) and \ + not udev_device_is_md(d) and \ + not udev_device_get_md_container(d), + udev_get_block_devices()) mcw = MultipathConfigWriter() cfg = mcw.write() -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list