PCIe NVME Drive for VM Storage

Brailyn

New Member
Oct 27, 2023
4
1
3
I just purchased a PCI adapter to add an NVME drive to an old server. I thought it wasn't supported as lsblk doesn't show it, but I can see the drive with lspci...

How can I add this drive to proxmox so it can keep VMs on it? Only thing I can find online is how to do passthrough with it but I am not interested in doing that at the moment...

root@proxmox2:~# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:06.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation C204 Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. SNVS2000G [NV1 NVMe PCIe SSD 2TB] (rev 01)
02:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 02)
07:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)


root@proxmox2:~# lsblk -a
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 0B 0 loop
loop1 7:1 0 0B 0 loop
loop2 7:2 0 0B 0 loop
loop3 7:3 0 0B 0 loop
loop4 7:4 0 0B 0 loop
loop5 7:5 0 0B 0 loop
loop6 7:6 0 0B 0 loop
loop7 7:7 0 0B 0 loop
sda 8:0 0 9.1T 0 disk
├─sda1 8:1 0 2G 0 part
└─sda2 8:2 0 9.1T 0 part
sdb 8:16 0 9.1T 0 disk
├─sdb1 8:17 0 2G 0 part
└─sdb2 8:18 0 9.1T 0 part
sdc 8:32 0 9.1T 0 disk
├─sdc1 8:33 0 2G 0 part
└─sdc2 8:34 0 9.1T 0 part
sdd 8:48 0 9.1T 0 disk
├─sdd1 8:49 0 2G 0 part
└─sdd2 8:50 0 9.1T 0 part
sde 8:64 1 57.8G 0 disk
├─sde1 8:65 1 100M 0 part
├─sde5 8:69 1 4G 0 part
├─sde6 8:70 1 4G 0 part
└─sde7 8:71 1 49.7G 0 part
sdf 8:80 0 232.9G 0 disk
├─sdf1 8:81 0 1007K 0 part
├─sdf2 8:82 0 1G 0 part
└─sdf3 8:83 0 231.9G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
├─pve-root 252:1 0 68G 0 lvm /
├─pve-data_tmeta 252:2 0 1.4G 0 lvm
│ └─pve-data-tpool 252:4 0 137.1G 0 lvm
│ ├─pve-data 252:5 0 137.1G 1 lvm
│ ├─pve-vm--101--disk--0 252:6 0 140G 0 lvm
│ ├─pve-vm--102--disk--0 252:7 0 32G 0 lvm
│ ├─pve-vm--103--disk--1 252:8 0 48G 0 lvm
│ ├─pve-vm--103--disk--0 252:9 0 4M 0 lvm
│ └─pve-vm--103--disk--2 252:10 0 4M 0 lvm
└─pve-data_tdata 252:3 0 137.1G 0 lvm
└─pve-data-tpool 252:4 0 137.1G 0 lvm
├─pve-data 252:5 0 137.1G 1 lvm
├─pve-vm--101--disk--0 252:6 0 140G 0 lvm
├─pve-vm--102--disk--0 252:7 0 32G 0 lvm
├─pve-vm--103--disk--1 252:8 0 48G 0 lvm
├─pve-vm--103--disk--0 252:9 0 4M 0 lvm
└─pve-vm--103--disk--2 252:10 0 4M 0 lvm
 
Nevermind, in doing this my PCI passthrough device IDs were incremented so the NVME drive I wanted was actually being passed though to Truenas... Sorry about that. Just had to re-assign and it showed up.
 

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!