diff options
author | David Lehman <dlehman@redhat.com> | 2009-04-20 17:09:07 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-04-21 10:14:24 -0500 |
commit | a8f19767a96fc004e29f07bcecc212885072ac1d (patch) | |
tree | 11026784e3cbfce4a9e1ca6a1d51a19bc46519d5 /storage/devicetree.py | |
parent | 6fbb07b6c73137dbb317efd7e00b558ea432c411 (diff) | |
download | anaconda-a8f19767a96fc004e29f07bcecc212885072ac1d.tar.gz anaconda-a8f19767a96fc004e29f07bcecc212885072ac1d.tar.xz anaconda-a8f19767a96fc004e29f07bcecc212885072ac1d.zip |
Use incremental mode for all md member addition during probing.
mdadm's assemble and incremental modes for assembling existing arrays
are mutually exclusive. According to dledford, we must use one or the
other -- not a mixture. We will use incremental assembly during device
tree population and then use the assemble command to activate the arrays
once they are fully defined.
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r-- | storage/devicetree.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py index c52184d64..13dd0fb98 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -1328,13 +1328,8 @@ class DeviceTree(object): memberDevices=md_devices, uuid=md_uuid, sysfsPath=sysfs_path, - exists=True, - parents=[device]) - try: - md_array.setup() - except (DeviceError, MDRaidError) as e: - log.info("setup of md array %s failed: %s" - % (md_array.name, e)) + exists=True) + md_array._addDevice(device) self._addDevice(md_array) def handleUdevDMRaidMemberFormat(self, info, device): |