Question 275 of 511
Block Devices, Filesystems and Advanced StoragemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to run lspci first, because the NVMe drive not detected by the kernel requires verifying whether the PCI subsystem recognizes the NVMe controller. NVMe devices connect through the PCI Express bus, so lspci checks the hardware layer before the kernel’s block layer; if the controller doesn’t appear in the lspci output, the issue lies at the PCI or physical connection level, not with drivers or partitions. On the LPIC-2 exam, this tests your understanding of the Linux device enumeration hierarchy—PCI detection precedes NVMe namespace registration. A common trap is jumping to dmesg or fdisk, but lspci is the logical first step when an NVMe drive is not detected lspci shows nothing. Memory tip: “PCI before NVMe—check the bus before you fuss.”

LPIC-2 Practice Question: Block Devices, Filesystems and Advanced Storage

This LPIC-2 practice question tests your understanding of block devices, filesystems and advanced storage. 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.

A system administrator notices that a new 1TB NVMe drive (/dev/nvme0n1) is not detected by the kernel. The hardware is confirmed working. Which troubleshooting step should be taken first to check if the drive is recognized by the system's PCI subsystem?

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.

Question 1mediummultiple choice
Full question →

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 lspci to verify the NVMe controller is detected.

The NVMe drive is not detected by the kernel, but the hardware is confirmed working. The first step is to verify whether the PCI subsystem sees the NVMe controller, because NVMe devices are connected via the PCI Express bus. Running lspci lists all PCI devices, including the NVMe controller; if it does not appear, the issue is at the PCI or hardware level, not the block layer.

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 lsblk to list all block devices.

    Why it's wrong here

    lsblk only lists devices already recognized by the kernel.

  • Check dmesg output for errors.

    Why it's wrong here

    dmesg is useful after lspci to diagnose driver issues.

  • Run lspci to verify the NVMe controller is detected.

    Why this is correct

    lspci shows PCI devices, including NVMe controllers.

    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 fdisk -l /dev/nvme0n1 to probe the drive.

    Why it's wrong here

    fdisk requires the device to be present.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume a missing block device must be checked with block-level tools like lsblk or fdisk, when the correct first step is to verify the PCI bus enumeration with lspci, because NVMe drives are PCIe-attached and the kernel cannot see them without a detected controller.

Detailed technical explanation

How to think about this question

The PCI subsystem enumerates devices during boot by reading the PCI configuration space of each device. lspci reads from /sys/bus/pci/devices or directly from the PCI configuration registers via /proc/bus/pci, showing vendor and device IDs. If an NVMe controller is not listed, the kernel never received an interrupt or memory-mapped I/O range for it, often due to missing PCIe lane initialization, a faulty slot, or BIOS settings (e.g., PCIe ASPM or hot-plug disabled).

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 LPIC-2 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.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related LPIC-2 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free LPIC-2 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this LPIC-2 question test?

Block Devices, Filesystems and Advanced Storage — This question tests Block Devices, Filesystems and Advanced Storage — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Run lspci to verify the NVMe controller is detected. — The NVMe drive is not detected by the kernel, but the hardware is confirmed working. The first step is to verify whether the PCI subsystem sees the NVMe controller, because NVMe devices are connected via the PCI Express bus. Running lspci lists all PCI devices, including the NVMe controller; if it does not appear, the issue is at the PCI or hardware level, not the block layer.

What should I do if I get this LPIC-2 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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

This LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.