USB storage

fredlim

New Member
Dec 24, 2008
13
0
1
Is it possible to mount USB storage on Linux and Windows guest?
I use openSUSE 11.1 and Windows 2003 R2.
 
Yes, but you cant configure that on the web interface.

You can use the 'hostusb' option (see man qm).

# lsusb

gives you the device IDs.
 
I can see the USB memory using lsusb, but how to assign it to Linux and Windows guest?
 
I assume you talk about KVM based VMs (not OpenVZ)?

To pass through an host usb device use:

Code:
# qm set <vmid> --hostusb vendor_id:product_id
for example, to pass through the following mouse to VM 777:

Bus 004 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse

Code:
# qm set 777 --hostusb 046d:c00c
or
Code:
# qm set 777 --hostusb 4.2
You need to start/stop the VM to apply the settings.
 

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!