FS_MARK(1)
π¦ fs_mark β the file-system stress-test bestie
okay so bestie, this is the manual page for fs_mark, a lil User Commands legend from way back in March 2012 (yes she's vintage, she's still iconic). buckle up π
β¨ NAME β¨
fs_mark β benchmark synchronous/async file creation π
πΈ SYNOPSIS πΈ
fs_mark [OPTIONS] -d DIRECTORY [-d DIRECTORY ...]
π DESCRIPTION π
so like, fs_mark exists to give your file system some low level bashing. no cap. she's not here to be gentle.
the write pattern she's obsessed with is heavily synchronous IO across multiple directories, drives, etc. β like, she's throwing sync writes at everything all at once and seeing what survives. it's giving chaos, it's giving benchmark, it's giving "your filesystem is the main character and we're testing her under pressure" π
π OPTIONS π
-hβ prints the usage info and dips. bye bestie π-kβ keeps the files around after every single iteration. no cleanup, we hoard ποΈ-Fβ runs until the filesystem is literally FULL. she will not stop, she will not chill π-SSyncmethodβ picks which method gets used for syncing changes to disk. the options are:0β No Sync1β fsyncBeforeClose2β sync/1_fsync3β PostReverseFsync4β syncPostReverseFsync5β PostFsync6β syncPostFsync
-Dnumberβ use number subdirectories ποΈ-Nnumberβ use number files in each subdirectory, round robin mode π-ddirectoryβ use directory. can be specified multiple times (stack 'em up bestie) π-llogfileβ log everything to logfile π-Lnumberβ repeat the benchmark number of iterations π-nnumberβ use number of files per iteration β¨-pnumberβ use number of total bytes for file names π’-rnumberβ use number of random bytes in file names π²-sbyte_countβ use byte_count bytes as the size of each file π-tnumberβ use number of threads π§΅-wnumberβ use number of bytes perwrite()syscall βοΈ
π AUTHORS π
fs_mark was written by Ric Wheeler <ric@redhat.com>. π
this manual page was written by Martin Steigerwald <ms@teamix.de>, for the Debian project (but may be used by others). π«Ά
ngl bestie, she's a filesystem-crunching queen and this doc has been her press kit since March 2012. treat your drives with love, or don't, she's literally built to find out what happens either way π β¨
that's the whole vibe, fr fr β fs_mark, Benchmark synchronous/... , March 2012 ππΈ
π¦ where this page comes from
- debian bookworm: fsmark 3.3-3+b1 Β· GPL-2.0-or-later
- debian trixie: fsmark 3.3-5 Β· GPL-2.0-or-later
- ubuntu jammy: fsmark 3.3-3 Β· GPL-2.0-or-later
- ubuntu noble: fsmark 3.3-3 Β· GPL-2.0-or-later
- ubuntu questing: fsmark 3.3-5
- ubuntu resolute: fsmark 3.3-5build1 Β· GPL-2.0-or-later
- ubuntu stonking: fsmark 3.3-5build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms