I have a similar problem like many of the users. My SD Card with 16G is at the limit because the DB is 15 GB in size.
So I followed some hints and deleted the DB.
Everything is fine after a reboot, a new DB was created.
The new DB is 1G in size but the DF and also Homeassistant says that there is less than 1G left on the SD card.
So I thought the RM command has moved the old DB into some trash folder. But I can’t find anything like this.
How can I free up the disk space now?
Yes, I have deleted also the Wall and SHM file.
This is what the folder is looking now:
Before I delete the DB files the .db file was 14.8G in size.
I used the rm command to remove them and have read that it deletes the file permantely not sending it to trash. But the df shows this:
So the space from the files is not freed from the SD Card. This makes me think that there is might be some ‘hidden’ trash folder on an SD Card?
HA also tells me that there is less that 1G of free space.
The other answers here may be helpful for a future installtion, but doesn’t help me in my current situation.
You can literally run a pi with a 120GB SSD for about twice the price of an SD card. It doesn’t make sense to use SD cards anymore. That would be your best solution.
I have the same meaning than MaxK to SD Cards.
My system is running for ~5 Years on this SD Card.
So it maybe that it is now corrupt and have to be replaced.
Will do it next week.
Thanks for all the replies