Fix Inode Exhaustion Issue
DeutscheBank ☯️ Medium Linux
Beginner Mode

Start your terminal to use beginner mode.

Scenario:

Your server cannot create new files. Commands like touch fail with "No space left on device" errors, but df -h shows plenty of free disk space. The filesystem has exhausted available inodes.

Task:

Save inode usage to /home/interview/inode_usage.txt, find which directory contains excessive files, save the problematic directory path to /home/interview/problem_directory.txt, clean up the files, and verify the fix.

Example

File: /home/interview/inode_usage.txt

Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            6553600 6553600       0  100% /
/dev/sdb1            3276800  125000 3151800    4% /data

File: /home/interview/problem_directory.txt

/var/spool/postfix/maildrop

Terminal requires a larger screen

Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.

Linux Terminal Environment

Write and execute your solution in the terminal below.

Sign In

Track

Question Difficulty Company Access
Need more practice in this area? Explore more questions →