The answer is to run `lvchange -ay /dev/vg_root/lv_root` to activate the logical volume. This is correct because when a logical volume is inactive, its LV Status shows as "NOT available," preventing the kernel from accessing the root filesystem during boot, which directly causes the mount failure. On the CompTIA Linux+ XK0-005 exam, this scenario tests your understanding of LVM lifecycle management and boot-time recovery—a common trap is to immediately check filesystem integrity or rebuild initramfs, but the first step is always to verify and activate the logical volume. Remember that `lvchange -ay` stands for "activate yes," making the LV available for mounting. A useful memory tip: think "Inactive LV? Activate first, fix later"—never skip activation when troubleshooting a root filesystem mount failure tied to LVM.
XK0-005 Troubleshooting Practice Question
This XK0-005 practice question tests your understanding of troubleshooting. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "first"
Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
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
Run `fsck /dev/vg_root/lv_root` to check the filesystem.
Why wrong: Incorrect: The logical volume is not available, so fsck cannot access it.
B
Run `lvchange -ay /dev/vg_root/lv_root` to activate the logical volume.
Correct: The LV status is 'NOT available'; this command activates it for use.
C
Run `vgchange -ay` to activate the volume group.
Why wrong: Incorrect: The volume group is already present and does not need reactivation; this command is too broad.
D
Run `mount /dev/vg_root/lv_root /mnt` to mount the volume.
Why wrong: Incorrect: The logical volume is not available, so mounting will fail.
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.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
Clue confirmation
The clue word "first" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
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.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that 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.
Trap categories for this question
Command / output trap
Incorrect: The volume group is already present and does not need reactivation; this command is too broad.
Detailed technical explanation
How to think about this question
LVM logical volumes have an 'active' flag that controls whether the device mapper creates the block device. When a system boots, the initramfs must activate the root LV before pivot_root; if the LV is inactive (e.g., due to a missing `lvmetad` or a manual deactivation), the kernel cannot find the root device. The `lvchange -ay` command triggers the device-mapper to create the `/dev/mapper/vg_root-lv_root` node, making the volume available for mounting.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the XK0-005 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this XK0-005 question in full detail.
Troubleshooting — This question tests Troubleshooting — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: 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.
What should I do if I get this XK0-005 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This XK0-005 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-005 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.