I have an issue with my current
storage.img file (btrfs). I had 2TB data inside a container and so the storage.img got 2TB large. After this I deleted everything, leaving me with 100GB of real data. The problem is now, that the storage.img did not shrink itself to 100GB. It is still 2TB big.
I have created another storage
newstorage.img (btrfs) in LXD with the command
lxc storage create newstorage but I don't know how to transfer the containers to the new storage the right way so I can delete the old
storage.img and reclaim my HDD space.
I tried things like manually mounting the two imgs and doing
cp -R /one/* /new/ but then I cannot start the containers.