hardMultiple ChoiceObjective-mapped
XK0-006 Practice Question: A technician runs the command `sudo lvdisplay…
Exhibit
Refer to the exhibit. [user@server ~]$ sudo lvdisplay /dev/vg_root/lv_root --- Logical volume --- LV Path /dev/vg_root/lv_root LV Name lv_root VG Name vg_root LV UUID xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx LV Write Access read/write LV Creation host, time server01, 2023-01-15 10:30:00 -0500 LV Status NOT available # open 0 LV Size 50.00 GiB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0
A technician runs the command `sudo lvdisplay /dev/vg_root/lv_root` and sees the output in the exhibit. The server fails to mount the root filesystem during boot. Which of the following should the technician do first?
⚠ Common exam trap
Many candidates assume a filesystem check (fsck) is always the first step for a mount failure, but LVM-specific issues like an inactive logical volume must be resolved before any filesystem-level operations can succeed.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Run `lvchange -ay /dev/vg_root/lv_root` to activate the logical volume.
The `lvdisplay` output shows the logical volume is present but its 'LV Status' is likely 'NOT available' (not shown in the exhibit but implied by the boot failure). The root filesystem cannot mount because the logical volume is inactive. The first corrective step is to activate it with `lvchange -ay /dev/vg_root/lv_root`, which makes the LV accessible to the kernel for mounting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run `fsck /dev/vg_root/lv_root` to check the filesystem.
Why it's wrong here
Incorrect: The logical volume is not available, so fsck cannot access it.
- ✓
Run `lvchange -ay /dev/vg_root/lv_root` to activate the logical volume.
Why this is correct
Correct: The LV status is 'NOT available'; this command activates it for use.
- ✗
Run `vgchange -ay` to activate the volume group.
Why it's wrong here
Incorrect: The volume group is already present and does not need reactivation; this command is too broad.
- ✗
Run `mount /dev/vg_root/lv_root /mnt` to mount the volume.
Why it's wrong here
Incorrect: The logical volume is not available, so mounting will fail.
Go deeper
Related to this question
Learn chapter
Navigating the Filesystem
Key term
sudo
sudo is a command-line utility in Unix-like operating systems that allows a permitted user to execute a program as another user, typically the superuser (root), based on security policy settings.
Key term
Kernel
The kernel is the core program of an operating system that manages hardware resources and provides essential services for all other software to run.
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.