diff options
author | NeilBrown <neilb@suse.de> | 2015-07-22 01:58:41 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-22 01:58:41 +0200 |
commit | d51e39c0a42c799088b39d16ede01f95345d7675 (patch) | |
tree | 386f2c16a406c3fd6bc013025f36625924c86249 /tests/10ddf-fail-stop-readd | |
parent | mdadm: document --homehost=any functionality. (diff) | |
download | mdadm-d51e39c0a42c799088b39d16ede01f95345d7675.tar.xz mdadm-d51e39c0a42c799088b39d16ede01f95345d7675.zip |
test: add -F flag to mkfs
newer versions of mkfs.extX ask before creating a filesystem
on a device which appears to already have a filesystem.
We don't want that, so add the -F flag.
Also be explicit about fs type as one shouldn't depend on defaults.
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'tests/10ddf-fail-stop-readd')
-rw-r--r-- | tests/10ddf-fail-stop-readd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/10ddf-fail-stop-readd b/tests/10ddf-fail-stop-readd index 34aeaf50..f8ebe176 100644 --- a/tests/10ddf-fail-stop-readd +++ b/tests/10ddf-fail-stop-readd @@ -11,7 +11,7 @@ mdadm -CR $member0 -l raid1 -n 2 $container #$dir/mdadm -CR $member0 -l raid1 -n 2 $container >/tmp/mdmon.txt 2>&1 # Write to the array -mke2fs $member0 +mke2fs -F $member0 check wait set -- $(get_raiddisks $member0) @@ -33,7 +33,7 @@ mdadm -I $good0 mdadm -IRs || true # Write to the array -mke2fs $member0 +mke2fs -F $member0 # We re-add the disk now mdadm $container --add $fail0 |