[PATCH 5/5] Look up MD arrays by MD UUID, not FS UUID.

David Lehman dlehman at redhat.com
Thu Jun 5 17:45:58 UTC 2014


Related: rhbz#868182
---
 storage/devicetree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 8a31dd3..ea9b18b 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1350,7 +1350,7 @@ class DeviceTree(object):
             log.debug("%s is an md device" % name)
             if device is None and uuid:
                 # try to find the device by uuid
-                device = self.getDeviceByUuid(uuid)
+                device = self.getDeviceByUuid(info.get("MD_UUID"))
 
             if device is None:
                 device = self.addUdevMDDevice(info)
-- 
1.9.0



More information about the anaconda-patches mailing list