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.