Hello, I’ve been reading for while in order to understand how to free btrfs storage space after deleting containers, but I can’t understand why is it full.
$ lxc list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
$ lxc storage list
+---------+--------+--------------------------------------------+-------------+---------+---------+
| NAME | DRIVER | SOURCE | DESCRIPTION | USED BY | STATE |
+---------+--------+--------------------------------------------+-------------+---------+---------+
| default | btrfs | /var/snap/lxd/common/lxd/disks/default.img | | 2 | CREATED |
+---------+--------+--------------------------------------------+-------------+---------+---------+
$ lxc storage info default
info:
description: ""
driver: btrfs
name: default
space used: 12.53GiB
total space: 13.97GiB
used by:
images:
- e8395adc3c4dd96f73a5624b662801bcda30fd80784291aff49fe6333a927c0b
profiles:
- default
$ lxc image list
+--------------------+--------------+--------+----------------------------------+--------------+-----------+------------+-------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE |
+--------------------+--------------+--------+----------------------------------+--------------+-----------+------------+-------------------------------+
| portalTesla-backup | e8395adc3c4d | no | Centos 7 x86_64 (20190807_07:08) | x86_64 | CONTAINER | 4255.13MiB | Sep 20, 2023 at 10:16pm (UTC) |
+--------------------+--------------+--------+----------------------------------+--------------+-----------+------------+-------------------------------+
$ lxc profile show default
config: {}
description: Default LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
used_by: []
Really appreciate any help