summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-17 23:03:59 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-17 23:05:30 -0800
commit40c8ee2b2473778f4b8000dfb8a5c71a05dc4744 (patch)
treeae9bb6ec32b7f871abb9ca5b22085102691f3429 /scripts/install
parent12c13ef43b1f9f170d9b402d745e0b6f3357d73e (diff)
downloadvyatta-cfg-system-40c8ee2b2473778f4b8000dfb8a5c71a05dc4744.tar.gz
vyatta-cfg-system-40c8ee2b2473778f4b8000dfb8a5c71a05dc4744.zip
Bugfix 6687: Need to explicitly specify the RAID metadata version number.
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
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