mdadm/tests/00multipath
NeilBrown 7d5c3964cc 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>
2009-11-17 13:15:32 +11:00

25 lines
356 B
Plaintext

#
# create a multipath, and fail and stuff
mdadm -CR $md1 -l multipath -n2 $path0 $path1
testdev $md1 1 $mdsize1 1
mdadm $md1 -f $path0
rotest $md1
testdev $md1 1 $mdsize1 1
mdadm $md1 -r $path0
mdadm $md1 -a $path0
rotest $md1
testdev $md1 1 $mdsize1 1
mdadm $md1 -f $path1
mdadm $md1 -r $path1
rotest $md1
testdev $md1 1 $mdsize1 1
mdadm -S $md1