I’ve been trying to set a size limit to one of my container. Unfortunately everytime I try to do such thing, like that : sudo lxc config device set mail2 root size 50GB
I receive this kind of error : Error: The device doesn't exist
even thou mail2 exist and I didn’t change anything about its volume
The thing is that I tried to get more about the connected volumes this way : sudo lxc config device show mail2
but it shows me some kind of list without any kind of disk or anything:
lxdbr0:
nictype: bridged
parent: lxdbr0
type: nic
So im kinda confused right now and ofc the container runs properly.
I tried that again ( sudo lxc config device override mastodon root size=50GB), after of course stopping the whole container and it keeps giving me this kind of error :
Error: Failed to set ZFS config:
sudo lxc info mastodon also gives me this kind of result :
Disk usage:
root: 163.37GB
even though sudo lxc exec mastodon bash -- df -h reports this :