I have just added a media library to my Homeassistant. I mapped (SMB) my video library to /usr/share/hassio/media. After this the disk is filling up from time to time. I use Nagios monitoring and the disk usage graph is a bit interesting. I am running HA in docker on a Ubuntu 16. In the folder /usr/share/hassio/tmp/ there is another folder created called tmpxxxxx. In that folder there is a media.tar.gz that fills the disk (gets to around 450 GB). The whole tmpxxxx is then removed after a while. I guess this is by design ? Is it some kind of indexing ? It doesn’t really affect anything but I am curiuos…
Replying to my own topic here but it is of course the snapshot that creates this. I need to do a partial snapshot and deselect Media. So by design obviously …
I had a failed backup that seem to have left a large folder in /usr/share/hassio/tmp/ and it takes a large chunk of space on my SSD. I guess I can just delete that folder? Can we basically delete all those folder inside /usr/share/hassio/tmp/ ??
Keeping this updated months ago… still same issue. When the cloud backup plugin fails the tmp folder start creating a media.tar.gz untill it exchaust the ssd.
I also have an external NAS for Frigate connected to the system.
When I hard reboot the raspberry the storage is released.
if it is released but until the backup is finished, so that you don’t have problems you should have twice as much free disk space as your entire homeassistant instance occupies including your media folder or make partial backups without backing up the folder media