summaryrefslogtreecommitdiffstats
path: root/raid.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-20 01:40:25 +0000
committerMatt Wilson <msw@redhat.com>2001-02-20 01:40:25 +0000
commit4eeb8ea5b415f5bcd40c9f985d4461f287a047d1 (patch)
treee116489f043859242a342870b417503224505b61 /raid.py
parent7733059e05222f05865d1d711688f9d85f73f949 (diff)
downloadanaconda-4eeb8ea5b415f5bcd40c9f985d4461f287a047d1.tar.gz
anaconda-4eeb8ea5b415f5bcd40c9f985d4461f287a047d1.tar.xz
anaconda-4eeb8ea5b415f5bcd40c9f985d4461f287a047d1.zip
don't barf on hotspares
Diffstat (limited to 'raid.py')
-rw-r--r--raid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/raid.py b/raid.py
index ba4e6e744..36123c3e3 100644
--- a/raid.py
+++ b/raid.py
@@ -53,7 +53,7 @@ def scanForRaid(drives):
raidList = []
for key in raidSets.keys():
(level, totalDisks, mdMinor, devices) = raidSets[key]
- if len(devices) != totalDisks:
+ if len(devices) < totalDisks:
str = "missing components of raid device md%d" % (mdMinor,)
raise SystemError, str
raidList.append((mdMinor, devices))