summaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/lo-raid10.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/lo-raid10.sh')
-rw-r--r--scripts/zpool-config/lo-raid10.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/zpool-config/lo-raid10.sh b/scripts/zpool-config/lo-raid10.sh
index f9c47cd1e..5350930bb 100644
--- a/scripts/zpool-config/lo-raid10.sh
+++ b/scripts/zpool-config/lo-raid10.sh
@@ -12,6 +12,8 @@ DEVICES_M1=""
DEVICES_M2=""
zpool_create() {
+ check_loop_utils
+
for FILE in ${FILES_M1}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"