[PATCH] Make sure lvm ignores unknown devicemapper devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We ignore unknown devicemapper devices (such as partitions on ignored
dmraid sets, or the livecd squashfs device), make sure that lvm does not
look at these either when looking for pvs.
---
 pyanaconda/storage/devicetree.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 7b6da53..a093639 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -1021,6 +1021,7 @@ 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:
+                lvm.lvm_cc_addFilterRejectRegexp(name)
                 log.warning("ignoring dm device %s" % name)
 
         return device
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux