nerdexam
CompTIA

XK0-005 · Question #272

Joe, a user, reports there is data missing after a reboot of the system he is using. The data he was working on was located in /opt/data/user1. A Linux administrator runs the following commands and…

The correct answer is D. The administrator can conclude the drive is not mounted properly and should be remounted. When data exists after work but disappears after a reboot, the most common cause is that the filesystem holding that data was mounted at /opt/data/user1 but the mount was not persisted in /etc/fstab. After reboot, the mount does not re-apply and the directory appears empty…

Troubleshooting

Question

Joe, a user, reports there is data missing after a reboot of the system he is using. The data he was working on was located in /opt/data/user1. A Linux administrator runs the following commands and receives the resulting output. Which of the following should the administrator perform to resolve the issue?

Options

  • AThe administrator can conclude Joe no longer has permissions to his data and needs to change
  • BThe administrator can conclude the data is gone from the system and needs to be restored from a
  • CThe administrator can conclude Joe has been using the wrong folder and should be using
  • DThe administrator can conclude the drive is not mounted properly and should be remounted.

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    13% (7)
  • C
    5% (3)
  • D
    79% (44)

Explanation

When data exists after work but disappears after a reboot, the most common cause is that the filesystem holding that data was mounted at /opt/data/user1 but the mount was not persisted in /etc/fstab. After reboot, the mount does not re-apply and the directory appears empty (showing the underlying empty mount point). The administrator should remount the drive and add the appropriate entry to /etc/fstab to make it persistent across reboots. Permissions issues, wrong folders, or deleted data would not cause data to appear only after a session and vanish on reboot.

Topics

#Filesystem management#Mount points#Data accessibility#Boot issues

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice