Jump to content
Furby8704

[Solved] BTRFS Cache Pool Problem

11 posts in this topic Last Reply

Recommended Posts

Posted (edited)

not sure what happened but overnight a cache drive got dropped from pool

when i rebooted i got a message about too many profiles and my 500gb cache pool was now 1TB

so i found a topic that stated to run a balance. after 1st balance nothing happened so i rebooted.

when system came back up a 2nd balance started and when completed was back at 500gb.

although all my containers/shares kept saying low on storage when more than half should be avialable.

i rebooted once more and now my cache pool is 250gb with a 3rd balance started.

not sure whats going on lol

 

is this something common or something i shouldnt be to worry about??

if anything i could just wipe drives clean and start anew

 

EDIT:

4th balance completed and rebooted and still stuch at 250gb

 

heres what i have at the moment

 

btrfs fi df /mnt/cache
Data, DUP: total=228.86GiB, used=215.57GiB
System, single: total=32.00MiB, used=64.00KiB
Metadata, DUP: total=3.00GiB, used=2.56GiB
GlobalReserve, single: total=352.70MiB, used=0.00B

 

Edited by Furby8704

Share this post


Link to post

Looks normal to me:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sde1       466G  272G  193G  59% /mnt/cache

Can you post a screenshot of the main GUI page?

Share this post


Link to post
Posted (edited)

main gui of cache and nzbget stats are attached both showing 250GB with 13gb left

also dashboard shows cache 2 in pool is in stand by

 

Screen Shot 2019-05-16 at 1.22.18 AM.png

 

Screen Shot 2019-05-16 at 1.22.59 AM.png

Screen Shot 2019-05-16 at 1.53.58 AM.png

Edited by Furby8704

Share this post


Link to post

Currently only one device is part of the pool, despite two being assigned, and it's using the DUP profile, hence the half space.

 

Stop the array, unassign cache2, start the array, stop the array, re-assign cache2 and start the array.

 

After Unraid finishes balancing convert pool to raid1:

 

btrfs balance start -dconvert=raid1 -mconvert=raid /mnt/cache

 

Share this post


Link to post
20 hours ago, johnnie.black said:

Currently only one device is part of the pool, despite two being assigned, and it's using the DUP profile, hence the half space.

 

Stop the array, unassign cache2, start the array, stop the array, re-assign cache2 and start the array.

 

After Unraid finishes balancing convert pool to raid1:

 


btrfs balance start -dconvert=raid1 -mconvert=raid /mnt/cache

 

 

OK done. 500gb cache us back and everything seems back to normal

 

heres my output:

 

btrfs fi df /mnt/cache
Data, RAID1: total=262.00GiB, used=257.37GiB
System, RAID1: total=32.00MiB, used=80.00KiB
Metadata, RAID1: total=4.00GiB, used=2.60GiB
GlobalReserve, single: total=398.73MiB, used=0.00B

 

do you know what happened or what i did to have caused this??

id like to prevent it from happening again

 

thanks again!

Share this post


Link to post
do you know what happened or what i did to have caused this??

Not sure since the logs don't cover it, but problem likely started because cache2 dropped offline, but Unraid would't convert the cache to DUP profile on its own.

 

 

Share this post


Link to post

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.