diff --git a/scripts/ci/make_mnt_writeable.sh b/scripts/ci/make_mnt_writeable.sh index 54a791eb3a5c9..028b4e571f0ee 100755 --- a/scripts/ci/make_mnt_writeable.sh +++ b/scripts/ci/make_mnt_writeable.sh @@ -17,6 +17,14 @@ # under the License. function make_mnt_writeable { set -x + echo "Investigating node disks" + lsblk + sudo blkid + echo "Check that we have expected /mnt to be a separate mount" + if ! lsblk | grep -q /mnt; then + echo "/mnt is missing as a separate mount, runner misconfigured!" + exit 42 + fi echo "Checking free space!" df -H echo "Cleaning /mnt just in case it is not empty"