We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following zpool:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT cache 222G 67.4G 155G - - 0% 30% 1.00x ONLINE -
with the following datasets:
cache 67.4G 148G 60.6G /mnt/cache cache/appdata 1.72G 148G 1.61G /mnt/cache/appdata cache/domains 96K 148G 96K /mnt/cache/domains cache/system 5.10G 148G 5.07G /mnt/cache/system
I run YABS on /mnt/cache and encounter the following error:
/mnt/cache
bash: line 545: ((: 148G: value too great for base (error token is "148G")
The script continues normally afterwards. The issue is that free_space (https://github.com/masonr/yet-another-bench-script/blob/a18e1bcd60f5ab9e3640c650726d8949b7bb5bfe/yabs.sh#L535C3-L535C85) receives the following data:
free_space
148G 148G 148G 148
This is because the grep matches all entries. Perhaps a fix would be to also pipe head -n 1 or stricter grep arguments.
grep
head -n 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following zpool:
with the following datasets:
I run YABS on
/mnt/cache
and encounter the following error:The script continues normally afterwards. The issue is that
free_space
(https://github.com/masonr/yet-another-bench-script/blob/a18e1bcd60f5ab9e3640c650726d8949b7bb5bfe/yabs.sh#L535C3-L535C85) receives the following data:This is because the
grep
matches all entries. Perhaps a fix would be to also pipehead -n 1
or strictergrep
arguments.The text was updated successfully, but these errors were encountered: