diff options
author | NeilBrown <neilb@suse.de> | 2009-11-17 13:15:32 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-11-17 13:15:32 +1100 |
commit | 7d5c3964ccfaace123f7b75e15d38c2650e013d8 (patch) | |
tree | 7103dfe3f49a51131e59233449ffdfd731e0179b /tests/07autodetect | |
parent | 5f175898dedb2bb2635d4d1dcb2afa8c420d5eae (diff) | |
download | mdadm-7d5c3964ccfaace123f7b75e15d38c2650e013d8.tar.gz mdadm-7d5c3964ccfaace123f7b75e15d38c2650e013d8.tar.xz mdadm-7d5c3964ccfaace123f7b75e15d38c2650e013d8.zip |
Change default metadata from 0.90 to 1.1
1.1 is more flexible in a number of ways and is safer.
0.90 is still fully supported.
1.0 should possibly be used for RAID1 arrays that you
want to boot off, depending on your boot loader.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/07autodetect')
-rw-r--r-- | tests/07autodetect | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/07autodetect b/tests/07autodetect index 5460c5b..156cced 100644 --- a/tests/07autodetect +++ b/tests/07autodetect @@ -12,15 +12,15 @@ then fi -mdadm -CR $mdp0 -l0 -f -n1 $dev0 -mdadm -CR $mdp1 -l0 -f -n1 $dev1 +mdadm -CR -e 0 $mdp0 -l0 -f -n1 $dev0 +mdadm -CR -e 0 $mdp1 -l0 -f -n1 $dev1 sfdisk $mdp0 >&2 << END ,,FD END sfdisk $mdp1 >&2 << END ,,FD END -mdadm -CR $md0 -l1 -n2 ${mdp0}p1 ${mdp1}p1 +mdadm -CR -e 0 $md0 -l1 -n2 ${mdp0}p1 ${mdp1}p1 check resync check raid1 check wait |