USB Passthrough to Debian VM

zuluromeo

Active Member
May 12, 2019
14
0
41
35
Good afternoon,

I have been trying to passthrough 4-5 USB HDDs to a VM and have been only successful adding three. I have been using the "Use USB port" option. When I took away one of the ones that worked (of the four), the fourth one shows up. When I add it back on, the fourth one disappears from the VM again. My conf file shows:

Code:
usb0: host=2-2.1,usb3=1
usb1: host=2-2.2,usb3=1
usb2: host=2-2.3,usb3=1
usb3: host=2-1.2,usb3=1

I am running Proxmox 6.3-3. The VM I am trying to setup is a OpenMediaVault VM which is built upon Debian. My hardware is an Intel NUC (10th gen) and I have three of the HDDs plugged into one USB hub and the other two into another (because they did not work in the first one). Both USB hubs seem to work just fine as other SSDs have worked in the same slots.

I have read some previous posts in here that seem to indicate that passing through the whole hub is not an option (bummer). My QemuServer.pm settings are at 6 for USB.

Thank you for your assistance!
 
Passing through USB is likely not meant to be used for disks - at least I can imagine.
Would this be an option:
https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)

This would make a ton of sense....if Proxmox would display these correctly. I am using Sabrent USB enclosures and for some reason Proxmox does not read the serial numbers (or manufacturers). When I run lshw, it shows the same serial number for all five USB HDD docks. When I view the /dev/disk/by-id/ directory, a couple of the devices do not even show up.

The weird thing is that the three that do show up in the OpenMediaVault VM list Sabrent as model and vendor, but their serial numbers are correct.

When I run "lsblk -o +MODEL,SERIAL,WWN", the WWN fields are blank for the HDDs.
 
When I run lshw, it shows the same serial number for all five USB HDD docks.
Stupid consumer-grade hardware. :(
I have been in this place as well. Sold mine and got others back then.

Perhaps @fabian or @Dominic have an idea. OMV is Debian based as well so theoretical it should behave similar.
Maybe PVE does different drivers/modules. It targets the Datacenter... USB attached storage is less likely there.
 
  • Like
Reactions: zuluromeo

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!