Here's the output. No need to break as it stopped immediately. All of the 4ktest files are zero length. Command line ./fio --debug=file examples/test1.fio fio: set debug option file file 48824354 dup files: 0 file 48824354 add file 4ktest.0.0 file 48824354 resize file array to 2 files file 48824354 file b0002028 "4ktest.0.0" added at 0 4ktest: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=16 file 48824354 dup files: 1 file 48824354 add file 4ktest.15.0 file 48824354 resize file array to 2 files file 48824354 file b00022a8 "4ktest.15.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.14.0 file 48824354 resize file array to 2 files file 48824354 file b0002528 "4ktest.14.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.13.0 file 48824354 resize file array to 2 files file 48824354 file b00027a8 "4ktest.13.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.12.0 file 48824354 resize file array to 2 files file 48824354 file b0002a28 "4ktest.12.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.11.0 file 48824354 resize file array to 2 files file 48824354 file b0002ca8 "4ktest.11.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.10.0 file 48824354 resize file array to 2 files file 48824354 file b0002f28 "4ktest.10.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.9.0 file 48824354 resize file array to 2 files file 48824354 file b00031a8 "4ktest.9.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.8.0 file 48824354 resize file array to 2 files file 48824354 file b0003428 "4ktest.8.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.7.0 file 48824354 resize file array to 2 files file 48824354 file b00036a8 "4ktest.7.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.6.0 file 48824354 resize file array to 2 files file 48824354 file b0003928 "4ktest.6.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.5.0 file 48824354 resize file array to 2 files file 48824354 file b0003ba8 "4ktest.5.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.4.0 file 48824354 resize file array to 2 files file 48824354 file b0003e28 "4ktest.4.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.3.0 file 48824354 resize file array to 2 files file 48824354 file b00040a8 "4ktest.3.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.2.0 file 48824354 resize file array to 2 files file 48824354 file b0004328 "4ktest.2.0" added at 0 file 48824354 dup files: 1 file 48824354 add file 4ktest.1.0 file 48824354 resize file array to 2 files file 48824354 file b00045a8 "4ktest.1.0" added at 0 ... fio-2.1.7 Starting 16 processes file 48824354 setup files file 48824354 get file size for b0002028/0/b0002148 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.0.0 file 48824354 open file 4ktest.0.0, flags 101 file 48824354 posix_fallocate file 4ktest.0.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00022a8/0/b00023c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.15.0 file 48824354 open file 4ktest.15.0, flags 101 file 48824354 posix_fallocate file 4ktest.15.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0002528/0/b0002648 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.14.0 file 48824354 open file 4ktest.14.0, flags 101 file 48824354 posix_fallocate file 4ktest.14.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00027a8/0/b00028c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.13.0 file 48824354 open file 4ktest.13.0, flags 101 file 48824354 posix_fallocate file 4ktest.13.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0002a28/0/b0002b48 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.12.0 file 48824354 open file 4ktest.12.0, flags 101 file 48824354 posix_fallocate file 4ktest.12.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0002ca8/0/b0002dc8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.11.0 file 48824354 open file 4ktest.11.0, flags 101 file 48824354 posix_fallocate file 4ktest.11.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0002f28/0/b0003048 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.10.0 file 48824354 open file 4ktest.10.0, flags 101 file 48824354 posix_fallocate file 4ktest.10.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00031a8/0/b00032c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.9.0 file 48824354 open file 4ktest.9.0, flags 101 file 48824354 posix_fallocate file 4ktest.9.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0003428/0/b0003548 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.8.0 file 48824354 open file 4ktest.8.0, flags 101 file 48824354 posix_fallocate file 4ktest.8.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00036a8/0/b00037c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.7.0 file 48824354 open file 4ktest.7.0, flags 101 file 48824354 posix_fallocate file 4ktest.7.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0003928/0/b0003a48 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.6.0 file 48824354 open file 4ktest.6.0, flags 101 file 48824354 posix_fallocate file 4ktest.6.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0003ba8/0/b0003cc8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.5.0 file 48824354 open file 4ktest.5.0, flags 101 file 48824354 posix_fallocate file 4ktest.5.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0003e28/0/b0003f48 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.4.0 file 48824354 open file 4ktest.4.0, flags 101 file 48824354 posix_fallocate file 4ktest.4.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00040a8/0/b00041c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.3.0 file 48824354 open file 4ktest.3.0, flags 101 file 48824354 posix_fallocate file 4ktest.3.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b0004328/0/b0004448 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.2.0 file 48824354 open file 4ktest.2.0, flags 101 file 48824354 posix_fallocate file 4ktest.2.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument file 48824354 setup files file 48824354 get file size for b00045a8/0/b00046c8 4ktest: Laying out IO file(s) (1 file(s) / 2048MB) file 48824354 layout unlink 4ktest.1.0 file 48824354 open file 4ktest.1.0, flags 101 file 48824354 posix_fallocate file 4ktest.1.0 size 2147483648 fio: posix_fallocate fails: Invalid argument fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument Run status group 0 (all jobs): Mario Carino -----Original Message----- From: Jens Axboe [mailto:axboe@xxxxxxxxx] Sent: Thursday, April 10, 2014 10:00 AM To: Carino, Mario; fio@xxxxxxxxxxxxxxx Subject: Re: fio on AIX - fallocate error On 2014-04-09 20:52, Carino, Mario wrote: > Hi. > We're trying to run fio 2.1.7 on AIX 6 and we can't seem to eliminate these errors: > > fio: posix_fallocate fails: Invalid argument This one you can ignore, or you can get rid of it by adding: fallocate=none to the job file. > fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, > error=Invalid argument Fio should probably just ignore these flush-cache warnings and continue on, it's not really a fatal condition. I have attached a patch for you, can you apply that and give it a go? > we always get one or the other. It doesn't matter too much what > command we run, what options, etc. We saw a web page which indicates > that fio requires an Asynch IO package to be installed and running on > AIX. Is that correct? We're > trying to find out if we have it installed on our test box. You'd get a different error if that was your issue. > (We're lowly non-root > DBA's so getting anything done requires a committee.) Isn't that always the case with AIX? :-) -- Jens Axboe -- 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