Can't free storage space

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

Hi, may be the images that you are using hold the space, incus image list shows the images on your system.
Ohh pardon me, you have just one image. :grinning:
What is the lxd version? I’m not sure but it may be btrfs problem. Humm same symptom i suppose.
https://discuss.linuxcontainers.org/t/no-space-left-on-device-while-changing-the-btrfs-storage-pool-of-an-lxd-container-with-docker/10040/4
Regards.

Hi @cemzafer , appreciate your reply but it was empty. I mean “was” because I’ve reinstalled it. I was using the version 3.

My first goal was just to migrate my container to another machine. In the end, I’m getting corrupted tar file. Unfortunately…

I think we can close this topic. There is no success trying to rescue an old container.