Skip to content

Commit

Permalink
qa/876 and qa/1153: F38 requires xfs FS to be at least 300MB
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kmcdonell committed Aug 12, 2023
1 parent 16e05b5 commit 83cf926
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qa/876
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions qa/common.bcc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83cf926

Please sign in to comment.