DISK-FILLTEST(1)
β¨ DISK-FILLTEST β¨
okay bestie, so this is disk-filltest from the General Commands Manual β she's a simple tool that detects bad disks by filling them with random data π and honestly? she's iconic for it.
πΈ SYNOPSIS πΈ
disk-filltest [-C dir] [-f files] [-N] [-r] [-R repeats] [-s seed] [-S
size] [-u] [-U]
π DESCRIPTION π
okay so real talk. the number of hard disks produced in the last five years is huge. and of course, that's the same number of hard disks that will most probably fail in the next five years, possibly with catastrophic consequences for the particular user or business π. not to be dramatic but like. yeah.
the simple tool disk-filltest can help β together with S.M.A.R.T. monitoring β to check disks periodically and thus be forewarned about coming failures. the vibe check, if you will. and the function of disk-filltest is simple:
- Write files
random-########to the current directory until the disk is full. - Read the files again and verify the pseudo-random sequence written.
- Any write or read error will be reported, either by the operating system or by checking the pseudo-random sequence.
- Optionally, delete the random files after a successful run.
the method is simple and effective π«Ά however, it of course does not verify other files on the disk. that is a different task, which can be solved efficiently, for example, using digup (a Digest Updating Tool) (https://panthema.net/2009/digup/). different girl, different job π
another useful side-function of disk-filltest is to measure read/write speed while filling the disk π₯ slow speeds may also indicate a future failure, or just bad disk controlling. no cap.
see https://panthema.net/2013/disk-filltest/ for more information.
β¨ OPTIONS β¨
-C dirβ change into given directory before starting work. like, get in, bestie π-f filesβ only write this number of 1 GiB sized files.-Nβ skip verification of files, e.g. for wiping a disk. just yeet the data, no double-checking π-rβ only verify existing data files with given random seed.-R repeatβ repeat fill/test/wipe steps given number of times. the random seed is not changed between repetitions.-s seedβ use random seed to write or verify data files.-S sizeβ size of each random file in MiB (default:1024).-uβ remove files after successful test. she did her job, she's leaving π-Uβ immediately remove files, write and verify via file handles.
π AUTHORS π
Written by Timo Bingmann π
π SEE ALSO π
k bye bestie, go check your disks, iykyk πβ¨
this page came from the General Commands Manual and is dated 2019-10-21 β slay, periodt π¦
π¦ where this page comes from
- debian bookworm: disk-filltest 0.8.2-1 Β· GPL-3.0-or-later
- debian trixie: disk-filltest 0.8.2-1 Β· GPL-3.0-or-later
- nixpkgs unstable: disk-filltest 0.8.2
- ubuntu jammy: disk-filltest 0.8.2-1 Β· GPL-3.0-or-later
- ubuntu noble: disk-filltest 0.8.2-1 Β· GPL-3.0-or-later
- ubuntu resolute: disk-filltest 0.8.2-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: disk-filltest 0.8.2-1.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms