On Fri, Apr 21, 2023 at 08:27:35AM +0200, Hannes Reinecke wrote: > > + avail="$(df --output=avail "${mount_dir}" | awk 'NR==2 {print $1}')" > > df --output=avail "${mount_dir}" | tail -1 ok. > > + sz="$(printf "%d" $((avail / 1024 - 1 )))m" > > sz=$((avail / 1024 - 1)) > > > + fi > > + > > _run_fio_verify_io --size="$sz" --directory="${mount_dir}/" > > _run_fio_verify_io --size="${sz}m" --directory="${mount_dir}/" $sz might already contain the 'm', so can't do this here.