#HA getting too big, but not used by user files, how to see whats taking up the space
1 messages · Page 1 of 1 (latest)
i've my vm like 46Go
Huh?
look at your backups. if they are local then you may want to clean up some old ones
its not the cause of user-accessible files
ill check it out
nop it's cloud based
ok so my boot partition is 32gb so i dont understand how this is over 60. in the 2nd shot there are all these files in this folder. any idea how i can figure out what they are/do. 3rd screenshot is a different path but same situation as the 2nd screenshot
Not directly: https://stackoverflow.com/questions/50875513/how-do-i-identify-which-container-owns-which-overlay-directory
overlay2 is for addon/system files. Don't delete anything there manually. You can try ha supervisor repair, docker system df -v and docker system prune -a.
Note that they are counted twice because of how the directories are mounted. I updated the instructions so that doesn't happen anymore.
hey so i did this a while back and it freed up some space but overwhelmingly my space is being taken up by the same thing. a lot of them seem to be python 3.1x files but theres some other stuff scattered in there
Digging up threads from last year, are we?
There's likely not much you can do about that. The file systems of your addons just take some space.
Here's how mine looks with these addons
# ha addons list | grep -E "name|slug"
name: File editor
slug: core_configurator
name: Advanced SSH & Web Terminal
slug: a0d7b954_ssh
name: Glances
slug: a0d7b954_glances
name: Studio Code Server
slug: a0d7b954_vscode
name: Mosquitto broker
slug: core_mosquitto
name: Terminal & SSH
slug: core_ssh
name: Node-RED
slug: a0d7b954_nodered
name: SQLite Web
slug: a0d7b954_sqlite-web
name: Samba share
slug: core_samba
Also
# docker inspect -f $'{{.Name}}\t{{.GraphDriver.Data.MergedDir}}' $(docker ps -aq)
/addon_core_samba /mnt/data/docker/overlay2/20998e3886a900d5eef4e62f2c4f04ddf8d671e107aec1a4ecfbe3d73b4b2be8/merged
/addon_core_mosquitto /mnt/data/docker/overlay2/c5b1c75a629c7ab58cf365f4d6ec592436c0ebabb6eb7e6da3792634436a4d66/merged
/addon_a0d7b954_sqlite-web /mnt/data/docker/overlay2/cacda93c6e68bb54cadfc0d6f05da5cce3774fd7405810d8051894bad6654950/merged
/addon_a0d7b954_nodered /mnt/data/docker/overlay2/1b1694e325d975b07cb3fb5eeecbe8ed285264680d433f73f501bcfc02b8828f/merged
/addon_core_configurator /mnt/data/docker/overlay2/ffc59d8b7989b519c142c0dd295d3e876b0141d2f1a34e2b47fc7e8879067c06/merged
/addon_core_ssh /mnt/data/docker/overlay2/dde7789a33ed7cfcb8bd1063af88661130344c95e6e127628de79d87fd7b8780/merged
/addon_a0d7b954_vscode /mnt/data/docker/overlay2/91019fb81644b331c88baef4f3f79bb31fe603a8d1547364d73f9bae36d18253/merged
/addon_a0d7b954_glances /mnt/data/docker/overlay2/a58f1406d031552b43403ce4f12a90412a991a3bc37bf44faa0cfffc499ea4bb/merged
/addon_a0d7b954_ssh /mnt/data/docker/overlay2/37740b41571de480c2a49b23046066c3cff9ded14800139a7e2bcb6587d71193/merged
/hassio_multicast /mnt/data/docker/overlay2/3d26e1bc0dc9f3768958e00e5edf2554fecbef685064a41a9a65efc65d9a864d/merged
/hassio_audio /mnt/data/docker/overlay2/489a27500d989669439b9c7a5610b1e6e4780f286bc22294768ffcc24224681b/merged
/hassio_dns /mnt/data/docker/overlay2/c95c5a72c220bedcf00f3fb2657d792e5b7bf3c2178fa9d46bafab4389095f16/merged
/hassio_cli /mnt/data/docker/overlay2/4d0b183cc738d8f88dc5041f06cda26e47c59b64dbb2ef674622b32e3c5e1d1e/merged
/homeassistant /mnt/data/docker/overlay2/011b9ba25543cf774c41c5c11745f484e7b244f1c4df0a1757ee8b8398a0b762/merged
/hassio_supervisor /mnt/data/docker/overlay2/caedbd77644017f45cbe94c78a6554c0345077f889884af6987d59273c89b5fb/merged
Have fun comparing that 😄
Here's a very ugly way to find the size of a container's file system from inside
# for id in $(docker ps -q); do printf "$(docker exec $id du -sh / 2>/dev/null | tr -d /) $(docker ps --format "{{.ID}} {{.Names}}" | grep $id)\n"; done
152.3M 8c02f42d5247 addon_core_samba
164M a2d4ca6c1abb addon_core_mosquitto
138.5M 1c7b38519ba3 addon_a0d7b954_sqlite-web
567.7M ff610a541ce9 addon_a0d7b954_nodered
173.1M dd8660809d6d addon_core_configurator
178.2M 9f2acbfa802f addon_core_ssh
1.2G a4b25ac72bca addon_a0d7b954_vscode
164.0M 94767b8ec4bb addon_a0d7b954_glances
865.8M 159e7a2cda4e addon_a0d7b954_ssh
45.2M 9f1753d02834 hassio_multicast
77.7M c8f87371d781 hassio_audio
69.4M 014ce3beeb42 hassio_dns
55.5M 83b3665b3df1 hassio_cli
2.1G ebb65d762fb1 homeassistant
498.9M 881136eadbb3 hassio_supervisor
Sorry I've been very very slow on this 😅I do one step then forget about it for a bit
I'll take a look when I'm at my PC, what you sent is basically unreadable on mobile lol
I tried to format it nicely :<
apart from obviously having duplicate files obviously since its a 32 gb partition, something seems wrong here when comparing to the sizes of your add ons
a791d8895763 hassio_observer failed: unable to start container process: exec: "du": executable file not found in $PATH: unknown
7.1G ea8a64a6f0a4 addon_a0d7b954_vscode
1.8G 16e29ba3e1cc addon_5c53de3b_esphome
6.0G 34ab203d3114 addon_core_samba
164M 428f3a6f26b1 addon_core_mosquitto
1.7G 46763c9cc7bc addon_db21ed7f_mealie
1.7G 0123e18428ba addon_8bce8ef4_dbstats
1.2G f3dc868c0fda addon_b0cbb969_homebridge
6.2G a5badd4b459e addon_4bf3a84c_hassio_google_drive_backup
53.4M 00b8c9702cae addon_core_nginx_proxy
6.2G 036e13cdf6ad addon_cebe7a76_hassio_google_drive_backup
6.1G a5d708cbd10f addon_db21ed7f_filebrowser
6.0G d870554d7f64 addon_core_configurator
6.7G c76cf9b5eb07 addon_a0d7b954_ssh
3.5G 02e40379003d addon_a0d7b954_influxdb
474M 88c59f19e9a9 addon_core_matter_server
46.3M 06a236493185 addon_core_duckdns
45.2M 0d934f1150c2 hassio_multicast
77.8M 3d7cbe49dc9a hassio_audio
69.4M e033c52ac9cf hassio_dns
55.5M e7633c65fa47 hassio_cli
9.5G 21315167e5e6 hassio_supervisor```
started with the bottom command
apart from that, im not sure what im supposed to be doing/comparing with the other 2
It will probably count the mounts like /share too so it's not really accurate.
This is just playing around anyways. Like I said you can't do much here.
docker system df -v is the recommended/supported way to check space.
i suppose as long as its expected behavior it just seems a little big, would installing ha on a fresh machine through a backup lower some of these sizes? i had planned on changing to different drive with a larger partition anyways, so not sure it matters but good to know ig