Re: [PATCH] Make sure lvm ignores unknown devicemapper devices

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

 



On 06/21/2010 02:11 PM, Hans de Goede wrote:
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

Ack.

_______________________________________________
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