Storage says SSD is full

hi

Home Assistant 2022.9.5
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest

I’m using Hass o/s on a pi400 running from a 240gb SSD and using MariaDB instead of the default DB
Just recently the SSD is showing as full in HA and I cannot add integrations or update.
I suspected MariaDB so i created a sensor to get the size… which is only 290MB so it can’t be that.
I removed the SSD and stuck it in my widows laptop and it shows as full on there too (although there don’t seem to be many files, but maybe windows just cant see them)

Any ideas please?
TIA
Dave

HA database or logs filling drive

Backups

You can put Ubuntu on usb and “try Ubuntu” to see in Linux file system

I deleted all backups bar 1 when it started doing this so I don’t think it’s them.
I’ll have a look at trying Ubuntu on usb drive
Thanks

If you use cameras, check if the SSD is full of camera images.

@tmjpugh I’ve got Ubuntu on a usb on my laptop and plugged my Ssd in too, I can now see the contents of the SSD and a volume shows up … hassos-data which shows 229GB and full.
I have no idea what can and can’t be deleted though
Any help appreciated

Find HA config folder

“ls -all”

Post that output

I expect there are some .log file that is huge and may be deleted

Can you confirm your install method
Docker images can cause this but not sure how this works in supervised install. In any case find the large file that’s likely over a few GB and it’s the likely culprit

Install method is Hass Os on a 240GB ssd

I don’t see anything big enough to fill hdd there.

Try looking at folder below

var/lib/docker/overlay2

@tmjpugh This is where ssh goes at first… where would var/lib/docker/overlay2 be from here?
thanks

@tmjpugh this is 1 level above and that is as far up as i can go

It’s the path not file

Lowest level has “var”
That’s /var and will contain “lib” folder…inside lib is “docker” and so on

@tmjpugh yes mate, I’ve gone into every /var/lib I can find and can find no docker folder, never mind /overlay2
Strangely though if I plug the SSD into my laptop running Ubuntu, I can find it.

Yes. So it exists

Actually I forget if haos allow you to run docker from command line. If so you can ssh into the running pi/server and remove unused docker images with

docker system prune -a

I’m thinking maybe docker has held a bunch of unused images and data

Yep, done that thanks… only saved 823MB so that’s not the culprit.
It’s proving tricky lol

@tmjpugh I think I’m going to have to bite the bullet and re flash the SSD and install a backup and hope the backup doesn’t contain whatever is causing the problem.
Thanks for all your help