NFSTEST_IO(1)
π nfstest_io β bestie's guide to the I/O tool
okay so this is the manual page for nfstest_io, which ships as part of the nfstest_io 1.2 thing and lives in section 1 of the manual (you know, the "run this in your shell" section). it's an I/O tool. it makes files and then messes with them. iconic behaviour honestly. π¦
β¨ NAME β¨
nfstest_io β I/O tool π
πΈ SYNOPSIS πΈ
nfstest_io -d <datadir> [options]
π DESCRIPTION π
so basically this I/O tool is here to create and manipulate files of different types. the arguments let you run it for a specified period of time, and they also let you run multiple processes at once. lowkey flexible.
here's the cute part: each process modifies a single file at a time, and the file name space is different for each process. which means there are no collisions between two different processes modifying the same file. it's giving organized. it's giving considerate. no cap. β¨
π OPTIONS π
--versionβ show the program's version number and dip out π«Ά-h,--helpβ show this help message and then exit, slay-d DATADIR,--datadir=DATADIRβ the top level directory where files will be created. if it doesn't exist yet, don't even worry, it'll get created for you π-s SEED,--seed=SEEDβ the seed used to initialize the random number generator [default: automatically generated] π²-n NPROCS,--nprocs=NPROCSβ how many processes to use [default:1]-r RUNTIME,--runtime=RUNTIMEβ run time [default:'0']-v VERBOSE,--verbose=VERBOSEβ verbose level, pick your vibe:none|info|debug|dbg1-7|all[default:'none']-e,--exiterrβ exit on the first error, no second chances bestie
π Read and write:
--read=READβ read file percentage [default:40.0]--write=WRITEβ write file percentage [default:40.0]--rdwr=RDWRβ read/write file percentage [default:20.0]--randio=RANDIOβ random file access percentage [default:50.0]--iodelay=IODELAYβ seconds to delay I/O operations [default:0.0] (yes queen, take your time)--directβ use direct I/O β‘--rdwronlyβ use read and write only. no rename, no remove, none of that drama, just read and write. periodt.
ποΈ File operations:
--create=CREATEβ create file percentage [default:5.0]--odgrade=ODGRADEβ open downgrade percentage [default:5.0]--osync=OSYNCβ open file withO_SYNC[default:10.0]--fsync=FSYNCβ percentage offsyncafter write [default:2.0]--rename=RENAMEβ rename file percentage [default:5.0]--remove=REMOVEβ remove file percentage [default:5.0]--trunc=TRUNCβ truncate file percentage [default:2.0]--ftrunc=FTRUNCβ truncate opened file percentage [default:2.0]--link=LINKβ create hard link percentage [default:1.0]--slink=SLINKβ create symbolic link percentage [default:0.2]--readdir=READDIRβ list contents of directory percentage [default:0.5]--lock=LOCKβ lock file percentage [default:20.0]--unlock=UNLOCKβ unlock file percentage [default:80.0]--tlock=TLOCKβ lock test percentage [default:20.0]--lockfull=LOCKFULLβ lock full file percentage [default:50.0]--minfiles=MINFILESβ minimum number of files to create before any file operation is executed [default:10]
π File size options:
--fsizeavg=FSIZEAVGβ file size average [default:1m]--fsizedev=FSIZEDEVβ file size standard deviation [default:256k]--rsize=RSIZEβ read block size [default:64k]--rsizedev=RSIZEDEVβ read block size standard deviation [default:8k]--wsize=WSIZEβ write block size [default:64k]--wsizedev=WSIZEDEVβ write block size standard deviation [default:8k]--sizemult=SIZEMULTβ size multiplier [default:1.0]
π Logging options:
--createlogβ create log file π--createlogsβ create a log file for each process π--logdir=LOGDIRβ log directory [default:'/tmp']
π«Ά SEE ALSO π«Ά
nfstest.file_io(3), nfstest_alloc(1), nfstest_cache(1), nfstest_delegation(1), nfstest_dio(1), nfstest_fcmp(1), nfstest_file(1), nfstest_interop(1), nfstest_lock(1), nfstest_pkt(1), nfstest_pnfs(1), nfstest_posix(1), nfstest_rdma(1), nfstest_sparse(1), nfstest_ssc(1), nfstest_xattr(1), nfstest_xid(1)
the whole friend group honestly, go say hi π
π BUGS π
No known bugs. (not a single one. the way that she's flawless? π we love to see it. not me being suspicious though π)
βοΈ AUTHOR βοΈ
Jorge Mora (mora@netapp.com) β thank you for your service, king π
and that's a wrap bestie!! this page is from NFStest 3.2, dated 21 March 2023, and if you ever forget any of it just run man nfstest_io and come right back. mwah π
β¨πΈ
π¦ where this page comes from
- debian trixie: nfstest 3.2-3
- fedora 43: NFStest 3.2-14.fc43 Β· GPL-2.0-or-later
- fedora 44: NFStest 3.2-16.fc44 Β· GPL-2.0-or-later
- ubuntu noble: nfstest 3.2-2
- ubuntu questing: nfstest 3.2-3
- ubuntu resolute: nfstest 3.2-3build1
- ubuntu stonking: nfstest 3.2-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms