operating-system
operating-system copied to clipboard
[BUG] HAOS on Pi 3 Not Cleaning Up Docker Overlay
Describe the issue you are experiencing
After using Home Assistant for over 1+ year, the disk space was consistently increasing. I assumed it was data being collected; however, after debugging the issue I realized the DB was only 200 MB and InfluxDB only had 1GB of data. Yet my 32 GB disk was full. So I mounted the disk onto a Linux system to see what was using all the disk space.
0 root@kubuntu22 [/mnt/docker]$ du -sh * | sort -rh
20G overlay2
Every time I updated, it consumed more disk space, and never reduced until it filled up with 20GB of data in overlay. The only solution was to re-install HAOS and restore from backup. I am now down to 15% disk usage from 90%.
I assume in 1 more year I will have to do the same thing. Is this by design, or is this a bug?
What operating system image do you use?
rpi3-64 (Raspberry Pi 3 64-bit OS)
What version of Home Assistant Operating System is installed?
6.6.28-haos-raspi
Did the problem occur after upgrading the Operating System?
Yes
Hardware details
Raspberry Pi 3 (rpi3-64)
Steps to reproduce the issue
Run Home Assistant on a Raspberry Pi for 1+ Year
Anything in the Supervisor logs that might be useful for us?
Nothing useful in the logs...
Anything in the Host logs that might be useful for us?
Nothing useful in the logs...
System information
System Information
| version | core-2024.6.2 |
|---|---|
| installation_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python_version | 3.12.2 |
| os_name | Linux |
| os_version | 6.6.28-haos-raspi |
| arch | aarch64 |
| timezone | America/Los_Angeles |
| config_dir | /config |
Home Assistant Cloud
| logged_in | false |
|---|---|
| can_reach_cert_server | ok |
| can_reach_cloud_auth | ok |
| can_reach_cloud | ok |
Home Assistant Supervisor
| host_os | Home Assistant OS 12.3 |
|---|---|
| update_channel | stable |
| supervisor_version | supervisor-2024.06.2 |
| agent_version | 1.6.0 |
| docker_version | 25.0.5 |
| disk_total | 28.6 GB |
| disk_used | 6.3 GB |
| healthy | true |
| supported | true |
| host_connectivity | true |
| supervisor_connectivity | true |
| ntp_synchronized | true |
| virtualization | |
| board | rpi3-64 |
| supervisor_api | ok |
| version_api | ok |
| installed_addons | Let's Encrypt (5.0.22), Terminal & SSH (9.14.0), NGINX Home Assistant SSL proxy (3.9.0), ESPHome (2024.6.2), File editor (5.8.0), Samba share (12.3.1), Samba Backup (5.2.0) |
Dashboards
| dashboards | 4 |
|---|---|
| resources | 0 |
| views | 7 |
| mode | storage |
Recorder
| oldest_recorder_run | June 14, 2024 at 03:45 |
|---|---|
| current_recorder_run | June 13, 2024 at 20:45 |
| estimated_db_size | 200.78 MiB |
| database_engine | sqlite |
| database_version | 3.44.2 |
Additional information
No