Jump to content

High cache usage (out by around 200gb)


Recommended Posts

Posted

I have a cache array of 3 500gb drives gaining me 750gb usable cache usage. but apparently I've used 251gb but there's nothing on the cache. I know that last week it said 3 gb used which is around correct. nothing happened in between now and then that I know of.

Running 6.9.0-beta25

 

Anyone know why its saying I've used 200gb?

Screen Shot 2020-07-20 at 9.32.12 pm.png

Screen Shot 2020-07-20 at 9.35.07 pm.png

skynet-diagnostics-20200720-2131.zip

Posted

There was a recent change on how free space is reported with btrfs, unfortunately it doesn't appear to work correctly for a 3 device raid1 pool, I wonder if df reports correctly, please post the output of:

 

df -hH | grep cache

 

Posted
15 minutes ago, johnnie.black said:

There was a recent change on how free space is reported with btrfs, unfortunately it doesn't appear to work correctly for a 3 device raid1 pool, I wonder if df reports correctly, please post the output of:

 


df -hH | grep cache

 

 

D12052F6-CCE5-4CB1-B339-547FDE2FE83F.png

Posted

Yep, df is also reporting the wrong free space, so it's a btrfs issue, df does report the correct used space unlike Unraid, but that's a known issue, since it currently calculates the used space by subtracting free space from total capacity.

Posted
2 minutes ago, johnnie.black said:

Yep, df is also reporting the wrong free space, so it's a btrfs issue, df does report the correct used space unlike Unraid, but that's a known issue, since it currently calculates the used space by subtracting free space from total capacity.

So this is a bug? Should I be worried about it? Or should I ignore it until it’s been patched? (Assuming it’ll be patched in the next update)

Posted
Just now, vcxpz said:

So this is a bug?

Wrong free space is a btrfs bug, wrong used space is an Unraid bug, so you'd need to wait for a newer kernel that includes a btfs fix, the wrong used space in some cases is already a known issue and should be fixed in a future Unraid release.

 

You can always see the correct stats by typing on the console:

 

btrfs fi usage -T /mnt/cache

 

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.

×
×
  • Create New...