If you are on Home Assistant Docker,the possible sources of large disk space usage:

Inside Home Assistant

Auto Backups

Home Assistant Database

home-assistant.log too large

Media or share (if not network attached storage)

tts

 

core file too large

 

 

Outside Home Assistant

.git

docker images

docker logs

Addons data cache (eg. ESPHome Addon)

 

os system log

 

If you  have access to a shell(eg. using the Terminal&SSH Addon), make sure to run

 

login

To get full access.

 

You can first try

 

du -h -d 1 / 

You can play with variations of this, for example

 

du -ah -d4 / | sort -hr | head -n 20

 

 

 

Useful links

How to Truncate the home-assistant.log file Using a Shell Command in home assistant

https://joshmccarty.com/truncate-the-home-assistant-log-file-using-a-shell-command/

Comments


Comments are closed