Skip to content

ReferenceThe 22 checks

Disk

Health checkdisk

What it reads

The mounted file systems in /proc/self/mounts, and the space and inodes on each.

Does it need root?

It reads everything it needs as a normal user.

When it passes

The report lists it as passed, in these words:

  • Every disk is under limit% full

What it can find

Critical

Disk mount is percent% full

When a disk fills, databases stop writing and apps crash. This one is nearly there.

Fix
sudo du -xh mount --max-depth=2 2>/dev/null | sort -rh | head -n 15
Critical

Disk mount has used percent% of its inodes

When inodes run out, no new file can be created even with space left. This disk is nearly there.

Fix
sudo find mount -xdev -type f | cut -d/ -f2-3 | sort | uniq -c | sort -rn | head
Warning

Disk mount is percent% full

When a disk fills, databases stop writing and apps crash.

Fix
sudo du -xh mount --max-depth=2 2>/dev/null | sort -rh | head -n 15
Warning

Disk mount has used percent% of its inodes

When inodes run out, no new file can be created even with space left. Many tiny files, such as old sessions or cache entries, cause it.

Fix
sudo find mount -xdev -type f | cut -d/ -f2-3 | sort | uniq -c | sort -rn | head