I have a Pi4 failing to download images which looks to the due to the available disk space. Currently the diagnosis reports that the disk space is 1%. However, I am not sure what would have caused such a high use of disk space.
I think that this topic Persistent "Failed to download image due to 'connect ECONNREFUSED /var/run/balena-engine.sock" error is related. The logs are displaying a similar issue and the disk space usage could be due to an issue with the SD card.
When looking into the disk space usage there seems to be a huge number of folders (472 to be precise) in
/var/lib/balena/overlay2 which I have tried deleting, in order to clear up space. However, the command often fails during the deletion.
Should I just write off the SD card and start fresh? Is this a common failure mode if there are issues with the SD card? Could there be a different reason for data usage? I have been sure to remove all the files in the