Huh. I just noticed that /proc/diskstats inside an Proxmox LXC container shows all the host devices and their statistics.
Other than the physical devices, the container has no obvious way to map them to anything (never mind finding out which one is its down virtual disk), but it still seems kind of suboptimal.

(Ok, I looked up the dm-to-LXC-disk-device mapping on the host and excluded everything but its own virtual disk in the Munin diskstats module, but I have no idea if the mapping is stable)

Sign in to participate in the conversation
INFRa Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!