XK0-005 · Question #91
XK0-005 Question #91: Real Exam Question with Answer & Explanation
The correct answer is A: Run the df -i command and notice the inode exhaustion. When a 'No space left on device' error occurs despite free disk space shown by df -m, the next step is to check for inode exhaustion using df -i.
Question
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df -m command, the administrator notes there is still 50% of usage left. Which of the following is the NEXT step the administrator should take to analyze the issue without losing data?
Options
- ARun the df -i command and notice the inode exhaustion
- BRun the df -h command and notice the space exhaustion
- CRun the df -B command and notice the block size
- DRun the df -k command and notice the storage exhaustion
Explanation
When a 'No space left on device' error occurs despite free disk space shown by df -m, the next step is to check for inode exhaustion using df -i.
Common mistakes.
- B.
df -hshows disk space usage in human-readable format, similar todf -m(megabytes), so it would not reveal the cause ifdf -malready showed free space. - C.
df -Bdisplays disk usage in a specified block size, which is not relevant to diagnosing the 'no space' error when free space is already confirmed. - D.
df -kshows disk space usage in kilobytes, which again is similar todf -mand would not explain the observed discrepancy.
Concept tested. Linux filesystem inode exhaustion troubleshooting
Topics
Community Discussion
No community discussion yet for this question.