[lxc-users] Limits kind of not working
Pavol Cupka
pavol.cupka at gmail.com
Tue Sep 12 07:19:13 UTC 2017
well it looks like it gets set correctly also for btrfs
btrfs qgroup show -reF /var/lib/lxd/containers/c1/
qgroupid rfer excl max_rfer max_excl
-------- ---- ---- -------- --------
0/528 1.02GiB 156.54MiB none 20.00GiB
On Tue, Sep 12, 2017 at 9:14 AM, Pavol Cupka <pavol.cupka at gmail.com> wrote:
> so you would recommend ZFS instead?
>
> On Tue, Sep 12, 2017 at 9:06 AM, Marat Khalili <mkh at rqc.ru> wrote:
>>> 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
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list