Limit disk bandwith in lxc with zfs

norissiron

Member
Apr 22, 2020
19
0
6
32
Hello everyone,

We've traditionally used cgroups to limit the I/O speed of LXC containers, and this worked seamlessly with LVM. However, we've encountered an issue on hosts using ZFS, as ZFS doesn't seem to respond to such settings. Are there any alternative methods to restrict individual containers, for example, to a certain Mbps, similar to what can be done with KVM out of the box?

Thank you for any suggestions or insights you can provide!