]> granicus.if.org Git - zfs/commit
Increase default zloop.sh vdev size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 Oct 2017 19:39:39 +0000 (12:39 -0700)
committerGitHub <noreply@github.com>
Fri, 13 Oct 2017 19:39:39 +0000 (12:39 -0700)
commitaea899a6fabbd8d0daf25a23ba114804b022529b
tree2ccf10f5f6ba51bd7a4e77e204a3fed56db3d56f
parent21a932b83c3e0c6fe5f42f874fd3664e67f374c7
Increase default zloop.sh vdev size

The default 128M vdev size used by zloop.sh isn't always large
enough and can result in ENOSPC failures which suspend the pool.
Increase the default size to 512M and provide a -s option which
can be used to specify an alternate size.

This does increase the free space requirements to run zloop.sh.
However, since the vdevs are sparse 4x the space is not required.

Reviewed-by: Don Brady <don.brady@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6758
scripts/zloop.sh