GUI space usage does not match actual drive usage??


Recommended Posts

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.

Link to comment
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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.