I need to passthrough NVMe M.2 SSDs to a TrueNAS VM and found out 2 Options:
1. I can simply use Proxmox GUI and add a PCIe M.2 device on Hardware page:
![screenshot-2023-05-24-23-11-27@2x.png screenshot-2023-05-24-23-11-27@2x.png](https://forum.proxmox.com/data/attachments/50/50467-823ae048232ef4f556ba0db04978142c.jpg)
2. Or it is possible to add NVMe device as "hard disk" using this command:
qm set 110 -virtio1 /dev/disk/by-id/nvme-SAMSUNG_MZ1LB1T9HALS-000FB_SERIALNUMBER
What is the difference between these 2 methods when it comes to performance and stable work within VM?
After I add 4 NVMe drives via Hardware GUI it looks like this:
![screenshot-2023-05-24-23-16-01@2x.png screenshot-2023-05-24-23-16-01@2x.png](https://forum.proxmox.com/data/attachments/50/50468-84e5422f7c440e7f58ed678aee1b09dd.jpg)
and after I add them via qm set command it looks like this:
![screenshot-2023-05-24-23-20-08@2x.png screenshot-2023-05-24-23-20-08@2x.png](https://forum.proxmox.com/data/attachments/50/50470-f7b688b4fff1f38da9913b91b5bae3c4.jpg)
(device serial numbers have been blurred)
1. I can simply use Proxmox GUI and add a PCIe M.2 device on Hardware page:
![screenshot-2023-05-24-23-11-27@2x.png screenshot-2023-05-24-23-11-27@2x.png](https://forum.proxmox.com/data/attachments/50/50467-823ae048232ef4f556ba0db04978142c.jpg)
2. Or it is possible to add NVMe device as "hard disk" using this command:
qm set 110 -virtio1 /dev/disk/by-id/nvme-SAMSUNG_MZ1LB1T9HALS-000FB_SERIALNUMBER
What is the difference between these 2 methods when it comes to performance and stable work within VM?
After I add 4 NVMe drives via Hardware GUI it looks like this:
![screenshot-2023-05-24-23-16-01@2x.png screenshot-2023-05-24-23-16-01@2x.png](https://forum.proxmox.com/data/attachments/50/50468-84e5422f7c440e7f58ed678aee1b09dd.jpg)
and after I add them via qm set command it looks like this:
![screenshot-2023-05-24-23-20-08@2x.png screenshot-2023-05-24-23-20-08@2x.png](https://forum.proxmox.com/data/attachments/50/50470-f7b688b4fff1f38da9913b91b5bae3c4.jpg)
(device serial numbers have been blurred)
Last edited: