Hello All. I am on Proxmox V7.3-6. And I want to pass a USB Device on an unprivileged Ubuntu20.04.5 LTS LXC. The USB device is a USB adapter to read my SmartMeter: root@proxmox:~# lsusb Bus 003 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge I followed several instructions on the net...
Next, in the VM hardware settings, add a USB device and select the one just added. Restart the VM, and then, since it's Windows, I should see the flash drive among the connected devices.
That only shows things connected to the Proxmox host. Which is in a data centre. I want to be able to connect a USB disk/device connected to an end user device running Windows to a Windows VM running on Proxmox.
Hi, you could use USB passthrough to relay the usb device to the vm directly. With the drive plugged into the host, in the ProxmoxVE UI, go to your node > Hardware > Add > USB Device. After that it should show up in your vm and you should be able to mount it and copy the files.
Extra Tip Can boot from usb, can add more pendrive - repeat all steps and replace drive-usb0 with for example drive-usb [X] Extra Tip To add permanently to our machine: Bash:
If you mounted your USB drive directly on Proxmox, you must and your USB drive as directory storage with the WebUI. After that it is important that you mark your directory as mountpoint. Use EXT4 or other Linuxfilesystem for backups, not NTFS or FAT. Hi, If i pass through the USB to a VM, can i still have it as a directory for the host?
Your USB NIC was renamed based on its MAC address, as it is not an PCI express or onboard device. You will find more information and how to change it on the link below.
Wenn auf die USB-Platte ausschließlich Daten für eine VM liegen, dann würde ich sie per "<VM> --> Hardware --> Add: USB Device" direkt an die VM verfüttern. Damit umgeht man die komplette "ich muss sie mounten"-Problematik auf Ebene des Hosts/Nodes. Dass eine solche VM dann nicht mehr trivial migrierbar ist (wie jedesr "Pass-Through"-Ansatz), ist ohne Cluster ja egal... Viel Erfolg!
I finally created a vm to avoid these problems of usb passthrough and to replace asap my old pi3 Thanks a lot for your contributions, I will certainly test it soon, and the lxc.cgroup 2.devices.allow instead of lxc.cgroup.devices.allow is perhaps the good way to make it working.
with storage usb devices connected and then I run fdisk -l or lsblk -f I can only see my existing drives but not the usb ones. When I redirect the whole USB hub (as pci passthrough) the USB device is detected within the VM and dmesg -w confirms that fact.