nerdexam
CompTIA

SK0-005 · Question #223

A technician discovers a Linux server cannot mount an NFS share. The following error message occurs after a mount server:/test /mnt/test command: mount point /mnt/test does not exist. Which of the…

The correct answer is B. Execute mkdir -p /mnt/test. The error message 'mount point /mnt/test does not exist' directly indicates that the local directory intended for the NFS share is missing, making its creation the immediate first step.

Server administration

Question

A technician discovers a Linux server cannot mount an NFS share. The following error message occurs after a mount server:/test /mnt/test command: mount point /mnt/test does not exist. Which of the following should the technician perform FIRST?

Options

  • AExecute ping server.
  • BExecute mkdir -p /mnt/test.
  • CEnsure the server firewall is turned off.
  • DEnsure server: /test is an exported NFS share.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    91% (21)
  • D
    4% (1)

Why each option

The error message 'mount point /mnt/test does not exist' directly indicates that the local directory intended for the NFS share is missing, making its creation the immediate first step.

AExecute ping server.

Pinging the server checks network connectivity, but the error message specifically points to a missing local mount point, not a network issue with the remote server.

BExecute mkdir -p /mnt/test.Correct

The error message 'mount point /mnt/test does not exist' explicitly states that the target directory on the local machine where the NFS share is supposed to be mounted does not exist. The command `mkdir -p /mnt/test` will create this directory, including any necessary parent directories, which is the immediate prerequisite for successfully mounting the NFS share.

CEnsure the server firewall is turned off.

Checking or disabling the server firewall addresses potential connectivity blocks for NFS, but the current error is about a missing local directory, which must be resolved first.

DEnsure server: /test is an exported NFS share.

Ensuring the NFS share is exported on the remote server is essential for NFS, but the immediate error message indicates a client-side problem with the mount point, which must be addressed before verifying the remote share.

Concept tested: Linux NFS client troubleshooting - mount point

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/mounting-and-unmounting-file-systems_managing-file-systems#doc-wrapper

Topics

#NFS#Linux File Systems#Command Line#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full SK0-005 Practice