summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib
index 68cfb9220..4957c0f96 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib
@@ -104,6 +104,8 @@ function do_vol_test
log_must $ZFS create -V $VOLSIZE -o copies=$copy $vol
log_must $ZFS set refreservation=none $vol
+ block_device_wait
+
if [[ $type == "ufs" ]]; then
log_must $ECHO y | $NEWFS $vol_r_path >/dev/null 2>&1
log_must $MOUNT -F ufs -o rw $vol_b_path $mntp