diff options
author | Neil Brown <neilb@suse.de> | 2005-08-16 07:00:22 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-08-16 07:00:22 +0000 |
commit | c13c45e9130608314ced83ac488c386ac502865b (patch) | |
tree | 9fb02cbb0767325ac9e3cda98f9de0b4c90c3a90 /tests | |
parent | fe80f49b6e157e006d63d0319f6d022226e4e197 (diff) | |
download | mdadm-c13c45e9130608314ced83ac488c386ac502865b.tar.gz mdadm-c13c45e9130608314ced83ac488c386ac502865b.tar.xz mdadm-c13c45e9130608314ced83ac488c386ac502865b.zip |
Add test for multipath and make it work.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/00multipath | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/00multipath b/tests/00multipath new file mode 100644 index 0000000..efad690 --- /dev/null +++ b/tests/00multipath @@ -0,0 +1,24 @@ + +# +# create a multipath, and fail and stuff + +mdadm -CR $md1 -l multipath -n2 $path0 $path1 + +testdev $md1 1 $mdsize0 1 + +mdadm $md1 -f $path0 +rotest $md1 +testdev $md1 1 $mdsize0 1 + +mdadm $md1 -r $path0 +mdadm $md1 -a $path0 + +rotest $md1 +testdev $md1 1 $mdsize0 1 + +mdadm $md1 -f $path1 +mdadm $md1 -r $path1 +rotest $md1 +testdev $md1 1 $mdsize0 1 + +mdadm -S $md1 |