summaryrefslogtreecommitdiffstats
path: root/tests/imsm-grow-template
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-05 13:44:58 +0100
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-07 08:20:12 +0100
commit0d28a5dcc17feaaee803cd6d08e50e0a2da30f43 (patch)
tree1f0f40a88e923a9d78178851f5e7b509a905556f /tests/imsm-grow-template
parentmdopen: remove wrong condition (diff)
downloadmdadm-0d28a5dcc17feaaee803cd6d08e50e0a2da30f43.tar.xz
mdadm-0d28a5dcc17feaaee803cd6d08e50e0a2da30f43.zip
tests: remove --auto
It is deprecated and it is not tested now. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'tests/imsm-grow-template')
-rw-r--r--tests/imsm-grow-template10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/imsm-grow-template b/tests/imsm-grow-template
index 1a8676e0..f69e0257 100644
--- a/tests/imsm-grow-template
+++ b/tests/imsm-grow-template
@@ -37,24 +37,24 @@ function grow_member() {
}
# Create container
-mdadm --create --run $container --auto=md --metadata=imsm --raid-disks=$num_disks $device_list
+mdadm --create --run $container --metadata=imsm --raid-disks=$num_disks $device_list
check wait
imsm_check container $num_disks
# Create first volume inside the container
if [[ ! -z $vol0_chunk ]]; then
- mdadm --create --run $member0 --auto=md --level=$vol0_level --size=$vol0_comp_size --chunk=$vol0_chunk --raid-disks=$num_disks $device_list
+ mdadm --create --run $member0 --level=$vol0_level --size=$vol0_comp_size --chunk=$vol0_chunk --raid-disks=$num_disks $device_list
else
- mdadm --create --run $member0 --auto=md --level=$vol0_level --size=$vol0_comp_size --raid-disks=$num_disks $device_list
+ mdadm --create --run $member0 --level=$vol0_level --size=$vol0_comp_size --raid-disks=$num_disks $device_list
fi
check wait
# Create second volume inside the container (if defined)
if [ ! -z $vol1_level ]; then
if [ ! -z $vol1_chunk ]; then
- mdadm --create --run $member1 --auto=md --level=$vol1_level --size=$vol1_comp_size --chunk=$vol1_chunk --raid-disks=$num_disks $device_list
+ mdadm --create --run $member1 --level=$vol1_level --size=$vol1_comp_size --chunk=$vol1_chunk --raid-disks=$num_disks $device_list
else
- mdadm --create --run $member1 --auto=md --level=$vol1_level --size=$vol1_comp_size --raid-disks=$num_disks $device_list
+ mdadm --create --run $member1 --level=$vol1_level --size=$vol1_comp_size --raid-disks=$num_disks $device_list
fi
check wait
fi