[rhel6-branch] mpath: create /etc/multipath/bindings if we are using friendly names.

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

 



It needs to be there after all, otherwise mpath doesn't know how to call
the mpath devices during early boot. This results in /boot being mounted
from /dev/mapper/<wwid>p1 instead from /dev/mapper/mpathap1 and causes
concern with the storage QE.

Resolves: rhbz#734374
---
 storage/__init__.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index d644b10..ae38dbc 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -2195,6 +2195,8 @@ class FSSet(object):
         else:
             log.info("not writing out mpath configuration")
         iutil.copy_to_sysimage("/etc/multipath/wwids", root_path=instPath)
+        if self.devicetree.mpathFriendlyNames:
+            iutil.copy_to_sysimage("/etc/multipath/bindings", root_path=instPath)
 
     def crypttab(self):
         # if we are upgrading, do we want to update crypttab?
-- 
1.7.6

_______________________________________________
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