Related: rhbz#1090009
Don't filter, even if the device can not be found in the device tree.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
blivet/devicetree.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 7130c2f..fa43936 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -801,6 +801,10 @@ class DeviceTree(object):
# something must be wrong -- if all of the slaves are in
# the tree, this device should be as well
if device is None:
+ if flags.allow_imperfect_devices:
+ log.warning("failed to scan dm array %s, but array may still be
usable and imperfect devices are allowed", name)
+ return None
+
lvm.lvm_cc_addFilterRejectRegexp(name)
log.warning("ignoring dm device %s", name)
--
1.9.3