X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fzpool-config%2Flo-raid10.sh;h=5350930bb2cb3cb02a5831b9bd312ca2a95105e0;hb=0ee8118bd31d1c160123d0aac9c55455706d5975;hp=f9c47cd1e108145e24e9e4b1353ef51b54725022;hpb=c9c0d073da561bcbefbdf09c87fc75b227415619;p=zfs.git diff --git a/scripts/zpool-config/lo-raid10.sh b/scripts/zpool-config/lo-raid10.sh index f9c47cd..5350930 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}"