exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 230 discussion

Actual exam question from CompTIA's XK0-004
Question #: 230
Topic #: 1
[All XK0-004 Questions]

A Linux administrator tried to copy files to a remote server but received an error message indicating a lack of free space on the disk. The administrator issued a df command and verified adequate free space and inodes on the filesystem.
Which of the following commands is the BEST way to diagnose the issue?

  • A. cat /proc/meminfo
  • B. lsof -nP | grep deleted
  • C. find / -type f -size +50M
  • D. du -a / | sort -n -r | head -n 30
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dan_Dan_The_Data_Center_Man
Highly Voted 3 years, 5 months ago
Correct Answer: B. lsof -nP | grep deleted Common Reasons for "No Space Left on Device" 1.Deleted File Reserved by Process 2. Not Enough Inodes 3. Bad Blocks Try to locate the process. sudo lsof / | grep deleted The problematic process should be listed. Just restart it. sudo systemctl restart service_name If it’s not immediately evident, do a full daemon reload. sudo systemctl daemon-reload
upvoted 5 times
...
Akobulife
Most Recent 4 years ago
https://www.maketecheasier.com/fix-linux-no-space-left-on-device-error/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago