Unsolved Storage differences
-
Hi!
I checked my storage on my Cloudron Dashboard and it shows me that 204GB are in use:
But when I check my storage with ncdu it shows me the following:
Can someone explain me this differences (and which one is the correct one)?
Edit: I used to use approximately 200GB on app data, deleted it, and now I use approximately 10GB on app data.
-
The next release will shed some more light on the disk usage. We have extended the graphs for example to show disk space used per-app and also which of the major platform parts consume what amount of data.
-
I will check the storage again after the update.
Any clue why the difference is that big? -
@gloes Do you use a secondary disk by chance? I don't think ncdu will traverse other disks unless told via an argument.
-
No, I use RAID 1.
I tried the following:
df -Th gives the following output:
58TB is wrong (it's the sum of the overlay), I only have 3.6TB.
ncdu / shows the following:
Maybe someone an explain this?
-
Most likely the docker images take up all that space and tools like
du
are known to not report on this properly as mentioned in https://cloudron.io/documentation/storage/ Please usedocker system df
to determine the docker image sizes.For further technical details if you are interested, there is some more explanation at https://stackoverflow.com/questions/50589971/diffrence-between-real-and-showed-by-docker-system-df-disc-usage
Further as stated earlier, you may just wait for the next release and the reporting within the dashboard is handling this already for you.
-
Is the situation any better with Cloudron 4.2?
-
No there was no chnage. But as @nebulon mentioned, I think it has to do with docker images and that the image sizes can not be determined correctly. I will have a look at the links maybe I will find a explanation.
-
Now that we can see the size of Docker images in the GUI I'm even keener on knowing what the largest (green) "Other" part of the bar contains. I've compared the "Docker images" size with
docker system df
and it's correct. -
How big is the other? Do you have backups on the root file system as well?
-
@girish Other is 21.4 GB.
Sorry, I'm not sure. I use external backup now like a good boy but haven't always. How to check?
-
That does seem a lot. Another user reported that backups of old mechanism are not deleted - https://forum.cloudron.io/topic/2026/can-i-remove-tarball-backups-in-snapshot . Can you check if you have old stale backups in
/var/backups
? -
I also have the green bar of death
TYPE TOTAL ACTIVE SIZE RECLAIMABLE Images 18 17 4.979GB 1.33GB (26%) Containers 24 22 6.497kB 0B (0%) Local Volumes 46 46 1.314GB 0B (0%) Build Cache 0 0 0B 0B
-
@girish I've never changed backup method no there should not be any remains from that. I did have a directory from april sitting around at 8.6 GB though
.
Removing that still leaves Other quite large though, so I'll appreciate more hints if you have any.