summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-21 16:51:48 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-21 16:51:48 +0000
commit1d737a6003b4147b8954d511591711437c9ed0d4 (patch)
tree34b383e7a217177eb202fdfacd89b0785df24fda
parent69316303f95fef331f620cdafc4cf3533d410986 (diff)
downloadanaconda-1d737a6003b4147b8954d511591711437c9ed0d4.tar.gz
anaconda-1d737a6003b4147b8954d511591711437c9ed0d4.tar.xz
anaconda-1d737a6003b4147b8954d511591711437c9ed0d4.zip
we can't stop raid until after we've looked for lvm root parts
-rw-r--r--partedUtils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 080012e65..cfbaff948 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -395,8 +395,6 @@ class DiskSet:
rootparts.append ((dev, fs))
isys.umount(mountpoint)
- self.stopAllRaid()
-
# now, look for candidate lvm roots
lvm.vgscan()
lvm.vgactivate()
@@ -427,6 +425,9 @@ class DiskSet:
lvm.vgdeactivate()
+ # don't stop raid until after we've looked for lvm on top of it
+ self.stopAllRaid()
+
drives = self.disks.keys()
drives.sort()