Loading topic
sudo, and interpreting basic command output. You should also know that a filesystem is managed by the kernel and stores files, directories, and their metadata.2 min readsudo, and following simple command pipelines. This chapter builds the model needed to understand why a filesystem can report free space while refusing to create a file, or report plenty of available inodes while hav3 min readsudo. You should also be comfortable reading command output and using pipes.2 min readsudo. You should also be comfortable reading command output and using pipes.2 min readsudo, and basic pipes. You should also know that df reports usage for an entire mounted filesystem, while du adds the disk usage of files and directories.2 min readsudo, pipes, and shell variables. This chapter shows how to find both block-space consumers and inode consumers. A directory can contain millions of small files while using less space than one large 2 min readsudo, and have already used df -i to identify a filesystem with high inode usage. This chapter focuses on finding why that filesystem contains too many separate files.2 min readsudo, file permissions, pipes, and basic shell scripts.2 min readsudo, read df and du output, and understand files, directories, and services. This chapter focuses on controlling log growth after you have found that logs consume filesystem blocks or inodes.2 min readsudo. Before deleting anything, identify the full filesystem and the process or service that owns the data. A nearly full filesystem can cause failed writes, but hurried cleanup can also remove active database2 min readdf output, use sudo, and write basic Bash scripts. You will build a check that warns when either disk blocks or inodes reach a chosen percentage.2 min read/usr/local/bin/check-disk.sh already exists, is executable, and accepts an optional percentage threshold. The script should print a warning when space or inode usage reaches that threshold.2 min readdf output, use sudo, and distinguish a filesystem from a mounted directory.3 min readsudo, filesystem paths, and basic shell commands. This chapter focuses on using measurements over time to decide when a filesystem needs attention or more capacity.2 min read