summaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/lo-raidz2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/lo-raidz2.sh')
-rw-r--r--scripts/zpool-config/lo-raidz2.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/zpool-config/lo-raidz2.sh b/scripts/zpool-config/lo-raidz2.sh
index 6e61293c0..c6381eaff 100644
--- a/scripts/zpool-config/lo-raidz2.sh
+++ b/scripts/zpool-config/lo-raidz2.sh
@@ -10,6 +10,8 @@ FILES="/tmp/zpool-vdev0 \
DEVICES=""
zpool_create() {
+ check_loop_utils
+
for FILE in ${FILES}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"