Lxc export 'no space left on device error' when installed as a snap

There is plenty of free disk space on my device but when I try to export a container I get an error:

lxc export homekube

results in

Error: Create backup: Backup create: Error adding "/var/snap/lxd/common/lxd/storage-pools/default/backup.551519857/rootfs/root/homekube/docs/images/Rasberry-Pi4-Stack.jpg" as "backup/container/rootfs/root/homekube/docs/images/Rasberry-Pi4-Stack.jpg" to tarball: Failed to copy file content "/var/snap/lxd/common/lxd/storage-pools/default/backup.551519857/rootfs/root/homekube/docs/images/Rasberry-Pi4-Stack.jpg": read /var/snap/lxd/common/lxd/storage-pools/default/backup.551519857/rootfs/root/homekube/docs/images/Rasberry-Pi4-Stack.jpg: no space left on device

However df -h reports lots of free space:

Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  1.5M  1.6G   1% /run
/dev/sda2       458G   31G  404G   7% /
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/loop3       56M   56M     0 100% /snap/core18/2128
/dev/loop4       62M   62M     0 100% /snap/core20/1081
tmpfs           1.0M     0  1.0M   0% /var/snap/lxd/common/ns
/dev/loop5       62M   62M     0 100% /snap/core20/1169
/dev/loop12     100M  100M     0 100% /snap/core/11798
/dev/loop10      33M   33M     0 100% /snap/snapd/13640
/dev/loop0      100M  100M     0 100% /snap/core/11993
/dev/loop1       56M   56M     0 100% /snap/core18/2246
/dev/loop2       73M   73M     0 100% /snap/lxd/21780
/dev/loop13      74M   74M     0 100% /snap/lxd/21858
/dev/loop11      43M   43M     0 100% /snap/snapd/13831
tmpfs           1.6G     0  1.6G   0% /run/user/1000

So, whats is going wrong ? Do i need to increase disk space ? But how ?

Looks like your default storage pool is lacking space to handle this.

Can you show lxc storage list?

Actually it seems that the disk is corrupted - thats strange.
The container seemed to work ok so far but the server won’t reboot any more. Guess i have to repair or replace the ssd - hmm :disappointed_relieved:

Oh, that’s pretty annoying :frowning: