[lxc-users] Limits kind of not working

Marat Khalili mkh at rqc.ru
Tue Sep 12 07:06:25 UTC 2017


> What doesn't work for me is disk "quota" I am using btrfs and I have 
> set 20GB for the container root, but was still able to allocate more 
> the 90GB writing with dd to a file inside the container. What am I 
> doing wrong?
AFAIU at least LXC 2.0.8 with BTRFS back-end it does not propagate quota 
settings from LXC config to the actual filesystem. There's a reason for 
this: BTRFS quotas are very beta quality. You can enable them manually 
(using btrfs commands) and they will work to some extent, but you are in 
for some bad surprises.

--

With Best Regards,
Marat Khalili



More information about the lxc-users mailing list