Hi, Anaconda (anaconda-11.1.2.87-1) shipped with RHEL5 U1 supports root on multipath installation. It also supports iSCSI device discovery. But it doesn't support the iSCSI devices to be listed as multipathed devices and thus limits a "root on multipath - iSCSI" solution. I have created patch for above problem. Please find attached patch. After applying patch I am able to see iSCSI devices as multipathed devices and do a root installation on an iSCSI multipathed device. Earlier, DiskSet.mpList was only being checked against "None" condition, but list can even be empty. So if DiskSet.mpList is [], multipath code never used to execute and because of that, multipath devices were never being created. Patch provides solution by checking both conditions, None and []. You can refer following bugzilla for the same. Redhat bugzilla no : 391951 : root on multipath (iSCSI) not supported in Anaconda Regards Nandkumar ------patch---- --- partedUtils.py.org 2007-11-18 13:04:25.000000000 +0530 +++ partedUtils.py 2007-11-19 18:50:27.000000000 +0530 @@ -603,7 +603,7 @@ def startMPath(self): """Start all of the dm multipath devices associated with the DiskSet.""" - if not DiskSet.mpList is None: + if not DiskSet.mpList is None and DiskSet.mpList.__len__() > 0: return log.debug("starting mpaths")
Attachment:
ananconda_partedUtils.patch
Description: ananconda_partedUtils.patch
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list