Grokking Operating Systems and Networking for Backend Engineers
0% completed
Disk Full, Inodes and Deleted Files That Stay Open
An alert reports that the log disk on a Checkout server is 100 percent full. An engineer finds a large request log, deletes it, and runs df to confirm the fix. The disk is still 100 percent full, and du says the directory holds almost nothing.
Both tools are correct. They count different things, and the difference is a file that has no name any more but is still open in a running process.
This page explains how a Linux file system tracks files and space, why deleting a file can free nothing, and the second way a disk can be "full" while it still has free space.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%