From 83cf926e507ab1302c18663daa4ce7d2129b99a1 Mon Sep 17 00:00:00 2001 From: Ken McDonell Date: Sun, 13 Aug 2023 07:08:42 +1000 Subject: [PATCH] qa/876 and qa/1153: F38 requires xfs FS to be at least 300MB Not sure why (the xfs decision), but this was causing qa/876 and qa/1153 to fail on vm22. Fix for qa/1153 is in _mount_filesystem() in common.bcc where we also don't throw the output from mkfs.* away any more so it is easier to debug this sort of thing. --- qa/876 | 2 +- qa/common.bcc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/876 b/qa/876 index 1b67cfc63e..1b15b1c41b 100755 --- a/qa/876 +++ b/qa/876 @@ -66,7 +66,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here echo "creating a filesystem" -mkfs.xfs -dfile,size=256m,name=$tmp.xfsfile > /dev/null || exit 1 +mkfs.xfs -dfile,size=350m,name=$tmp.xfsfile > /dev/null || exit 1 echo "creating a mount point" mkdir -p $tmp.xfsmount || exit 1 diff --git a/qa/common.bcc b/qa/common.bcc index 7052c0a246..3281e9aa6f 100644 --- a/qa/common.bcc +++ b/qa/common.bcc @@ -247,8 +247,8 @@ _mount_filesystem() __image=$tmp.loop.$__fs.img __mountpoint=$tmp.mount.$__fs - truncate -s 30M $__image - echo y | mkfs.$__fs $__image > /dev/null 2>&1 + truncate -s 350M $__image + echo y | mkfs.$__fs $__image >>$here/$seq.full 2>&1 mkdir -p $__mountpoint $sudo mount -t $__fs $__image $__mountpoint $sudo chown $(id -u):$(id -g) $__mountpoint