nerdexam
CompTIA

XK0-005 · Question #278

A user is unable to write data to an NFS datastore at /mnt/storage. A df command indicates 50% free inodes. Which of the following commands should the user attempt NEXT to diagnose the situation?

The correct answer is A. df -h /mnt/storage. Since the plain 'df' command already confirmed 50% free inodes (not the problem), the next logical step is to check whether the filesystem itself is out of disk space. 'df -h /mnt/storage' shows human-readable disk space usage for that mount point. If disk space is 100% used…

Troubleshooting

Question

A user is unable to write data to an NFS datastore at /mnt/storage. A df command indicates 50% free inodes. Which of the following commands should the user attempt NEXT to diagnose the situation?

Options

  • Adf -h /mnt/storage
  • Bdu -sh /mnt
  • Cfdisk -l /mnt/storage
  • Ddf -i /mnt/storage

How the community answered

(28 responses)
  • A
    75% (21)
  • B
    14% (4)
  • C
    4% (1)
  • D
    7% (2)

Explanation

Since the plain 'df' command already confirmed 50% free inodes (not the problem), the next logical step is to check whether the filesystem itself is out of disk space. 'df -h /mnt/storage' shows human-readable disk space usage for that mount point. If disk space is 100% used, writes will fail even with free inodes. 'du -sh /mnt' only summarizes usage without diagnosing the problem. 'fdisk -l' lists partition tables and is irrelevant here. 'df -i' checks inode usage, which was already assessed.

Topics

#Filesystem Troubleshooting#Disk Management#Linux Commands#NFS

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice