fio icon indicating copy to clipboard operation
fio copied to clipboard

the files created has exceeded the requirements in the fio profile

Open wangyihanlarry opened this issue 1 year ago • 2 comments

Hi,

I have a profile which should create 400 files and the total size is less than 64GB in 4 directories separately, please check the attached profile for detail, how ever, it seems the fio has created more than 400 files until fill up the entire file system space, may I know are there any thing wrong?

ls|wc -l

530 [ test_profile.log

wangyihanlarry avatar Sep 02 '23 15:09 wangyihanlarry

See the ---max-jobs and --alloc-size options.

axboe avatar Sep 02 '23 19:09 axboe

if you look at the test_profile.log, you will find in profile I plan to create 400 files for each directory, /testfs1 to /testfs4, however, the actual amount of the files within one folder has exceed 400 which is 530 until to the out of space, I tailored my script so that the 400 file on one directory has just ate up all the spaces of the file system for each directory, but in real practice, the FIO has kept creating the files even if reached 400 files and it finally taken up all the spaces

file13: Laying out IO file (1 file / 184MiB) fio: ENOSPC on laying out file, stopping fio: pid=0, err=28/file:filesetup.c:240, func=write, error=No space left on device

wangyihanlarry avatar Sep 03 '23 07:09 wangyihanlarry