ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 48 - XK0-005 discussion

Report
Export

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
Answers
A.
df -i /oracle1
B.
fdisk -1 /dev/sdb1
Answers
B.
fdisk -1 /dev/sdb1
C.
lsblk /dev/sdb1
Answers
C.
lsblk /dev/sdb1
D.
du -sh /oracle1
Answers
D.
du -sh /oracle1
Suggested answer: A

Explanation:

The administrator should use the command df -i /oracle1 to diagnose the issue of users being unable to write data to the /oracle1 directory. This command will show the inode usage of the /oracle1 filesystem, which indicates how many files and directories can be created on it. If the inode usage is 100%, it means that no more files or directories can be added, even if there is still free space on the disk. The administrator can then delete some unnecessary files or directories, or increase the inode limit of the filesystem, to resolve the issue.

The other options are not correct commands for diagnosing this issue. The fdisk -l /dev/sdb1 command will show the partition table of /dev/sdb1, which is not relevant to the inode usage. The lsblk /dev/sdb1 command will show information about /dev/sdb1 as a block device, such as its size, mount point, and type, but not its inode usage. The du -sh /oracle1 command will show the disk usage of /oracle1 in human-readable format, but not its inode usage. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 7: Managing Disk Storage; How to Check Inode Usage in Linux - Fedingo

asked 02/10/2024
Slawomir Kucharski
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first