ckruijntjens
(Chris Kruijntjens)
December 29, 2021, 10:10pm
1
Hi all,
I want to limit disk space inside my container. I alredeay searched the forum and the following command did not work.
i have on btrfs storage pool. (default) but the command below did not work. If i go to the container i still see all the storage?
lxc config device override root size=20GB
Hi @ckruijntjens ,
I suppose, container name is missing.
Regards.
ckruijntjens
(Chris Kruijntjens)
December 31, 2021, 8:07am
3
Hi,
Nope. I just did it true btrfs quota. The only downside is it does not show the limit inside the container.
ruskofd
(Florian Bobin (old account))
December 31, 2021, 9:33am
4
This is related to how BTRFS expose mount informations in the subvolumes. Unlike ZFS or LVM, you will never see your limit/quota explicitely from the inside of your containers, this works as intended.