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

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?
 
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/
 
I am looking to passthrough the pci SATA controller (which I successfully did for Windows VM) to an LXC, which would make the OMV lxc very useful. Haven't found a way yet. Bind mounts will not give hardware info to OMV, and will be more complicated to manager as I'd have to do it for every disk.
 

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!