Wednesday, October 27, 2021

Proxmox USB device at VM


Login to console of mail Proxmox hypervisor

run the command: lsusb and collect USB device ID

root@proxmox:~# lsusb

if we wants to attach this usb  (usb-device-id 8564:7000) to vm id 145 

first stop VM 145 and run below command

root@proxmox:~# qm set 145 -usb0 host=8564:7000

Now start VM ID-145 and check the device with lsblk

# lsblk or fdisk -l 
to find acutal device with partition and finally mount with mount command # mount /dev/sdx1 /mnt

No comments:

Post a Comment