Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Free space incorrect for 3 disk RAID1 cache pool

Featured Replies

I have 3x4TB NVMe disks in a btrfs cache pool. In the Unraid GUI, it shows the size to be 6TB, which is what I expect. It shows the used space as 712GB (the amount of data I copied to the cache pool). But the free space shows as only 3.53TB, which is not what I'd expect. This seems like it might be the amount of free space on a single drive in the pool, but I'd expect it to show the total free space as ~5.29TB. Indeed, 3.53 x 3 / 2 ~= 5.29.

unraid-cache-pool.png

Edited by Ancalagon

Solved by JorgeB

  • Community Expert

It's a known issue with btrfs and an odd number of devices, the free space will get closer to correct as the pool gets filled up.

  • Author

It seems like this UI would be more intuitive if it mirrored the arrays UI, where next to each drive it showed the size, used, and free space on each drive and at the bottom, the total size, used, and free space.

  • Community Expert
11 minutes ago, Ancalagon said:

next to each drive it showed the size, used, and free space on each drive

Those concepts don't apply to individual drives in a pool

  • Author
Quote

Those concepts don't apply to individual drives in a pool

Not to the same extent, in that the usage should be roughly equal between all the drives in a btrfs cache pool and if it's a RAID1 mirror, the total pool size and usage will be half of the total individual drives' usage. But there's still the concept of individual drive usage vs total pool usage, just not as relevant to see though.

 

Is this bug expected to be fixed in the next Unraid release?

 

Quote

the free space will get closer to correct as the pool gets filled up.

This is true, in that the individual drive free space will converge to 0 at the same speed as the total free space converges to 0. The values will get closer, but never truly be accurate until the pool is completely full.

  • Community Expert
  • Solution
34 minutes ago, Ancalagon said:

Is this bug expected to be fixed in the next Unraid release?

This is a btrfs bug, only they can fix it, when it's fixed in the kernel it will also be fixed with Unraid.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.