poldim Posted May 17, 2017 Share Posted May 17, 2017 I be got a pair of 250GB SSDs setup as the cache. Currently it's showing red as is says they are 226GB full. http://i.imgur.com/8bqUbPu.png du -sh /mnt/cache/ 187G /mnt/cache/ du --si -s /mnt/cache/ 200G /mnt/cache/ Where is the extra 26GB coming from? Quote Link to comment
JorgeB Posted May 17, 2017 Share Posted May 17, 2017 (edited) du doesn't really work with btrfs, use: btrfs fi df /mnt/cache note that output is in GiB, unRAID uses GB. Edited May 17, 2017 by johnnie.black Quote Link to comment
poldim Posted May 20, 2017 Author Share Posted May 20, 2017 On 5/17/2017 at 9:59 AM, johnnie.black said: du doesn't really work with btrfs, use: btrfs fi df /mnt/cache note that output is in GiB, unRAID uses GB. So I found I can use this to display in GB: btrfs filesystem df /mnt/cache/ But I've found that this function does not support wildcards. How do I get the equivalent of this: du --si -s /mnt/cache/* 54G /mnt/cache/appdata 55G /mnt/cache/system 92G /mnt/cache/vdisks I'm essentially trying to see a folder output view with their file sizes to try to understand what's using up more space than it should. Quote Link to comment
JonathanM Posted May 20, 2017 Share Posted May 20, 2017 44 minutes ago, poldim said: I'm essentially trying to see a folder output view with their file sizes to try to understand what's using up more space than it should. Krusader docker has a nice graphical disk usage tool. Quote Link to comment
JorgeB Posted May 20, 2017 Share Posted May 20, 2017 1 hour ago, poldim said: So I found I can use this to display in GB: To display in GB you need to use -H, like: btrfs fi df -H /mnt/cache 1 hour ago, poldim said: to try to understand what's using up more space than it should. The above command will report the actual used space, the same as the one reported in the GUI. 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.