Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Installing Proxmox 2. Getting to Know the Proxmox GUI FREE CHAPTER 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Configuring a USB passthrough


Like PCI devices, we can also pass USB devices directly into a virtual machine without power cycling a VM. We can connect varieties of USB devices, such as flash drives, webcams, scanners, and so on, directly into the VM. In this section, we are going to see how to passthrough a USB device into a KVM-based VM and OpenVZ container.

Note

Although a USB passthrough works, there have been many incidents of device errors when this passthrough has been used. Commit extensive tests over several days to ensure that it works in a test lab before deploying it in a production cluster. In some cases, an entire node needed to be rebooted to clear out errors due to a USB passthrough.

How to do it…

For a KVM-based VM, a USB passthrough can be configured through the Proxmox GUI. However, for OpenVZ containers, it can only be configured through a CLI.

The following steps describe how to configure a USB passthrough for a KVM-based VM:

  1. Log in to the Proxmox GUI and select the VM.

  2. Click...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image