Storage · Storage Monitoring
Filesystem Health
Cheat sheet · https://pcornel.dk/topic.php?topic=4378
Answer
Filesystem health monitoring checks free space and inodes, mount status, read-only remounts, journal and checksum errors, and fsck or scrub results, catching corruption and full volumes early.
Remember
- Watch free space and inodes.
- Read-only remounts signal errors.
- Check scrub and fsck results.
First checks
dmesg | grep -i -e 'EXT4-fs error' -e 'XFS.*error' -e remount— errorsfindmnt -o TARGET,OPTIONS | grep -w ro— read-only mountsdf -i— inodes
Commands
df -hTdf -ifindmnt -O rodf -h
Verify in this order
filesystem events → log/metrics → alert
Where it usually breaks
First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4378