c
Size: a a a
c
EG
c
AM
D
IY
D
EG
AM
IY
V
D
D
# lxc launch images:debian/10 -t t2.micro t1
Creating t1
Starting t1
# btrfs qgroup show -reF /var/lib/lxd/storage-pools/default/containers/t1
ERROR: can't list qgroups: quotas not enabled
D
D
D
D
# lxc config show t1
...
devices:
root:
path: /
pool: default
size: 2GB
type: disk
...
# lxc exec t1 -- df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/default/containers_t1 9.8G 337M 9.0G 4% /
D
# lxc launch images:ubuntu/focal -t t2.micro t1
Creating t1
Starting t1
root@vz3:~# lxc exec t1 -- df -h .
Filesystem Size Used Avail Use% Mounted on
default/containers/t1 198G 202M 198G 1% /
root@vz3:~# lxc config device add t1 root disk path=/ pool=default size=2GB
Device root added to t1
root@vz3:~# lxc config device set t1 root size 2GB
root@vz3:~# lxc exec t1 -- df -h .
Filesystem Size Used Avail Use% Mounted on
default/containers/t1 2.1G 202M 1.9G 10% /
АС
AM