NVME passthrough freezes Proxmox

deniax

New Member
Jan 23, 2023
14
0
1
Hi,

The moment I passthrough a NVME drive to a freshly made VM, it freezes proxmox with the error:
Code:
pve login: [160.615269] EXT4-fs error (device dm-1): extf_journal_check_start:84: comm systemd-journal: Detected aborted journal
[ 160.615293] EXT-fs (dm-1): Remounting filesystem read-only

Grub has: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"

the .conf mentions hostpci1: 10000:e1:00.0
I tried adding ,pcie=1 at the end, but same result

I also tried with a different NVME drive as I thought maybe the drive is faulty, but same result

Anyone knows why this happens? Also, if it doesn't work and I'll just use (from the docs) " -scsi2 /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F41BLC " to passthrough the disk, will this affect performance?

Some more info:

Code:
lbslk shows the drive

nvme2n1                      259:0    0 931.5G  0 disk
└─nvme2n1p1                  259:1    0 931.5G  0 part
nvme1n1                      259:2    0 931.5G  0 disk
└─nvme1n1p1                  259:3    0 931.5G  0 part
nvme3n1                      259:4    0 931.5G  0 disk
└─nvme3n1p1                  259:5    0 931.5G  0 part
nvme0n1                      259:6    0   3.6T  0 disk
└─nvme0n1p1                  259:7    0   3.6T  0 part

Code:
root@pve:/etc/pve/qemu-server# lspci -nnk | grep -i nvme
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation [8086:a77f]
        Subsystem: ASUSTeK Computer Inc. Volume Management Device NVMe RAID Controller Intel Corporation [1043:8882]
10000:e1:00.0 Non-Volatile memory controller [0108]: Sandisk Corp Western Digital WD Black SN850X NVMe SSD [15b7:5030] (rev 01)
        Subsystem: Sandisk Corp WD Black SN850X NVMe SSD [15b7:5030]
        Kernel driver in use: nvme
        Kernel modules: nvme
10000:e2:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] [144d:a80c]
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
10000:e3:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] [144d:a80c]
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
10000:e4:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO [144d:a80a]
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO (SSD 980 PRO) [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
root@pve:/etc/pve/qemu-server#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!