ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 65 - XK0-005 discussion

Report
Export

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?

A.
mount disk by device-id
Answers
A.
mount disk by device-id
B.
fsck -A
Answers
B.
fsck -A
C.
mount disk by-label
Answers
C.
mount disk by-label
D.
mount disk by-blkid
Answers
D.
mount disk by-blkid
Suggested answer: A

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. The other options are incorrect because they either do not mount the disk (fsck -A), do not use the correct identifier (mount disk by-label or mount disk by-blkid), or do not exist (mount disk by-blkid). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10: Managing Storage, pages 318-319.

asked 02/10/2024
Michael Weaver
22 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first