Running out of space on HassIO

Hey guys,

I’ve had hassio run for about 40 days and I just noticed that my storage is really low. I’m running it on a 32GB sd card and I now apparently there are only 2.6GB free. I remember when I first installed everything I had 20+GB free. How is this possible?

Anyone else had this problem or knows how to work out where all the space has gone?
I don’t have many addons either. So I really don’t understand what’s happened

image
image

Maybe you have an entity that generates a lot of data, that is being stored. You could try to find out which one it is and then exclude it or you could overall set the purge days to a lower value.

I just worked out that my v2.db file was around 9GB so deleted it for now and will be setting up recorder to purge every so often yeah.

Although still seems like I should have more storage available

You sure it’s not a 16GB card? Your total space shows as 13.9 GB in your screenshot

I use a 16Gb card in a Pi3 and I am running completely out of space. But my hassio doesn’t have any configuration at all, since it is not my main HA installation. I use ir only for running some addons at the moment, so I thought (and still believe) that a 16Gb card would be enough.

home-assistant_v2.db is only 214Mb.

core-ssh:~# df -h
Filesystem                Size      Used Available Use% Mounted on
overlay                  13.9G     13.5G         0 100% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                   463.1M         0    463.1M   0% /sys/fs/cgroup
/dev/root                90.0M     90.0M         0 100% /dev/init
/dev/mmcblk0p8           13.9G     13.5G         0 100% /data
/dev/mmcblk0p8           13.9G     13.5G         0 100% /config
/dev/mmcblk0p8           13.9G     13.5G         0 100% /ssl
/dev/mmcblk0p8           13.9G     13.5G         0 100% /addons
/dev/mmcblk0p8           13.9G     13.5G         0 100% /backup
/dev/mmcblk0p8           13.9G     13.5G         0 100% /share
/dev/mmcblk0p8           13.9G     13.5G         0 100% /etc/resolv.conf
/dev/mmcblk0p8           13.9G     13.5G         0 100% /etc/hostname
/dev/mmcblk0p8           13.9G     13.5G         0 100% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                    64.0M         0     64.0M   0% /proc/keys
tmpfs                    64.0M         0     64.0M   0% /proc/latency_stats
tmpfs                    64.0M         0     64.0M   0% /proc/timer_list
tmpfs                    64.0M         0     64.0M   0% /proc/sched_debug
tmpfs                   463.1M         0    463.1M   0% /sys/firmware

How can I recover space? Any tip is welcome.

Hi Guys, I have the same problem, any suggestions?

delete the homeassistant.db file. should free up a ton of space - then restart hass.io

Thanks, but not worked. If I execute the “du -sh /” it show me 94mb used (after .db clean up) but if I use the “df -h” it show me 13.3Gb used (still with 100% used). Why this difference?

What’s your card size as a total? 16GB?

Your database is 94MB? You should set up the recorder component to purge your data every so often and exclude any entities you don’t want to be logged to keep the database as small as possible.

But if it isn’t the database that takes up all the space, then maybe some add-on?