After adding a drive to the cache pool utilization is at 100%


stelks

Recommended Posts

I added a second drive (256GB) to my 512GB cache pool, instantly it started to do a btrfs balance. When this started there was ONLY 200ish GB of data in the pool. At first it looked right and was showing 750GB total space, but once it was done it only has 1GB free and it shows it only has a total of 537GB not 750GB of space. I have restarted my server, ran a btrfs scrub and tried to balance again. 

 

Any ideas how to fix?

image.thumb.png.ecac2f54cfa3b4cee813264aa90f2736.png

Link to comment
18 minutes ago, itimpi said:

The default profile is the btrfs version of raid1.   With mixed drive sizes this makes the available disk space equivalent to the smaller drive.    If you want the space to be additive then you need to switch the profile to be Single.

Thanks for the response. I have a couple questions though if you could help. If the space is limited to twice the size of the smallest drive it should be (256x2) which is 512, but in the screenshot it shows about 537GB of space. Secondly it is showing in the screenshot that the size is 756GB, is it normal for that to not reflect the actual size based on btrfs profile?

I have looked around to try and find what profile the pool is in but have not found anything, do I need to turn off my array to change that? 

 

EDIT: Just found the "convert to single mode" button under that balance settings. Ill give that a go.

 

 

Edited by stelks
Link to comment
Just now, jonathanm said:

No, with 2 drives in RAID1, the space is limited to just the size of the smallest drive, not 2x. RAID1 means a copy of the data must exist on 2 separate volumes.

Got it so the reason it looked like their was so much more data on the drive is it replicated the data on each drive and counted it. Thanks.

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.