Loading topic
df output, and know what files, directories, and permissions are. You do not need to know filesystem internals. By the end you will understand why a filesystem can report "No space left on device" while df -h shows plenty of fre5 min readsudo. It also assumes you know that a filesystem is mounted at a directory called a mount point, and that it has both blocks and inodes. Inodes get their own chapter, so here we only read the space columns.5 min readsudo, and know what a file, directory, and mount point are. You should also have read the earlier chapters on filesystems, mount points, and the difference between blocks and inodes.5 min readdf output (covered earlier), use sudo, and pipe commands together in a shell. df tells you which filesystem is filling up. du tells you which directories on that filesystem are responsible.6 min readdf shows a problem: finding what is using the space or the inodes. It assumes you can read df -hT and df -ih output, understand that blocks and inodes are separate limits, and are comfortable with pipes, sudo, and find basics.5 min readdf and df -i output and run find and du under sudo. It also assumes you know that an inode is the record a filesystem keeps for each file or directory, and that a filesystem has a limited number of them. Here you will learn which workloads create millions 6 min readdf can report a full filesystem while du accounts for far less data. It shows how to find the cause and how to release the space without breaking services. It assumes you can use a Linux shell over SSH, understand files, directories and permissions, use sudo, and read6 min readdf and du output, find large files with find, and know that a deleted file can stay open in a pr6 min readdf and du output, find large files and inode hogs, and recognize a deleted-but-open file with lsof +L1. It also assumes you know what logrotate and the journal do. Here the question is what to do once you know where the space went. A full disk is urgent, and u7 min readdf and df -i output and can write basic Bash with variables, pipes, and if statements. You will turn the manual checks from earlier chapters into a script that prints a warning when any real filesystem crosses a usage threshold, for either space or inodes.5 min readcheck-disk.sh onto a schedule so it watches block and inode usage while you do other work. It covers cron, systemd timers, the problems scheduled jobs usually hit, and how to confirm the job runs.6 min readdf and df -i output and know that a filesystem has a block limit and an inode limit. You should also be comfortable running commands with sudo. Here you will see why df sometimes shows less free space than you expect, and why the same alert threshold means d6 min readdf and du output, find large files, and write and schedule a small shell script. Earlier chapters covered those skills. A single df reading says how full a filesystem is right now. It doesn't say how fast it is filling or when it will run out. Here you will re7 min read