From f88416a1debe098f4efce2f099d3b6e636eeed9a Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Fri, 26 Mar 2021 12:30:53 +0100 Subject: [PATCH] scripts/ceph: load loop module explicitly Older losetup versions loaded "loop" in background, but with 2.36.1 this doesn't happen. We know we're going to use this module so let's load it ourselves. Signed-off-by: Karol Latecki Change-Id: If3364e92817ae9f09e9897872bd61ca9167184a1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7086 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris --- scripts/ceph/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ceph/start.sh b/scripts/ceph/start.sh index edff469f39..448e785035 100755 --- a/scripts/ceph/start.sh +++ b/scripts/ceph/start.sh @@ -15,6 +15,7 @@ mnt_dir=${base_dir}/mnt image=/var/tmp/ceph_raw.img dev=/dev/loop200 +modprobe loop umount ${dev}p2 || true losetup -d $dev || true