[lxc-users] Limits kind of not working
Marat Khalili
mkh at rqc.ru
Tue Sep 12 18:00:59 UTC 2017
On September 12, 2017 7:57:26 PM GMT+03:00, Pavol Cupka <pavol.cupka at gmail.com> wrote:
>ok it works better with if=/dev/urandom probably because of the
>compress=lzo being enabled
It explains a lot:
> limit [options] <size>|none [<qgroupid>] <path>
[...]
> Options
>
> -c
>
> limit amount of data after compression. This is the default, it is currently not possible to turn off this option.
( https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup#SUBCOMMAND )
Obviously /dev/zero compresses to nearly zero (not really due to btrfs on-the-fly compression limitations, but still by much). Now I don't even understand why it limits you in 2GB case.
--
With Best Regards,
Marat Khalili
More information about the lxc-users
mailing list