diff options
author | Peter Jones <pjones@redhat.com> | 2006-07-26 15:44:17 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-07-26 15:44:17 +0000 |
commit | cf11a1dd53151097bd9343640fb838149271149e (patch) | |
tree | 6803b67b123901564372e7a787a6010cd200d580 /partitions.py | |
parent | d16d4cbeedcc993c14c0229c409c701602203db7 (diff) | |
download | anaconda-cf11a1dd53151097bd9343640fb838149271149e.tar.gz anaconda-cf11a1dd53151097bd9343640fb838149271149e.tar.xz anaconda-cf11a1dd53151097bd9343640fb838149271149e.zip |
- update multipath and dmraid support, make it actually install
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/partitions.py b/partitions.py index f13ac6b54..25079e96d 100644 --- a/partitions.py +++ b/partitions.py @@ -142,7 +142,9 @@ class Partitions: part = disk.next_partition(part) # now we need to read in all pre-existing RAID stuff - diskset.startAllRaid() + diskset.startMPath() + diskset.startDmRaid() + diskset.startMdRaid() mdList = diskset.mdList for raidDev in mdList: (theDev, devices, level, numActive) = raidDev @@ -266,7 +268,7 @@ class Partitions: lvm.vgdeactivate() - diskset.stopAllRaid(stopDmRaid=False, stopMPath=False) + diskset.stopMdRaid() def addRequest (self, request): """Add a new request to the list.""" @@ -1317,7 +1319,9 @@ class Partitions: """Does the removal of all of the non-physical volumes in the delete list.""" # have to have lvm on, which requires raid to be started - diskset.startAllRaid() + diskset.startMPath() + diskset.startDmRaid() + diskset.startMdRaid() lvm.vgactivate() snapshots = {} @@ -1356,8 +1360,7 @@ class Partitions: delete.setDeleted(1) lvm.vgdeactivate() - diskset.stopAllRaid(stopDmRaid=False, stopMPath=False) - + diskset.stopMdRaid() def deleteDependentRequests(self, request): """Handle deletion of this request and all requests which depend on it. |