LXC block device direct access and other device/PCI passthrough?

verulian

Member
Feb 18, 2019
122
8
23
41
This is very interesting, thank you. I was not aware that bindmounts could provide direct disk access! All use cases I see both on the forum out off the forum seem to indicate some level of abstraction. Do you have a specific search result where it shows giving direct hardware access to the container?
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
4,041
489
88
All use cases I see both on the forum out off the forum seem to indicate some level of abstraction. Do you have a specific search result where it shows giving direct hardware access to the container?
sure, take a look at the following ones [0] [1]

make note that you'll probably have to change the lxc.cgroup.devices entries with lxc.cgroup2.devices, but the rest should be the same.

[0]: https://forum.proxmox.com/threads/lxc-usb-passthrough-zwave-stick.30058/
[1]: https://forum.proxmox.com/threads/usb-pass-through-in-lxc-container.73742/
 

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 your own in 60 seconds.

Buy now!