Question 60
At Stonebridge Manufacturing, a file-creation service receives ENOSPC while df -h shows significant free space on its ext4 volume. The issue recurred during a separate controlled validation window; administrators must preserve service continuity and verify the outcome. A colleague suggests: “Delete random large files solely because the error text mentions space.” Which flaw makes that recommendation inappropriate?
Explanation
Correct Answer
Compare df -i inode use with block use and inspect file-count growth before adjusting filesystem allocation. Verify that inode exhaustion is confirmed or ruled out and new test files can be created after the targeted remedy.
Incorrect Answers
“Disable swap without measuring memory consumption.” is a different mistake. The current issue is that a filesystem can run out of inodes even while it has free data blocks.
“Restart the entire server every hour instead of identifying socket ownership.” is a different mistake. The current issue is that a filesystem can run out of inodes even while it has free data blocks.
“Set the filesystem cache size randomly to expand physical link bandwidth.” is a different mistake. The current issue is that a filesystem can run out of inodes even while it has free data blocks.