NLS Posted September 14, 2021 Share Posted September 14, 2021 Well, the title says it all. unRAID (refreshed) page reports 60% use, 300 of 500GB for my cache. In Krusader, checking the size of all folders (with "show hidden" enabled) shows 181GB in use. Where are 119GB of storage??? Quote Link to comment
trurl Posted September 14, 2021 Share Posted September 14, 2021 Attach diagnostics to next post Quote Link to comment
NLS Posted September 15, 2021 Author Share Posted September 15, 2021 Here you are. I read two similar threads btw... One "excused" this behavior that the FS supposedly uses more than reported by unRAID (and there is a command to find the actual FS overhead - which if you ask me, unRAID should include in the free space report). The other was fixed (?) by rebooting in maintenance mode (not an easy task on a production server). quasar-ultima-diagnostics-20210915-1007.zip Quote Link to comment
JorgeB Posted September 15, 2021 Share Posted September 15, 2021 GUI is showing the correct used space, note that not all tools display correct usage for a btrfs filesystem, e.g. du, you can always confirm with: btrfs fi usage -T /mnt/cache Pool: cache Overall: Device size: 465.76GiB Device allocated: 307.02GiB Device unallocated: 158.74GiB Device missing: 0.00B Used: 279.46GiB Free (estimated): 185.37GiB (min: 185.37GiB) Free (statfs, df): 185.37GiB Data ratio: 1.00 Metadata ratio: 1.00 Global reserve: 447.55MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path single single single Unallocated -- --------- --------- -------- -------- ----------- 1 /dev/sdd1 305.01GiB 2.01GiB 4.00MiB 158.74GiB -- --------- --------- -------- -------- ----------- Total 305.01GiB 2.01GiB 4.00MiB 158.74GiB Used 278.38GiB 1.08GiB 64.00KiB Used: 279.46GiB = 300GB Quote Link to comment
NLS Posted September 15, 2021 Author Share Posted September 15, 2021 (edited) Device size: 465.76GiB Device allocated: 307.02GiB Device unallocated: 158.74GiB Device missing: 0.00B Used: 279.46GiB Free (estimated): 185.37GiB (min: 185.37GiB) Free (statfs, df): 185.37GiB Data ratio: 1.00 Metadata ratio: 1.00 Global reserve: 447.55MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path single single single Unallocated -- --------- --------- -------- -------- ----------- 1 /dev/sdd1 305.01GiB 2.01GiB 4.00MiB 158.74GiB -- --------- --------- -------- -------- ----------- Total 305.01GiB 2.01GiB 4.00MiB 158.74GiB Used 278.38GiB 1.08GiB 64.00KiB So, what is the 120GB diff that Krusader does not show me (even showing hidden files). It is not a couple of GB. I also did this: du -h --max-depth 1 /mnt/cache 151G /mnt/cache/system 3.9G /mnt/cache/appdata 141G /mnt/cache/domains 45M /mnt/cache/generic_caching 188M /mnt/cache/seafile 296G /mnt/cache Well the big difference is system. Seems I have no access inside system/docker/docker (I use a folder not a file docker). I am not sure the size is realistic for my dockers, but I also cannot verify it (seemingly) from Krusader as it doesn't have root access. Any ideas how to? EDIT: I tracked it down to /mnt/cache/system/docker/docker/btrfs/subvolumes In there is a huge number of (virtual) volumes, not sure if they are cleaned up properly. Some (plenty) of them seem to be same size, which doesn't look too random to me. I wonder if some dockers could/should share subvolumes. Edited September 15, 2021 by NLS Quote Link to comment
NLS Posted September 16, 2021 Author Share Posted September 16, 2021 BTW... for some reason it got back to 180GB free after a few hours. Something that had to do with sparse virtual volumes I believe? (yes cache was empty already when I opened this thread - nothing for mover) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.