nerdexam
CompTIACompTIA

XK0-005 · Question #1546

XK0-005 Question #1546: Real Exam Question with Answer & Explanation

The correct answer is A: mount disk by device-id. The administrator should use the command mount disk by device-id to resolve the device mismatch issue and mount the disk. The issue is caused by the cloned server having a different device name for the disk than the original server. The output of blkid shows that the disk has the

Troubleshooting

Question

A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server: The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem: Which of the following should administrator use to resolve the device mismatch issue and mount the disk?

Options

  • Amount disk by device-id
  • Bfsck -A
  • Cmount disk by-label
  • Dmount disk by-blkid

Explanation

The administrator should use the command mount disk by device-id to resolve the device mismatch issue and mount the disk. The issue is caused by the cloned server having a different device name for the disk than the original server. The output of blkid shows that the disk has the device name /dev/sdb1 on the cloned server, but the output of cat /etc/fstab shows that the disk is expected to have the device name /dev/sda1. The command mount disk by device-id will mount the disk by using its unique identifier (UUID) instead of its device name. The UUID can be obtained from the output of blkid or lsblk -f. The command will mount the disk to the specified mount point (/data) and resolve the issue.

Topics

#Linux Administration#Filesystem Mounting#UUID#Server Cloning

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions