diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-01-17 23:03:59 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-20 15:08:01 -0800 |
commit | 7277839574d6a2fc0ef2ca62ae0ca1b099a73c69 (patch) | |
tree | 02afdc6f3b60cdbd2f5f2cf87f1287357c81536e | |
parent | dead94ec995c4b7744927d949e839197b0027ddc (diff) | |
download | vyatta-cfg-quagga-7277839574d6a2fc0ef2ca62ae0ca1b099a73c69.tar.gz vyatta-cfg-quagga-7277839574d6a2fc0ef2ca62ae0ca1b099a73c69.zip |
Bugfix 6687: Need to explicitly specify the RAID metadata version number.
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
-rwxr-xr-x | scripts/install-system | 2 | ||||
-rwxr-xr-x | scripts/install/install-get-partition | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-system b/scripts/install-system index 17adb98c..9a860d63 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -469,7 +469,7 @@ check_for_new_raid () { echo "Creating RAID-1 group on partitions: /dev/${drive1}${data_dev} /dev/${drive2}${data_dev}" raid_dev=md0 - mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} + mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 --metadata=0.90 /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} if [ $? = 0 -a -e /dev/$raid_dev ]; then echo "RAID-1 group created successfully:" diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 50ba7505..9b7aa259 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -306,7 +306,7 @@ check_for_new_raid () { echo "Creating RAID-1 group on partitions: /dev/${drive1}${data_dev} /dev/${drive2}${data_dev}" raid_dev=md0 - mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 \ + mdadm --create /dev/$raid_dev --level=1 --raid-disks=2 --metadata=0.90 \ /dev/${drive1}${data_dev} /dev/${drive2}${data_dev} if [ $? = 0 -a -e /dev/$raid_dev ]; then |