Hands-on task
Find the directory that used up the inodes
The disk reports that it has run out of inodes, even though there's still plenty of space — which means a huge number of small files have multiplied somewhere. Under /root/data there are three subdirectories: app, spool, tmp. Determine which one has the most files (by count, not by size, including nested directories), and write the name of that subdirectory (without the path) to /root/answer.txt.
- inode
- find
- wc
- counting files
- inode exhaustion