I plugged in my USB drive to dom-0, but none of the guests recognize it. How can I export my USB stick to a guest?

Updated -

Virtual machines won't recognize USB sticks as USB devices. They need to be exported to guests as a block device.

  1. Insert the USB drive to dom-0.

  2. Get the device node assigned to USB drive from dmesg.

  3. Run xm block-attach to attach the drive...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content