[PATCH 3/4] Default to mirrored RAID instead of striped (#888867).
Chris Lumens
clumens at redhat.com
Tue Jan 22 21:32:00 UTC 2013
---
pyanaconda/ui/gui/spokes/custom.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index be0f179..55399b7 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1350,7 +1350,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
raid_combo = self.builder.get_object("raidLevelCombo")
if device_type == DEVICE_TYPE_MD:
- base_level = "raid0" # FIXME: should be linear
+ base_level = "raid1" # FIXME: should be linear
elif device_type == DEVICE_TYPE_BTRFS:
base_level = "single"
else:
@@ -2325,7 +2325,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# here I suppose we could alter the default based on disk count
raid_level = "single"
elif new_type == DEVICE_TYPE_MD:
- raid_level = "raid0"
+ raid_level = "raid1"
# lvm uses the RHS to set disk set. no foolish minds here.
exists = self._current_selector and self._current_selector._device.exists
--
1.7.11.2
More information about the anaconda-patches
mailing list