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?
Trap 1: Run lsblk to list all block devices.
lsblk only lists devices already recognized by the kernel.
Trap 2: Check dmesg output for errors.
dmesg is useful after lspci to diagnose driver issues.
Trap 3: Run fdisk -l /dev/nvme0n1 to probe the drive.
fdisk requires the device to be present.
- A
Run lsblk to list all block devices.
Why wrong: lsblk only lists devices already recognized by the kernel.
- B
Check dmesg output for errors.
Why wrong: dmesg is useful after lspci to diagnose driver issues.
- C
Run lspci to verify the NVMe controller is detected.
lspci shows PCI devices, including NVMe controllers.
- D
Run fdisk -l /dev/nvme0n1 to probe the drive.
Why wrong: fdisk requires the device to be present.