When doing custom partitioning, and adding an mdraid array, and a pre-existing array has a minor > 32, we will back trace, this patch fixes this. --- storage/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/__init__.py b/storage/__init__.py index adbcd4d..a808acd 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -549,7 +549,7 @@ class Storage(object): """ Return a list of unused minors for use in RAID. """ raidMinors = range(0,32) for array in self.mdarrays + self.mdcontainers: - if array.minor is not None: + if array.minor is not None and array.minor in raidMinors: raidMinors.remove(array.minor) return raidMinors -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list