diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-21 16:51:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-21 16:51:48 +0000 |
commit | 1d737a6003b4147b8954d511591711437c9ed0d4 (patch) | |
tree | 34b383e7a217177eb202fdfacd89b0785df24fda /partedUtils.py | |
parent | 69316303f95fef331f620cdafc4cf3533d410986 (diff) | |
download | anaconda-1d737a6003b4147b8954d511591711437c9ed0d4.tar.gz anaconda-1d737a6003b4147b8954d511591711437c9ed0d4.tar.xz anaconda-1d737a6003b4147b8954d511591711437c9ed0d4.zip |
we can't stop raid until after we've looked for lvm root parts
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 5 |
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() |