Prevention of full device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. In attempting to get a single job to create files before allowing further jobs to perform I/O on them, I cannot
see how to restrict the sum total of all the files on the device. I wish to create n files ranging in size from i-j
with a cap of m in total (so the sum of n does not exceed m). For example;

[file-generator]
numjobs=1
create_only=1
create_on_open=0
time_based=0
fill_fs=0
fill_device=0
filesize=4k-20m
size=512m
nrfiles=256
fallocate=posix
fadvise_hint=1
filename_format=\$filenum.dat
directory=/tmp/fio

I'd expect the above to create 256 files ranging from 4k to 20m and a 'du -sh' on /tmp/fio to result in
512m. However, it always seems to fill the device! How can I stop this?

Cheers,

Jim

-- 
Jim Vanns
Senior Software Developer
Framestore

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux