BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

BlueOS could be more helpful in showing what is bloating the disk

Open rafaellehmkuhl opened this issue 1 year ago • 3 comments

I had a situation now where my disk was full. The problem is: what is bloating the disk? My first guess was that it could be the docker images, but removing the three unused ones got me only 8% of the disk back.

Looking at the system information, it has this:

image

We could put more information here, detailing which are the folders that take the most space in the system.

rafaellehmkuhl avatar Apr 29 '24 14:04 rafaellehmkuhl

More info on that: my system has about 3GB of extensions that I do not use anymore and that I have no way to delete besides with the command line.

image

rafaellehmkuhl avatar May 02 '24 18:05 rafaellehmkuhl

This is a slightly broader version of #1482. There's some relevant discussion in that issue about how to go about presenting this, and what we'd want it to cover :-)

ES-Alexander avatar May 10 '24 06:05 ES-Alexander

Yup. In my case thought (and probably for most people) the images use a lot of space, but they are not the biggest problem.

I suspect there's something on the Docker overlay system being left.

rafaellehmkuhl avatar May 10 '24 12:05 rafaellehmkuhl

Quoting from my comment in the other issue:

... it would be preferable if we could also display things like the space taken up by old (still installed) versions, and by data / logs stored in the filesystem (per https://github.com/bluerobotics/BlueOS/issues/1640).

Something like one of these could be useful, although given we want a webUI we might want something like diskover. Alternatively we could roll our own with the specific categories and groupings we're interested in - not sure how involved that would be.

ES-Alexander avatar May 20 '24 07:05 ES-Alexander

Found the culprits:

image

Almost 10GB of autopilot logs.

rafaellehmkuhl avatar May 21 '24 19:05 rafaellehmkuhl