exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 35 discussion

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

Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided:

Which of the following commands should the administrator use to diagnose the issue?

  • A. df -i /oracle1
  • B. fdisk -1 /dev/sdb1
  • C. lsblk /dev/sdb1
  • D. du -sh /oracle1
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
linux_admin
Highly Voted 8 months, 4 weeks ago
The df -i command displays the amount of available inodes on the file system containing each file name argument. An inode is a data structure used by the file system to store information about a file or directory, such as its permissions, ownership, timestamps, and location of its data. If you're encountering issues with writing data to the /oracle1 directory, running df -i /oracle1 can provide information about the inode utilization on the file system containing that directory, which could be indicative of a disk space issue. The IUse% column shows the percentage of inodes that are currently in use. If this value is close to 100%, it could mean that there are no available inodes for new files or directories to be created in the file system, and you may need to either free up some space or increase the size of the file system to resolve the issue.
upvoted 9 times
...
Aamm033
Most Recent 1 year ago
Selected Answer: A
Correct. flag -i for inodes instead of block
upvoted 1 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